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/LuqueDaniel/pybooru/post_revert_tags | 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_revert_tags API.
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_revert_tags API.
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 reverts a post to a previous set of tags
(Requires login) (UNTESTED).
Parameters:
post_id (int): The post id number to update.
history_id (int): The id number of the tag history. | "Function to reverts a post to a previous set of tags\n (Requires login) (UNTESTED).\n\n Parameters:\n post_id (int): The post id number to update.\n history_id (int): The id number of the tag history." | 299 | false | LuqueDaniel/pybooru | post_revert_tags | 4,773 | |
LDU_FT/sci-bots/svg-model/svg_shapes_to_df | LDU_FT | [
"<BEGIN>\n## `auto_detect_adjacent_shapes`",
"Attempt to automatically find \"adjacent\" shapes in a SVG layer.",
" In a layer within a new SVG document, draw each detected connection between\n the center points of the corresponding shapes.",
" Parameters\n ----------\n svg_source : str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the svg_shapes_to_df API.
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 svg_shapes_to_df API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Construct a data frame with one row per vertex for all shapes in
:data:`svg_source``.
Arguments
---------
svg_source : str or file-like
A file path, URI, or file-like object.
xpath : str, optional
XPath path expression to select shape nodes.
By default, all ``svg:path`` and... | "Construct a data frame with one row per vertex for all shapes in\n :data:`svg_source``.\n\n Arguments\n ---------\n svg_source : str or file-like\n A file path, URI, or file-like object.\n xpath : str, optional\n XPath path expression to select shape nodes.\n\n By default, all ``svg... | 181 | false | sci-bots/svg-model | svg_shapes_to_df | 4,774 | |
LDU_FT/thunder-project/thunder/reshape | LDU_FT | [
"<BEGIN>\n## `fromrdd`",
"Load images from a Spark RDD.",
" Input RDD must be a collection of key-value pairs\n where keys are singleton tuples indexing images,\n and values are 2d or 3d ndarrays.",
" Parameters\n ----------\n rdd : SparkRDD\n An RDD containing the images.",
" di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reshape API.
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 reshape API.
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... | Reshape the Series object
Cannot change the last dimension.
Parameters
----------
shape: one or more ints
New shape | "Reshape the Series object\n\n Cannot change the last dimension.\n\n Parameters\n ----------\n shape: one or more ints\n New shape" | 420 | false | thunder-project/thunder | reshape | 4,775 | |
LDU_FT/MSchnei/pyprf_feature/funcFindPrfMltpPrdXVal | LDU_FT | [
"<BEGIN>\n## `pyprf`",
"Main function for pRF mapping.",
" Parameters\n ----------\n strCsvCnfg : str\n Absolute file path of config file.\n lgcTest : Boolean\n Whether this is a test (pytest). If yes, absolute path of pyprf libary\n will be prepended to config file paths.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the funcFindPrfMltpPrdXVal 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 funcFindPrfMltpPrdXVal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Function for finding best pRF model for voxel time course.
This function should be used if there are several predictors. | "Function for finding best pRF model for voxel time course.\n This function should be used if there are several predictors." | 266 | false | MSchnei/pyprf_feature | funcFindPrfMltpPrdXVal | 4,776 | |
LDU_FT/vsjha18/nsetools/is_valid_code | LDU_FT | [
"<BEGIN>\n## `byte_adaptor`",
"provides py3 compatibility by converting byte based\n file stream to string based file stream",
" Arguments:\n fbuffer: file like objects containing bytes",
" Returns:\n string buffer\n<END>",
"<BEGIN>\n## `js_adaptor`",
"convert javascript objects lik... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_code API.
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 is_valid_code API.
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... | :param code: a string stock code
:return: Boolean | ":param code: a string stock code\n :return: Boolean" | 30 | false | vsjha18/nsetools | is_valid_code | 4,777 | |
LDU_FT/rocky/python-xdis/sysinfo2float | LDU_FT | [
"<BEGIN>\n## `disco`",
"diassembles and deparses a given code block 'co'\n<END>",
"<BEGIN>\n## `disco_loop`",
"Disassembles a queue of code objects. If we discover\n another code object which will be found in co_consts, we add\n the new code to the list. Note that the order of code discovery\n is in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sysinfo2float API.
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 sysinfo2float API.
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... | Convert a sys.versions_info-compatible list into a 'canonic'
floating-point number which that can then be used to look up a
magic number. Note that this can only be used for released version
of C Python, not interim development versions, since we can't
represent that as a floating-point number.
Fo... | "Convert a sys.versions_info-compatible list into a 'canonic'\n floating-point number which that can then be used to look up a\n magic number. Note that this can only be used for released version\n of C Python, not interim development versions, since we can't\n represent that as a floating-point number.\n\... | 133 | false | rocky/python-xdis | sysinfo2float | 4,778 | |
LDU_FT/francois-vincent/clingon/toto | LDU_FT | [
"<BEGIN>\n## `my_func`",
"Help docstring. v{VERSION}\n {message}\n<END>",
"<BEGIN>\n## `auto_update_attrs_from_kwargs`",
"this decorator will update the attributes of an\n instance object with all the kwargs of the decorated\n method, updated with the kwargs of the actual call.\n This saves ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toto API.
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 toto API.
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... | Small utility for changing comment in a zip file
without changing the file modification datetime. | "Small utility for changing comment in a zip file\n without changing the file modification datetime." | 19 | false | francois-vincent/clingon | toto | 4,779 | |
LDU_FT/csurfer/gitsuggest/get_suggested_repositories | LDU_FT | [
"<BEGIN>\n## `main`",
"Starting point for the program execution.\n<END>",
"<BEGIN>\n## `get_html`",
"Method to convert the repository list to a search results page.\n<END>",
"<BEGIN>\n## `to_html`",
"Method to convert the repository list to a search results page and\n write it to a HTML file.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_suggested_repositories 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 get_suggested_repositories API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Method to procure suggested repositories for the user.
:return: Iterator to procure suggested repositories for the user. | "Method to procure suggested repositories for the user.\n\n :return: Iterator to procure suggested repositories for the user." | 38 | false | csurfer/gitsuggest | get_suggested_repositories | 4,780 | |
LDU_FT/leancloud/python-sdk/dump | LDU_FT | [
"<BEGIN>\n## `become`",
"通过 session token 获取用户对象",
" :param session_token: 用户的 session token\n :return: leancloud.User\n<END>",
"<BEGIN>\n## `sign_up`",
"创建一个新用户。新创建的 User 对象,应该使用此方法来将数据保存至服务器,而不是使用 save 方法。\n 用户对象上必须包含 username 和 password 两个字段\n<END>",
"<BEGIN>\n## `login`",
"登陆用户。... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | :return: 当前对象的序列化结果
:rtype: dict | ":return: 当前对象的序列化结果\n :rtype: dict" | 161 | false | leancloud/python-sdk | dump | 4,781 | |
LDU_FT/praekeltfoundation/seed-stage-based-messaging/find_behind_subscriptions | LDU_FT | [
"<BEGIN>\n## `is_within_limits`",
"Returns True if the difference between date and any value in dates\n is less than or equal to limit.\n<END>",
"<BEGIN>\n## `calculate_retry_delay`",
"Calculates an exponential backoff for retry attempts with a small\n amount of jitter.\n<END>",
"<BEGIN>\n## `run`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_behind_subscriptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_behind_subscriptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Starts a celery task that looks through active subscriptions to find
and subscriptions that are behind where they should be, and adds a
BehindSubscription for them. | "Starts a celery task that looks through active subscriptions to find\n and subscriptions that are behind where they should be, and adds a\n BehindSubscription for them." | 37 | false | praekeltfoundation/seed-stage-based-messaging | find_behind_subscriptions | 4,782 | |
LDU_FT/ajdavis/mongo-mockup-db/got | LDU_FT | [
"<BEGIN>\n## `go`",
"Launch an operation on a thread and get a handle to its future result.",
" >>> from time import sleep\n >>> def print_sleep_print(duration):\n ... sleep(duration)\n ... print('hello from background thread')\n ... sleep(duration)\n ... print('goodbye from ba... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the got API.
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 got API.
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... | Does `.request` match the given :ref:`message spec <message spec>`?
>>> s = MockupDB(auto_ismaster=True)
>>> port = s.run()
>>> s.got(timeout=0) # No request enqueued.
False
>>> from pymongo import MongoClient
>>> client = MongoClient(s.uri)
>>> future = go(clie... | "Does `.request` match the given :ref:`message spec <message spec>`?\n\n >>> s = MockupDB(auto_ismaster=True)\n >>> port = s.run()\n >>> s.got(timeout=0) # No request enqueued.\n False\n >>> from pymongo import MongoClient\n >>> client = MongoClient(s.uri)\n >>> future ... | 129 | false | ajdavis/mongo-mockup-db | got | 4,783 | |
LDU_FT/Bystroushaak/BalancedDiscStorage/add_archive_as_dir | LDU_FT | [
"<BEGIN>\n## `_unpack_zip`",
"Unpack .zip archive in `file_obj` to given `path`. Make sure, that it\n fits into limits (see :attr:`._max_zipfiles` for details).",
" Args:\n file_obj (file): Opened file-like object.\n path (str): Path into which the .zip will be unpacked.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_archive_as_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_archive_as_dir 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... | Add archive to the storage and unpack it.
Args:
zip_file_obj (file): Opened file-like object.
Returns:
obj: Path where the `zip_file_obj` was unpacked wrapped in \
:class:`.PathAndHash` structure.
Raises:
ValueError: If there is too many fi... | "Add archive to the storage and unpack it.\n\n Args:\n zip_file_obj (file): Opened file-like object.\n\n Returns:\n obj: Path where the `zip_file_obj` was unpacked wrapped in \\\n :class:`.PathAndHash` structure.\n\n Raises:\n ValueError: If there is... | 50 | false | Bystroushaak/BalancedDiscStorage | add_archive_as_dir | 4,784 | |
LDU_FT/networks-lab/tidyextractors/commits | LDU_FT | [
"<BEGIN>\n## `_col_type_set`",
"Determines the set of types present in a DataFrame column.",
" :param str col: A column name.\n :param pandas.DataFrame df: The dataset. Usually ``self._data``.\n :return: A set of Types.\n<END>",
"<BEGIN>\n## `_drop_collections`",
"Drops columns containi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the commits API.
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 commits API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns a table of git log data, with "commits" as rows/observations.
:param bool drop_collections: Defaults to True. Indicates whether columns with lists/dicts/sets will be dropped.
:return: pandas.DataFrame | "Returns a table of git log data, with \"commits\" as rows/observations.\n\n :param bool drop_collections: Defaults to True. Indicates whether columns with lists/dicts/sets will be dropped.\n\n :return: pandas.DataFrame" | 81 | false | networks-lab/tidyextractors | commits | 4,785 | |
LDU_FT/UCL-INGI/INGInious/course_is_user_registered | LDU_FT | [
"<BEGIN>\n## `handle_agent_message`",
"Dispatch messages received from agents to the right handlers\n<END>",
"<BEGIN>\n## `handle_client_message`",
"Dispatch messages received from clients to the right handlers\n<END>",
"<BEGIN>\n## `send_container_update_to_client`",
":param client_addrs: list of clients... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the course_is_user_registered API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the course_is_user_registered API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Checks if a user is registered
:param course: a Course object
:param username: The username of the user that we want to check. If None, uses self.session_username()
:return: True if the user is registered, False else | "Checks if a user is registered\n :param course: a Course object\n :param username: The username of the user that we want to check. If None, uses self.session_username()\n :return: True if the user is registered, False else" | 567 | false | UCL-INGI/INGInious | course_is_user_registered | 4,786 | |
LDU_FT/uber/tchannel-python/request | LDU_FT | [
"<BEGIN>\n## `should_retry_on_error`",
"rules for retry",
" :param error:\n ProtocolException that returns from Server\n<END>",
"<BEGIN>\n## `client_for`",
"Build a synchronous client class for the given Thrift service.",
" The generated class accepts a TChannelSyncClient and an optio... | 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... | Initiate a new request through this PeerGroup.
:param hostport:
If specified, requests will be sent to the specific host.
Otherwise, a known peer will be picked at random.
:param service:
Name of the service being called. Defaults to an empty string. | "Initiate a new request through this PeerGroup.\n\n :param hostport:\n If specified, requests will be sent to the specific host.\n Otherwise, a known peer will be picked at random.\n :param service:\n Name of the service being called. Defaults to an empty string." | 422 | false | uber/tchannel-python | request | 4,787 | |
LDU_FT/ornlneutronimaging/ImagingReso/get_interpolated_data | LDU_FT | [
"<BEGIN>\n## `add_layer`",
"provide another way to define the layers (stack)",
" Parameters:\n ===========\n formula: string\n ex: 'CoAg2'\n ex: 'Al'\n thickness: float (in mm)\n density: float (g/cm3)\n<END>",
"<BEGIN>\n## `get_isotopic_ratio`",
"retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_interpolated_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_interpolated_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | return the interpolated x and y axis for the given x range [e_min, e_max] with step defined
:param df: input data frame
:type df: pandas.DataFrame
:param e_min: left energy range in eV of new interpolated data
:type e_min: float
:param e_max: right energy range in eV of new interpolated data
:t... | "return the interpolated x and y axis for the given x range [e_min, e_max] with step defined\n\n :param df: input data frame\n :type df: pandas.DataFrame\n :param e_min: left energy range in eV of new interpolated data\n :type e_min: float\n :param e_max: right energy range in eV of new interpolated data... | 114 | false | ornlneutronimaging/ImagingReso | get_interpolated_data | 4,788 | |
LDU_FT/pyvisa/pyvisa-sim/_match_getters | LDU_FT | [
"<BEGIN>\n## `_get_triplet`",
"Return a triplet from a dialogue dictionary.",
" :param dd: Dialogue dictionary.\n :type dd: Dict[str, str]\n :return: (query, response, error response)\n :rtype: (str, str | NoResponse, str | NoResponse)\n<END>",
"<BEGIN>\n## `_load`",
"YAML Parse a file or str an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _match_getters API.
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 _match_getters API.
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... | Tries to match in getters
:param query: message tuple
:type query: Tuple[bytes]
:return: response if found or None
:rtype: Tuple[bytes] | None | "Tries to match in getters\n\n :param query: message tuple\n :type query: Tuple[bytes]\n :return: response if found or None\n :rtype: Tuple[bytes] | None" | 85 | false | pyvisa/pyvisa-sim | _match_getters | 4,789 | |
LDU_FT/mukulhase/WebWhatsapp-Wrapper/delete_client | LDU_FT | [
"<BEGIN>\n## `run`",
"Locks the main thread while the subscription in running\n<END>",
"<BEGIN>\n## `save_firefox_profile`",
"Function to save the firefox profile to the permanant one\n<END>",
"<BEGIN>\n## `get_contacts`",
"Fetches list of all contacts\n This will return chats with people from the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_client API.
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 delete_client API.
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... | Delete all objects related to client
@param client_id: ID of client user
@param preserve_cache: Boolean, whether to delete the chrome profile folder or not | "Delete all objects related to client\n \n @param client_id: ID of client user\n @param preserve_cache: Boolean, whether to delete the chrome profile folder or not" | 108 | false | mukulhase/WebWhatsapp-Wrapper | delete_client | 4,790 | |
LDU_FT/rosenbrockc/acorn/_run_configure | LDU_FT | [
"<BEGIN>\n## `cascade`",
"Restores a sequence of string definitions using the first entry as the\n original and then applying a series of :func:`~acorn.logging.diff.restore`\n calls.",
" Args:\n sequence (list): of results returned by\n :func:`~acorn.logging.diff.compress`, except that ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_configure API.
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 _run_configure API.
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... | Runs the configuration step for the specified sub-command. | "Runs the configuration step for the specified sub-command." | 263 | false | rosenbrockc/acorn | _run_configure | 4,791 | |
LDU_FT/bcbio/bcbio-nextgen/_get_program_dir | LDU_FT | [
"<BEGIN>\n## `groom`",
"Grooms a FASTQ file from Illumina 1.3/1.5 quality scores into\n sanger format, if it is not already in that format.\n<END>",
"<BEGIN>\n## `filter_single_reads_by_length`",
"removes reads from a fastq file which are shorter than a minimum\n length\n<END>",
"<BEGIN>\n## `filter_r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_program_dir API.
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_program_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Retrieve directory for a program (local installs/java jars). | "Retrieve directory for a program (local installs/java jars)." | 3,670 | true | bcbio/bcbio-nextgen | _get_program_dir | 4,792 | |
LDU_FT/rmax/scrapy-redis/make_request_from_data | LDU_FT | [
"<BEGIN>\n## `from_settings`",
"Returns an instance from given settings.",
" This uses by default the key ``dupefilter:<timestamp>``. When using the\n ``scrapy_redis.scheduler.Scheduler`` class, this method is not used as\n it needs to pass the spider name in the key.",
" Parameter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_request_from_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_request_from_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Returns a Request instance from data coming from Redis.
By default, ``data`` is an encoded URL. You can override this method to
provide your own message decoding.
Parameters
----------
data : bytes
Message from redis. | "Returns a Request instance from data coming from Redis.\n\n By default, ``data`` is an encoded URL. You can override this method to\n provide your own message decoding.\n\n Parameters\n ----------\n data : bytes\n Message from redis." | 38 | false | rmax/scrapy-redis | make_request_from_data | 4,793 | |
LDU_FT/LinuxChristian/pyW215/controlParameters | LDU_FT | [
"<BEGIN>\n## `controlParameters`",
"Returns control parameters as XML.",
" :type module: str\n :type status: str\n :param module: The module number/ID\n :param status: The state to set (i.e. true (on) or false (off))\n :return XML string to join with payload\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the controlParameters API.
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 controlParameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns control parameters as XML.
:type module: str
:type status: str
:param module: The module number/ID
:param status: The state to set (i.e. true (on) or false (off))
:return XML string to join with payload | "Returns control parameters as XML.\n\n :type module: str\n :type status: str\n :param module: The module number/ID\n :param status: The state to set (i.e. true (on) or false (off))\n :return XML string to join with payload" | 21 | false | LinuxChristian/pyW215 | controlParameters | 4,794 | |
LDU_FT/marcomusy/vtkplotter/fxy | LDU_FT | [
"<BEGIN>\n## `add_particle`",
"Adds a new particle with specified properties (in SI units)\n<END>",
"<BEGIN>\n## `simulate`",
"Runs the particle simulation. Simulates one time step, dt, of the particle motion.\n Calculates the force between each pair of particles and updates particles' motion accor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fxy API.
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 fxy API.
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... | Build a surface representing the function :math:`f(x,y)` specified as a string
or as a reference to an external function.
:param float x: x range of values.
:param float y: y range of values.
:param float zlimits: limit the z range of the independent variable.
:param int zlevels: will draw the spec... | "Build a surface representing the function :math:`f(x,y)` specified as a string\n or as a reference to an external function.\n\n :param float x: x range of values.\n :param float y: y range of values.\n :param float zlimits: limit the z range of the independent variable.\n :param int zlevels: will draw t... | 801 | false | marcomusy/vtkplotter | fxy | 4,795 | |
LDU_FT/chaoss/grimoirelab-elk/update_items | LDU_FT | [
"<BEGIN>\n## `__related_categories`",
"Get all related categories to a given one\n<END>",
"<BEGIN>\n## `__show_categories_tree`",
"Show the category tree: list of categories and its subcategories\n<END>",
"<BEGIN>\n## `fetch_track_items`",
"The file format is:",
" # Upstream contributions, bitergia w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_items API.
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 update_items API.
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... | Retrieve the commits not present in the original repository and delete
the corresponding documents from the raw and enriched indexes | "Retrieve the commits not present in the original repository and delete\n the corresponding documents from the raw and enriched indexes" | 296 | false | chaoss/grimoirelab-elk | update_items | 4,796 | |
LDU_FT/renweizhukov/pytwis/get_following | LDU_FT | [
"<BEGIN>\n## `_is_loggedin`",
"Check if a user is logged-in by verifying the input authentication secret.",
" Parameters\n ----------\n auth_secret: str\n The authentication secret of a logged-in user.",
" Returns\n -------\n bool\n True if the a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_following API.
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_following API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get the following list of a logged-in user.
Parameters
----------
auth_secret: str
The authentication secret of the logged-in user.
Returns
-------
bool
True if the following list is successfully obtained, False otherwise.
result
... | "Get the following list of a logged-in user.\n\n Parameters\n ----------\n auth_secret: str\n The authentication secret of the logged-in user.\n\n Returns\n -------\n bool\n True if the following list is successfully obtained, False otherwise.\n res... | 108 | false | renweizhukov/pytwis | get_following | 4,797 | |
LDU_FT/hubo1016/vlcp/trylock | LDU_FT | [
"<BEGIN>\n## `get_connection`",
"Get an exclusive connection, useful for blocked commands and transactions.",
" You must call release or shutdown (not recommanded) to return the connection after use.",
" :param container: routine container",
" :returns: RedisClientBase object, with some... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trylock API.
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 trylock API.
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... | Try to acquire lock and return True; if cannot acquire the lock at this moment, return False. | "Try to acquire lock and return True; if cannot acquire the lock at this moment, return False." | 538 | false | hubo1016/vlcp | trylock | 4,798 | |
LDU_FT/area4lib/area4/reduce_to_unit | LDU_FT | [
"<BEGIN>\n## `get_raw_file`",
"Get the raw divider file in a string array.",
" :return: the array\n :rtype: str\n<END>",
"<BEGIN>\n## `reduce_to_unit`",
"Reduce a repeating divider to the smallest repeating unit possible.",
" Note: this function is used by make-div\n :param divider: the divide... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reduce_to_unit API.
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 reduce_to_unit API.
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... | Reduce a repeating divider to the smallest repeating unit possible.
Note: this function is used by make-div
:param divider: the divider
:return: smallest repeating unit possible
:rtype: str
:Example:
'XxXxXxX' -> 'Xx' | "Reduce a repeating divider to the smallest repeating unit possible.\n\n Note: this function is used by make-div\n :param divider: the divider\n :return: smallest repeating unit possible\n :rtype: str\n\n :Example:\n 'XxXxXxX' -> 'Xx'" | 17 | false | area4lib/area4 | reduce_to_unit | 4,799 | |
LDU_FT/harmsm/PyCmdMessenger/_send_long | LDU_FT | [
"<BEGIN>\n## `send`",
"Send a command (which may or may not have associated arguments) to an \n arduino using the CmdMessage protocol. The command and any parameters\n should be passed as direct arguments to send. ",
" arg_formats is an optional string that specifies the formats to use fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _send_long API.
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 _send_long API.
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... | Convert a numerical value into an integer, then to a bytes object. Check
bounds for signed long. | "Convert a numerical value into an integer, then to a bytes object. Check\n bounds for signed long." | 33 | false | harmsm/PyCmdMessenger | _send_long | 4,800 | |
LDU_FT/romanorac/discomll/info_gain_nominal | LDU_FT | [
"<BEGIN>\n## `random_init_map`",
"Assign datapoint `e` randomly to one of the `k` clusters.\n<END>",
"<BEGIN>\n## `estimate_map`",
"Find the cluster `i` that is closest to the datapoint `e`.\n<END>",
"<BEGIN>\n## `estimate_reduce`",
"Estimate the cluster centers for each cluster.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info_gain_nominal API.
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 info_gain_nominal API.
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 calculates information gain for discrete features. If feature is continuous it is firstly discretized.
x: numpy array - numerical or discrete feature
y: numpy array - labels
ft: string - feature type ("c" - continuous, "d" - discrete)
split_fun: function - function for discretization of numeri... | "Function calculates information gain for discrete features. If feature is continuous it is firstly discretized.\n\n x: numpy array - numerical or discrete feature\n y: numpy array - labels\n ft: string - feature type (\"c\" - continuous, \"d\" - discrete)\n split_fun: function - function for discretization... | 77 | false | romanorac/discomll | info_gain_nominal | 4,801 | |
LDU_FT/Phylliade/ikpy/list_to_raw_list | 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 list_to_raw_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_to_raw_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Flatten a normal pose list into a raw list
:param poselist: a formatted list [[x,y,z], [x,y,z,w]]
:return: a raw list [x, y, z, x, y, z, w] | "Flatten a normal pose list into a raw list\n :param poselist: a formatted list [[x,y,z], [x,y,z,w]]\n :return: a raw list [x, y, z, x, y, z, w]" | 88 | false | Phylliade/ikpy | list_to_raw_list | 4,802 | |
LDU_FT/F-Secure/see/create | LDU_FT | [
"<BEGIN>\n## `create`",
"Creates a virtual network according to the given configuration.",
" @param hypervisor: (libvirt.virConnect) connection to libvirt hypervisor.\n @param identifier: (str) UUID for the virtual network.\n @param configuration: (dict) network configuration.",
" @return: (libvir... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ... | Creates a virtual network according to the given configuration.
@param hypervisor: (libvirt.virConnect) connection to libvirt hypervisor.
@param identifier: (str) UUID for the virtual network.
@param configuration: (dict) network configuration.
@return: (libvirt.virNetwork) virtual network. | "Creates a virtual network according to the given configuration.\n\n @param hypervisor: (libvirt.virConnect) connection to libvirt hypervisor.\n @param identifier: (str) UUID for the virtual network.\n @param configuration: (dict) network configuration.\n\n @return: (libvirt.virNetwork) virtual network." | 130 | false | F-Secure/see | create | 4,803 | |
LDU_FT/allianceauth/allianceauth/update_groups_for_user | LDU_FT | [
"<BEGIN>\n## `register`",
"Decorator to register a function as a hook",
" Register hook for ``hook_name``. Can be used as a decorator::\n @register('hook_name')\n def my_hook(...):\n pass",
" or as a function call::\n def my_hook(...):\n pass\n register(... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_groups_for_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_groups_for_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Update the Group memberships for the given users state
:param user: User to update for
:param state: State to update user for
:return: | "Update the Group memberships for the given users state\n :param user: User to update for\n :param state: State to update user for\n :return:" | 57 | false | allianceauth/allianceauth | update_groups_for_user | 4,804 | |
LDU_FT/DeV1doR/aioethereum/eth_newFilter | LDU_FT | [
"<BEGIN>\n## `db_putString`",
"https://github.com/ethereum/wiki/wiki/JSON-RPC#db_putstring",
" DEPRECATED\n<END>",
"<BEGIN>\n## `db_getString`",
"https://github.com/ethereum/wiki/wiki/JSON-RPC#db_getstring",
" DEPRECATED\n<END>",
"<BEGIN>\n## `db_putHex`",
"https://github.com/ethereum/wi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eth_newFilter API.
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 eth_newFilter API.
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... | https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newfilter
:param from_block: Block tag or number (optional)
:type from_block: int or BLOCK_TAGS
:param to_block: Block tag or number (optional)
:type to_block: int or BLOCK_TAGS
:param address: Contract address (optional)
... | "https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newfilter\n\n :param from_block: Block tag or number (optional)\n :type from_block: int or BLOCK_TAGS\n\n :param to_block: Block tag or number (optional)\n :type to_block: int or BLOCK_TAGS\n\n :param address: Contract address (optio... | 166 | false | DeV1doR/aioethereum | eth_newFilter | 4,805 | |
LDU_FT/cbclab/MOT/_clean_options | LDU_FT | [
"<BEGIN>\n## `get_historical_data`",
"Get the historical tank data.",
" Args:\n nmr_problems (int): the number of problems",
" Returns:\n tuple: (observations, nmr_tanks_ground_truth)\n<END>",
"<BEGIN>\n## `get_simulated_data`",
"Simulate some data.",
" This returns the simulated ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean_options API.
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 _clean_options API.
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... | Clean the given input options.
This will make sure that all options are present, either with their default values or with the given values,
and that no other options are present then those supported.
Args:
method (str): the method name
provided_options (dict): the given options
Return... | "Clean the given input options.\n\n This will make sure that all options are present, either with their default values or with the given values,\n and that no other options are present then those supported.\n\n Args:\n method (str): the method name\n provided_options (dict): the given options\n\n... | 445 | false | cbclab/MOT | _clean_options | 4,806 | |
LDU_FT/espressif/esptool/feed | LDU_FT | [
"<BEGIN>\n## `decrypt`",
"Decrypt a block of cipher text using the AES block cipher.\n<END>",
"<BEGIN>\n## `increment`",
"Increment the counter (overflow rolls back to 0).\n<END>",
"<BEGIN>\n## `summary`",
"Print a human-readable summary of efuse contents\n<END>",
"<BEGIN>\n## `write_efuses`",
"Write ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the feed API.
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 feed API.
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... | Provide bytes to encrypt (or decrypt), returning any bytes
possible from this or any previous calls to feed.
Call with None or an empty string to flush the mode of
operation and return any final bytes; no further calls to
feed may be made. | "Provide bytes to encrypt (or decrypt), returning any bytes\n possible from this or any previous calls to feed.\n\n Call with None or an empty string to flush the mode of\n operation and return any final bytes; no further calls to\n feed may be made." | 199 | false | espressif/esptool | feed | 4,807 | |
LDU_FT/hozn/stravalib/create_subscription | LDU_FT | [
"<BEGIN>\n## `logged_in`",
"Method called by Strava (redirect) that includes parameters.\n - state\n - code\n - error\n<END>",
"<BEGIN>\n## `unmarshal`",
"Convert the value from parsed JSON structure to native python representation.",
" By default this will leave the value as-is since the JS... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_subscription API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_subscription 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... | Creates a webhook event subscription.
http://strava.github.io/api/partner/v3/events/#create-a-subscription
:param client_id: application's ID, obtained during registration
:type client_id: int
:param client_secret: application's secret, obtained during registration
:type clien... | "Creates a webhook event subscription.\n\n http://strava.github.io/api/partner/v3/events/#create-a-subscription\n\n :param client_id: application's ID, obtained during registration\n :type client_id: int\n\n :param client_secret: application's secret, obtained during registration\n :t... | 367 | false | hozn/stravalib | create_subscription | 4,808 | |
LDU_FT/asphalt-framework/asphalt/call_in_executor | LDU_FT | [
"<BEGIN>\n## `run_application`",
"Configure logging and start the given root component in the default asyncio event loop.",
" Assuming the root component was started successfully, the event loop will continue running\n until the process is terminated.",
" Initializes the logging system first based on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call_in_executor API.
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 call_in_executor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Call the given callable in an executor.
:param func: the callable to call
:param args: positional arguments to call the callable with
:param executor: either an :class:`~concurrent.futures.Executor` instance, the resource
name of one or ``None`` to use the event loop's default execu... | "Call the given callable in an executor.\n\n :param func: the callable to call\n :param args: positional arguments to call the callable with\n :param executor: either an :class:`~concurrent.futures.Executor` instance, the resource\n name of one or ``None`` to use the event loop's default... | 143 | false | asphalt-framework/asphalt | call_in_executor | 4,809 | |
LDU_FT/gijzelaerr/python-snap7/set_real | LDU_FT | [
"<BEGIN>\n## `check_error`",
"check if the error code is set. If so, a Python log message is generated\n and an error is raised.\n<END>",
"<BEGIN>\n## `error_text`",
"Returns a textual explanation of a given error number",
" :param error: an error integer\n :param context: server, client or partner... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_real API.
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 set_real API.
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... | Set Real value
make 4 byte data from real | "Set Real value\n\n make 4 byte data from real" | 150 | false | gijzelaerr/python-snap7 | set_real | 4,810 | |
LDU_FT/vovanec/httputil/read_until | LDU_FT | [
"<BEGIN>\n## `_request`",
"Perform asynchronous request.",
" :param str url: request URL.\n :param str method: request method.\n :param dict headers: request headers.\n :param object data: JSON-encodable object.\n :param object -> object result_callback: result callback.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_until API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_until API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Read until we have found the given delimiter.
:param file stream: readable file-like object.
:param bytes delimiter: delimiter string.
:param int max_bytes: maximum bytes to read.
:rtype: bytes|None | "Read until we have found the given delimiter.\n\n :param file stream: readable file-like object.\n :param bytes delimiter: delimiter string.\n :param int max_bytes: maximum bytes to read.\n\n :rtype: bytes|None" | 49 | false | vovanec/httputil | read_until | 4,811 | |
LDU_FT/pandas-dev/pandas/to_datetime | LDU_FT | [
"<BEGIN>\n## `to_offset`",
"Return DateOffset object from string or tuple representation\n or datetime.timedelta object",
" Parameters\n ----------\n freq : str, tuple, datetime.timedelta, DateOffset or None",
" Returns\n -------\n DateOffset\n None if freq is None.",
" Raises... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_datetime API.
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 to_datetime API.
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... | Convert argument to datetime.
Parameters
----------
arg : integer, float, string, datetime, list, tuple, 1-d array, Series
.. versionadded:: 0.18.1
or DataFrame/dict-like
errors : {'ignore', 'raise', 'coerce'}, default 'raise'
- If 'raise', then invalid parsing will raise... | "Convert argument to datetime.\n\n Parameters\n ----------\n arg : integer, float, string, datetime, list, tuple, 1-d array, Series\n\n .. versionadded:: 0.18.1\n\n or DataFrame/dict-like\n\n errors : {'ignore', 'raise', 'coerce'}, default 'raise'\n\n - If 'raise', then invalid parsi... | 8,110 | true | pandas-dev/pandas | to_datetime | 4,812 | |
LDU_FT/realestate-com-au/dashmat/_authentication | LDU_FT | [
"<BEGIN>\n## `generate_dashboard_js`",
"Given a dashboard, make the bundle javascript for it",
" We also do some caching so we don't generate the javascript when nothing has changed",
" First we generate the dashboard es6 content with dashboard.make_dashboard_module()\n we then write this to disk if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _authentication API.
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 _authentication API.
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... | Decorator to handle autologin and authentication errors.
*request_fun* is a function taking no arguments that needs to
be run with this ``Context`` logged into Splunk.
``_authentication``'s behavior depends on whether the
``autologin`` field of ``Context`` is set to ``True`` or
``False``. If it's ... | "Decorator to handle autologin and authentication errors.\n\n *request_fun* is a function taking no arguments that needs to\n be run with this ``Context`` logged into Splunk.\n\n ``_authentication``'s behavior depends on whether the\n ``autologin`` field of ``Context`` is set to ``True`` or\n ``False``. ... | 173 | false | realestate-com-au/dashmat | _authentication | 4,813 | |
LDU_FT/spotify/docker_interface/merge | LDU_FT | [
"<BEGIN>\n## `abspath`",
"Create an absolute path.",
" Parameters\n ----------\n path : str\n absolute or relative path with respect to `ref`\n ref : str or None\n reference path if `path` is relative",
" Returns\n -------\n path : str\n absolute path",
" Raises\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API.
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 merge API.
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... | Merge two dictionaries and raise an error for inconsistencies.
Parameters
----------
x : dict
dictionary x
y : dict
dictionary y
Returns
-------
x : dict
merged dictionary
Raises
------
ValueError
if `x` and `y` are inconsistent | "Merge two dictionaries and raise an error for inconsistencies.\n\n Parameters\n ----------\n x : dict\n dictionary x\n y : dict\n dictionary y\n\n Returns\n -------\n x : dict\n merged dictionary\n\n Raises\n ------\n ValueError\n if `x` and `y` are inconsisten... | 82 | false | spotify/docker_interface | merge | 4,814 | |
LDU_FT/jonathf/chaospy/load_parameters | LDU_FT | [
"<BEGIN>\n## `call`",
"Evaluate a polynomial along specified axes.",
" Args:\n poly (Poly):\n Input polynomial.\n args (numpy.ndarray):\n Argument to be evaluated. Masked values keeps the variable intact.",
" Returns:\n (Poly, numpy.ndarray):\n If ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_parameters API.
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 load_parameters API.
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... | Load parameter values by filling them in from cache.
Args:
distribution (Dist):
The distribution to load parameters from.
method_name (str):
Name of the method for where the parameters should be used.
Typically ``"_pdf"``, ``_cdf`` or the like.
parameters... | "Load parameter values by filling them in from cache.\n\n Args:\n distribution (Dist):\n The distribution to load parameters from.\n method_name (str):\n Name of the method for where the parameters should be used.\n Typically ``\"_pdf\"``, ``_cdf`` or the like.\n ... | 713 | false | jonathf/chaospy | load_parameters | 4,815 | |
LDU_FT/stanfordnlp/stanza/write_conll | LDU_FT | [
"<BEGIN>\n## `validate`",
"Evaluate this model on `validation_instances` during training and\n output a report.",
" :param validation_instances: The data to use to validate the model.\n :type validation_instances: list(instance.Instance)",
" :param metrics: Functions like those fou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_conll API.
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_conll API.
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... | Serializes the dataset in CONLL format to fname | "Serializes the dataset in CONLL format to fname" | 309 | false | stanfordnlp/stanza | write_conll | 4,816 | |
LDU_FT/slundberg/shap/approximate_interactions | LDU_FT | [
"<BEGIN>\n## `imagenet50`",
"This is a set of 50 images representative of ImageNet images.",
" This dataset was collected by randomly finding a working ImageNet link and then pasting the\n original ImageNet image into Google image search restricted to images licensed for reuse. A\n similar image (now w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the approximate_interactions 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 approximate_interactions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Order other features by how much interaction they seem to have with the feature at the given index.
This just bins the SHAP values for a feature along that feature's value. For true Shapley interaction
index values for SHAP see the interaction_contribs option implemented in XGBoost. | "Order other features by how much interaction they seem to have with the feature at the given index.\n\n This just bins the SHAP values for a feature along that feature's value. For true Shapley interaction\n index values for SHAP see the interaction_contribs option implemented in XGBoost." | 299 | false | slundberg/shap | approximate_interactions | 4,817 | |
LDU_FT/pmacosta/pexdoc/get_exdesc | LDU_FT | [
"<BEGIN>\n## `func`",
"r\"\"\"\n Print your name.",
" :param name: Name to print\n :type name: string",
" .. [[[cog cog.out(exobj.get_sphinx_autodoc(width=69))]]]\n .. [[[end]]]\n<END>",
"<BEGIN>\n## `get_function_args`",
"Return tuple of the function argument names in the order of the fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_exdesc API.
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_exdesc API.
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... | Retrieve contract exception(s) message(s).
If the custom contract is specified with only one exception the return
value is the message associated with that exception; if the custom contract
is specified with several exceptions, the return value is a dictionary
whose keys are the exception names and who... | "Retrieve contract exception(s) message(s).\n\n If the custom contract is specified with only one exception the return\n value is the message associated with that exception; if the custom contract\n is specified with several exceptions, the return value is a dictionary\n whose keys are the exception names a... | 220 | false | pmacosta/pexdoc | get_exdesc | 4,818 | |
LDU_FT/dacut/python-aws-sig/request_timestamp | LDU_FT | [
"<BEGIN>\n## `normalize_uri_path_component`",
"normalize_uri_path_component(path_component) -> str",
" Normalize the path component according to RFC 3986. This performs the\n following operations:\n * Alpha, digit, and the symbols '-', '.', '_', and '~' (unreserved\n characters) are left alone.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_timestamp API.
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 request_timestamp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | The timestamp of the request in ISO8601 YYYYMMDD'T'HHMMSS'Z' format.
If this is not available in the query parameters or headers, or the
value is not a valid format for AWS SigV4, an AttributeError exception
is raised. | "The timestamp of the request in ISO8601 YYYYMMDD'T'HHMMSS'Z' format.\n\n If this is not available in the query parameters or headers, or the\n value is not a valid format for AWS SigV4, an AttributeError exception\n is raised." | 37 | false | dacut/python-aws-sig | request_timestamp | 4,819 | |
LDU_FT/gmr/tredis/auth | LDU_FT | [
"<BEGIN>\n## `auth`",
"Request for authentication in a password-protected Redis server.\n Redis can be instructed to require a password before allowing clients\n to execute commands. This is done using the ``requirepass`` directive\n in the configuration file.",
" If the password doe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auth API.
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 auth API.
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... | Request for authentication in a password-protected Redis server.
Redis can be instructed to require a password before allowing clients
to execute commands. This is done using the ``requirepass`` directive
in the configuration file.
If the password does not match, an
:exc:`~tredi... | "Request for authentication in a password-protected Redis server.\n Redis can be instructed to require a password before allowing clients\n to execute commands. This is done using the ``requirepass`` directive\n in the configuration file.\n\n If the password does not match, an\n :exc:... | 523 | false | gmr/tredis | auth | 4,820 | |
LDU_FT/amoffat/sh/output_thread | LDU_FT | [
"<BEGIN>\n## `encode_to_py3bytes_or_py2str`",
"takes anything and attempts to return a py2 string or py3 bytes. this\n is typically used when creating command + arguments to be executed via\n os.exec*\n<END>",
"<BEGIN>\n## `get_exc_from_name`",
"takes an exception name, like:",
" ErrorReturnCo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output_thread API.
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 output_thread API.
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... | this function is run in a separate thread. it reads from the
process's stdout stream (a streamreader), and waits for it to claim that
its done | "this function is run in a separate thread. it reads from the\n process's stdout stream (a streamreader), and waits for it to claim that\n its done" | 83 | false | amoffat/sh | output_thread | 4,821 | |
LDU_FT/jazzband/sorl-thumbnail/_create_alternative_resolutions | LDU_FT | [
"<BEGIN>\n## `is_valid_image`",
"Wand library makes sure when opening any image that is fine, when\n the image is corrupted raises an exception.\n<END>",
"<BEGIN>\n## `parse_geometry`",
"Parses a geometry string syntax and returns a (width, height) tuple\n<END>",
"<BEGIN>\n## `parse_crop`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_alternative_resolutions 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 _create_alternative_resolutions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Creates the thumbnail by using default.engine with multiple output
sizes. Appends @<ratio>x to the file name. | "Creates the thumbnail by using default.engine with multiple output\n sizes. Appends @<ratio>x to the file name." | 68 | false | jazzband/sorl-thumbnail | _create_alternative_resolutions | 4,822 | |
LDU_FT/deifyed/vault/deployAll | LDU_FT | [
"<BEGIN>\n## `getTarget`",
"Returns a dictionary containing information about a certain target\n<END>",
"<BEGIN>\n## `insertTarget`",
"Inserts a new target into the vault database\n Returns the id of the created target\n<END>",
"<BEGIN>\n## `removeTarget`",
"Removes target information from vaul... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deployAll API.
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 deployAll API.
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... | Deploys all the items from the vault. Useful after a format | "Deploys all the items from the vault. Useful after a format" | 27 | false | deifyed/vault | deployAll | 4,823 | |
LDU_FT/jakebasile/reap/entries | LDU_FT | [
"<BEGIN>\n## `create_person`",
"Creates a Person with the given information.\n<END>",
"<BEGIN>\n## `create_project`",
"Creates a Project with the given information.\n<END>",
"<BEGIN>\n## `create_client`",
"Creates a Client with the given information.\n<END>",
"<BEGIN>\n## `entries`",
"Retrieves entrie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the entries API.
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 entries API.
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... | Retrieves entries from all people/tasks logged to this project.
Can be filtered based on time by specifying start/end datetimes. | "Retrieves entries from all people/tasks logged to this project.\n\n Can be filtered based on time by specifying start/end datetimes." | 14 | false | jakebasile/reap | entries | 4,824 | |
LDU_FT/azavea/python-omgeo/to_google_str | LDU_FT | [
"<BEGIN>\n## `_geocode`",
":arg PlaceQuery pq: PlaceQuery object to use for geocoding\n :returns: list of location Candidates\n<END>",
"<BEGIN>\n## `_street_addr_from_response`",
"Construct a street address (no city, region, etc.) from a geocoder response.",
" :param attributes: A dict of addr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_google_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_google_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 ext... | Convert to Google's bounds format: 'latMin,lonMin|latMax,lonMax' | "Convert to Google's bounds format: 'latMin,lonMin|latMax,lonMax'" | 78 | false | azavea/python-omgeo | to_google_str | 4,825 | |
LDU_FT/gbiggs/rtsprofile/save_xml | LDU_FT | [
"<BEGIN>\n## `parse_xml_node`",
"Parse an xml.dom Node object representing a message sending object\n into this object.\n<END>",
"<BEGIN>\n## `parse_yaml`",
"Parse a YAML speficication of a message sending object into this\n object.\n<END>",
"<BEGIN>\n## `save_xml`",
"Save this message_sendi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_xml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Save this configuration data into an xml.dom.Element object. | "Save this configuration data into an xml.dom.Element object." | 166 | false | gbiggs/rtsprofile | save_xml | 4,826 | |
LDU_FT/vatlab/SoS/finalize | LDU_FT | [
"<BEGIN>\n## `process_request`",
"port is the open port at the worker, num_pending is the num_pending of stack.\n A non-zero num_pending means that the worker is pending on something while\n looking for new job, so the worker should not be killed.\n<END>",
"<BEGIN>\n## `check_workers`",
"Kill wo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finalize API.
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 finalize API.
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... | split statement and task by last directive | "split statement and task by last directive" | 193 | false | vatlab/SoS | finalize | 4,827 | |
LDU_FT/hozn/coilmq/pack | LDU_FT | [
"<BEGIN>\n## `server_from_config`",
"Gets a configured L{coilmq.server.StompServer} from specified config.",
" If `config` is None, global L{coilmq.config.config} var will be used instead.",
" The `server_class` and `additional_kwargs` are primarily hooks for using this method\n from a testing enviro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pack API.
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 pack API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Create a string representation from object state.
@return: The string (bytes) for this stomp frame.
@rtype: C{str} | "Create a string representation from object state.\n\n @return: The string (bytes) for this stomp frame.\n @rtype: C{str}" | 211 | false | hozn/coilmq | pack | 4,828 | |
LDU_FT/cyrus-/cypy/safe_setattr | LDU_FT | [
"<BEGIN>\n## `packed`",
"each row is placed side-by-side with the length of the row interlaced\n the head of the packed matrix contains offsets to this length\n e.g. [[11, 22, 33], [44, 55], []] => [3, 7, 10, 3, 11, 22, 33, 2, 44, 55, 0]\n<END>",
"<BEGIN>\n## `reversed`",
"Create a connectivity ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safe_setattr API.
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 safe_setattr API.
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... | Attempt to setattr but catch AttributeErrors. | "Attempt to setattr but catch AttributeErrors." | 209 | false | cyrus-/cypy | safe_setattr | 4,829 | |
LDU_FT/GeoPyTool/GeoPyTool/singleCalc | LDU_FT | [
"<BEGIN>\n## `lines`",
"read the Excel, then draw the wulf net and Plot points, job done~\n<END>",
"<BEGIN>\n## `add_edge`",
"Add a line between the i-th and j-th points,\n if not in the list already\n<END>",
"<BEGIN>\n## `alpha_shape`",
"Compute the alpha shape (concave hull) of a set\n of points.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the singleCalc API.
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 singleCalc API.
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... | Seem like should be =IF(AD7>0,IF(AD12>AD7,'Anorthite','Corundum'),'None')
If Al2O3 is left after alloting orthoclase and albite, then:
Anorthite = Al2O3, CaO = CaO - Al2O3, SiO2 = SiO2 - 2 Al2O3, Al2O3 = 0
If Al2O3 exceeds CaO in the preceding calculation, then:
Anorthite = CaO, Al2O3 =... | "Seem like should be =IF(AD7>0,IF(AD12>AD7,'Anorthite','Corundum'),'None')\n\n If Al2O3 is left after alloting orthoclase and albite, then:\n Anorthite = Al2O3, CaO = CaO - Al2O3, SiO2 = SiO2 - 2 Al2O3, Al2O3 = 0\n If Al2O3 exceeds CaO in the preceding calculation, then:\n Anorthite = CaO, A... | 53 | false | GeoPyTool/GeoPyTool | singleCalc | 4,830 | |
LDU_FT/pypa/pipenv/format_header_param | LDU_FT | [
"<BEGIN>\n## `site_data_dir`",
"r\"\"\"Return full path to the user-shared data dir for this application.",
" \"appname\" is the name of application.\n If None, just the system directory is returned.\n \"appauthor\" (only used on Windows) is the name of the\n appauthor or dis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_header_param API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_header_param API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Helper function to format and quote a single header parameter.
Particularly useful for header parameters which might contain
non-ASCII values, like file names. This follows RFC 2231, as
suggested by RFC 2388 Section 4.4.
:param name:
The name of the parameter, a string expected to be ASCII onl... | "Helper function to format and quote a single header parameter.\n\n Particularly useful for header parameters which might contain\n non-ASCII values, like file names. This follows RFC 2231, as\n suggested by RFC 2388 Section 4.4.\n\n :param name:\n The name of the parameter, a string expected to be A... | 4,833 | true | pypa/pipenv | format_header_param | 4,831 | |
LDU_FT/Kozea/wdb/interaction | LDU_FT | [
"<BEGIN>\n## `import_from_stdlib`",
"Copied from pdbpp https://bitbucket.org/antocuni/pdb\n<END>",
"<BEGIN>\n## `handle_exc`",
"Return a formated exception traceback for wdb.js use\n<END>",
"<BEGIN>\n## `_patch_tcpserver`",
"Patch shutdown_request to open blocking interaction after the end of the\n req... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interaction API.
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 interaction API.
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... | User interaction handling blocking on socket receive | "User interaction handling blocking on socket receive" | 45 | false | Kozea/wdb | interaction | 4,832 | |
LDU_FT/PSU-OIT-ARC/django-local-settings/get_default_section | LDU_FT | [
"<BEGIN>\n## `get_strategy_types`",
"Get a list of all :class:`Strategy` subclasses.\n<END>",
"<BEGIN>\n## `get_file_type_map`",
"Map file types (extensions) to strategy types.\n<END>",
"<BEGIN>\n## `guess_strategy_type`",
"Guess strategy type to use for file by extension.",
" Args:\n file_nam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default_section 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_default_section API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns first non-DEFAULT section; falls back to DEFAULT. | "Returns first non-DEFAULT section; falls back to DEFAULT." | 78 | false | PSU-OIT-ARC/django-local-settings | get_default_section | 4,833 | |
LDU_FT/merll/docker-fabric/get_group_id | LDU_FT | [
"<BEGIN>\n## `reset_socat`",
"Finds and closes all processes of `socat`.",
" :param use_sudo: Use `sudo` command. As Docker-Fabric does not run `socat` with `sudo`, this is by default set to\n ``False``. Setting it to ``True`` could unintentionally remove instances from other users.\n :type use_sudo:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_group_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_group_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns the group id to a given group name. Returns ``None`` if the group does not exist.
:param groupname: Group name.
:type groupname: unicode
:return: Group id.
:rtype: int | "Returns the group id to a given group name. Returns ``None`` if the group does not exist.\n\n :param groupname: Group name.\n :type groupname: unicode\n :return: Group id.\n :rtype: int" | 157 | false | merll/docker-fabric | get_group_id | 4,834 | |
LDU_FT/what-studio/gauge/get_momentum_by_name | LDU_FT | [
"<BEGIN>\n## `render`",
"try:\n move_in = self.gauge.momenta[0].move_in(self.gauge, at)\n except (AttributeError, IndexError):\n pass\n else:\n if move_in:\n move_in = math.ceil(move_in)\n text = font.render('{0:02.0f}:{1:02.0f}'.format(... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_momentum_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_momentum_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Gets a momentum by the given name.
:param name: the momentum name.
:returns: a momentum found.
:raises TypeError: `name` is ``None``.
:raises KeyError: failed to find a momentum named `name`. | "Gets a momentum by the given name.\n\n :param name: the momentum name.\n\n :returns: a momentum found.\n\n :raises TypeError: `name` is ``None``.\n :raises KeyError: failed to find a momentum named `name`." | 22 | false | what-studio/gauge | get_momentum_by_name | 4,835 | |
LDU_FT/PmagPy/PmagPy/main | LDU_FT | [
"<BEGIN>\n## `GetValue`",
"Find the matching value from pandas DataFrame,\n return it.\n<END>",
"<BEGIN>\n## `SetColumnValues`",
"Custom method to efficiently set all values\n in a column.",
" Parameters\n ----------\n col : str or int\n name or index position o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | NAME
common_mean.py
DESCRIPTION
calculates bootstrap statistics to test for common mean
INPUT FORMAT
takes dec/inc as first two columns in two space delimited files
SYNTAX
common_mean.py [command line options]
OPTIONS
-h prints help message and quits
... | "NAME\n common_mean.py\n\n DESCRIPTION\n calculates bootstrap statistics to test for common mean\n\n INPUT FORMAT\n takes dec/inc as first two columns in two space delimited files\n \n SYNTAX\n common_mean.py [command line options]\n \n OPTIONS\n -h prints help message and... | 3,302 | true | PmagPy/PmagPy | main | 4,836 | |
LDU_FT/draperjames/qtpandas/rename_dupe_cols | LDU_FT | [
"<BEGIN>\n## `startDrag`",
"start a drag operation with a PandasCellPayload on defined index.",
" Args:\n index (QModelIndex): model index you want to start the drag operation.\n<END>",
"<BEGIN>\n## `initUi`",
"Initalizes the Uuser Interface with all sub widgets.\n<END>",
"<BEGIN>\n## `e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename_dupe_cols API.
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 rename_dupe_cols API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Takes a list of strings and appends 2,3,4 etc to duplicates. Never
appends a 0 or 1. Appended #s are not always in order...but if you wrap
this in a dataframe.to_sql function you're guaranteed to not have dupe
column name errors importing data to SQL...you'll just have to check
yourself to see which fie... | "Takes a list of strings and appends 2,3,4 etc to duplicates. Never\n appends a 0 or 1. Appended #s are not always in order...but if you wrap\n this in a dataframe.to_sql function you're guaranteed to not have dupe\n column name errors importing data to SQL...you'll just have to check\n yourself to see whic... | 420 | false | draperjames/qtpandas | rename_dupe_cols | 4,837 | |
LDU_FT/gtaylor/petfinder-api/shelter_find | LDU_FT | [
"<BEGIN>\n## `_do_api_call`",
"Convenience method to carry out a standard API call against the\n Petfinder API.",
" :param basestring method: The API method name to call.\n :param dict data: Key/value parameters to send to the API method.\n This varies based on the method.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shelter_find API.
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 shelter_find API.
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... | shelter.find wrapper. Returns a generator of shelter record dicts
matching your search criteria.
:rtype: generator
:returns: A generator of shelter record dicts.
:raises: :py:exc:`petfinder.exceptions.LimitExceeded` once you have
reached the maximum number of records your cr... | "shelter.find wrapper. Returns a generator of shelter record dicts\n matching your search criteria.\n\n :rtype: generator\n :returns: A generator of shelter record dicts.\n :raises: :py:exc:`petfinder.exceptions.LimitExceeded` once you have\n reached the maximum number of records ... | 40 | false | gtaylor/petfinder-api | shelter_find | 4,838 | |
LDU_FT/upsight/doctor/number | LDU_FT | [
"<BEGIN>\n## `_parse_array`",
"Coerce value into an list.",
" :param str value: Value to parse.\n :returns: list or None if the value is not a JSON array\n :raises: TypeError or ValueError if value appears to be an array but can't\n be parsed as JSON.\n<END>",
"<BEGIN>\n## `_parse_boolean`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the number API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the number API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create a :class:`~doctor.types.Number` type.
:param description: A description of the type.
:param kwargs: Can include any attribute defined in
:class:`~doctor.types.Number` | "Create a :class:`~doctor.types.Number` type.\n\n :param description: A description of the type.\n :param kwargs: Can include any attribute defined in\n :class:`~doctor.types.Number`" | 236 | false | upsight/doctor | number | 4,839 | |
LDU_FT/projecthamster/hamster-lib/load_config_file | LDU_FT | [
"<BEGIN>\n## `_fact_to_tuple`",
"Convert a ``Fact`` to its normalized tuple.",
" This is where all type conversion for ``Fact`` attributes to strings as\n well as any normalization happens.",
" Note:\n Because different writers may require different types, we need to\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_config_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_config_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Retrieve config information from file at default location.
If no config file is found a new one will be created either with ``fallback_config_instance``
as content or if none is provided with the result of ``get_default_backend_config``.
Args:
appdirs (HamsterAppDirs, optional): ``HamsterAppDirs``... | "Retrieve config information from file at default location.\n\n If no config file is found a new one will be created either with ``fallback_config_instance``\n as content or if none is provided with the result of ``get_default_backend_config``.\n\n Args:\n appdirs (HamsterAppDirs, optional): ``HamsterAp... | 82 | false | projecthamster/hamster-lib | load_config_file | 4,840 | |
LDU_FT/swimlane/swimlane-python/list | LDU_FT | [
"<BEGIN>\n## `add_record_references`",
"Bulk operation to directly add record references without making any additional requests",
" Warnings:\n Does not perform any app, record, or target app/record validation",
" Args:\n app_id (str): Full App ID string\n record... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Retrieve list of all apps
Returns:
:class:`list` of :class:`~swimlane.core.resources.app.App`: List of all retrieved apps | "Retrieve list of all apps\n\n Returns:\n :class:`list` of :class:`~swimlane.core.resources.app.App`: List of all retrieved apps" | 273 | false | swimlane/swimlane-python | list | 4,841 | |
LDU_FT/EVEprosper/ProsperCommon/make_gunicorn_config | LDU_FT | [
"<BEGIN>\n## `render_secrets`",
"combine a jinja template with a secret .ini file",
" Args:\n config_path (str): path to .cfg file with jinja templating\n secret_path (str): path to .ini-like secrets file",
" Returns:\n ProsperConfig: rendered configuration object\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_gunicorn_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_gunicorn_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.
... | makes gunicorn.conf file for launching in docker
Notes:
https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/
renders gunicorn.config (python) file in running dir
looks for GUNICORN_{option} in environment vars
Args:
_gunicorn_config_path (str): TEST HOOK, ... | "makes gunicorn.conf file for launching in docker\n\n Notes:\n https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/\n renders gunicorn.config (python) file in running dir\n looks for GUNICORN_{option} in environment vars\n Args:\n _gunicorn_config_path (str): TES... | 115 | false | EVEprosper/ProsperCommon | make_gunicorn_config | 4,842 | |
LDU_FT/LISE-B26/pylabcontrol/_set_current_subscript | LDU_FT | [
"<BEGIN>\n## `instantiate_probes`",
"Creates instances of the probes inputed;",
" Args:\n probes: probes is a nested dictionary with\n (key, sub_dict ) = (name of the probe, {'probe_name': value_probe, 'instrument_name': value_inst}),\n where value_probe is a valid name of a pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_current_subscript 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 _set_current_subscript API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | sets the current subscript and keeps a counter of how ofter a particular subscript has been executed
this information is usefull when implementing a status update or plotting functions that depend on which subscript is being executed
keeps track of the following dictionary:
self._current_subscr... | "sets the current subscript and keeps a counter of how ofter a particular subscript has been executed\n this information is usefull when implementing a status update or plotting functions that depend on which subscript is being executed\n\n keeps track of the following dictionary:\n self._current_s... | 301 | false | LISE-B26/pylabcontrol | _set_current_subscript | 4,843 | |
LDU_FT/nilp0inter/cpe/set_value | LDU_FT | [
"<BEGIN>\n## `_trim`",
"Remove trailing colons from the URI back to the first non-colon.",
" :param string s: input URI string\n :returns: URI string with trailing colons removed\n :rtype: string",
" TEST: trailing colons necessary",
" >>> s = '1:2::::'\n >>> CPE._t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extract... | Set the value of component. By default, the component has a simple
value.
:param string comp_str: new value of component
:param string comp_att: attribute associated with value of component
:returns: None
:exception: ValueError - incorrect value of component | "Set the value of component. By default, the component has a simple\n value.\n\n :param string comp_str: new value of component\n :param string comp_att: attribute associated with value of component\n :returns: None\n :exception: ValueError - incorrect value of component" | 206 | false | nilp0inter/cpe | set_value | 4,844 | |
LDU_FT/christophertbrown/bioscripts/check_gaps | LDU_FT | [
"<BEGIN>\n## `six_frame`",
"translate each sequence into six reading frames\n<END>",
"<BEGIN>\n## `best_model`",
"determine the best model: archaea, bacteria, eukarya (best score)\n<END>",
"<BEGIN>\n## `check_gaps`",
"check for large gaps between alignment windows\n<END>",
"<BEGIN>\n## `check_overlap`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_gaps API.
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 check_gaps API.
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... | check for large gaps between alignment windows | "check for large gaps between alignment windows" | 219 | false | christophertbrown/bioscripts | check_gaps | 4,845 | |
LDU_FT/dmlc/xgboost/_get_callback_context | LDU_FT | [
"<BEGIN>\n## `init`",
"Initialize the rabit library with arguments\n<END>",
"<BEGIN>\n## `tracker_print`",
"Print message to the tracker.",
" This function can be used to communicate the information of\n the progress to the tracker",
" Parameters\n ----------\n msg : str\n The messag... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_callback_context 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_callback_context API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | return whether the current callback context is cv or train | "return whether the current callback context is cv or train" | 276 | false | dmlc/xgboost | _get_callback_context | 4,846 | |
LDU_FT/JoelBender/bacpypes/decode_file | LDU_FT | [
"<BEGIN>\n## `decode_packet`",
"decode the data, return some kind of PDU.\n<END>",
"<BEGIN>\n## `decode_file`",
"Given the name of a pcap file, open it, decode the contents and yield each packet.\n<END>",
"<BEGIN>\n## `stop`",
"Call to stop running, may be called with a signum and frame\n parameter if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Given the name of a pcap file, open it, decode the contents and yield each packet. | "Given the name of a pcap file, open it, decode the contents and yield each packet." | 376 | false | JoelBender/bacpypes | decode_file | 4,847 | |
LDU_FT/nabetama/slacky/info | LDU_FT | [
"<BEGIN>\n## `create`",
"https://api.slack.com/methods/channels.create\n<END>",
"<BEGIN>\n## `history`",
"https://api.slack.com/methods/channels.history\n<END>",
"<BEGIN>\n## `info`",
"https://api.slack.com/methods/channels.info\n<END>",
"<BEGIN>\n## `invite`",
"https://api.slack.com/methods/channels.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
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 info API.
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... | https://api.slack.com/methods/users.info | "https://api.slack.com/methods/users.info" | 60 | false | nabetama/slacky | info | 4,848 | |
LDU_FT/zero-os/zerotier_client/updateMember | LDU_FT | [
"<BEGIN>\n## `deleteMember`",
"Delete member from network\n It is method for DELETE /network/{id}/member/{address}\n<END>",
"<BEGIN>\n## `getMember`",
"Get network member settings\n It is method for GET /network/{id}/member/{address}\n<END>",
"<BEGIN>\n## `updateMember`",
"Update member sett... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the updateMember API.
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 updateMember API.
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... | Update member settings
It is method for POST /network/{id}/member/{address} | "Update member settings\n It is method for POST /network/{id}/member/{address}" | 47 | false | zero-os/zerotier_client | updateMember | 4,849 | |
LDU_FT/raiden-network/raiden-contracts/check_successful_tx | LDU_FT | [
"<BEGIN>\n## `check_permission_safety`",
"Check if the file at the given path is safe to use as a state file.",
" This checks that group and others have no permissions on the file and that the current user is\n the owner.\n<END>",
"<BEGIN>\n## `get_private_key`",
"Open a JSON-encoded private key and r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_successful_tx 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 check_successful_tx 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... | See if transaction went through (Solidity code did not throw).
:return: Transaction receipt and transaction info | "See if transaction went through (Solidity code did not throw).\n :return: Transaction receipt and transaction info" | 76 | false | raiden-network/raiden-contracts | check_successful_tx | 4,850 | |
LDU_FT/wishtack/pysynthetic/apply | LDU_FT | [
"<BEGIN>\n## `syntheticMemberDecorator`",
":type memberName: str\n :type readOnly: bool\n :type privateMemberName: str|None\n :type memberDelegate: IMemberDelegate\n<END>",
"<BEGIN>\n## `namingConventionDecorator`",
":type namingConvention:INamingConvention\n<END>",
"<BEGIN>\n## `makeConstructor`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API.
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 apply API.
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... | :type cls: type
:type originalMemberNameList: list(str)
:type memberName: str
:type classNamingConvention: INamingConvention|None | ":type cls: type\n :type originalMemberNameList: list(str)\n :type memberName: str\n :type classNamingConvention: INamingConvention|None" | 66 | false | wishtack/pysynthetic | apply | 4,851 | |
LDU_FT/bachya/pyflunearyou/_raw_user_report_data | LDU_FT | [
"<BEGIN>\n## `adjust_status`",
"Apply status mapping to a raw API result.\n<END>",
"<BEGIN>\n## `status_by_coordinates`",
"Return the CDC status for the provided latitude/longitude.\n<END>",
"<BEGIN>\n## `status_by_state`",
"Return the CDC status for the specified state.\n<END>",
"<BEGIN>\n## `status_by... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raw_user_report_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raw_user_report_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return user report data (if accompanied by latitude/longitude). | "Return user report data (if accompanied by latitude/longitude)." | 22 | false | bachya/pyflunearyou | _raw_user_report_data | 4,852 | |
LDU_FT/aaronn/django-rest-framework-passwordless/invalidate_previous_tokens | LDU_FT | [
"<BEGIN>\n## `validate_token_age`",
"Returns True if a given token is within the age expiration limit.\n<END>",
"<BEGIN>\n## `verify_user_alias`",
"Marks a user's contact point as verified depending on accepted token type.\n<END>",
"<BEGIN>\n## `send_email_with_callback_token`",
"Sends a Email to user.ema... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invalidate_previous_tokens 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 invalidate_previous_tokens API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Invalidates all previously issued tokens as a post_save signal. | "Invalidates all previously issued tokens as a post_save signal." | 16 | false | aaronn/django-rest-framework-passwordless | invalidate_previous_tokens | 4,853 | |
LDU_FT/drastus/unicover/_groupFontByFamily | LDU_FT | [
"<BEGIN>\n## `dispatch`",
"Calls proper method depending on command-line arguments.\n<END>",
"<BEGIN>\n## `chars`",
"Analyses characters in single font or all fonts.\n<END>",
"<BEGIN>\n## `char`",
"Shows all system fonts that contain given character.\n<END>",
"<BEGIN>\n## `fontChar`",
"Checks if chara... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _groupFontByFamily 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 _groupFontByFamily API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns font files grouped in dict by font family. | "Returns font files grouped in dict by font family." | 20 | false | drastus/unicover | _groupFontByFamily | 4,854 | |
LDU_FT/PyFilesystem/pyfilesystem2/open_fs | LDU_FT | [
"<BEGIN>\n## `install`",
"Install an opener.",
" Arguments:\n opener (`Opener`): an `Opener` instance, or a callable that\n returns an opener instance.",
" Note:\n May be used as a class decorator. For example::\n registry = Registry()\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_fs API.
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 open_fs API.
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... | Open a filesystem from a FS URL (ignoring the path component).
Arguments:
fs_url (str): A filesystem URL.
writeable (bool, optional): `True` if the filesystem must
be writeable.
create (bool, optional): `True` if the filesystem should be
creat... | "Open a filesystem from a FS URL (ignoring the path component).\n\n Arguments:\n fs_url (str): A filesystem URL.\n writeable (bool, optional): `True` if the filesystem must\n be writeable.\n create (bool, optional): `True` if the filesystem should be\n ... | 320 | false | PyFilesystem/pyfilesystem2 | open_fs | 4,855 | |
LDU_FT/percipient/django-querysetsequence/_filter_or_exclude_querysets | LDU_FT | [
"<BEGIN>\n## `get_ordering`",
"Take whatever the expected ordering is and then first order by QuerySet.\n<END>",
"<BEGIN>\n## `_get_position_from_instance`",
"The position will be a tuple of values:",
" The QuerySet number inside of the QuerySetSequence.\n Whatever the normal value tak... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _filter_or_exclude_querysets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _filter_or_exclude_querysets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Similar to QuerySet._filter_or_exclude, but run over the QuerySets in
the QuerySetSequence instead of over each QuerySet's fields. | "Similar to QuerySet._filter_or_exclude, but run over the QuerySets in\n the QuerySetSequence instead of over each QuerySet's fields." | 21 | false | percipient/django-querysetsequence | _filter_or_exclude_querysets | 4,856 | |
LDU_FT/bitcraft/pyscroll/get_tile_images_by_rect | LDU_FT | [
"<BEGIN>\n## `hit`",
"Returns the items that overlap a bounding rectangle.",
" Returns the set of all items in the quad-tree that overlap with a\n bounding rectangle.",
" @param rect:\n The bounding rectangle being tested against the quad-tree. This\n must possess le... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tile_images_by_rect 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_tile_images_by_rect API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Given a 2d area, return generator of tile images inside
Given the coordinates, yield the following tuple for each tile:
X, Y, Layer Number, pygame Surface
This method also defines render order by re arranging the
positions of each tile as it is yielded to the renderer.
There... | "Given a 2d area, return generator of tile images inside\n\n Given the coordinates, yield the following tuple for each tile:\n X, Y, Layer Number, pygame Surface\n\n This method also defines render order by re arranging the\n positions of each tile as it is yielded to the renderer.\n\n ... | 112 | false | bitcraft/pyscroll | get_tile_images_by_rect | 4,857 | |
LDU_FT/KimiNewt/pyshark/get_field | LDU_FT | [
"<BEGIN>\n## `get_field`",
"Gets the XML field object of the given name.\n<END>",
"<BEGIN>\n## `get_field_value`",
"Tries getting the value of the given field.\n Tries it in the following order: show (standard nice display), value (raw value), showname (extended nice display).",
" :param name:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field API.
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... | Gets the XML field object of the given name. | "Gets the XML field object of the given name." | 91 | false | KimiNewt/pyshark | get_field | 4,858 | |
LDU_FT/rwl/pylon/index_branches | LDU_FT | [
"<BEGIN>\n## `performAction`",
"perform an action on the world that changes it's internal state\n (maybe stochastically).",
" All you have to do is pull one of the arm and receive a payout. Each\n arm has a distribution of different payouts that are delivered with\n different probabi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index_branches API.
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 index_branches API.
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... | Updates the indices of all branches.
@param start: Starting index, typically 0 or 1.
@type start: int | "Updates the indices of all branches.\n\n @param start: Starting index, typically 0 or 1.\n @type start: int" | 527 | false | rwl/pylon | index_branches | 4,859 | |
LDU_FT/HttpRunner/har2case/load_har_log_entries | LDU_FT | [
"<BEGIN>\n## `__make_request_url`",
"parse HAR entry request url and queryString, and make teststep url and params",
" Args:\n entry_json (dict):\n {\n \"request\": {\n \"url\": \"https://httprunner.top/home?v=1&w=2\",\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_har_log_entries 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 load_har_log_entries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | load HAR file and return log entries list
Args:
file_path (str)
Returns:
list: entries
[
{
"request": {},
"response": {}
},
{
"request": {},
"response": {... | "load HAR file and return log entries list\n\n Args:\n file_path (str)\n\n Returns:\n list: entries\n [\n {\n \"request\": {},\n \"response\": {}\n },\n {\n \"request\": {},\n ... | 32 | false | HttpRunner/har2case | load_har_log_entries | 4,860 | |
LDU_FT/gplepage/lsqfit/set | LDU_FT | [
"<BEGIN>\n## `run`",
"Append version number to lsqfit/__init__.py\n<END>",
"<BEGIN>\n## `_reformat`",
"Apply format of ``p`` to data in 1-d array ``buf``.\n<END>",
"<BEGIN>\n## `_unpack_data`",
"Unpack data and prior into ``(x, y, prior, fdata)``.",
" This routine unpacks ``data`` and ``prior`` into ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
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 set API.
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... | Set default parameters for :class:`lsqfit.nonlinear_fit`.
Use to set default values for parameters: ``svdcut``,
``debug``, ``tol``, ``maxit``, and ``fitter``. Can also set
parameters specific to the fitter specified by the ``fitter``
argument.
Sample usage::
import... | "Set default parameters for :class:`lsqfit.nonlinear_fit`.\n\n Use to set default values for parameters: ``svdcut``,\n ``debug``, ``tol``, ``maxit``, and ``fitter``. Can also set\n parameters specific to the fitter specified by the ``fitter``\n argument.\n\n Sample usage::\n\n ... | 208 | false | gplepage/lsqfit | set | 4,861 | |
LDU_FT/Clarify/clarify_brightcove_sync/_metadata_from_video | LDU_FT | [
"<BEGIN>\n## `_load_secret`",
"read the oauth secrets and account ID from a credentials configuration file\n<END>",
"<BEGIN>\n## `get_video_count`",
"Return the number of videos in the account\n<END>",
"<BEGIN>\n## `get_all_videos`",
"Gets all the videos in an account by automatically paginating through g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _metadata_from_video API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _metadata_from_video API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Generate the searchable metadata that we'll store in the bundle for the video | "Generate the searchable metadata that we'll store in the bundle for the video" | 18 | false | Clarify/clarify_brightcove_sync | _metadata_from_video | 4,862 | |
LDU_FT/ungarj/tilematrix/tile_width | LDU_FT | [
"<BEGIN>\n## `tile`",
"Return Tile object of this TilePyramid.",
" - zoom: zoom level\n - row: tile matrix row\n - col: tile matrix column\n<END>",
"<BEGIN>\n## `matrix_width`",
"Tile matrix width (number of columns) at zoom level.",
" - zoom: zoom level\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tile_width API.
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 tile_width API.
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... | Tile width in pixel.
- zoom: zoom level | "Tile width in pixel.\n\n - zoom: zoom level" | 71 | false | ungarj/tilematrix | tile_width | 4,863 | |
LDU_FT/tylertreat/BigQuery-Python/_format_select | LDU_FT | [
"<BEGIN>\n## `get_client`",
"Return a singleton instance of BigQueryClient. Either\n AssertionCredentials or a service account and private key combination need\n to be provided in order to authenticate requests to BigQuery.",
" Parameters\n ----------\n project_id : str, optional\n The Big... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_select API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_select API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Modify the query selector by applying any formatters to it.
Parameters
----------
formatter : str
Hyphen-delimited formatter string where formatters are
applied inside-out, e.g. the formatter string
SEC_TO_MICRO-INTEGER-FORMAT_UTC_USEC applied to the selector
foo would result in... | "Modify the query selector by applying any formatters to it.\n\n Parameters\n ----------\n formatter : str\n Hyphen-delimited formatter string where formatters are\n applied inside-out, e.g. the formatter string\n SEC_TO_MICRO-INTEGER-FORMAT_UTC_USEC applied to the selector\n foo would ... | 227 | false | tylertreat/BigQuery-Python | _format_select | 4,864 | |
LDU_FT/sbaechler/django-multilingual-search/get_analyzer_for | LDU_FT | [
"<BEGIN>\n## `setup`",
"Defers loading until needed.\n Compares the existing mapping for each language with the current codebase.\n If they differ, it automatically updates the index.\n<END>",
"<BEGIN>\n## `clear`",
"Clears all indexes for the current project.\n :param models: if specifie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_analyzer_for API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_analyzer_for API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get the available language analyzer for the given language code or else the default.
:param language_code: Django language code
:param default: The analyzer to return if no language analyzer has been found.
Defaults to 'snowball'.
:return: The Haystack language name. E.g. 'german' or the... | "Get the available language analyzer for the given language code or else the default.\n :param language_code: Django language code\n :param default: The analyzer to return if no language analyzer has been found.\n Defaults to 'snowball'.\n :return: The Haystack language name. E.g. 'german' o... | 14 | false | sbaechler/django-multilingual-search | get_analyzer_for | 4,865 | |
LDU_FT/DEIB-GECO/PyGMQL/set_meta_profiling | LDU_FT | [
"<BEGIN>\n## `preprocess_path`",
"Given a dataset path, the following structure is to be expected:\n - path/\n - files/\n - S_00000.gdm\n - S_00000.gdm.meta\n - S_00001.gdm\n - S_00001.gdm.meta\n - ...\n - ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_meta_profiling 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 set_meta_profiling 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... | Enables or disables the profiling of metadata at the loading of a GMQLDataset
:param how: True if you want to analyze the metadata when a GMQLDataset is created
by a load_from_*. False otherwise. (Default=True)
:return: None | "Enables or disables the profiling of metadata at the loading of a GMQLDataset\n\n :param how: True if you want to analyze the metadata when a GMQLDataset is created\n by a load_from_*. False otherwise. (Default=True)\n :return: None" | 422 | false | DEIB-GECO/PyGMQL | set_meta_profiling | 4,866 | |
LDU_FT/tjcsl/ion/privacy_options_view | LDU_FT | [
"<BEGIN>\n## `student_visible`",
"Return a list of groups that are student-visible.\n<END>",
"<BEGIN>\n## `stdev`",
"r\"\"\"Calculate standard deviation of data x[]:\n std = sqrt(\\sum_i (x_i - mean)^2 \\over n-1)\n https://wiki.python.org/moin/NumericAndScientificRecipes\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the privacy_options_view 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 privacy_options_view API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | View and edit privacy options for a user. | "View and edit privacy options for a user." | 407 | false | tjcsl/ion | privacy_options_view | 4,867 | |
LDU_FT/clld/pycdstar/c_delete | LDU_FT | [
"<BEGIN>\n## `c_metadata`",
"Set or get metadata associated with an object::",
" usage: cdstar metadata <URL> [<JSON>]",
" <JSON> Path to metadata in JSON, or JSON literal.\n<END>",
"<BEGIN>\n## `c_delete`",
"Delete an object::",
" usage: cdstar delete <URL>\n<END>",
"<BEGIN>\n## `c_ls`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the c_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the c_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 extracte... | Delete an object::
usage: cdstar delete <URL> | "Delete an object::\n\n usage: cdstar delete <URL>" | 27 | false | clld/pycdstar | c_delete | 4,868 | |
LDU_FT/merll/docker-fabric/copy_resource | LDU_FT | [
"<BEGIN>\n## `reset_socat`",
"Finds and closes all processes of `socat`.",
" :param use_sudo: Use `sudo` command. As Docker-Fabric does not run `socat` with `sudo`, this is by default set to\n ``False``. Setting it to ``True`` could unintentionally remove instances from other users.\n :type use_sudo:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_resource API.
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 copy_resource API.
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... | Identical to :meth:`dockermap.client.base.DockerClientWrapper.copy_resource` with additional logging. | "Identical to :meth:`dockermap.client.base.DockerClientWrapper.copy_resource` with additional logging." | 157 | false | merll/docker-fabric | copy_resource | 4,869 | |
LDU_FT/tomduck/pandoc-xnos/quotify | LDU_FT | [
"<BEGIN>\n## `_repeat`",
"Repeats func(...) call until something other than None is returned.\n<END>",
"<BEGIN>\n## `init`",
"Sets or determines the pandoc version. This must be called.",
" The pandoc version is needed for multi-version support.\n See: https://github.com/jgm/pandoc/issues/2640",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quotify API.
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 quotify API.
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... | Replaces Quoted elements in element list 'x' with quoted strings.
Pandoc uses the Quoted element in its json when --smart is enabled.
Output to TeX/pdf automatically triggers --smart.
stringify() ignores Quoted elements. Use quotify() first to replace
Quoted elements in 'x' with quoted strings. 'x' ... | "Replaces Quoted elements in element list 'x' with quoted strings.\n\n Pandoc uses the Quoted element in its json when --smart is enabled.\n Output to TeX/pdf automatically triggers --smart.\n\n stringify() ignores Quoted elements. Use quotify() first to replace\n Quoted elements in 'x' with quoted strings... | 63 | false | tomduck/pandoc-xnos | quotify | 4,870 | |
LDU_FT/Wessie/hurler/send | LDU_FT | [
"<BEGIN>\n## `filter`",
"Creates a decorator that can be used as a filter.",
" .. warning::\n This is currently not compatible with most other decorators, if\n you are using a decorator that isn't part of `hurler` you should\n take caution.\n<END>",
"<BEGIN>\n## `filter_simple`",
"A ... | 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... | Method,
Calls all callbacks registered for `event_name`. The arguments given
are passed to each callback.
:param event_name: The event name to call the callbacks for.
:param args: The positional arguments passed to the callbacks.
:param kwargs: The keyword arguments passed to t... | "Method,\n\n Calls all callbacks registered for `event_name`. The arguments given\n are passed to each callback.\n\n :param event_name: The event name to call the callbacks for.\n :param args: The positional arguments passed to the callbacks.\n :param kwargs: The keyword arguments pas... | 18 | false | Wessie/hurler | send | 4,871 | |
LDU_FT/CI-WATER/mapkit/getAsKmlGrid | LDU_FT | [
"<BEGIN>\n## `getAsKmlGrid`",
"Creates a KML file with each cell in the raster represented by a polygon. The result is a vector grid representation of the raster.\n Note that pixels with values between -1 and 0 are omitted as no data values. Also note that this method only works on the first band.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAsKmlGrid API.
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 getAsKmlGrid API.
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... | Creates a KML file with each cell in the raster represented by a polygon. The result is a vector grid representation of the raster.
Note that pixels with values between -1 and 0 are omitted as no data values. Also note that this method only works on the first band.
Returns the kml document as a string. | "Creates a KML file with each cell in the raster represented by a polygon. The result is a vector grid representation of the raster.\n Note that pixels with values between -1 and 0 are omitted as no data values. Also note that this method only works on the first band.\n Returns the kml document as a strin... | 62 | false | CI-WATER/mapkit | getAsKmlGrid | 4,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.