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/faxir/faxir-python/get_accounts_with_http_info | LDU_FT | [
"<BEGIN>\n## `get_number`",
"Get number information # noqa: E501",
" Get info of a single number # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async=True\n >>> thread = api.get_number(number, async=True)\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_accounts_with_http_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_accounts_with_http_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Get account information of all members of your corporate account # noqa: E501
Only admin account can send request to this endpoint which returns accounts of all members # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass asyn... | "Get account information of all members of your corporate account # noqa: E501\n\n Only admin account can send request to this endpoint which returns accounts of all members # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass... | 80 | false | faxir/faxir-python | get_accounts_with_http_info | 16,873 | |
LDU_FT/hellock/icrawler/scan_ip84 | LDU_FT | [
"<BEGIN>\n## `to_dict`",
"convert detailed proxy info into a dict",
" Returns:\n dict: A dict with four keys: ``addr``, ``protocol``,\n ``weight`` and ``last_checked``\n<END>",
"<BEGIN>\n## `proxy_num`",
"Get the number of proxies in the pool",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_ip84 API.
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 scan_ip84 API.
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... | Scan candidate proxies from http://ip84.com
Args:
region: Either 'mainland' or 'overseas'.
page: An integer indicating how many pages to be scanned. | "Scan candidate proxies from http://ip84.com\n\n Args:\n region: Either 'mainland' or 'overseas'.\n page: An integer indicating how many pages to be scanned." | 105 | false | hellock/icrawler | scan_ip84 | 16,874 | |
LDU_FT/chaoss/grimoirelab-elk/feed_backend_arthur | 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 feed_backend_arthur 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 feed_backend_arthur 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... | Feed Ocean with backend data collected from arthur redis queue | "Feed Ocean with backend data collected from arthur redis queue" | 296 | false | chaoss/grimoirelab-elk | feed_backend_arthur | 16,875 | |
LDU_FT/uber/doubles/patch_for | LDU_FT | [
"<BEGIN>\n## `set_value`",
"Set the value of the target.",
" :param obj value: The value to set.\n<END>",
"<BEGIN>\n## `patch_class`",
"Create a new class based on the input_class.",
" :param class input_class: The class to patch.\n :rtype class:\n<END>",
"<BEGIN>\n## `clear`",
"Clears a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_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 extract... | Returns the ``Patch`` for the target path, creating it if necessary.
:param str path: The absolute module path to the target.
:return: The mapped ``Patch``.
:rtype: Patch | "Returns the ``Patch`` for the target path, creating it if necessary.\n\n :param str path: The absolute module path to the target.\n :return: The mapped ``Patch``.\n :rtype: Patch" | 171 | false | uber/doubles | patch_for | 16,876 | |
LDU_FT/PaulHancock/Aegean/sigmaclip | LDU_FT | [
"<BEGIN>\n## `classify_catalog`",
"Look at a list of sources and split them according to their class.",
" Parameters\n ----------\n catalog : iterable\n A list or iterable object of {SimpleSource, IslandSource, OutputSource} objects, possibly mixed.\n Any other objects will be silently ig... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sigmaclip API.
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 sigmaclip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Perform sigma clipping on an array, ignoring non finite values.
During each iteration return an array whose elements c obey:
mean -std*lo < c < mean + std*hi
where mean/std are the mean std of the input array.
Parameters
----------
arr : iterable
An iterable array of numeric types.
... | "Perform sigma clipping on an array, ignoring non finite values.\n\n During each iteration return an array whose elements c obey:\n mean -std*lo < c < mean + std*hi\n\n where mean/std are the mean std of the input array.\n\n Parameters\n ----------\n arr : iterable\n An iterable array of numeri... | 771 | false | PaulHancock/Aegean | sigmaclip | 16,877 | |
LDU_FT/aht/stream.py/first_return | LDU_FT | [
"<BEGIN>\n## `returned`",
"Generate a random walk and return True if the walker has returned to\n\tthe origin after taking `n` steps.\n<END>",
"<BEGIN>\n## `first_return`",
"Generate a random walk and return its length upto the moment\n\tthat the walker first returns to the origin.",
"\tIt is mathematically... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_return API.
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 first_return API.
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... | Generate a random walk and return its length upto the moment
that the walker first returns to the origin.
It is mathematically provable that the walker will eventually return,
meaning that the function call will halt, although it may take
a *very* long time and your computer may run out of memory!
Thus, try this ... | "Generate a random walk and return its length upto the moment\n\tthat the walker first returns to the origin.\n\n\tIt is mathematically provable that the walker will eventually return,\n\tmeaning that the function call will halt, although it may take\n\ta *very* long time and your computer may run out of memory!\n\tThu... | 35 | false | aht/stream.py | first_return | 16,878 | |
LDU_FT/wgnet/webium/add_cookies_to_web_driver | LDU_FT | [
"<BEGIN>\n## `click`",
"Click by WebElement, if not, JQuery click\n<END>",
"<BEGIN>\n## `convert_cookie_to_dict`",
"Converts an instance of Cookie class from cookielib to a dict.\n The names of attributes can be changed according to keys_map:.\n For example, this method can be used to create a cookie wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_cookies_to_web_driver 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 add_cookies_to_web_driver API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Sets cookies in an existing WebDriver session. | "Sets cookies in an existing WebDriver session." | 20 | false | wgnet/webium | add_cookies_to_web_driver | 16,879 | |
LDU_FT/lipoja/URLExtract/_reload_tlds_from_file | LDU_FT | [
"<BEGIN>\n## `_get_default_cache_dir`",
"Returns default cache directory (data directory)",
" :raises: CacheFileError when default cached file does not is exist\n :return: path to default cache directory\n :rtype: str\n<END>",
"<BEGIN>\n## `_get_default_cache_file_path`",
"Returns defau... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _reload_tlds_from_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _reload_tlds_from_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.... | Reloads TLDs from file and compile regexp.
:raises: CacheFileError when cached file is not readable for user | "Reloads TLDs from file and compile regexp.\n :raises: CacheFileError when cached file is not readable for user" | 71 | false | lipoja/URLExtract | _reload_tlds_from_file | 16,880 | |
LDU_FT/astrocatalogs/astrocats/_delete_entry_file | LDU_FT | [
"<BEGIN>\n## `main`",
"Primary entry point for all AstroCats catalogs.",
" From this entry point, all internal catalogs can be accessed and their\n public methods executed (for example: import scripts).\n<END>",
"<BEGIN>\n## `setup_user_config`",
"Setup a configuration file in the user's home director... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_entry_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_entry_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.
Th... | Delete the file associated with the given entry. | "Delete the file associated with the given entry." | 243 | false | astrocatalogs/astrocats | _delete_entry_file | 16,881 | |
LDU_FT/getnikola/coil/login | LDU_FT | [
"<BEGIN>\n## `orphans_single`",
"Remove all orphans in the site, in the single user-mode.\n<END>",
"<BEGIN>\n## `password_hash`",
"Hash the password, using bcrypt+sha256.",
" .. versionchanged:: 1.1.0",
" :param str password: Password in plaintext\n :return: password hash\n :rtype: str\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Handle user authentication.
If requested over GET, present login page.
If requested over POST, log user in.
:param str status: Status of previous request/login attempt | "Handle user authentication.\n\n If requested over GET, present login page.\n If requested over POST, log user in.\n\n :param str status: Status of previous request/login attempt" | 68 | false | getnikola/coil | login | 16,882 | |
LDU_FT/samirelanduk/quickplots/scatter | LDU_FT | [
"<BEGIN>\n## `color`",
"Returns or sets (if a value is provided) the series' colour.",
" :param str color: If given, the series' colour will be set to this.\n :rtype: ``str``\n<END>",
"<BEGIN>\n## `name`",
"Returns or sets (if a value is provided) the series' name.",
" :param str name... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scatter API.
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 scatter API.
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... | Adds a :py:class:`.ScatterSeries` to the chart.
:param \*data: The data for the series as either (x,y) values or two big\
tuples/lists of x and y values respectively.
:param str name: The name to be associated with the series.
:param str color: The hex colour of the line.
:param... | "Adds a :py:class:`.ScatterSeries` to the chart.\n\n :param \\*data: The data for the series as either (x,y) values or two big\\\n tuples/lists of x and y values respectively.\n :param str name: The name to be associated with the series.\n :param str color: The hex colour of the line.\n ... | 112 | false | samirelanduk/quickplots | scatter | 16,883 | |
LDU_FT/MozillaSecurity/fuzzfetch/iterall | LDU_FT | [
"<BEGIN>\n## `_si`",
"Format a number using base-2 SI prefixes\n<END>",
"<BEGIN>\n## `_extract_file`",
"Extract files while explicitly setting the proper permissions\n<END>",
"<BEGIN>\n## `build_string`",
"Taskcluster denotes builds in one of two formats - i.e. linux64-asan or linux64-asan-opt\n Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterall API.
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 iterall API.
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... | Generator for all possible BuildTasks with these parameters | "Generator for all possible BuildTasks with these parameters" | 60 | false | MozillaSecurity/fuzzfetch | iterall | 16,884 | |
LDU_FT/kytos/kytos-utils/build_napp_package | LDU_FT | [
"<BEGIN>\n## `get_napp`",
"Return napp metadata or None if not found.\n<END>",
"<BEGIN>\n## `reload_napps`",
"Reload a specific NApp or all Napps.",
" Args:\n napp (list): NApp list to be reload.\n Raises:\n requests.HTTPError: When there's a server error.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_napp_package 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 build_napp_package 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... | Build the .napp file to be sent to the napps server.
Args:
napp_identifier (str): Identifier formatted as
<username>/<napp_name>
Return:
file_payload (binary): The binary representation of the napp
package that will be POSTed to the napp server. | "Build the .napp file to be sent to the napps server.\n\n Args:\n napp_identifier (str): Identifier formatted as\n <username>/<napp_name>\n\n Return:\n file_payload (binary): The binary representation of the napp\n package that will be POSTed to the napp... | 128 | false | kytos/kytos-utils | build_napp_package | 16,885 | |
LDU_FT/deontologician/restnavigator/fetch | LDU_FT | [
"<BEGIN>\n## `cache`",
"Stores a navigator in the identity map for the current\n api. Can take a link or a bare uri\n<END>",
"<BEGIN>\n## `get_cached`",
"Retrieves a cached navigator from the id_map.",
" Either a Link object or a bare uri string may be passed in.\n<END>",
"<BEGIN>\n## `is_ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
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 fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Performs a GET request to the uri of this navigator | "Performs a GET request to the uri of this navigator" | 72 | false | deontologician/restnavigator | fetch | 16,886 | |
LDU_FT/raiden-network/raiden-contracts/join_sources | 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 join_sources API.
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 join_sources API.
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... | Use join-contracts.py to concatenate all imported Solidity files.
Args:
source_module: a module name to look up contracts_source_path()
contract_name: 'TokenNetworkRegistry', 'SecretRegistry' etc. | "Use join-contracts.py to concatenate all imported Solidity files.\n\n Args:\n source_module: a module name to look up contracts_source_path()\n contract_name: 'TokenNetworkRegistry', 'SecretRegistry' etc." | 76 | false | raiden-network/raiden-contracts | join_sources | 16,887 | |
LDU_FT/ianepperson/telnetsrvlib/_inputcooker_getc | LDU_FT | [
"<BEGIN>\n## `inputcooker_store_queue`",
"Put the cooked data in the input queue (no locking needed)\n<END>",
"<BEGIN>\n## `streamserver_handle`",
"Translate this class for use in a StreamServer\n<END>",
"<BEGIN>\n## `check_channel_shell_request`",
"Request to start a shell on the given channel\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _inputcooker_getc API.
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 _inputcooker_getc API.
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 one character from the raw queue. Optionally blocking.
Raise EOFError on end of stream. SHOULD ONLY BE CALLED FROM THE
INPUT COOKER. | "Get one character from the raw queue. Optionally blocking.\n Raise EOFError on end of stream. SHOULD ONLY BE CALLED FROM THE\n INPUT COOKER." | 45 | false | ianepperson/telnetsrvlib | _inputcooker_getc | 16,888 | |
LDU_FT/maartenbreddels/ipyvolume/animate_glyphs | LDU_FT | [
"<BEGIN>\n## `volshow`",
"Deprecated: please use ipyvolume.quickvolshow or use the ipyvolume.pylab interface.\n<END>",
"<BEGIN>\n## `quickvolshow`",
"Visualize a 3d array using volume rendering.",
" :param data: 3d numpy array\n :param lighting: boolean, to use lighting or not, if set to false, lighti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the animate_glyphs API.
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 animate_glyphs API.
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... | Deprecated: please use animation_control. | "Deprecated: please use animation_control." | 141 | false | maartenbreddels/ipyvolume | animate_glyphs | 16,889 | |
LDU_FT/PlaidWeb/Pushl/is_archive | LDU_FT | [
"<BEGIN>\n## `get_feed`",
"Get a feed",
" Arguments:",
" config -- the configuration\n url -- The URL of the feed",
" retval -- a tuple of feed,previous_version,changed\n<END>",
"<BEGIN>\n## `archive_namespace`",
"Returns the known namespace of the RFC5005 extension, if any\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_archive API.
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 is_archive API.
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... | Given a parsed feed, returns True if this is an archive feed | "Given a parsed feed, returns True if this is an archive feed" | 38 | false | PlaidWeb/Pushl | is_archive | 16,890 | |
LDU_FT/textmagic/textmagic-rest-python/lists | LDU_FT | [
"<BEGIN>\n## `messages`",
"Fetch messages by given session id.\n An useful synonym for \"messages/search\" command with provided `sessionId` parameter.\n Returns a list of :class:`Message` objects and a pager dict.",
" :Example:",
" messages = client.sessions.messages(1901001)",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lists API.
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 lists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns a list of :class:`List` objects (lists which Contact belongs to) and a pager dict.
:Example:
lists, pager = client.contacts.lists(uid=1901010)
:param int uid: The unique id of the Contact to update. Required.
:param int page: Fetch specified results page. Default=1
... | "Returns a list of :class:`List` objects (lists which Contact belongs to) and a pager dict.\n\n :Example:\n\n lists, pager = client.contacts.lists(uid=1901010)\n\n :param int uid: The unique id of the Contact to update. Required.\n :param int page: Fetch specified results page. Default=1\... | 112 | false | textmagic/textmagic-rest-python | lists | 16,891 | |
LDU_FT/indranilsinharoy/pyzos/wrapped_zos_object | LDU_FT | [
"<BEGIN>\n## `get_callable_method_dict`",
"Returns a dictionary of callable methods of object `obj`.",
" @param obj: ZOS API Python COM object\n @return: a dictionary of callable methods",
" Notes: \n the function only returns the callable attributes that are listed by dir() \n function. Proper... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrapped_zos_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrapped_zos_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Helper function to wrap ZOS API COM objects.
@param zos_obj : ZOS API Python COM object
@return: instance of the wrapped ZOS API class. If the input object is not a ZOS-API
COM object or if it is already wrapped, then the object is returned without
wrapping.
Notes:
The funct... | "Helper function to wrap ZOS API COM objects. \n\n @param zos_obj : ZOS API Python COM object\n @return: instance of the wrapped ZOS API class. If the input object is not a ZOS-API\n COM object or if it is already wrapped, then the object is returned without\n wrapping.\n\n Notes:\n ... | 48 | false | indranilsinharoy/pyzos | wrapped_zos_object | 16,892 | |
LDU_FT/davidsoncasey/quiver/make_plot | LDU_FT | [
"<BEGIN>\n## `regex_check`",
"A quick regular expression check to see that the input is sane",
" Args:\n equation_str (str): String of equation to be parsed by sympify\n function. Expected to be valid Python.",
" Raises:\n BadInputError: If input does not look safe to parse as an equati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_plot API.
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 make_plot API.
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... | Draw the plot on the figure attribute
Uses matplotlib to draw and format the chart | "Draw the plot on the figure attribute\n \n Uses matplotlib to draw and format the chart" | 24 | false | davidsoncasey/quiver | make_plot | 16,893 | |
LDU_FT/stephenmcd/gnotty/bot_watcher | LDU_FT | [
"<BEGIN>\n## `messages`",
"Show messages for the given query or day.\n<END>",
"<BEGIN>\n## `calendar`",
"Show calendar months for the given year/month.\n<END>",
"<BEGIN>\n## `_dispatcher`",
"This is the method in ``SimpleIRCClient`` that all IRC events\n get passed through. Here we map events to ou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bot_watcher API.
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 bot_watcher API.
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... | Thread (greenlet) that will try and reconnect the bot if
it's not connected. | "Thread (greenlet) that will try and reconnect the bot if\n it's not connected." | 76 | false | stephenmcd/gnotty | bot_watcher | 16,894 | |
LDU_FT/asweigart/pysimplevalidate/_prevalidationCheck | LDU_FT | [
"<BEGIN>\n## `_errstr`",
"Returns the value str, truncated to MAX_ERROR_STR_LEN characters. If\n it's truncated, the returned value will have '...' on the end.\n<END>",
"<BEGIN>\n## `_getStrippedValue`",
"Like the strip() string method, except the strip argument describes\n different behavior:",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prevalidationCheck 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 _prevalidationCheck API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns a tuple of two values: the first is a bool that tells the caller
if they should immediately return True, the second is a new, possibly stripped
value to replace the value passed for value parameter.
We'd want the caller immediately return value in some cases where further
validation isn't neede... | "Returns a tuple of two values: the first is a bool that tells the caller\n if they should immediately return True, the second is a new, possibly stripped\n value to replace the value passed for value parameter.\n\n We'd want the caller immediately return value in some cases where further\n validation isn't... | 148 | false | asweigart/pysimplevalidate | _prevalidationCheck | 16,895 | |
LDU_FT/probcomp/crosscat/union | LDU_FT | [
"<BEGIN>\n## `find`",
"Find current canonical representative equivalent to node.",
" Adjust the parent pointer of each node along the way to the root\n to point directly at the root for inverse-Ackerman-fast access.\n<END>",
"<BEGIN>\n## `union`",
"Assert equality of two nodes a and b so find(a) is fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the union API.
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 union API.
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... | Assert equality of two nodes a and b so find(a) is find(b). | "Assert equality of two nodes a and b so find(a) is find(b)." | 92 | false | probcomp/crosscat | union | 16,896 | |
LDU_FT/zeroSteiner/smoke-zephyr/parse_case_snake_to_camel | LDU_FT | [
"<BEGIN>\n## `normalize_job_id`",
"Convert a value to a job id.",
"\t:param job_id: Value to convert.\n\t:type job_id: int, str\n\t:return: The job id.\n\t:rtype: :py:class:`uuid.UUID`\n<END>",
"<BEGIN>\n## `now`",
"Return a :py:class:`datetime.datetime` instance representing the current time.",
"\t\t:rty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_case_snake_to_camel 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 parse_case_snake_to_camel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Convert a string from snake_case to CamelCase.
:param str snake: The snake_case string to convert.
:param bool upper_first: Whether or not to capitalize the first
character of the string.
:return: The CamelCase version of string.
:rtype: str | "Convert a string from snake_case to CamelCase.\n\n\t:param str snake: The snake_case string to convert.\n\t:param bool upper_first: Whether or not to capitalize the first\n\t\tcharacter of the string.\n\t:return: The CamelCase version of string.\n\t:rtype: str" | 116 | false | zeroSteiner/smoke-zephyr | parse_case_snake_to_camel | 16,897 | |
LDU_FT/mlenzen/collections-extended/hash_iterable | LDU_FT | [
"<BEGIN>\n## `get`",
"Return value with given key or index.",
"\t\tIf no value is found, return d (None by default).\n<END>",
"<BEGIN>\n## `pop`",
"Remove and return value with given key or index (last item by default).",
"\t\tIf key is not found, returns d if given,\n\t\totherwise raises KeyError or Inde... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hash_iterable API.
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 hash_iterable API.
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... | Perform a O(1) memory hash of an iterable of arbitrary length.
hash(tuple(it)) creates a temporary tuple containing all values from it
which could be a problem if it is large.
See discussion at:
https://groups.google.com/forum/#!msg/python-ideas/XcuC01a8SYs/e-doB9TbDwAJ | "Perform a O(1) memory hash of an iterable of arbitrary length.\n\n\thash(tuple(it)) creates a temporary tuple containing all values from it\n\twhich could be a problem if it is large.\n\n\tSee discussion at:\n\thttps://groups.google.com/forum/#!msg/python-ideas/XcuC01a8SYs/e-doB9TbDwAJ" | 104 | false | mlenzen/collections-extended | hash_iterable | 16,898 | |
LDU_FT/idlesign/django-sitecats/_cache_init | LDU_FT | [
"<BEGIN>\n## `get_category_lists`",
"Returns a list of CategoryList objects, associated with\n this model instance.",
" :param dict|None init_kwargs:\n :param list|None additional_parents_aliases:\n :rtype: list|CategoryRequestHandler\n :return:\n<END>",
"<BEGIN>\n## `enable... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cache_init API.
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 _cache_init API.
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... | Initializes local cache from Django cache if required. | "Initializes local cache from Django cache if required." | 73 | false | idlesign/django-sitecats | _cache_init | 16,899 | |
LDU_FT/ofek/bit/satoshi_to_currency | LDU_FT | [
"<BEGIN>\n## `currency_to_satoshi`",
"Converts a given amount of currency to the equivalent number of\n satoshi. The amount can be either an int, float, or string as long as\n it is a valid input to :py:class:`decimal.Decimal`.",
" :param amount: The quantity of currency.\n :param currency: One of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the satoshi_to_currency 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 satoshi_to_currency 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... | Converts a given number of satoshi to another currency as a formatted
string rounded down to the proper number of decimal places.
:param num: The number of satoshi.
:type num: ``int``
:param currency: One of the :ref:`supported currencies`.
:type currency: ``str``
:rtype: ``str`` | "Converts a given number of satoshi to another currency as a formatted\n string rounded down to the proper number of decimal places.\n\n :param num: The number of satoshi.\n :type num: ``int``\n :param currency: One of the :ref:`supported currencies`.\n :type currency: ``str``\n :rtype: ``str``" | 71 | false | ofek/bit | satoshi_to_currency | 16,900 | |
LDU_FT/inveniosoftware/invenio-files-rest/verify_checksum | LDU_FT | [
"<BEGIN>\n## `send_stream`",
"Send the contents of a file to the client.",
" .. warning::",
" It is very easy to be exposed to Cross-Site Scripting (XSS) attacks if\n you serve user uploaded files. Here are some recommendations:",
" 1. Serve user uploaded files from a separate do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_checksum API.
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 verify_checksum API.
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... | Verify checksum of a file instance.
:param file_id: The file ID. | "Verify checksum of a file instance.\n\n :param file_id: The file ID." | 272 | false | inveniosoftware/invenio-files-rest | verify_checksum | 16,901 | |
LDU_FT/darothen/xbpch/open_mfbpchdataset | LDU_FT | [
"<BEGIN>\n## `from_model`",
"Define a grid using the specifications of a given model.",
" Parameters\n ----------\n model_name : string\n Name the model (see :func:`get_supported_models` for available\n model names).\n Supports multiple formats (e.g., 'GEOS5... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_mfbpchdataset 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 open_mfbpchdataset 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... | Open multiple bpch files as a single dataset.
You must have dask installed for this to work, as this greatly
simplifies issues relating to multi-file I/O.
Also, please note that this is not a very performant routine. I/O is still
limited by the fact that we need to manually scan/read through each bpch... | "Open multiple bpch files as a single dataset.\n\n You must have dask installed for this to work, as this greatly\n simplifies issues relating to multi-file I/O.\n\n Also, please note that this is not a very performant routine. I/O is still\n limited by the fact that we need to manually scan/read through ea... | 122 | false | darothen/xbpch | open_mfbpchdataset | 16,902 | |
LDU_FT/sbusard/wagoner/random_word | LDU_FT | [
"<BEGIN>\n## `random_weighted_choice`",
"Return a random key of choices, weighted by their value.",
" :param choices: a dictionary of keys and positive integer pairs;\n :return: a random key of choices.\n<END>",
"<BEGIN>\n## `extract_words`",
"Extract from the given iterable of lines the list of words... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_word API.
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 random_word API.
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... | Generate a random word of length from this table.
:param length: the length of the generated word; >= 1;
:param prefix: if greater than 0, the maximum length of the prefix to
consider to choose the next character;
:param start: if True, the generated word starts as a word... | "Generate a random word of length from this table.\n\n :param length: the length of the generated word; >= 1;\n :param prefix: if greater than 0, the maximum length of the prefix to\n consider to choose the next character;\n :param start: if True, the generated word starts as ... | 37 | false | sbusard/wagoner | random_word | 16,903 | |
LDU_FT/eventbrite/localization_shuttle/_process_locale | LDU_FT | [
"<BEGIN>\n## `_process_locale`",
"Return True if this locale should be processed.\n<END>",
"<BEGIN>\n## `desk_locale`",
"Return the Desk-style locale for locale.\n<END>",
"<BEGIN>\n## `make_resource_document`",
"Return a single HTML document containing the title and content.\n<END>",
"<BEGIN>\n## `parse... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_locale API.
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 _process_locale API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return True if this locale should be processed. | "Return True if this locale should be processed." | 21 | false | eventbrite/localization_shuttle | _process_locale | 16,904 | |
LDU_FT/jashort/SmartFileSorter/build_rules | LDU_FT | [
"<BEGIN>\n## `do_action`",
":param target: Full path and filename\n :param dry_run: True - don't actually perform action. False: perform action. No effect for this rule.\n :return: filename: Full path and filename after action completes\n<END>",
"<BEGIN>\n## `add_match_rule`",
"Adds the given ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_rules API.
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 build_rules API.
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 parsed rule YAML in to a list of ruleset objects
:param rule_yaml: Dictionary parsed from YAML rule file
:param match_plugins: Dictionary of match plugins (key=config_name, value=plugin object)
:param action_plugins: Dictionary of action plugins (key=config_name, value=plugin object)
... | "Convert parsed rule YAML in to a list of ruleset objects\n :param rule_yaml: Dictionary parsed from YAML rule file\n :param match_plugins: Dictionary of match plugins (key=config_name, value=plugin object)\n :param action_plugins: Dictionary of action plugins (key=config_name, value=plugin object)... | 38 | false | jashort/SmartFileSorter | build_rules | 16,905 | |
LDU_FT/HiPERCAM/hcam_widgets/loadJSON | LDU_FT | [
"<BEGIN>\n## `update`",
"Adds a handler to save to a file. Includes debug stuff.\n<END>",
"<BEGIN>\n## `saveJSON`",
"Saves the current setup to disk.",
" g : hcam_drivers.globals.Container\n Container with globals",
" data : dict\n The current setup in JSON compatible dictionary format.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the loadJSON API.
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 loadJSON API.
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... | Loads in an application saved in JSON format. | "Loads in an application saved in JSON format." | 233 | false | HiPERCAM/hcam_widgets | loadJSON | 16,906 | |
LDU_FT/HydrelioxGitHub/pyiss/next_rise | LDU_FT | [
"<BEGIN>\n## `people_in_space`",
"Number of people in space.\n Be aware that does not mean these people are inside the ISS (it does\n most of the time), They can be travelling to and from the station.",
" :return: Return a dict with number of people in space right now and\n their nam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_rise API.
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 next_rise API.
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... | The next rise of the ISS.
:param latitude: latitude in degrees of location you want iss pass
above
:type latitude: float
:param longitude: longitude in degrees of location you want iss pass
above
:type longitude: float
:param altitude: altitude in meters of locat... | "The next rise of the ISS.\n\n :param latitude: latitude in degrees of location you want iss pass\n above\n :type latitude: float\n :param longitude: longitude in degrees of location you want iss pass\n above\n :type longitude: float\n :param altitude: altitude in meters... | 15 | false | HydrelioxGitHub/pyiss | next_rise | 16,907 | |
LDU_FT/Microsoft/malmo/setup | LDU_FT | [
"<BEGIN>\n## `angvel`",
"Use sigmoid function to choose a delta that will help smoothly steer from current angle to target angle.\n<END>",
"<BEGIN>\n## `pointTo`",
"Steer towards the target pitch/yaw, return True when within the given tolerance threshold.\n<END>",
"<BEGIN>\n## `download`",
"Download Malmo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API.
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 setup API.
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... | Set up Minecraft for use with the MalmoEnv gym environment | "Set up Minecraft for use with the MalmoEnv gym environment" | 80 | false | Microsoft/malmo | setup | 16,908 | |
LDU_FT/isislovecruft/python-gnupg/_recv_keys | LDU_FT | [
"<BEGIN>\n## `get_requirements`",
"Extract the list of requirements from our requirements.txt.",
" :rtype: 2-tuple\n :returns: Two lists, the first is a list of requirements in the form of\n pkgname==version. The second is a list of URIs or VCS checkout strings\n which specify the dependency... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recv_keys API.
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 _recv_keys API.
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... | Import keys from a keyserver.
:param str keyids: A space-delimited string containing the keyids to
request.
:param str keyserver: The keyserver to request the ``keyids`` from;
defaults to `gnupg.GPG.keyserver`. | "Import keys from a keyserver.\n\n :param str keyids: A space-delimited string containing the keyids to\n request.\n :param str keyserver: The keyserver to request the ``keyids`` from;\n defaults to `gnupg.GPG.keyserver`." | 371 | false | isislovecruft/python-gnupg | _recv_keys | 16,909 | |
LDU_FT/python-useful-helpers/threaded/_get_function_wrapper | LDU_FT | [
"<BEGIN>\n## `build_extension`",
"build_extension.",
" :raises BuildFailed: cythonize impossible\n<END>",
"<BEGIN>\n## `_func`",
"Get wrapped function.",
" :rtype: typing.Optional[typing.Callable[..., typing.Union[typing.Awaitable, typing.Any]]]\n<END>",
"<BEGIN>\n## `_get_function_wrapper... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_function_wrapper 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_function_wrapper API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Here should be constructed and returned real decorator.
:param func: Wrapped function
:type func: typing.Callable
:return: wrapped coroutine or function
:rtype: typing.Callable[..., typing.Union[typing.Awaitable, concurrent.futures.Future]] | "Here should be constructed and returned real decorator.\n\n :param func: Wrapped function\n :type func: typing.Callable\n :return: wrapped coroutine or function\n :rtype: typing.Callable[..., typing.Union[typing.Awaitable, concurrent.futures.Future]]" | 42 | false | python-useful-helpers/threaded | _get_function_wrapper | 16,910 | |
LDU_FT/howl-anderson/MicroTokenizer/escape_html | LDU_FT | [
"<BEGIN>\n## `create_tokenizer`",
"Create a pipeline component from a factory.",
" name (unicode): Factory name to look up in `Language.factories`.\n config (dict): Configuration parameters to initialise component.\n RETURNS (callable): Pipeline component.\n<END>",
"<BEGIN>\n## `add_codes... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_html API.
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 escape_html API.
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... | Replace <, >, &, " with their HTML encoded representation. Intended to
prevent HTML errors in rendered displaCy markup.
text (unicode): The original text.
RETURNS (unicode): Equivalent text to be safely used within HTML. | "Replace <, >, &, \" with their HTML encoded representation. Intended to\n prevent HTML errors in rendered displaCy markup.\n\n text (unicode): The original text.\n RETURNS (unicode): Equivalent text to be safely used within HTML." | 43 | false | howl-anderson/MicroTokenizer | escape_html | 16,911 | |
LDU_FT/cmutel/constructive_geometries/construct_rest_of_worlds_mapping | LDU_FT | [
"<BEGIN>\n## `has_gis`",
"Skip function execution if there are no presamples\n<END>",
"<BEGIN>\n## `sha256`",
"Generate SHA 256 hash for file at `filepath`\n<END>",
"<BEGIN>\n## `check_data`",
"Check that definitions file is present, and that faces file is readable.\n<END>",
"<BEGIN>\n## `load_definitio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_rest_of_worlds_mapping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_rest_of_worlds_mapping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Construct topo mapping file for ``excluded``.
``excluded`` must be a **dictionary** of {"rest-of-world label": ["names", "of", "excluded", "locations"]}``.
Topo mapping has the data format:
.. code-block:: python
{
'data': [
['location label', ... | "Construct topo mapping file for ``excluded``.\n\n ``excluded`` must be a **dictionary** of {\"rest-of-world label\": [\"names\", \"of\", \"excluded\", \"locations\"]}``.\n\n Topo mapping has the data format:\n\n .. code-block:: python\n\n {\n 'data': [\n ... | 55 | false | cmutel/constructive_geometries | construct_rest_of_worlds_mapping | 16,912 | |
LDU_FT/raiden-network/raiden/update_events | LDU_FT | [
"<BEGIN>\n## `events_for_onchain_secretreveal`",
"Emits the event for revealing the secret on-chain if the transfer\n can not be settled off-chain.\n<END>",
"<BEGIN>\n## `handle_inittarget`",
"Handles an ActionInitTarget state change.\n<END>",
"<BEGIN>\n## `handle_offchain_secretreveal`",
"Validates an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_events API.
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 update_events API.
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... | Given a list of identifier/data event tuples update them in the DB | "Given a list of identifier/data event tuples update them in the DB" | 1,120 | true | raiden-network/raiden | update_events | 16,913 | |
LDU_FT/Infinidat/infi.clickhouse_orm/_partition_operation_sql | LDU_FT | [
"<BEGIN>\n## `_range_check`",
"Utility method to check that the given value is between min_value and max_value.\n<END>",
"<BEGIN>\n## `get_sql`",
"Returns an SQL expression describing the field (e.g. for CREATE TABLE).\n :param with_default_expression: If True, adds default value to sql.\n I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _partition_operation_sql 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 _partition_operation_sql API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Performs some operation over partition
:param db: Database object to execute operation on
:param operation: Operation to execute from SystemPart.OPERATIONS set
:param settings: Settings for executing request to ClickHouse over db.raw() method
:return: Operation execution result | "Performs some operation over partition\r\n :param db: Database object to execute operation on\r\n :param operation: Operation to execute from SystemPart.OPERATIONS set\r\n :param settings: Settings for executing request to ClickHouse over db.raw() method\r\n :return: Operation execution res... | 86 | false | Infinidat/infi.clickhouse_orm | _partition_operation_sql | 16,914 | |
LDU_FT/alefnula/tea/close | LDU_FT | [
"<BEGIN>\n## `smart_text`",
"Return a unicode object representing 's'.\r",
" Treats bytes using the 'encoding' codec.\r",
" If strings_only is True, don't convert (some) non-string-like objects.\n<END>",
"<BEGIN>\n## `smart_bytes`",
"Return a bytes version of 's' encoded as specified in 'encoding'.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Close the connection to the email server. | "Close the connection to the email server." | 240 | false | alefnula/tea | close | 16,915 | |
LDU_FT/StellarCN/py-stellar-base/to_xdr_object | LDU_FT | [
"<BEGIN>\n## `get`",
"Retrieve the account data that corresponds to this :class:`Address`.",
" Retrieve the account data from Horizon for the account that corresponds\n to this :class:`Address`. Attempt to retrieve the following attributes\n from Horizon:",
" * Sequence Number\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_xdr_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_xdr_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Creates an XDR Memo object for a transaction with MEMO_ID. | "Creates an XDR Memo object for a transaction with MEMO_ID." | 411 | false | StellarCN/py-stellar-base | to_xdr_object | 16,916 | |
LDU_FT/sparknetworks/pgpm/to_string | LDU_FT | [
"<BEGIN>\n## `deploy_schema_to_db`",
"Deploys schema\n :param files_deployment: if specific script to be deployed, only find them\n :param mode:\n :param vcs_ref:\n :param vcs_link:\n :param issue_ref:\n :param issue_link:\n :param compare_table_scripts_as_int:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_string API.
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 to_string API.
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... | stringifies version
:return: string of version | "stringifies version\n :return: string of version" | 39 | false | sparknetworks/pgpm | to_string | 16,917 | |
LDU_FT/dcwatson/django-pgcrypto/deconstruct | LDU_FT | [
"<BEGIN>\n## `armor`",
"Returns a string in ASCII Armor format, for the given binary data. The\n output of this is compatiple with pgcrypto's armor/dearmor functions.\n<END>",
"<BEGIN>\n## `dearmor`",
"Given a string in ASCII Armor format, returns the decoded binary data.\n If verify=True (the default),... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deconstruct API.
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 deconstruct API.
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... | Deconstruct the field for Django 1.7+ migrations. | "Deconstruct the field for Django 1.7+ migrations." | 14 | false | dcwatson/django-pgcrypto | deconstruct | 16,918 | |
LDU_FT/CartoDB/cartoframes/get_scheme_cartocss | LDU_FT | [
"<BEGIN>\n## `get_scheme_cartocss`",
"Get TurboCARTO CartoCSS based on input parameters\n<END>",
"<BEGIN>\n## `custom`",
"Create a custom scheme.",
" Args:\n colors (list of str): List of hex values for styling data\n bins (int, optional): Number of bins to style by. If not given, the\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scheme_cartocss 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_scheme_cartocss 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... | Get TurboCARTO CartoCSS based on input parameters | "Get TurboCARTO CartoCSS based on input parameters" | 217 | false | CartoDB/cartoframes | get_scheme_cartocss | 16,919 | |
LDU_FT/shi-cong/PYSTUDY/get | LDU_FT | [
"<BEGIN>\n## `add_view`",
"增加handler\n :param view_name: 路由\n :param handler: 处理类\n :return:\n<END>",
"<BEGIN>\n## `start`",
"启动服务器\n :param port: 端口号\n :return:\n<END>",
"<BEGIN>\n## `create_process`",
"创建进程\n :param daemon: True主进程关闭而关闭, False主进程必须等待子进程结束\n :para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | 模拟http get请求
:param url: 访问Url
:param headers: 请求头
:param cookies: 请求cookies
:param timeout: 超时时间
:param verify: ssl验证
:param proxies: 代理
:param allow_redirects: 是否允许重定向
:param encoding: 返回的html编码
:param params: 查询请求参数
:param stream: 是否为流数据... | "模拟http get请求\n :param url: 访问Url\n :param headers: 请求头\n :param cookies: 请求cookies\n :param timeout: 超时时间\n :param verify: ssl验证\n :param proxies: 代理\n :param allow_redirects: 是否允许重定向\n :param encoding: 返回的html编码\n :param params: 查询请求参数\n :param str... | 91 | false | shi-cong/PYSTUDY | get | 16,920 | |
LDU_FT/aliyun/aliyun-log-python-sdk/put_log_raw | LDU_FT | [
"<BEGIN>\n## `set`",
"override base to handle escape case: replace \\\" to \"\n<END>",
"<BEGIN>\n## `copy_project`",
"copy project, logstore, machine group and logtail config to target project,\n will create the target project if it doesn't exist",
" :type from_client: LogClient\n :param from_clien... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_log_raw API.
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 put_log_raw API.
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... | Put logs to log service. using raw data in protobuf
:type project: string
:param project: the Project name
:type logstore: string
:param logstore: the logstore name
:type log_group: LogGroup
:param log_group: log group structure
:type compress: bool... | "Put logs to log service. using raw data in protobuf\r\n\r\n :type project: string\r\n :param project: the Project name\r\n\r\n :type logstore: string\r\n :param logstore: the logstore name\r\n\r\n :type log_group: LogGroup\r\n :param log_group: log group structure\r\n\r\n ... | 600 | false | aliyun/aliyun-log-python-sdk | put_log_raw | 16,921 | |
LDU_FT/tijme/not-your-average-web-crawler/start_with | LDU_FT | [
"<BEGIN>\n## `get_new_requests`",
"Retrieve all the new request that were found in this request.",
" Returns:\n list(:class:`nyawc.http.Request`): A list of request objects.\n<END>",
"<BEGIN>\n## `__make_request`",
"Execute a request with the given data.",
" Args:\n url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_with API.
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 start_with API.
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... | Start the crawler using the given request.
Args:
request (:class:`nyawc.http.Request`): The startpoint for the crawler. | "Start the crawler using the given request.\n\n Args:\n request (:class:`nyawc.http.Request`): The startpoint for the crawler." | 220 | false | tijme/not-your-average-web-crawler | start_with | 16,922 | |
LDU_FT/nmdp-bioinformatics/SeqAnn/get_feature_by_path | LDU_FT | [
"<BEGIN>\n## `search_seqs`",
"search_seqs - method for annotating a BioPython sequence without alignment",
" :param seqrec: The reference sequence\n :type seqrec: SeqRecord\n :param locus: The gene locus associated with the sequence.\n :type locus: str\n :param in_seq: The inp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_feature_by_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_feature_by_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Retrieve an enumerated sequence feature
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(resp... | "Retrieve an enumerated sequence feature\n \n\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be invoked when receiving the response.\n >>> def callback_function(response):\n >>> ppr... | 112 | false | nmdp-bioinformatics/SeqAnn | get_feature_by_path | 16,923 | |
LDU_FT/asphalt-framework/asphalt/merge_config | 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 merge_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a copy of the ``original`` configuration dictionary, with overrides from ``overrides``
applied.
This similar to what :meth:`dict.update` does, but when a dictionary is about to be
replaced with another dictionary, it instead merges the contents.
If a key in ``overrides`` is a dotted path (ie. `... | "Return a copy of the ``original`` configuration dictionary, with overrides from ``overrides``\n applied.\n\n This similar to what :meth:`dict.update` does, but when a dictionary is about to be\n replaced with another dictionary, it instead merges the contents.\n\n If a key in ``overrides`` is a dotted path... | 143 | false | asphalt-framework/asphalt | merge_config | 16,924 | |
LDU_FT/pytries/DAWG-Python/similar_items | LDU_FT | [
"<BEGIN>\n## `similar_keys`",
"Returns all variants of ``key`` in this DAWG according to\n ``replaces``.",
" ``replaces`` is an object obtained from\n ``DAWG.compile_replaces(mapping)`` where mapping is a dict\n that maps single-char unicode sitrings to another single-char\n u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the similar_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the similar_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 ext... | Returns a list of (key, value) tuples for all variants of ``key``
in this DAWG according to ``replaces``.
``replaces`` is an object obtained from
``DAWG.compile_replaces(mapping)`` where mapping is a dict
that maps single-char unicode sitrings to another single-char
unicode stri... | "Returns a list of (key, value) tuples for all variants of ``key``\n in this DAWG according to ``replaces``.\n\n ``replaces`` is an object obtained from\n ``DAWG.compile_replaces(mapping)`` where mapping is a dict\n that maps single-char unicode sitrings to another single-char\n unico... | 16 | false | pytries/DAWG-Python | similar_items | 16,925 | |
LDU_FT/tomplus/kubernetes_asyncio/read_mutating_webhook_configuration | LDU_FT | [
"<BEGIN>\n## `raw`",
"Sets the raw of this RuntimeRawExtension.",
" Raw is the underlying serialization of this object. # noqa: E501",
" :param raw: The raw of this RuntimeRawExtension. # noqa: E501\n :type: str\n<END>",
"<BEGIN>\n## `delete_namespaced_cron_job`",
"delete_namespaced... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_mutating_webhook_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_mutating_webhook_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | read_mutating_webhook_configuration # noqa: E501
read the specified MutatingWebhookConfiguration # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.read_mutating_webhook_configuration(... | "read_mutating_webhook_configuration # noqa: E501\n\n read the specified MutatingWebhookConfiguration # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.read_mutating_webhook_configur... | 1,540 | true | tomplus/kubernetes_asyncio | read_mutating_webhook_configuration | 16,926 | |
LDU_FT/raiden-network/raiden-contracts/register_token_network | 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 register_token_network 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 register_token_network API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Register token with a TokenNetworkRegistry contract. | "Register token with a TokenNetworkRegistry contract." | 76 | false | raiden-network/raiden-contracts | register_token_network | 16,927 | |
LDU_FT/teepark/greenhouse/readline | LDU_FT | [
"<BEGIN>\n## `read`",
"read up to len bytes and return them, or empty string on EOF\n<END>",
"<BEGIN>\n## `write`",
"write data to the ssl channel and return the # of bytes transferred\n<END>",
"<BEGIN>\n## `connect`",
"connects to the address and wraps the connection in an SSL context\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readline API.
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 readline API.
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... | read from the file until a newline is encountered
.. note::
this method will block if there isn't already a full line available
from the data source
:param max_len: stop reading a single line after this many bytes
:type max_len: int
:returns:
a str... | "read from the file until a newline is encountered\n\n .. note::\n\n this method will block if there isn't already a full line available\n from the data source\n\n :param max_len: stop reading a single line after this many bytes\n :type max_len: int\n\n :returns:\n ... | 349 | false | teepark/greenhouse | readline | 16,928 | |
LDU_FT/onelogin/python3-saml/validate_node_sign | LDU_FT | [
"<BEGIN>\n## `get_issuer`",
"Gets the Issuer of the Logout Response Message\n :return: The Issuer\n :rtype: string\n<END>",
"<BEGIN>\n## `get_status`",
"Gets the Status\n :return: The Status\n :rtype: string\n<END>",
"<BEGIN>\n## `is_valid`",
"Determines if the SAML LogoutRespo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_node_sign API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_node_sign API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Validates a signature node.
:param signature_node: The signature node
:type: Node
:param xml: The element we should validate
:type: Document
:param cert: The public cert
:type: string
:param fingerprint: The fingerprint of the public cert
:type: string... | "Validates a signature node.\n\n :param signature_node: The signature node\n :type: Node\n\n :param xml: The element we should validate\n :type: Document\n\n :param cert: The public cert\n :type: string\n\n :param fingerprint: The fingerprint of the public cert\n ... | 302 | false | onelogin/python3-saml | validate_node_sign | 16,929 | |
LDU_FT/GoogleCloudPlatform/compute-image-packages/GetConfiguredUsers | LDU_FT | [
"<BEGIN>\n## `EnableNetworkInterfaces`",
"Enable the list of network interfaces.",
" Args:\n interfaces: list of string, the output device names to enable.\n logger: logger object, used to write to SysLog and serial port.\n dhclient_script: string, the path to a dhclient script used by dhclien... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetConfiguredUsers 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 GetConfiguredUsers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Retrieve the list of configured Google user accounts.
Returns:
list, the username strings of users congfigured by Google. | "Retrieve the list of configured Google user accounts.\n\n Returns:\n list, the username strings of users congfigured by Google." | 310 | false | GoogleCloudPlatform/compute-image-packages | GetConfiguredUsers | 16,930 | |
LDU_FT/twisted/mantissa/getContactItems | LDU_FT | [
"<BEGIN>\n## `createUser`",
"Create a new, blank user account with the given name and domain and, if\n specified, with the given password.",
" @type localpart: C{unicode}\n @param localpart: The local portion of the username. ie, the\n C{'alice'} in C{'alice@example.com'}.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getContactItems API.
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 getContactItems API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return a C{list} of the L{PostalAddress} items associated with the
given person.
@type person: L{Person} | "Return a C{list} of the L{PostalAddress} items associated with the\n given person.\n\n @type person: L{Person}" | 1,120 | true | twisted/mantissa | getContactItems | 16,931 | |
LDU_FT/RJT1990/pyflux/pdf | LDU_FT | [
"<BEGIN>\n## `_get_scale_and_shape`",
"Obtains model scale, shape and skewness latent variables",
" Parameters\n ----------\n transformed_lvs : np.array\n Transformed latent variable vector",
" Returns\n ----------\n - Tuple of model scale, model shape, mod... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pdf API.
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 pdf API.
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... | PDF for Inverse Gamma prior
Parameters
----------
x : float
Latent variable for which the prior is being formed over
Returns
----------
- p(x) | "PDF for Inverse Gamma prior\n\n Parameters\n ----------\n x : float\n Latent variable for which the prior is being formed over\n\n Returns\n ----------\n - p(x)" | 1,462 | true | RJT1990/pyflux | pdf | 16,932 | |
LDU_FT/emory-libraries/eulcommon/value_from_datadict | LDU_FT | [
"<BEGIN>\n## `search_terms`",
"Takes a search string and parses it into a list of keywords and\n phrases.\n<END>",
"<BEGIN>\n## `pages_to_show`",
"Generate a dictionary of pages to show around the current page. Show\n 3 numbers on either side of the specified page, or more if close to end or\n beginn... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value_from_datadict 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 value_from_datadict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Generate a single value from multi-part form data. Constructs a W3C
date based on values that are set, leaving out day and month if they are
not present.
:param data: dictionary of data submitted by the form
:param files: - unused
:param name: base name of the form field
... | "Generate a single value from multi-part form data. Constructs a W3C\n date based on values that are set, leaving out day and month if they are\n not present.\n\n :param data: dictionary of data submitted by the form\n :param files: - unused\n :param name: base name of the form field... | 52 | false | emory-libraries/eulcommon | value_from_datadict | 16,933 | |
LDU_FT/clchiou/startup/_notify_reader_writes | LDU_FT | [
"<BEGIN>\n## `_get_not_annotated`",
"Return non-optional parameters that are not annotated.\n<END>",
"<BEGIN>\n## `_parse_args`",
"Return a list of arguments with the variable it reads.",
" NOTE: Multiple arguments may read the same variable.\n<END>",
"<BEGIN>\n## `_parse_ret`",
"Parse func's return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _notify_reader_writes 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 _notify_reader_writes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Notify reader closures about these writes and return a sorted
list of thus-satisfied closures. | "Notify reader closures about these writes and return a sorted\n list of thus-satisfied closures." | 20 | false | clchiou/startup | _notify_reader_writes | 16,934 | |
LDU_FT/vasilcovsky/pytinypng/_main | LDU_FT | [
"<BEGIN>\n## `shrink`",
"To shrink a PNG image, post the data to the API service.\n The response is a JSON message.\n The initial request must be authorized with HTTP Basic authorization.",
" @param image: PNG image bytes sequence\n @param apikey: TinyPNG API key\n @param filename: filename of in... | 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 d... | 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 d... | Batch compression.
args contains:
* input - path to input directory
* output - path to output directory or None
* apikey - TinyPNG API key
* overwrite - boolean flag | "Batch compression.\n\n args contains:\n * input - path to input directory\n * output - path to output directory or None\n * apikey - TinyPNG API key\n * overwrite - boolean flag" | 21 | false | vasilcovsky/pytinypng | _main | 16,935 | |
LDU_FT/networks-lab/tidyextractors/_drop_collections | 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 _drop_collections API.
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 _drop_collections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Drops columns containing collections (i.e. sets, dicts, lists) from a DataFrame.
:param pandas.DataFrame df: Usually self._data.
:return: pandas.DataFrame | "Drops columns containing collections (i.e. sets, dicts, lists) from a DataFrame.\n\n :param pandas.DataFrame df: Usually self._data.\n :return: pandas.DataFrame" | 81 | false | networks-lab/tidyextractors | _drop_collections | 16,936 | |
LDU_FT/singularityhub/singularity-cli/kill | LDU_FT | [
"<BEGIN>\n## `run`",
"run is a wrapper to create, start, attach, and delete a container.",
" Equivalent command line example: \n singularity oci run -b ~/bundle mycontainer",
" Parameters\n ==========\n bundle: the full path to the bundle folder\n container_id:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kill API.
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 kill API.
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... | stop (kill) a started OciImage container, if it exists
Equivalent command line example:
singularity oci kill <container_ID>
Parameters
==========
container_id: the id to stop.
signal: signal sent to the container (default SIGTERM)
sudo: Add s... | "stop (kill) a started OciImage container, if it exists\n\n Equivalent command line example: \n singularity oci kill <container_ID>\n \n Parameters\n ==========\n container_id: the id to stop.\n signal: signal sent to the container (default SIGTERM)\n s... | 336 | false | singularityhub/singularity-cli | kill | 16,937 | |
LDU_FT/django-crispy-forms/django-crispy-forms/wrap_once | LDU_FT | [
"<BEGIN>\n## `do_uni_form`",
"You need to pass in at least the form/formset object, and can also pass in the\n optional `crispy_forms.helpers.FormHelper` object.",
" helper (optional): A `crispy_forms.helper.FormHelper` object.",
" Usage::",
" {% load crispy_tags %}\n {% crispy form f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_once API.
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 wrap_once API.
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... | Wraps every layout object pointed in `self.slice` under a `LayoutClass` instance with
`args` and `kwargs` passed, unless layout object's parent is already a subclass of
`LayoutClass`. | "Wraps every layout object pointed in `self.slice` under a `LayoutClass` instance with\n `args` and `kwargs` passed, unless layout object's parent is already a subclass of\n `LayoutClass`." | 89 | false | django-crispy-forms/django-crispy-forms | wrap_once | 16,938 | |
LDU_FT/cirruscluster/cirruscluster/varReplace | LDU_FT | [
"<BEGIN>\n## `fetch_file`",
"save a remote file to the specified path\n<END>",
"<BEGIN>\n## `_varFindLimitSpace`",
"limits the search space of space to part",
" basically does space.get(part, None), but with\n templating for part and a few more things\n<END>",
"<BEGIN>\n## `_varFind`",
"Searches f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the varReplace API.
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 varReplace API.
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... | Perform variable replacement of $variables in string raw using vars dictionary | "Perform variable replacement of $variables in string raw using vars dictionary" | 225 | false | cirruscluster/cirruscluster | varReplace | 16,939 | |
LDU_FT/cwoebker/pen/combine_focus_with_prev | LDU_FT | [
"<BEGIN>\n## `re_tab`",
"Return a tabbed string from an expanded one.\n<END>",
"<BEGIN>\n## `_get_at_pos`",
"Return a widget for the line number passed.\n<END>",
"<BEGIN>\n## `split_focus`",
"Divide the focus edit widget at the cursor location.\n<END>",
"<BEGIN>\n## `combine_focus_with_prev`",
"Combin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the combine_focus_with_prev 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 combine_focus_with_prev API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Combine the focus edit widget with the one above. | "Combine the focus edit widget with the one above." | 10 | false | cwoebker/pen | combine_focus_with_prev | 16,940 | |
LDU_FT/GGiecold/Concurrent_AP/rows_sum_init | LDU_FT | [
"<BEGIN>\n## `chunk_generator`",
"Returns a generator of slice objects.",
" Parameters\n ----------\n N : int\n The size of one of the dimensions of a two-dimensional array. ",
" n : int\n The number of arrays of shape ('N', 'get_chunk_size(N, n)') that fit into\n memory.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rows_sum_init API.
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 rows_sum_init API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Create global variables sharing the same object as the one pointed by
'hdf5_file', 'path' and 'out_lock'.
Also Create a NumPy array copy of a multiprocessing.Array ctypes array
specified by '*numpy_args'. | "Create global variables sharing the same object as the one pointed by\n 'hdf5_file', 'path' and 'out_lock'.\n Also Create a NumPy array copy of a multiprocessing.Array ctypes array \n specified by '*numpy_args'." | 61 | false | GGiecold/Concurrent_AP | rows_sum_init | 16,941 | |
LDU_FT/humangeo/rawes/get_connection | LDU_FT | [
"<BEGIN>\n## `_dict_to_map_str_str`",
"Thrift requires the params and headers dict values to only contain str values.\n<END>",
"<BEGIN>\n## `_get_connection_from_url`",
"Returns a connection object given a string url\n<END>",
"<BEGIN>\n## `mark_dead`",
"Mark the connection as dead (failed). Remove it from... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return a connection from the pool using the `ConnectionSelector`
instance.
It tries to resurrect eligible connections, forces a resurrection when
no connections are availible and passes the list of live connections to
the selector instance to choose from.
Returns a connection i... | "Return a connection from the pool using the `ConnectionSelector`\n instance.\n\n It tries to resurrect eligible connections, forces a resurrection when\n no connections are availible and passes the list of live connections to\n the selector instance to choose from.\n\n Returns a conn... | 14 | false | humangeo/rawes | get_connection | 16,942 | |
LDU_FT/grantmcconnaughey/django-avatar/cache_result | LDU_FT | [
"<BEGIN>\n## `_get_next`",
"The part that's the least straightforward about views in this module is\n how they determine their redirects after they have finished computation.",
" In short, they will try and determine the next place to go in the\n following order:",
" 1. If there is a variable name... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cache_result API.
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 cache_result API.
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... | Decorator to cache the result of functions that take a ``user`` and a
``size`` value. | "Decorator to cache the result of functions that take a ``user`` and a\n ``size`` value." | 14 | false | grantmcconnaughey/django-avatar | cache_result | 16,943 | |
LDU_FT/kxz/littlebrother/describe_error | LDU_FT | [
"<BEGIN>\n## `duration`",
"Return a string of the form \"1 hr 2 min 3 sec\" representing the\n given number of seconds.\n<END>",
"<BEGIN>\n## `filesize`",
"Return a string containing an approximate representation of\n *num_bytes* using a small number and decimal SI prefix.\n<END>",
"<BEGIN>\n## `read_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the describe_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the describe_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | If *failure* is a common connection error, return a Unicode
string describing it. Otherwise, return *failure*. | "If *failure* is a common connection error, return a Unicode\n string describing it. Otherwise, return *failure*." | 14 | false | kxz/littlebrother | describe_error | 16,944 | |
LDU_FT/CiscoUcs/UcsPythonSDK/HandleFilterMaxComponentLimit | LDU_FT | [
"<BEGIN>\n## `get_boot_device`",
"Get the current boot device for the node.\r",
" Provides the current boot device of the node. Be aware that not\r\n all drivers support this.\r",
" :raises: InvalidParameterValue if any connection parameters are\r\n incorrect.\r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the HandleFilterMaxComponentLimit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the HandleFilterMaxComponentLimit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Method checks the filter count and if the filter count exceeds the maxComponents(number of filters), then the given filter
objects get distributed among small groups and then again binded together in complex filters(like and , or) so that the
count of filters can be reduced. | "Method checks the filter count and if the filter count exceeds the maxComponents(number of filters), then the given filter\n\t\tobjects get distributed among small groups and then again binded together in complex filters(like and , or) so that the\n\t\tcount of filters can be reduced." | 179 | false | CiscoUcs/UcsPythonSDK | HandleFilterMaxComponentLimit | 16,945 | |
LDU_FT/has2k1/plotnine/cov_trob | LDU_FT | [
"<BEGIN>\n## `iqr`",
"Calculate the IQR for an array of numbers.\n<END>",
"<BEGIN>\n## `freedman_diaconis_bins`",
"Calculate number of hist bins using Freedman-Diaconis rule.\n<END>",
"<BEGIN>\n## `breaks_from_binwidth`",
"Calculate breaks given binwidth",
" Parameters\n ----------\n x_range : ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cov_trob API.
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 cov_trob API.
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... | Covariance Estimation for Multivariate t Distribution
Estimates a covariance or correlation matrix assuming the
data came from a multivariate t distribution: this provides
some degree of robustness to outlier without giving a high
breakdown point.
**credit**: This function a port of the R function... | "Covariance Estimation for Multivariate t Distribution\n\n Estimates a covariance or correlation matrix assuming the\n data came from a multivariate t distribution: this provides\n some degree of robustness to outlier without giving a high\n breakdown point.\n\n **credit**: This function a port of the R ... | 719 | false | has2k1/plotnine | cov_trob | 16,946 | |
LDU_FT/peterwittek/ncpol2sdpa/get_next_neighbors | LDU_FT | [
"<BEGIN>\n## `read_sdpa_out`",
"Helper function to parse the output file of SDPA.",
" :param filename: The name of the SDPA output file.\n :type filename: str.\n :param solutionmatrix: Optional parameter for retrieving the solution.\n :type solutionmatrix: bool.\n :param status: Optional paramete... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next_neighbors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next_neighbors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Get the forward neighbors at a given distance of a site or set of sites
in a lattice.
:param index: Linear index of operator.
:type index: int.
:param lattice_length: The size of the 2D lattice in either dimension
:type lattice_length: int.
:param width: Optional parameter to define width.
... | "Get the forward neighbors at a given distance of a site or set of sites\n in a lattice.\n\n :param index: Linear index of operator.\n :type index: int.\n :param lattice_length: The size of the 2D lattice in either dimension\n :type lattice_length: int.\n :param width: Optional parameter to define wid... | 217 | false | peterwittek/ncpol2sdpa | get_next_neighbors | 16,947 | |
LDU_FT/Esri/ArcREST/services | LDU_FT | [
"<BEGIN>\n## `trace`",
"trace finds the line, the filename\n and error message and returns it\n to the user\n<END>",
"<BEGIN>\n## `merge_dicts`",
"Merge a list of dictionaries.",
" Args:\n dicts (list): a list of dictionary objects\n op (operator): an operator item used to mer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the services API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the services API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Gets the services object which will provide the ArcGIS Server's
admin information about services and folders. | "Gets the services object which will provide the ArcGIS Server's\n admin information about services and folders." | 1,240 | true | Esri/ArcREST | services | 16,948 | |
LDU_FT/candango/firenado/run_script | LDU_FT | [
"<BEGIN>\n## `get_handlers`",
"Returns the handlers defined on the static_maps.yml file located\n at the app config directory.",
" Returns: An array of static handlers to be added to the app.\n<END>",
"<BEGIN>\n## `sig_handler`",
"Handle the signal sent to the process\n :param sig: Sig... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_script API.
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 run_script API.
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... | Run a script file using a valid sqlalchemy session.
Based on https://bit.ly/2CToAhY.
See also sqlalchemy transaction control: https://bit.ly/2yKso0A
:param script_path: The path where the script is located
:param session: A sqlalchemy session to execute the sql commands from the
script
:param ... | "Run a script file using a valid sqlalchemy session.\n\n Based on https://bit.ly/2CToAhY.\n See also sqlalchemy transaction control: https://bit.ly/2yKso0A\n\n :param script_path: The path where the script is located\n :param session: A sqlalchemy session to execute the sql commands from the\n script\n ... | 66 | false | candango/firenado | run_script | 16,949 | |
LDU_FT/GoogleCloudPlatform/cloud-debug-python/CheckBreakpointsExpiration | LDU_FT | [
"<BEGIN>\n## `InitializeDebuggeeLabels`",
"Initialize debuggee labels from environment variables and flags.",
" The caller passes all the flags that the the debuglet got. This function\n will only use the flags used to label the debuggee. Flags take precedence\n over environment variables.",
" Deb... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CheckBreakpointsExpiration 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 CheckBreakpointsExpiration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Completes all breakpoints that have been active for too long. | "Completes all breakpoints that have been active for too long." | 276 | false | GoogleCloudPlatform/cloud-debug-python | CheckBreakpointsExpiration | 16,950 | |
LDU_FT/PeerAssets/pypeerassets/parse_deckspawn_metainfo | LDU_FT | [
"<BEGIN>\n## `parse_vote_info`",
"decode vote init tx op_return protobuf message and validate it.\n<END>",
"<BEGIN>\n## `vote_init`",
"initialize vote transaction, must be signed by the deck_issuer privkey\n<END>",
"<BEGIN>\n## `find_vote_casts`",
"find and verify vote_casts on this vote_choice_address\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_deckspawn_metainfo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_deckspawn_metainfo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Decode deck_spawn tx op_return protobuf message and validate it,
Raise error if deck_spawn metainfo incomplete or version mistmatch. | "Decode deck_spawn tx op_return protobuf message and validate it,\n Raise error if deck_spawn metainfo incomplete or version mistmatch." | 86 | false | PeerAssets/pypeerassets | parse_deckspawn_metainfo | 16,951 | |
LDU_FT/google/apitools/decode_datetime | LDU_FT | [
"<BEGIN>\n## `_urljoin`",
"Custom urljoin replacement supporting : before / in url.\n<END>",
"<BEGIN>\n## `_SetCredentials`",
"Fetch credentials, and set them for this client.",
" Note that we can't simply return credentials, since creating them\n may involve side-effecting self.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_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 e... | Decode a DateTimeField parameter from a string to a python datetime.
Args:
encoded_datetime: A string in RFC 3339 format.
Returns:
A datetime object with the date and time specified in encoded_datetime.
Raises:
ValueError: If the string is not in a recognized format. | "Decode a DateTimeField parameter from a string to a python datetime.\n\n Args:\n encoded_datetime: A string in RFC 3339 format.\n\n Returns:\n A datetime object with the date and time specified in encoded_datetime.\n\n Raises:\n ValueError: If the string is not in a recognized format." | 629 | false | google/apitools | decode_datetime | 16,952 | |
LDU_FT/Azure/blobxfer/_process_download_descriptor | LDU_FT | [
"<BEGIN>\n## `set_verbose_logger_handlers`",
"Set logger handler formatters to more detail\n<END>",
"<BEGIN>\n## `join_thread`",
"Join a thread\n :type threading.Thread thr: thread to join\n<END>",
"<BEGIN>\n## `merge_dict`",
"Recursively merge dictionaries: dict2 on to dict1. This differs\n from di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_download_descriptor 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 _process_download_descriptor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Process download descriptor
:param Downloader self: this
:param blobxfer.models.download.Descriptor dd: download descriptor | "Process download descriptor\n :param Downloader self: this\n :param blobxfer.models.download.Descriptor dd: download descriptor" | 447 | false | Azure/blobxfer | _process_download_descriptor | 16,953 | |
LDU_FT/nateshmbhat/pyttsx3/iterate | LDU_FT | [
"<BEGIN>\n## `init`",
"Constructs a new TTS engine instance or reuses the existing instance for\n the driver name.",
" @param driverName: Name of the platform specific driver to use. If\n None, selects the default driver for the operating system.\n @type: str\n @param debug: Debugging output ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterate API.
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 iterate API.
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... | Must be called regularly when using an external event loop. | "Must be called regularly when using an external event loop." | 73 | false | nateshmbhat/pyttsx3 | iterate | 16,954 | |
LDU_FT/boronine/discipline/at | LDU_FT | [
"<BEGIN>\n## `word`",
"This function generates a fake word by creating between two and three\n random syllables and then joining them together.\n<END>",
"<BEGIN>\n## `save_object`",
"Save an object with Discipline",
" Only argument is a Django object. This function saves the object\n (r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the at API.
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 docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the at API.
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 docu... | Return a TimeMachine for the same object at a different time.
Takes an integer argument representing the id field of an Action.
Returns the TimeMachine at the time of that Action. (Less ambiguously:
at the time right after the Action. | "Return a TimeMachine for the same object at a different time.\n\n Takes an integer argument representing the id field of an Action.\n Returns the TimeMachine at the time of that Action. (Less ambiguously:\n at the time right after the Action." | 49 | false | boronine/discipline | at | 16,955 | |
LDU_FT/NoviceLive/intellicoder/replace_source | LDU_FT | [
"<BEGIN>\n## `format`",
"Format the record using the corresponding formatter.\n<END>",
"<BEGIN>\n## `make_c_header`",
"Build a C header from the front and body.\n<END>",
"<BEGIN>\n## `reloc_var`",
"Build C source code to relocate a variable.\n<END>",
"<BEGIN>\n## `make_c_args`",
"Build a C argument li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_source API.
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 replace_source API.
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... | Scan C source code for string literals as well as
function calls and do replacement using the specified
replacing function.
Note that the regular expression currently used for strings
is naive or quick and dirty. | "Scan C source code for string literals as well as\n function calls and do replacement using the specified\n replacing function.\n Note that the regular expression currently used for strings\n is naive or quick and dirty." | 117 | false | NoviceLive/intellicoder | replace_source | 16,956 | |
LDU_FT/tarmstrong/nbdiff/lines_diff | LDU_FT | [
"<BEGIN>\n## `merge`",
"Generate unmerged series of changes (including conflicts).",
" By diffing the two diffs, we find *changes* that are\n on the local branch, the remote branch, or both.\n We arbitrarily choose the \"local\" branch to be the \"before\"\n and the \"remote\" branch to be the \"aft... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lines_diff API.
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 lines_diff API.
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... | Diff the lines in two strings.
Parameters
----------
before_lines : iterable
Iterable containing lines used as the baseline version.
after_lines : iterable
Iterable containing lines to be compared against the baseline.
Returns
-------
diff_result : A list of dictionaries co... | "Diff the lines in two strings.\n\n Parameters\n ----------\n before_lines : iterable\n Iterable containing lines used as the baseline version.\n after_lines : iterable\n Iterable containing lines to be compared against the baseline.\n\n Returns\n -------\n diff_result : A list of dic... | 41 | false | tarmstrong/nbdiff | lines_diff | 16,957 | |
LDU_FT/mapbox/mapbox-sdk-py/create | LDU_FT | [
"<BEGIN>\n## `_geom_points`",
"GeoJSON geometry to a sequence of point tuples\n<END>",
"<BEGIN>\n## `read_points`",
"Iterable of features to a sequence of point tuples\n Where \"features\" can be either GeoJSON mappings\n or objects implementing the geo_interface\n<END>",
"<BEGIN>\n## `encode_waypoint... | 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 new, empty dataset.
Parameters
----------
name : str, optional
The name of the dataset.
description : str, optional
The description of the dataset.
Returns
-------
request.Response
The response contains the properti... | "Creates a new, empty dataset.\n\n Parameters\n ----------\n name : str, optional\n The name of the dataset.\n\n description : str, optional\n The description of the dataset.\n\n Returns\n -------\n request.Response\n The response contain... | 212 | false | mapbox/mapbox-sdk-py | create | 16,958 | |
LDU_FT/limpyd/redis-limpyd/get_all_storage_keys | LDU_FT | [
"<BEGIN>\n## `_make_command_method`",
"Return a function which call _call_command for the given name.\n Used to bind redis commands to our own calls\n<END>",
"<BEGIN>\n## `_call_command`",
"Check if the command to be executed is a modifier, to connect the object.\n Then call _traverse_command.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_storage_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_storage_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns the keys to be removed by `clear` in aggressive mode
For the parameters, see BaseIndex.get_all_storage_keys | "Returns the keys to be removed by `clear` in aggressive mode\n\n For the parameters, see BaseIndex.get_all_storage_keys" | 408 | false | limpyd/redis-limpyd | get_all_storage_keys | 16,959 | |
LDU_FT/housecanary/hc-api-python/get_addresses_from_input_file | LDU_FT | [
"<BEGIN>\n## `normalize_cell_value`",
"Process value for writing into a cell.",
" Args:\n value: any type of variable",
" Returns:\n json serialized value if value is list or dict, else value\n<END>",
"<BEGIN>\n## `get_addresses_from_input_file`",
"Read addresses from input file into l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_addresses_from_input_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_addresses_from_input_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Read addresses from input file into list of tuples.
This only supports address and zipcode headers | "Read addresses from input file into list of tuples.\n This only supports address and zipcode headers" | 137 | false | housecanary/hc-api-python | get_addresses_from_input_file | 16,960 | |
LDU_FT/childsish/sofia/can_finalise | LDU_FT | [
"<BEGIN>\n## `consume_input`",
"Make a copy of the input for the run function and consume the input to free up the queue for more input. If all\n input is consumed, there is no need to overload this function. Input is provided as lists. To copy and consume\n input the following commands can be run:"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_finalise API.
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 can_finalise API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | The step is running and the inputs are exhausted
:param step:
:param exhausted:
:return: | "The step is running and the inputs are exhausted\n :param step:\n :param exhausted:\n :return:" | 32 | false | childsish/sofia | can_finalise | 16,961 | |
LDU_FT/Diaoul/pyextdirect/create_api_dict | LDU_FT | [
"<BEGIN>\n## `create_configuration`",
"Create a configuration base class",
" It is built using :class:`ConfigurationMeta`. Subclassing such a base class\n will register exposed methods",
" .. class:: Base",
" .. attribute:: configuration",
" Configuration dict that can be used b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_api_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_api_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Create an API dict
:param bases: configuration bases
:type bases: :class:`~pyextdirect.configuration.Base` or list of :class:`~pyextdirect.configuration.Base`
:param string url: URL where the router can be reached
:param \*\*kwargs: extra keyword arguments to populate the API dict. Most common keyword ... | "Create an API dict\n\n :param bases: configuration bases\n :type bases: :class:`~pyextdirect.configuration.Base` or list of :class:`~pyextdirect.configuration.Base`\n :param string url: URL where the router can be reached\n :param \\*\\*kwargs: extra keyword arguments to populate the API dict. Most common ... | 32 | false | Diaoul/pyextdirect | create_api_dict | 16,962 | |
LDU_FT/brandonxiang/geojson-python-utils/bd09togcj02 | LDU_FT | [
"<BEGIN>\n## `linestrings_intersect`",
"To valid whether linestrings from geojson are intersected with each other.\n reference: http://www.kevlindev.com/gui/math/intersection/Intersection.js",
" Keyword arguments:\n line1 -- first line geojson object\n line2 -- second line geojson object",
" if... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bd09togcj02 API.
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 bd09togcj02 API.
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... | 百度坐标系(BD-09)转火星坐标系(GCJ-02)
百度——>谷歌、高德
:param bd_lat:百度坐标纬度
:param bd_lon:百度坐标经度
:return:转换后的坐标列表形式 | "百度坐标系(BD-09)转火星坐标系(GCJ-02)\n 百度——>谷歌、高德\n :param bd_lat:百度坐标纬度\n :param bd_lon:百度坐标经度\n :return:转换后的坐标列表形式" | 70 | false | brandonxiang/geojson-python-utils | bd09togcj02 | 16,963 | |
LDU_FT/Robpol86/colorclass/decode | LDU_FT | [
"<BEGIN>\n## `readme`",
"Try to read README.rst or return empty string if failed.",
" :return: File contents.\n :rtype: str\n<END>",
"<BEGIN>\n## `apply_text`",
"Call `func` on text portions of incoming color string.",
" :param iter incoming: Incoming string/ColorStr/string-like object to iterate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
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 decode API.
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 ... | Decode using the codec registered for encoding. Default encoding is 'utf-8'.
errors may be given to set a different error handling scheme. Default is 'strict' meaning that encoding errors
raise a UnicodeDecodeError. Other possible values are 'ignore' and 'replace' as well as any other name
regi... | "Decode using the codec registered for encoding. Default encoding is 'utf-8'.\n\n errors may be given to set a different error handling scheme. Default is 'strict' meaning that encoding errors\n raise a UnicodeDecodeError. Other possible values are 'ignore' and 'replace' as well as any other name\n ... | 191 | false | Robpol86/colorclass | decode | 16,964 | |
LDU_FT/pytroll/trollsift/_escape | LDU_FT | [
"<BEGIN>\n## `_get_number_from_fmt`",
"Helper function for extract_values,\n figures out string length from format string.\n<END>",
"<BEGIN>\n## `_convert`",
"Convert the string *stri* to the given conversion definition *convdef*.\n<END>",
"<BEGIN>\n## `get_convert_dict`",
"Retrieve parse definition fr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _escape API.
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 _escape API.
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... | Escape bad characters for regular expressions.
Similar to `re.escape` but allows '%' to pass through. | "Escape bad characters for regular expressions.\n\n Similar to `re.escape` but allows '%' to pass through." | 18 | false | pytroll/trollsift | _escape | 16,965 | |
LDU_FT/insilichem/ommprotocol/from_csv | LDU_FT | [
"<BEGIN>\n## `protocol`",
"Run all the stages in protocol",
" Parameters\n ----------\n handler : SystemHandler\n Container of initial conditions of simulation",
" cfg : dict\n Imported YAML file.\n<END>",
"<BEGIN>\n## `run`",
"Launch MD simulation, which may consist of:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_csv API.
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 from_csv API.
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... | Get box vectors from comma-separated values in file `path`.
The csv file must containt only one line, which in turn can contain
three values (orthogonal vectors) or nine values (triclinic box).
The values should be in nanometers.
Parameters
----------
path : str
... | "Get box vectors from comma-separated values in file `path`.\n\n The csv file must containt only one line, which in turn can contain\n three values (orthogonal vectors) or nine values (triclinic box).\n\n The values should be in nanometers.\n\n Parameters\n ----------\n path : ... | 84 | false | insilichem/ommprotocol | from_csv | 16,966 | |
LDU_FT/gtaylor/python-colormath/ansi_density | LDU_FT | [
"<BEGIN>\n## `get_value_tuple`",
"Returns a tuple of the color's values (in order). For example,\n an LabColor object will return (lab_l, lab_a, lab_b), where each\n member of the tuple is the float value for said variable.\n<END>",
"<BEGIN>\n## `set_observer`",
"Validates and sets the color's o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ansi_density API.
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 ansi_density API.
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... | Calculates density for the given SpectralColor using the spectral weighting
function provided. For example, ANSI_STATUS_T_RED. These may be found in
:py:mod:`colormath.density_standards`.
:param SpectralColor color: The SpectralColor object to calculate
density for.
:param numpy.ndarray density... | "Calculates density for the given SpectralColor using the spectral weighting\n function provided. For example, ANSI_STATUS_T_RED. These may be found in\n :py:mod:`colormath.density_standards`.\n\n :param SpectralColor color: The SpectralColor object to calculate\n density for.\n :param numpy.ndarray ... | 133 | false | gtaylor/python-colormath | ansi_density | 16,967 | |
LDU_FT/twilio/twilio-python/create | LDU_FT | [
"<BEGIN>\n## `stream`",
"Streams KeyInstance records from the API as a generator stream.\n This operation lazily loads records as efficiently as possible until the limit\n is reached.\n The results are returned as a generator, so this operation is memory efficient.",
" :param int lim... | 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 ... | Create a new ServiceInstance
:param unicode unique_name: The unique_name
:param unicode friendly_name: The friendly_name
:param bool include_credentials: The include_credentials
:returns: Newly created ServiceInstance
:rtype: twilio.rest.serverless.v1.service.ServiceInstance | "Create a new ServiceInstance\n\n :param unicode unique_name: The unique_name\n :param unicode friendly_name: The friendly_name\n :param bool include_credentials: The include_credentials\n\n :returns: Newly created ServiceInstance\n :rtype: twilio.rest.serverless.v1.service.ServiceIns... | 4,304 | true | twilio/twilio-python | create | 16,968 | |
LDU_FT/mbedmicro/pyOCD/_log_performance | LDU_FT | [
"<BEGIN>\n## `byte_list_to_u32le_list`",
"! @brief Convert a list of bytes to a list of 32-bit integers (little endian)",
" If the length of the data list is not a multiple of 4, then the pad value is used\n for the additional required bytes.\n<END>",
"<BEGIN>\n## `u32le_list_to_byte_list`",
"! @brief... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log_performance API.
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 _log_performance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | ! @brief Log a report of programming performance numbers. | "! @brief Log a report of programming performance numbers." | 494 | false | mbedmicro/pyOCD | _log_performance | 16,969 | |
LDU_FT/kdeldycke/maildir-deduplicate/diff | LDU_FT | [
"<BEGIN>\n## `check_differences`",
"In-depth check of mail differences.",
" Compare all mails of the duplicate set with each other, both in size\n and content. Raise an error if we're not within the limits imposed by\n the threshold setting.\n<END>",
"<BEGIN>\n## `diff`",
"Return differ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff API.
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 diff API.
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 difference in bytes between two mails' normalized body.
TODO: rewrite the diff algorithm to not rely on naive unified diff
result parsing. | "Return difference in bytes between two mails' normalized body.\n\n TODO: rewrite the diff algorithm to not rely on naive unified diff\n result parsing." | 68 | false | kdeldycke/maildir-deduplicate | diff | 16,970 | |
LDU_FT/praekeltfoundation/seed-message-sender/send_custom_hsm | LDU_FT | [
"<BEGIN>\n## `_get_filename`",
"This function gets the base filename from the path, if a language code\n is present the filename will start from there.\n<END>",
"<BEGIN>\n## `_override_payload`",
"This function transforms the payload into a new format using the\n self.override_payload property.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_custom_hsm API.
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 send_custom_hsm API.
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... | Sends an HSM with more customizable fields than the send_hsm function | "Sends an HSM with more customizable fields than the send_hsm function" | 36 | false | praekeltfoundation/seed-message-sender | send_custom_hsm | 16,971 | |
LDU_FT/bskinn/opan/angle_iter | LDU_FT | [
"<BEGIN>\n## `ortho_basis`",
"Generates an orthonormal basis in the plane perpendicular to `normal`",
" The orthonormal basis generated spans the plane defined with `normal` as\n its normal vector. The handedness of `on1` and `on2` in the returned\n basis is such that:",
" .. math::",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the angle_iter API.
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 angle_iter API.
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... | Iterator over selected atomic angles.
Angles are in degrees as with :meth:`angle_single`.
See `above <toc-generators_>`_ for more information on
calling options.
Parameters
----------
g_nums
|int| or iterable |int| or |None| --
Index of the desi... | "Iterator over selected atomic angles.\n\n Angles are in degrees as with :meth:`angle_single`.\n\n See `above <toc-generators_>`_ for more information on\n calling options.\n\n Parameters\n ----------\n g_nums\n |int| or iterable |int| or |None| --\n Index... | 445 | false | bskinn/opan | angle_iter | 16,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.