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/nickpandolfi/Cyther/has_ext | LDU_FT | [
"<BEGIN>\n## `get_content`",
"Finds the 'content' tag from a 'pattern' in the provided 'string'\n<END>",
"<BEGIN>\n## `extract`",
"Used to extract a given regex pattern from a string, given several options\n<END>",
"<BEGIN>\n## `extractRuntime`",
"Used to find the correct static lib name to pass to gcc\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_ext API.
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 has_ext API.
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... | Determine if the given path name has an extension | "Determine if the given path name has an extension" | 131 | false | nickpandolfi/Cyther | has_ext | 140,673 | |
LDU_FT/box/genty/genty_dataset | LDU_FT | [
"<BEGIN>\n## `genty_repeat`",
"To use in conjunction with a TestClass wrapped with @genty.",
" Runs the wrapped test 'count' times:\n @genty_repeat(count)\n def test_some_function(self)\n ...",
" Can also wrap a test already decorated with @genty_dataset\n @genty_repeat(3... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the genty_dataset API.
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 genty_dataset API.
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... | Decorator defining data sets to provide to a test.
Inspired by http://sebastian-bergmann.de/archives/
702-Data-Providers-in-PHPUnit-3.2.html
The canonical way to call @genty_dataset, with each argument each
representing a data set to be injected in the test method call:
@genty_dataset(
... | "Decorator defining data sets to provide to a test.\n\n Inspired by http://sebastian-bergmann.de/archives/\n 702-Data-Providers-in-PHPUnit-3.2.html\n\n The canonical way to call @genty_dataset, with each argument each\n representing a data set to be injected in the test method call:\n @genty_dataset(... | 69 | false | box/genty | genty_dataset | 140,674 | |
LDU_FT/Duke-GCB/lando-messaging/process_messages_loop_internal | LDU_FT | [
"<BEGIN>\n## `raise_on_major_version_mismatch`",
"Raises error if major version is different. Other wise logs the difference.\n :param work_request: WorkRequest: request that had a different version\n :param local_version: str: our version string that does not match message.version\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_messages_loop_internal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_messages_loop_internal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Busy loop that processes incoming WorkRequest messages via functions specified by add_command.
Terminates if a command runs shutdown method | "Busy loop that processes incoming WorkRequest messages via functions specified by add_command.\n Terminates if a command runs shutdown method" | 50 | false | Duke-GCB/lando-messaging | process_messages_loop_internal | 140,675 | |
LDU_FT/encode/uvicorn/shutdown | LDU_FT | [
"<BEGIN>\n## `process_request`",
"This hook is called to determine if the websocket should return\n an HTTP response and close.",
" Our behavior here is to start the ASGI application, and then wait\n for either `accept` or `close` in order to determine if we should\n close the connec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shutdown API.
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 shutdown API.
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... | Called by the server to commence a graceful shutdown. | "Called by the server to commence a graceful shutdown." | 17 | false | encode/uvicorn | shutdown | 140,676 | |
LDU_FT/AntagonistHQ/openprovider.py/check_domain_request | LDU_FT | [
"<BEGIN>\n## `snake_to_camel`",
"Converts a snake_case_string to a camelCaseString.",
" >>> snake_to_camel(\"foo_bar_baz\")\n 'fooBarBaz'\n<END>",
"<BEGIN>\n## `retrieve_approver_email_list`",
"Retrieve the list of allowed approver email addresses.\n<END>",
"<BEGIN>\n## `resend_approver_email`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_domain_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_domain_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return the availability of one or more domain names.
The availability is a model containing a domain and a status. It can also have a premium
attribute in case the domain has non-default costs. | "Return the availability of one or more domain names.\n\n The availability is a model containing a domain and a status. It can also have a premium\n attribute in case the domain has non-default costs." | 38 | false | AntagonistHQ/openprovider.py | check_domain_request | 140,677 | |
LDU_FT/fuzeman/trakt.py/unlike | LDU_FT | [
"<BEGIN>\n## `lookup`",
"Lookup items by their Trakt, IMDB, TMDB, TVDB, or TVRage ID.",
" **Note:** If you lookup an identifier without a :code:`media` type specified it\n might return multiple items if the :code:`service` is not globally unique.",
" :param id: Identifier value to lookup\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unlike API.
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 unlike API.
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 ... | Un-like the list.
:param kwargs: Extra request options
:type kwargs: :class:`~python:dict`
:return: Boolean to indicate if the request was successful
:rtype: :class:`~python:bool` | "Un-like the list.\n\n :param kwargs: Extra request options\n :type kwargs: :class:`~python:dict`\n\n :return: Boolean to indicate if the request was successful\n :rtype: :class:`~python:bool`" | 227 | false | fuzeman/trakt.py | unlike | 140,678 | |
LDU_FT/TissueMAPS/TmClient/upload_jterator_project | LDU_FT | [
"<BEGIN>\n## `map_logging_verbosity`",
"Parameters\n ----------\n verbosity: int\n logging verbosity level (0-4)",
" Returns\n -------\n A logging level as exported by `logging` module.\n By default returns logging.NOTSET",
" Raises\n ------\n TypeError\n when `verbosi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_jterator_project 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 upload_jterator_project API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Uploads a *jterator* project.
Parameters
----------
pipeline: dict
description of the jterator pipeline
handles: dict, optional
description of each module in the jterator pipeline
See also
--------
:func:`tmserver.api.workflow.update_jter... | "Uploads a *jterator* project.\n\n Parameters\n ----------\n pipeline: dict\n description of the jterator pipeline\n handles: dict, optional\n description of each module in the jterator pipeline\n\n See also\n --------\n :func:`tmserver.api.workflow... | 203 | false | TissueMAPS/TmClient | upload_jterator_project | 140,679 | |
LDU_FT/lambdalisue/maidenhair/find_peakset | LDU_FT | [
"<BEGIN>\n## `load`",
"Load data from file matched with given glob pattern.",
" Return value will be a list of data unless :attr:`unite` is `True`.\n If :attr:`unite` is `True` then all data will be united into a single data.",
" Parameters\n ----------\n pathname : string or list\n A gl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_peakset API.
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 find_peakset API.
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... | Find peakset from the dataset
Parameters
-----------
dataset : list
A list of data
basecolumn : int
An index of column for finding peaks
method : str
A method name of numpy for finding peaks
where : function
A function which recieve ``data`` and return numpy inde... | "Find peakset from the dataset\n\n Parameters\n -----------\n dataset : list\n A list of data\n basecolumn : int\n An index of column for finding peaks\n method : str\n A method name of numpy for finding peaks\n where : function\n A function which recieve ``data`` and retur... | 128 | false | lambdalisue/maidenhair | find_peakset | 140,680 | |
LDU_FT/src-d/modelforge/collect_loaded_packages | LDU_FT | [
"<BEGIN>\n## `initialize_registry`",
"Initialize the registry and the index.",
" :param args: :class:`argparse.Namespace` with \"backend\", \"args\", \"force\" and \"log_level\".\n :param backend: Backend which is responsible for working with model files.\n :param log: Logger supplied by supply_backend... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_loaded_packages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_loaded_packages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return the currently loaded package names and their versions. | "Return the currently loaded package names and their versions." | 118 | false | src-d/modelforge | collect_loaded_packages | 140,681 | |
LDU_FT/rodionovd/machobot/generate_dylib_load_command | LDU_FT | [
"<BEGIN>\n## `modify_macho_file_headers`",
"Modifies headers of a Mach-O file at the given path by calling\n\tthe modificator function on each header.",
"\tReturns True on success, otherwise rises an exeption (e.g. from macholib)\n<END>",
"<BEGIN>\n## `insert_load_command`",
"Inserts a new LC_LOAD_DYLIB loa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_dylib_load_command 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 generate_dylib_load_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Generates a LC_LOAD_DYLIB command for the given header and a library install path.
Note: the header must already contain at least one LC_LOAD_DYLIB command (see code comments).
Returns a ready-for-use load_command in terms of macholib. | "Generates a LC_LOAD_DYLIB command for the given header and a library install path.\n\t\n\tNote: the header must already contain at least one LC_LOAD_DYLIB command (see code comments).\n\tReturns a ready-for-use load_command in terms of macholib." | 16 | false | rodionovd/machobot | generate_dylib_load_command | 140,682 | |
LDU_FT/kejbaly2/metrique/get_color | LDU_FT | [
"<BEGIN>\n## `filtered`",
"Decorator function that wraps functions returning pandas\n dataframes, such that the dataframe is filtered\n according to left and right bounds set.\n<END>",
"<BEGIN>\n## `to_datetime`",
"This function converts epoch timestamps to datetimes.",
" :param column: column ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_color API.
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 a color to use.
:param integer/string color:
Color for the plot. Can be an index for the color from COLORS
or a key(string) from CNAMES. | "Returns a color to use.\n\n :param integer/string color:\n Color for the plot. Can be an index for the color from COLORS\n or a key(string) from CNAMES." | 224 | false | kejbaly2/metrique | get_color | 140,683 | |
LDU_FT/camsci/meteor-pi/get_users | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to a host on a given port.\n If the hostname ends with a colon (`:') followed by a number, and\n there is no port specified, that suffix will be stripped off and the\n number interpreted as the port number to use.\n<END>",
"<BEGIN>\n## `waiting`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_users API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_users API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Retrieve all users in the system
:return:
A list of :class:`meteorpi_model.User` | "Retrieve all users in the system\n\n :return:\n A list of :class:`meteorpi_model.User`" | 210 | false | camsci/meteor-pi | get_users | 140,684 | |
LDU_FT/jmcarp/betfair.py/list_market_profit_and_loss | LDU_FT | [
"<BEGIN>\n## `get_chunks`",
"Split sequence into chunks.",
" :param list sequence:\n :param int chunk_size:\n<END>",
"<BEGIN>\n## `get_kwargs`",
"Get all keys and values from dictionary where key is not `self`.",
" :param dict kwargs: Input parameters\n<END>",
"<BEGIN>\n## `check_status_code`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_market_profit_and_loss 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 list_market_profit_and_loss API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Retrieve profit and loss for a given list of markets.
:param list market_ids: List of markets to calculate profit and loss
:param bool include_settled_bets: Option to include settled bets
:param bool include_bsp_bets: Option to include BSP bets
:param bool net_of_commission: Option to r... | "Retrieve profit and loss for a given list of markets.\n\n :param list market_ids: List of markets to calculate profit and loss\n :param bool include_settled_bets: Option to include settled bets\n :param bool include_bsp_bets: Option to include BSP bets\n :param bool net_of_commission: Optio... | 68 | false | jmcarp/betfair.py | list_market_profit_and_loss | 140,685 | |
LDU_FT/ManiacalLabs/PixelWeb/json | LDU_FT | [
"<BEGIN>\n## `_re_flatten`",
"Turn all capturing groups in a regular expression pattern into\n non-capturing groups.\n<END>",
"<BEGIN>\n## `redirect`",
"Aborts execution and causes a 303 or 302 redirect, depending on\n the HTTP protocol version.\n<END>",
"<BEGIN>\n## `_file_iter_range`",
"Yi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json API.
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 json API.
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... | If the ``Content-Type`` header is ``application/json``, this
property holds the parsed content of the request body. Only requests
smaller than :attr:`MEMFILE_MAX` are processed to avoid memory
exhaustion. | "If the ``Content-Type`` header is ``application/json``, this\n property holds the parsed content of the request body. Only requests\n smaller than :attr:`MEMFILE_MAX` are processed to avoid memory\n exhaustion." | 100 | false | ManiacalLabs/PixelWeb | json | 140,686 | |
LDU_FT/fhs/pyhdf/get | LDU_FT | [
"<BEGIN>\n## `end`",
"Close the V interface.",
" Args::",
" No argument",
" Returns::",
" None",
" C library equivalent : Vend\n<END>",
"<BEGIN>\n## `attach`",
"Open an existing vgroup given its name or its reference\n number, or create a new vgroup, ret... | 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... | Read data from the dataset.
Args::
start : indices where to start reading in the data array;
default to 0 on all dimensions
count : number of values to read along each dimension;
default to the current length of all dimensions
stride :... | "Read data from the dataset.\n\n Args::\n\n start : indices where to start reading in the data array;\n default to 0 on all dimensions\n count : number of values to read along each dimension;\n default to the current length of all dimensions\n ... | 605 | false | fhs/pyhdf | get | 140,687 | |
LDU_FT/C4ptainCrunch/ics.py/join | LDU_FT | [
"<BEGIN>\n## `arrow_get`",
"this function exists because ICS uses ISO 8601 without dashes or\n colons, i.e. not ISO 8601 at all.\n<END>",
"<BEGIN>\n## `parse_duration`",
"Return a timedelta object from a string in the DURATION property format\n<END>",
"<BEGIN>\n## `timedelta_to_duration`",
"Return a st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Create a new event which covers the time range of two intersecting events
All extra parameters are passed to the Event constructor.
Args:
other: the other event
Returns:
a new Event instance | "Create a new event which covers the time range of two intersecting events\n\n All extra parameters are passed to the Event constructor.\n\n Args:\n other: the other event\n\n Returns:\n a new Event instance" | 50 | false | C4ptainCrunch/ics.py | join | 140,688 | |
LDU_FT/tuomas2/automate/_do_change_status | LDU_FT | [
"<BEGIN>\n## `call_eval`",
"Value might be either name registered in System namespace, or object, either\n StatusObject or Callable. If Callable, evaluate :meth:`.call` method. If StatusObject,\n return status.\n<END>",
"<BEGIN>\n## `setup_callable_system`",
"This function basically sets... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_change_status API.
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 _do_change_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | This function is called by
- set_status
- _update_program_stack if active program is being changed
- thia may be launched by sensor status change.
status lock is necessary because these happen from different
threads.
This does not directly change sta... | "This function is called by\n - set_status\n - _update_program_stack if active program is being changed\n - thia may be launched by sensor status change.\n status lock is necessary because these happen from different\n threads.\n\n This does not directly ch... | 91 | false | tuomas2/automate | _do_change_status | 140,689 | |
LDU_FT/Pelagicore/qface/lookup | LDU_FT | [
"<BEGIN>\n## `open_ns`",
"generates a open namespace from symbol namespace x { y { z {\n<END>",
"<BEGIN>\n## `close_ns`",
"generates a closing names statement from a symbol\n<END>",
"<BEGIN>\n## `ns`",
"generates a namespace x::y::z statement from a symbol\n<END>",
"<BEGIN>\n## `app`",
"Takes several ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup API.
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 lookup API.
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 ... | lookup a symbol by fully qualified name. | "lookup a symbol by fully qualified name." | 56 | false | Pelagicore/qface | lookup | 140,690 | |
LDU_FT/stephantul/reach/normalize | LDU_FT | [
"<BEGIN>\n## `load`",
"r\"\"\"\n Read a file in word2vec .txt format.",
" The load function will raise a ValueError when trying to load items\n which do not conform to line lengths.",
" Parameters\n ----------\n pathtovector : string\n The path to the vecto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API.
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 normalize API.
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... | Normalize a matrix of row vectors to unit length.
Contains a shortcut if there are no zero vectors in the matrix.
If there are zero vectors, we do some indexing tricks to avoid
dividing by 0.
Parameters
----------
vectors : np.array
The vectors to normalize.... | "Normalize a matrix of row vectors to unit length.\n\n Contains a shortcut if there are no zero vectors in the matrix.\n If there are zero vectors, we do some indexing tricks to avoid\n dividing by 0.\n\n Parameters\n ----------\n vectors : np.array\n The vectors to ... | 63 | false | stephantul/reach | normalize | 140,691 | |
LDU_FT/stephantul/somber/neighbor_difference | LDU_FT | [
"<BEGIN>\n## `_calculate_influence`",
"Pre-calculate the influence for a given value of sigma.",
" The neighborhood has size num_neurons * num_neurons, so for a\n 30 * 30 map, the neighborhood will be size (900, 900).",
" Parameters\n ----------\n neighborhood : float\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the neighbor_difference 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 neighbor_difference 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 the euclidean distance between a node and its neighbors. | "Get the euclidean distance between a node and its neighbors." | 123 | false | stephantul/somber | neighbor_difference | 140,692 | |
LDU_FT/Karaage-Cluster/python-tldap/rename | LDU_FT | [
"<BEGIN>\n## `check_password`",
"Check a plaintext password against a hashed password.\n<END>",
"<BEGIN>\n## `reset`",
"Reset transaction back to original state, discarding all\n uncompleted transactions.\n<END>",
"<BEGIN>\n## `_cache_get_for_dn`",
"Object state is cached. When an update is require... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | rename a dn in the ldap database; see ldap module. doesn't return a
result if transactions enabled. | "rename a dn in the ldap database; see ldap module. doesn't return a\n result if transactions enabled." | 151 | false | Karaage-Cluster/python-tldap | rename | 140,693 | |
LDU_FT/ihiji/version_utils/compare_versions | LDU_FT | [
"<BEGIN>\n## `compare_packages`",
"Compare two RPM strings to determine which is newer",
" Parses version information out of RPM package strings of the form\n returned by the ``rpm -q`` command and compares their versions to\n determine which is newer. Provided strings *do not* require an\n architec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare_versions API.
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 compare_versions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Compare two RPM version strings
Compares two RPM version strings and returns an integer indicating
the result of the comparison. The method of comparison mirrors that
used by RPM, so results should be the same for any standard RPM
package.
To perform the comparison, the strings are first checked f... | "Compare two RPM version strings\n\n Compares two RPM version strings and returns an integer indicating\n the result of the comparison. The method of comparison mirrors that\n used by RPM, so results should be the same for any standard RPM\n package.\n\n To perform the comparison, the strings are first c... | 56 | false | ihiji/version_utils | compare_versions | 140,694 | |
LDU_FT/thoth-station/solver/fetch_releases | LDU_FT | [
"<BEGIN>\n## `compare_version`",
"Compare two version strings.",
" :param a: str\n :param b: str\n :return: -1 / 0 / 1\n<END>",
"<BEGIN>\n## `get_ecosystem_solver`",
"Get Solver subclass instance for particular ecosystem.",
" :param ecosystem_name: name of ecosystem for which solver should be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_releases API.
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 fetch_releases API.
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... | Fetch package and index_url for a package_name. | "Fetch package and index_url for a package_name." | 41 | false | thoth-station/solver | fetch_releases | 140,695 | |
LDU_FT/gesellkammer/sndfileio/lowpass_cheby2_coeffs | LDU_FT | [
"<BEGIN>\n## `_applyMultichan`",
"Apply func to each channel of audio data in samples\n<END>",
"<BEGIN>\n## `_resample_samplerate`",
"Uses https://github.com/tuxu/python-samplerate\n<END>",
"<BEGIN>\n## `_nnresample_compute_filt`",
"r\"\"\"\n Computes a filter to resample a signal from rate \"down\" to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lowpass_cheby2_coeffs 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 lowpass_cheby2_coeffs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | freq : The frequency above which signals are attenuated
with 95 dB
sr : Sampling rate in Hz.
maxorder: Maximal order of the designed cheby2 filter
Returns --> (b coeffs, a coeffs, freq_passband) | "freq : The frequency above which signals are attenuated\n with 95 dB\n sr : Sampling rate in Hz.\n maxorder: Maximal order of the designed cheby2 filter\n\n Returns --> (b coeffs, a coeffs, freq_passband)" | 87 | false | gesellkammer/sndfileio | lowpass_cheby2_coeffs | 140,696 | |
LDU_FT/FelixSchwarz/pymta/new_connection | LDU_FT | [
"<BEGIN>\n## `_start_new_worker_process`",
"Start a new child worker process which will listen on the given\n socket and return a reference to the new process.\n<END>",
"<BEGIN>\n## `get_all_allowed_internal_commands`",
"Returns an iterable which includes all allowed commands. This does\n not me... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_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 new_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... | This method is called when a new SMTP session is opened.
[PUBLIC API] | "This method is called when a new SMTP session is opened.\n [PUBLIC API]" | 27 | false | FelixSchwarz/pymta | new_connection | 140,697 | |
LDU_FT/MAVENSDC/cdflib/_make_blocks | LDU_FT | [
"<BEGIN>\n## `encode`",
"Encodes the epoch(s) into UTC string(s).",
" For CDF_EPOCH:\n The input should be either a float or list of floats\n (in numpy, a np.float64 or a np.ndarray of np.float64)\n Each epoch is encoded, by default to a ISO 8601 form:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_blocks API.
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 _make_blocks API.
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... | Organizes the physical records into blocks in a list by
placing consecutive physical records into a single block, so
lesser VXRs will be created.
[[start_rec1,end_rec1,data_1], [start_rec2,enc_rec2,data_2], ...]
Parameters:
records: list
A list of records t... | "Organizes the physical records into blocks in a list by\n placing consecutive physical records into a single block, so\n lesser VXRs will be created.\n [[start_rec1,end_rec1,data_1], [start_rec2,enc_rec2,data_2], ...]\n\n Parameters:\n records: list\n A list of r... | 229 | false | MAVENSDC/cdflib | _make_blocks | 140,698 | |
LDU_FT/vberlier/nbtlib/merge | LDU_FT | [
"<BEGIN>\n## `load`",
"Load the nbt file at the specified location.\r",
" By default, the function will figure out by itself if the file is\r\n gzipped before loading it. You can pass a boolean to the `gzipped`\r\n keyword only argument to specify explicitly whether the file is\r\n compressed or not... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Recursively merge tags from another compound. | "Recursively merge tags from another compound." | 66 | false | vberlier/nbtlib | merge | 140,699 | |
LDU_FT/developersociety/django-glitter/glitter_startbody | LDU_FT | [
"<BEGIN>\n## `get_templates`",
"Return a list of templates usable by a model.\n<END>",
"<BEGIN>\n## `attach`",
"Registers the given layout(s) classes\n admin site:",
" @pages.register(Page)\n class Default(PageLayout):\n pass\n<END>",
"<BEGIN>\n## `get_formset`",
"Default user to the cur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the glitter_startbody API.
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 glitter_startbody API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Template tag which renders the glitter overlay and sidebar. This is only
shown to users with permission to edit the page. | "Template tag which renders the glitter overlay and sidebar. This is only\n shown to users with permission to edit the page." | 80 | false | developersociety/django-glitter | glitter_startbody | 140,700 | |
LDU_FT/a2liu/mr-clean/smart_scrub | LDU_FT | [
"<BEGIN>\n## `summarize`",
"Prints information about the DataFrame to a file or to the prompt.",
" Parameters\n ----------\n df - DataFrame\n The DataFrame to summarize\n preview_rows - int, default 5\n Amount of rows to preview from the head and tail of the DataFrame\n display_max_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_scrub API.
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 smart_scrub API.
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... | Scrubs from the front and back of an 'object' column in a DataFrame
until the scrub would semantically alter the contents of the column. If only a
subset of the elements in the column are scrubbed, then a boolean array indicating which
elements have been scrubbed is appended to the dataframe. Returns a tup... | "Scrubs from the front and back of an 'object' column in a DataFrame\n until the scrub would semantically alter the contents of the column. If only a \n subset of the elements in the column are scrubbed, then a boolean array indicating which\n elements have been scrubbed is appended to the dataframe. Returns a... | 84 | false | a2liu/mr-clean | smart_scrub | 140,701 | |
LDU_FT/Varkal/chuda/wait_for | LDU_FT | [
"<BEGIN>\n## `enrich_app`",
"Add a new property to the app (with setattr)",
" Args:\n name (str): the name of the new property\n value (any): the value of the new property\n<END>",
"<BEGIN>\n## `autorun`",
"Call the run method of the decorated class if the current file is the ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Block until a pattern have been found in stdout and stderr
Args:
pattern(:class:`~re.Pattern`): The pattern to search
timeout(int): Maximum number of second to wait. If None, wait infinitely
Raises:
TimeoutError: When timeout is reach | "Block until a pattern have been found in stdout and stderr\n\n Args:\n pattern(:class:`~re.Pattern`): The pattern to search\n timeout(int): Maximum number of second to wait. If None, wait infinitely\n\n Raises: \n TimeoutError: When timeout is reach" | 44 | false | Varkal/chuda | wait_for | 140,702 | |
LDU_FT/SeleniumHQ/selenium/_execute | LDU_FT | [
"<BEGIN>\n## `_make_w3c_caps`",
"Makes a W3C alwaysMatch capabilities object.",
" Filters out capability names that are not in the W3C spec. Spec-compliant\n drivers will reject requests containing unknown capability names.",
" Moves the Firefox profile, if present, from the old location to the new F... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _execute API.
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 _execute API.
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... | Executes a command against the underlying HTML element.
Args:
command: The name of the command to _execute as a string.
params: A dictionary of named parameters to send with the command.
Returns:
The command's JSON response loaded into a dictionary object. | "Executes a command against the underlying HTML element.\n\n Args:\n command: The name of the command to _execute as a string.\n params: A dictionary of named parameters to send with the command.\n\n Returns:\n The command's JSON response loaded into a dictionary object." | 547 | false | SeleniumHQ/selenium | _execute | 140,703 | |
LDU_FT/fedora-infra/fmn.rules/package_filter | LDU_FT | [
"<BEGIN>\n## `pagure_specific_project_filter`",
"Particular pagure projects",
" Adding this rule allows you to get notifications for one or more\n `pagure.io <https://pagure.io>`_ projects. Specify multiple\n projects by separating them with a comma ','.\n<END>",
"<BEGIN>\n## `pagure_specific_proj... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the package_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the package_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | A particular package
Use this rule to include messages that relate to a certain package
(*i.e., nethack*). | "A particular package\n\n Use this rule to include messages that relate to a certain package\n (*i.e., nethack*)." | 95 | false | fedora-infra/fmn.rules | package_filter | 140,704 | |
LDU_FT/optimizely/python-sdk/get_event | LDU_FT | [
"<BEGIN>\n## `is_datafile_valid`",
"Given a datafile determine if it is valid or not.",
" Args:\n datafile: JSON string representing the project.",
" Returns:\n Boolean depending upon whether datafile is valid or not.\n<END>",
"<BEGIN>\n## `is_user_profile_valid`",
"Determine if provided user prof... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_event API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Get event for the provided event key.
Args:
event_key: Event key for which event is to be determined.
Returns:
Event corresponding to the provided event key. | "Get event for the provided event key.\n\n Args:\n event_key: Event key for which event is to be determined.\n\n Returns:\n Event corresponding to the provided event key." | 302 | false | optimizely/python-sdk | get_event | 140,705 | |
LDU_FT/galaxy-genome-annotation/python-apollo/update_dbxref | LDU_FT | [
"<BEGIN>\n## `cli`",
"Set a feature's name",
"Output:",
" A standard apollo feature dictionary ({\"features\": [{...}]})\n<END>",
"<BEGIN>\n## `cli`",
"[UNTESTED] Delete a specific feature alteration",
"Output:",
" A list of sequence alterations(?)\n<END>",
"<BEGIN>\n## `cli`",
"Set a featur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_dbxref API.
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_dbxref API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Delete a dbxref from a feature
:type feature_id: str
:param feature_id: Feature UUID
:type old_db: str
:param old_db: Old DB Name (e.g. PMID)
:type old_accession: str
:param old_accession: Old accession Value
:type new_db: str
:param new_db: New DB Nam... | "Delete a dbxref from a feature\n\n :type feature_id: str\n :param feature_id: Feature UUID\n\n :type old_db: str\n :param old_db: Old DB Name (e.g. PMID)\n\n :type old_accession: str\n :param old_accession: Old accession Value\n\n :type new_db: str\n :param new_d... | 564 | false | galaxy-genome-annotation/python-apollo | update_dbxref | 140,706 | |
LDU_FT/zhanglab/psamm/parse_model_file | LDU_FT | [
"<BEGIN>\n## `_combine_transfers`",
"Combine multiple pair transfers into one.\n<END>",
"<BEGIN>\n## `parse_compound_file`",
"Iterate over the compound entries in the given file\n<END>",
"<BEGIN>\n## `parse_compound`",
"Parse a compound specification.",
" If no compartment is specified in the string,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_model_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_model_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Parse a file as a list of model reactions
The file format is detected and the file is parsed accordinly. The file is
specified as a file path that will be opened for reading. Path can be given
as a string or a context. | "Parse a file as a list of model reactions\n\n The file format is detected and the file is parsed accordinly. The file is\n specified as a file path that will be opened for reading. Path can be given\n as a string or a context." | 584 | false | zhanglab/psamm | parse_model_file | 140,707 | |
LDU_FT/quaddra/provision/is_node_destroyable | LDU_FT | [
"<BEGIN>\n## `NodeDriver_wait_until_running`",
"Block until node is fully booted and has an IP address assigned.",
" @keyword node: Node instance.\n @type node: C{Node}",
" @keyword wait_period: How many seconds to between each loop\n iteration (default is 3)\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_node_destroyable 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 is_node_destroyable 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... | Return True if name starts with a destroyable prefix | "Return True if name starts with a destroyable prefix" | 59 | false | quaddra/provision | is_node_destroyable | 140,708 | |
LDU_FT/AlexandreDecan/python-intervals/replace | LDU_FT | [
"<BEGIN>\n## `from_string`",
"Parse given string and create an Interval instance.\n A converter function has to be provided to convert a bound (as string) to a value.",
" :param string: string to parse.\n :param conv: function that converts a bound (as string) to an object.\n :param bound: pattern t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API.
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 replace API.
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 interval based on the current one and the provided values.
If current interval is not atomic, it is extended or restricted such that
its enclosure satisfies the new bounds. In other words, its new enclosure
will be equal to self.to_atomic().replace(left, lower, upper, right).
... | "Create a new interval based on the current one and the provided values.\n\n If current interval is not atomic, it is extended or restricted such that\n its enclosure satisfies the new bounds. In other words, its new enclosure\n will be equal to self.to_atomic().replace(left, lower, upper, right).\... | 40 | false | AlexandreDecan/python-intervals | replace | 140,709 | |
LDU_FT/astropy/pyregion/_generate_arg_types | LDU_FT | [
"<BEGIN>\n## `_generate_arg_types`",
"Find coordinate types based on shape name and coordlist length",
" This function returns a list of coordinate types based on which\n coordinates can be repeated for a given type of shap",
" Parameters\n ----------\n coordlist_length : int\n The numbe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_arg_types 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 _generate_arg_types 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... | Find coordinate types based on shape name and coordlist length
This function returns a list of coordinate types based on which
coordinates can be repeated for a given type of shap
Parameters
----------
coordlist_length : int
The number of coordinates or arguments used to define the shape.
... | "Find coordinate types based on shape name and coordlist length\n\n This function returns a list of coordinate types based on which\n coordinates can be repeated for a given type of shap\n\n Parameters\n ----------\n coordlist_length : int\n The number of coordinates or arguments used to define th... | 75 | false | astropy/pyregion | _generate_arg_types | 140,710 | |
LDU_FT/noxdafox/pebble/sighandler | LDU_FT | [
"<BEGIN>\n## `waitforqueues`",
"Waits for one or more *Queue* to be ready or until *timeout* expires.",
" *queues* is a list containing one or more *Queue.Queue* objects.\n If *timeout* is not None the function will block\n for the specified amount of seconds.",
" The function returns a list conta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sighandler API.
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 sighandler API.
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... | Sets the decorated function as signal handler of given *signals*.
*signals* can be either a single signal or a list/tuple
of multiple ones. | "Sets the decorated function as signal handler of given *signals*.\n\n *signals* can be either a single signal or a list/tuple\n of multiple ones." | 83 | false | noxdafox/pebble | sighandler | 140,711 | |
LDU_FT/aiortc/aiortc/createOffer | LDU_FT | [
"<BEGIN>\n## `allocate_mid`",
"Allocate a MID which has not been used yet.\n<END>",
"<BEGIN>\n## `addIceCandidate`",
"Add a new :class:`RTCIceCandidate` received from the remote peer.",
" The specified candidate must have a value for either `sdpMid` or `sdpMLineIndex`.\n<END>",
"<BEGIN>\n## `addTra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createOffer API.
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 createOffer API.
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... | Create an SDP offer for the purpose of starting a new WebRTC
connection to a remote peer.
:rtype: :class:`RTCSessionDescription` | "Create an SDP offer for the purpose of starting a new WebRTC\n connection to a remote peer.\n\n :rtype: :class:`RTCSessionDescription`" | 126 | false | aiortc/aiortc | createOffer | 140,712 | |
LDU_FT/kervi/kervi-core/add_page | LDU_FT | [
"<BEGIN>\n## `set_channels`",
"Sets the state of multiple channels in one operation.",
" :param channels:\n A dictionary where keys are channels and values the value to set for each channel.",
" :type channels: ``dict``\n<END>",
"<BEGIN>\n## `action`",
"Decorator that turns a func... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_page API.
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... | r"""
Add a display page to the display.
:param page: Page to be added
:type display_id: ``DisplayPage``
:param default: True if this page should be shown upon initialization.
:type name: ``bool`` | "r\"\"\"\n Add a display page to the display.\n\n :param page: Page to be added\n :type display_id: ``DisplayPage``\n\n :param default: True if this page should be shown upon initialization.\n \n :type name: ``bool``" | 101 | false | kervi/kervi-core | add_page | 140,713 | |
LDU_FT/twitterdev/tweet_parser/get_quote_or_rt_text | LDU_FT | [
"<BEGIN>\n## `get_entities`",
"Helper function to simply grabbing the entities. \\n\n Caveat: In the case of Retweets, a Retweet is stored as\n \"RT @someone: Some awesome status\". In the case where pre-appending\n the string \"RT @someone:\" causes the Tweet to exceed 140 characters,\n entites (hash... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_quote_or_rt_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_quote_or_rt_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get the quoted or retweeted text in a Tweet
(this is not the text entered by the posting user)
- tweet: empty string (there is no quoted or retweeted text)
- quote: only the text of the quoted Tweet
- retweet: the text of the retweet
Args:
tweet (Tweet or dict): A Tweet object or dictionary... | "Get the quoted or retweeted text in a Tweet\n (this is not the text entered by the posting user)\n - tweet: empty string (there is no quoted or retweeted text)\n - quote: only the text of the quoted Tweet\n - retweet: the text of the retweet\n\n Args:\n tweet (Tweet or dict): A Tweet object or di... | 170 | false | twitterdev/tweet_parser | get_quote_or_rt_text | 140,714 | |
LDU_FT/idlesign/srptools/b64_from | LDU_FT | [
"<BEGIN>\n## `hex_from`",
"Returns hex string representation for a given value.",
" :param bytes|str|unicode|int|long val:\n :rtype: bytes|str\n<END>",
"<BEGIN>\n## `b64_from`",
"Returns base64 encoded bytes for a given int/long/bytes value.",
" :param int|long|bytes val:\n :rtype: bytes|str\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the b64_from API.
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 b64_from API.
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... | Returns base64 encoded bytes for a given int/long/bytes value.
:param int|long|bytes val:
:rtype: bytes|str | "Returns base64 encoded bytes for a given int/long/bytes value.\n\n :param int|long|bytes val:\n :rtype: bytes|str" | 40 | false | idlesign/srptools | b64_from | 140,715 | |
LDU_FT/pyvisa/pyvisa-sim/close | LDU_FT | [
"<BEGIN>\n## `_get_triplet`",
"Return a triplet from a dialogue dictionary.",
" :param dd: Dialogue dictionary.\n :type dd: Dict[str, str]\n :return: (query, response, error response)\n :rtype: (str, str | NoResponse, str | NoResponse)\n<END>",
"<BEGIN>\n## `_load`",
"YAML Parse a file or str an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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... | Closes the specified session, event, or find list.
Corresponds to viClose function of the VISA library.
:param session: Unique logical identifier to a session, event, or find list.
:return: return value of the library call.
:rtype: :class:`pyvisa.constants.StatusCode` | "Closes the specified session, event, or find list.\n\n Corresponds to viClose function of the VISA library.\n\n :param session: Unique logical identifier to a session, event, or find list.\n :return: return value of the library call.\n :rtype: :class:`pyvisa.constants.StatusCode`" | 85 | false | pyvisa/pyvisa-sim | close | 140,716 | |
LDU_FT/edwards-lab/libGWAS/ReportConfiguration | LDU_FT | [
"<BEGIN>\n## `load_genotypes`",
"This really just intializes the file by opening it up.\n<END>",
"<BEGIN>\n## `process_genotypes`",
"Parse pedigree line and remove excluded individuals from geno",
" Translates alleles into numerical genotypes (0, 1, 2) counting\n number of minor alleles.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ReportConfiguration 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 ReportConfiguration 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... | Report the boundary configuration details
:param f: File (or standard out/err)
:return: None | "Report the boundary configuration details\n\n :param f: File (or standard out/err)\n :return: None" | 142 | false | edwards-lab/libGWAS | ReportConfiguration | 140,717 | |
LDU_FT/hazelcast/hazelcast-python-client/add_all | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds the specified item to this queue if there is available space.",
" :param item: (object), the specified item.\n :return: (bool), ``true`` if element is successfully added, ``false`` otherwise.\n<END>",
"<BEGIN>\n## `add_all`",
"Adds the elements in the specified colle... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_all API.
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 add_all API.
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 all of the items in the specified collection to the end of this list. The order of new elements is
determined by the specified collection's iterator.
:param items: (Collection), the specified collection which includes the elements to be added to list.
:return: (bool), ``true`` if this call... | "Adds all of the items in the specified collection to the end of this list. The order of new elements is\n determined by the specified collection's iterator.\n\n :param items: (Collection), the specified collection which includes the elements to be added to list.\n :return: (bool), ``true`` if this... | 666 | false | hazelcast/hazelcast-python-client | add_all | 140,718 | |
LDU_FT/openstack/python-scciclient/get_json | LDU_FT | [
"<BEGIN>\n## `scci_cmd`",
"execute SCCI command",
" This function calls SCCI server modules\n :param host: hostname or IP of iRMC\n :param userid: userid for iRMC with administrator privileges\n :param password: password for userid\n :param cmd: SCCI command\n :param port: port number of iRMC\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Create JSON data for iSCSI initiator.
:returns: JSON data for iSCSI initiator as follows:
{
"DHCPUsage":{
},
"Name":{
},
"IPv4Address":{
},
"SubnetMask":{
},
... | "Create JSON data for iSCSI initiator.\n\n :returns: JSON data for iSCSI initiator as follows:\n\n {\n \"DHCPUsage\":{\n },\n \"Name\":{\n },\n \"IPv4Address\":{\n },\n \"SubnetMask\":{\n ... | 194 | false | openstack/python-scciclient | get_json | 140,719 | |
LDU_FT/makinacorpus/landez/export_image | LDU_FT | [
"<BEGIN>\n## `find_coverage`",
"Returns the bounding box (minx, miny, maxx, maxy) of an adjacent\n group of tiles at this zoom level.\n<END>",
"<BEGIN>\n## `tile`",
"Download the specified tile from `tiles_url`\n<END>",
"<BEGIN>\n## `project`",
"Returns the coordinates in meters from WGS84\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Writes to ``imagepath`` the tiles for the specified bounding box and zoomlevel. | "Writes to ``imagepath`` the tiles for the specified bounding box and zoomlevel." | 25 | false | makinacorpus/landez | export_image | 140,720 | |
LDU_FT/maceoutliner/django-fiction-outlines/validate_arc_links_same_outline | LDU_FT | [
"<BEGIN>\n## `mk_dropdown_tree`",
"Override of ``treebeard`` method to enforce the same root.\n<END>",
"<BEGIN>\n## `length_estimate`",
"Calculates and estimated word count based on number of characters, locations,\n and arcs. For reference see:\n http://www.writingexcuses.com/2017/07/02/12-27-c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_arc_links_same_outline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_arc_links_same_outline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Evaluates attempts to link an arc to a story node from another outline. | "Evaluates attempts to link an arc to a story node from another outline." | 61 | false | maceoutliner/django-fiction-outlines | validate_arc_links_same_outline | 140,721 | |
LDU_FT/orsinium/textdistance/_dynamic | LDU_FT | [
"<BEGIN>\n## `optimize`",
"Sort algorithm implementations by speed.\n<END>",
"<BEGIN>\n## `_dynamic`",
"https://github.com/chrislit/abydos/blob/master/abydos/distance/_lcsseq.py\n http://www.dis.uniroma1.it/~bonifaci/algo/LCSSEQ.py\n http://rosettacode.org/wiki/Longest_common_subsequence#Dynamic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dynamic API.
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 _dynamic API.
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... | https://github.com/chrislit/abydos/blob/master/abydos/distance/_lcsseq.py
http://www.dis.uniroma1.it/~bonifaci/algo/LCSSEQ.py
http://rosettacode.org/wiki/Longest_common_subsequence#Dynamic_Programming_8 | "https://github.com/chrislit/abydos/blob/master/abydos/distance/_lcsseq.py\n http://www.dis.uniroma1.it/~bonifaci/algo/LCSSEQ.py\n http://rosettacode.org/wiki/Longest_common_subsequence#Dynamic_Programming_8" | 15 | false | orsinium/textdistance | _dynamic | 140,722 | |
LDU_FT/PySimpleGUI/PySimpleGUI/do_one | LDU_FT | [
"<BEGIN>\n## `read_mail`",
"Reads late emails from IMAP server and displays them in the Window\n :param window: window to display emails in\n :return:\n<END>",
"<BEGIN>\n## `runCommand`",
"run shell command",
"\t@param cmd: command to execute\n\t@param timeout: timeout for command execution",
"\t@re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_one API.
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 do_one API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns either the delay (in ms) or None on timeout. | "Returns either the delay (in ms) or None on timeout." | 110 | false | PySimpleGUI/PySimpleGUI | do_one | 140,723 | |
LDU_FT/twitterdev/search-tweets-python/check_counts | LDU_FT | [
"<BEGIN>\n## `parse_version`",
"Parses the program's version from a python variable declaration.\n<END>",
"<BEGIN>\n## `make_session`",
"Creates a Requests Session for use. Accepts a bearer token\n for premiums users and will override username and password information if\n present.",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_counts API.
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 check_counts API.
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... | Disables tweet parsing if the count API is used. | "Disables tweet parsing if the count API is used." | 88 | false | twitterdev/search-tweets-python | check_counts | 140,724 | |
LDU_FT/viatoriche/microservices/gevent_run | LDU_FT | [
"<BEGIN>\n## `publish`",
"Publish message to exchange",
" :param message: message for publishing\n :type message: any serializable object\n :param routing_key: routing key for queue\n :return: None\n<END>",
"<BEGIN>\n## `publish`",
"Publish message to queue",
" :param me... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gevent_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gevent_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Run your app in gevent.spawn, run simple loop if start == True
:param app: queues.Microservice instance
:param monkey_patch: boolean, use gevent.monkey.patch_all() for patching standard modules, default: True
:param start: boolean, if True, server will be start (simple loop)
:param kwargs: other params... | "Run your app in gevent.spawn, run simple loop if start == True\n\n :param app: queues.Microservice instance\n :param monkey_patch: boolean, use gevent.monkey.patch_all() for patching standard modules, default: True\n :param start: boolean, if True, server will be start (simple loop)\n :param kwargs: other ... | 27 | false | viatoriche/microservices | gevent_run | 140,725 | |
LDU_FT/jgorset/facebook/accounts | LDU_FT | [
"<BEGIN>\n## `cache`",
"Query or return the Graph API representation of this resource.\n<END>",
"<BEGIN>\n## `work`",
"A list of :class:`Employment` instances describing the user's work history.",
" Each structure has attributes ``employer``, ``position``, ``started_at`` and ``ended_at``.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accounts API.
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 accounts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | A list of structures describing apps and pages owned by this user. | "A list of structures describing apps and pages owned by this user." | 20 | false | jgorset/facebook | accounts | 140,726 | |
LDU_FT/hozn/coilmq/init_logging | LDU_FT | [
"<BEGIN>\n## `server_from_config`",
"Gets a configured L{coilmq.server.StompServer} from specified config.",
" If `config` is None, global L{coilmq.config.config} var will be used instead.",
" The `server_class` and `additional_kwargs` are primarily hooks for using this method\n from a testing enviro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_logging API.
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 init_logging API.
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... | Configures the logging using either basic filename + loglevel or passed config file path.
This is performed separately from L{init_config()} in order to support the case where
logging should happen independent of (usu. *after*) other aspects of the configuration
initialization. For example, if logging ma... | "Configures the logging using either basic filename + loglevel or passed config file path.\n\n This is performed separately from L{init_config()} in order to support the case where \n logging should happen independent of (usu. *after*) other aspects of the configuration \n initialization. For example, if loggi... | 211 | false | hozn/coilmq | init_logging | 140,727 | |
LDU_FT/sunlightlabs/django-locksmith/check_key | LDU_FT | [
"<BEGIN>\n## `_active_keys_by_month`",
"Returns a dict of (year, month) -> active_keys. The dict will contain a key\n for each month observed in the data.\n<END>",
"<BEGIN>\n## `keys`",
"Lists API keys. Compatible with jQuery DataTables.\n<END>",
"<BEGIN>\n## `resolve_model`",
"model: Model class\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_key API.
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 check_key API.
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... | POST endpoint determining whether or not a key exists and is valid | "POST endpoint determining whether or not a key exists and is valid" | 33 | false | sunlightlabs/django-locksmith | check_key | 140,728 | |
LDU_FT/elastic/apm-agent-python/_flush | LDU_FT | [
"<BEGIN>\n## `extract_signature`",
"Extracts a minimal signature from a given SQL query\n :param sql: the SQL statement\n :return: a string representing the signature\n<END>",
"<BEGIN>\n## `_timed_queue_join`",
"implementation of Queue.join which takes a 'timeout' argument",
" returns True on s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _flush API.
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 _flush API.
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 ... | Flush the queue. This method should only be called from the event processing queue
:param sync: if true, flushes the queue synchronously in the current thread
:return: None | "Flush the queue. This method should only be called from the event processing queue\n :param sync: if true, flushes the queue synchronously in the current thread\n :return: None" | 163 | false | elastic/apm-agent-python | _flush | 140,729 | |
LDU_FT/klmitch/requiem/_urljoin | LDU_FT | [
"<BEGIN>\n## `send`",
"Issue the request.",
" Uses httplib2.Http support for handling redirects. Returns an\n httplib2.Response, which may be augmented by the\n proc_response() method.",
" Note that the default implementation of proc_response() causes\n an appropriate excep... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _urljoin API.
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 _urljoin API.
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... | Join two URLs.
Takes URLs specified by left and right and joins them into a
single URL. If right is an absolute URL, it is returned directly.
This differs from urlparse.urljoin() in that the latter always
chops off the left-most component of left unless it is trailed by
'/', which is not the behav... | "Join two URLs.\n\n Takes URLs specified by left and right and joins them into a\n single URL. If right is an absolute URL, it is returned directly.\n This differs from urlparse.urljoin() in that the latter always\n chops off the left-most component of left unless it is trailed by\n '/', which is not th... | 46 | false | klmitch/requiem | _urljoin | 140,730 | |
LDU_FT/ThreatResponse/margaritashotgun/cleanup | LDU_FT | [
"<BEGIN>\n## `configure`",
"Connect paramiko transport",
" :type auth: :py:class`margaritashotgun.auth.AuthMethods`\n :param auth: authentication object\n :type address: str\n :param address: remote server ip or hostname\n :type port: int\n :param port: remote server po... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleanup API.
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 cleanup API.
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... | Release resources used during memory capture | "Release resources used during memory capture" | 134 | false | ThreatResponse/margaritashotgun | cleanup | 140,731 | |
LDU_FT/tjcsl/cslbot/cmd | LDU_FT | [
"<BEGIN>\n## `cmd`",
"Babbles like a user\n Syntax: {command} [nick] [--length <1|2>] [--start <word>]\n<END>",
"<BEGIN>\n## `cmd`",
"Gets a random distro.",
" Syntax: {command}\n<END>",
"<BEGIN>\n## `cmd`",
"Returns the Discordian date.",
" Syntax: {command}\n<END>",
"<BEGIN>\n## `cmd`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmd API.
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 cmd API.
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... | For when you don't have enough randomness in your life.
Syntax: {command} [--int] [len] | "For when you don't have enough randomness in your life.\n\n Syntax: {command} [--int] [len]" | 357 | false | tjcsl/cslbot | cmd | 140,732 | |
LDU_FT/proycon/clam/getarchive | LDU_FT | [
"<BEGIN>\n## `convertforinput`",
"Convert from target format into one of the source formats. Relevant if converters are used in InputTemplates. Metadata already is metadata for the to-be-generated file. 'filepath' is both the source and the target file, the source file will be erased and overwritten with the conv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getarchive API.
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 getarchive API.
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... | Generates and returns a download package (or 403 if one is already in the process of being prepared) | "Generates and returns a download package (or 403 if one is already in the process of being prepared)" | 194 | false | proycon/clam | getarchive | 140,733 | |
LDU_FT/jlesquembre/jlle/no_input | LDU_FT | [
"<BEGIN>\n## `no_input`",
"Return whether the user wants to run in no-input mode.",
" Enable this mode by adding a ``no-input`` option::",
" [zest.releaser]\n no-input = yes",
" The default when this option has not been set is False.",
" Standard config rules app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the no_input API.
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 no_input API.
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... | Return whether the user wants to run in no-input mode.
Enable this mode by adding a ``no-input`` option::
[zest.releaser]
no-input = yes
The default when this option has not been set is False.
Standard config rules apply, so you can use upper or lower or
mixed... | "Return whether the user wants to run in no-input mode.\n\n Enable this mode by adding a ``no-input`` option::\n\n [zest.releaser]\n no-input = yes\n\n The default when this option has not been set is False.\n\n Standard config rules apply, so you can use upper or lower or\n ... | 77 | false | jlesquembre/jlle | no_input | 140,734 | |
LDU_FT/thespacedoctor/qubits/random_redshift_array | LDU_FT | [
"<BEGIN>\n## `setup`",
"*setup the workspace in the requested location*",
" **Return:**\n - ``None``\n<END>",
"<BEGIN>\n## `random_redshift_array`",
"*Generate a NumPy array of random distances given a sample number and distance limit*",
" **Key Arguments:**\n - ``log`` -- logg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_redshift_array API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_redshift_array API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | *Generate a NumPy array of random distances given a sample number and distance limit*
**Key Arguments:**
- ``log`` -- logger
- ``sampleNumber`` -- the sample number, i.e. array size
- ``lowerRedshiftLimit`` -- the lower redshift limit of the volume to be included
- ``upperRedshiftLi... | "*Generate a NumPy array of random distances given a sample number and distance limit*\n\n **Key Arguments:**\n - ``log`` -- logger\n - ``sampleNumber`` -- the sample number, i.e. array size\n - ``lowerRedshiftLimit`` -- the lower redshift limit of the volume to be included\n - ``upperRed... | 152 | false | thespacedoctor/qubits | random_redshift_array | 140,735 | |
LDU_FT/mathandy/svgpathtools/point | LDU_FT | [
"<BEGIN>\n## `big_bounding_box`",
"Finds a BB containing a collection of paths, Bezier path segments, and\n points (given as complex numbers).\n<END>",
"<BEGIN>\n## `disvg`",
"Takes in a list of paths and creates an SVG file containing said paths.\n REQUIRED INPUTS:\n :param paths - a list of pat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the point API.
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 point API.
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 the coordinates of the Bezier curve evaluated at t. | "returns the coordinates of the Bezier curve evaluated at t." | 252 | false | mathandy/svgpathtools | point | 140,736 | |
LDU_FT/sebdah/dynamic-dynamodb/__update_throughput | LDU_FT | [
"<BEGIN>\n## `get_consumed_read_units_percent`",
"Returns the number of consumed read units in percent",
" :type table_name: str\n :param table_name: Name of the DynamoDB table\n :type lookback_window_start: int\n :param lookback_window_start: Relative start time for the CloudWatch metric\n :type... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __update_throughput 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 __update_throughput 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... | Update throughput on the DynamoDB table
:type table_name: str
:param table_name: Name of the DynamoDB table
:type key_name: str
:param key_name: Configuration option key name
:type read_units: int
:param read_units: New read unit provisioning
:type write_units: int
:param write_units: N... | "Update throughput on the DynamoDB table\n\n :type table_name: str\n :param table_name: Name of the DynamoDB table\n :type key_name: str\n :param key_name: Configuration option key name\n :type read_units: int\n :param read_units: New read unit provisioning\n :type write_units: int\n :param writ... | 191 | false | sebdah/dynamic-dynamodb | __update_throughput | 140,737 | |
LDU_FT/ecordell/pymacaroons/_deserialize_v2 | LDU_FT | [
"<BEGIN>\n## `equals`",
"Returns True if the two strings are equal, False otherwise.",
" The time taken is independent of the number of characters that match.",
" For the sake of simplicity, this function executes in constant time only\n when the two strings have the same length. It short-circuits wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _deserialize_v2 API.
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 _deserialize_v2 API.
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... | Deserialize a JSON macaroon v2.
@param serialized the macaroon in JSON format v2.
@return the macaroon object. | "Deserialize a JSON macaroon v2.\n\n @param serialized the macaroon in JSON format v2.\n @return the macaroon object." | 46 | false | ecordell/pymacaroons | _deserialize_v2 | 140,738 | |
LDU_FT/HydrelioxGitHub/pybbox/is_device_connected | LDU_FT | [
"<BEGIN>\n## `set_display_luminosity`",
"Change the intensity of light of the front panel of the box\n :param luminosity: must be between 0 (light off) and 100\n :type luminosity: int\n<END>",
"<BEGIN>\n## `reboot`",
"Reboot the device\n Useful when trying to get xDSL sync\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_device_connected 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 is_device_connected 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... | Check if a device identified by it IP is connected to the box
:param ip: IP of the device you want to test
:type ip: str
:return: True is the device is connected, False if it's not
:rtype: bool | "Check if a device identified by it IP is connected to the box\n :param ip: IP of the device you want to test\n :type ip: str\n :return: True is the device is connected, False if it's not\n :rtype: bool" | 27 | false | HydrelioxGitHub/pybbox | is_device_connected | 140,739 | |
LDU_FT/YeoLab/anchor/single_feature_logliks | LDU_FT | [
"<BEGIN>\n## `plot_best_worst_fits`",
"Violinplots of the highest and lowest scoring of each modality\n<END>",
"<BEGIN>\n## `violinplot`",
"Wrapper around Seaborn's Violinplot specifically for [0, 1] ranged data",
" What's different:\n - bw = 0.2: Sets bandwidth to be small and the same between datase... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the single_feature_logliks 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 single_feature_logliks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Calculate log-likelihoods of each modality's parameterization
Used for plotting the estimates of a single feature
Parameters
----------
featre : pandas.Series
A single feature's values. All values must range from 0 to 1.
Returns
-------
logliks : pa... | "Calculate log-likelihoods of each modality's parameterization\n\n Used for plotting the estimates of a single feature\n\n Parameters\n ----------\n featre : pandas.Series\n A single feature's values. All values must range from 0 to 1.\n\n Returns\n -------\n ... | 94 | false | YeoLab/anchor | single_feature_logliks | 140,740 | |
LDU_FT/project-generator/project_generator/_expand_data | LDU_FT | [
"<BEGIN>\n## `_determine_tool`",
"Yields tuples in the form of (linker file, tool the file links for\n<END>",
"<BEGIN>\n## `create_yaml`",
"Find what tool the linker works for - if multiple linkers in this dir, project_yaml['common']['linker_file']\n is a list. Tools is an iterator\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expand_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expand_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | data expansion - uvision needs filename and path separately. | "data expansion - uvision needs filename and path separately." | 28 | false | project-generator/project_generator | _expand_data | 140,741 | |
LDU_FT/python-openxml/python-docx/read_byte | LDU_FT | [
"<BEGIN>\n## `default_cx`",
"Native width of this image, calculated from its width in pixels and\n horizontal dots per inch (dpi).\n<END>",
"<BEGIN>\n## `default_cy`",
"Native height of this image, calculated from its height in pixels and\n vertical dots per inch (dpi).\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_byte API.
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 read_byte API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return the int value of the byte at the file position defined by
self._base_offset + *base* + *offset*. If *base* is None, the byte is
read from the current position in the stream. | "Return the int value of the byte at the file position defined by\n self._base_offset + *base* + *offset*. If *base* is None, the byte is\n read from the current position in the stream." | 626 | false | python-openxml/python-docx | read_byte | 140,742 | |
LDU_FT/mdeous/fatbotslim/notice | LDU_FT | [
"<BEGIN>\n## `create_logger`",
"Creates a new ready-to-use logger.",
" :param name: new logger's name\n :type name: str\n :param level: default logging level.\n :type level: :class:`str` or :class:`int`\n :return: new logger.\n :rtype: :class:`logging.Logger`\n<END>",
"<BEGIN>\n## `format`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notice API.
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 notice API.
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 ... | Sends a NOTICE to an user or channel.
:param target: user or channel to send to.
:type target: str
:param msg: message to send.
:type msg: basestring | "Sends a NOTICE to an user or channel.\n\n :param target: user or channel to send to.\n :type target: str\n :param msg: message to send.\n :type msg: basestring" | 83 | false | mdeous/fatbotslim | notice | 140,743 | |
LDU_FT/markuskiller/textblob-de/_do_word | LDU_FT | [
"<BEGIN>\n## `definite_article`",
"Returns the definite article (der/die/das/die) for a given word.\n<END>",
"<BEGIN>\n## `indefinite_article`",
"Returns the indefinite article (ein) for a given word.\n<END>",
"<BEGIN>\n## `article`",
"Returns the indefinite (ein) or definite (der/die/das/die) article for... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_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 extracte... | Adds a new Word to the sentence.
Other Sentence._do_[tag] functions assume a new word has just been appended. | "Adds a new Word to the sentence.\n Other Sentence._do_[tag] functions assume a new word has just been appended." | 407 | false | markuskiller/textblob-de | _do_word | 140,744 | |
LDU_FT/SmartTeleMax/iktomi/quote_js | LDU_FT | [
"<BEGIN>\n## `pare`",
"Pare text to have maximum size and add etc to the end if it's\n changed\n<END>",
"<BEGIN>\n## `quoteattrs`",
"Takes dict of attributes and returns their HTML representation\n<END>",
"<BEGIN>\n## `quote_js`",
"Quotes text to be used as JavaScript string in HTML templates. The\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quote_js API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quote_js API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Quotes text to be used as JavaScript string in HTML templates. The
result doesn't contain surrounding quotes. | "Quotes text to be used as JavaScript string in HTML templates. The\n result doesn't contain surrounding quotes." | 196 | false | SmartTeleMax/iktomi | quote_js | 140,745 | |
LDU_FT/nschloe/pygmsh/_add_torus_extrude_circle | LDU_FT | [
"<BEGIN>\n## `add_circle`",
"Add circle in the :math:`x`-:math:`y`-plane.\n<END>",
"<BEGIN>\n## `extrude`",
"Extrusion (translation + rotation) of any entity along a given\n translation_axis, around a given rotation_axis, about a given angle. If\n one of the entities is not provided, this method... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_torus_extrude_circle 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_torus_extrude_circle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Create Gmsh code for the torus under the coordinate transformation
.. math::
\\hat{x} = R x + x_0.
:param irad: inner radius of the torus
:param orad: outer radius of the torus | "Create Gmsh code for the torus under the coordinate transformation\n\n .. math::\n \\\\hat{x} = R x + x_0.\n\n :param irad: inner radius of the torus\n :param orad: outer radius of the torus" | 37 | false | nschloe/pygmsh | _add_torus_extrude_circle | 140,746 | |
LDU_FT/Cymmetria/honeycomb/create_integration_alert_and_call_send | LDU_FT | [
"<BEGIN>\n## `config_field_type`",
"Validate a config field against a type.",
" Similar functionality to :func:`validate_field_matches_type` but returns :obj:`honeycomb.defs.ConfigField`\n<END>",
"<BEGIN>\n## `validate_config`",
"Validate a JSON file configuration against list of :obj:`honeycomb.defs.Con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_integration_alert_and_call_send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_integration_alert_and_call_send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | Create an IntegrationAlert object and send it to Integration. | "Create an IntegrationAlert object and send it to Integration." | 90 | false | Cymmetria/honeycomb | create_integration_alert_and_call_send | 140,747 | |
LDU_FT/daboth/pagan/hashimage | LDU_FT | [
"<BEGIN>\n## `init_weapon_list`",
"Initialize the possible weapon\n combinations.\n<END>",
"<BEGIN>\n## `grind_hash_for_colors`",
"Extracts information from the hashcode\n to generate different colors. Returns a\n list of colors in (r,g,b) tupels.\n<END>",
"<BEGIN>\n## `split_sequence`",
"Generat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hashimage API.
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 hashimage API.
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... | generate image by hash, usese tempfile :-/ | "generate image by hash, usese tempfile :-/" | 46 | false | daboth/pagan | hashimage | 140,748 | |
LDU_FT/jaredLunde/vital-tools/format_time | LDU_FT | [
"<BEGIN>\n## `line`",
"Prints a line separator the full width of the terminal.",
" @separator: the #str chars to create the line from\n @color: line color from :mod:vital.debug.colors\n @padding: adds extra lines to either the top, bottom or both\n of the line via :func:padd\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_time API.
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 format_time API.
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... | Pretty-formats a given time in a readable manner
@sec: #int or #float seconds
-> #str formatted time | "Pretty-formats a given time in a readable manner\n @sec: #int or #float seconds\n\n -> #str formatted time" | 396 | false | jaredLunde/vital-tools | format_time | 140,749 | |
LDU_FT/click-contrib/click-configfile/find_packages_by_root_package | LDU_FT | [
"<BEGIN>\n## `find_packages_by_root_package`",
"Better than excluding everything that is not needed,\n collect only what is needed.\n<END>",
"<BEGIN>\n## `make_long_description`",
"click_ is a framework to simplify writing composable commands for\n command-line tools. This package extends the click_ fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_packages_by_root_package 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 find_packages_by_root_package API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Better than excluding everything that is not needed,
collect only what is needed. | "Better than excluding everything that is not needed,\n collect only what is needed." | 181 | false | click-contrib/click-configfile | find_packages_by_root_package | 140,750 | |
LDU_FT/KeithSSmith/switcheo-python/create_cancellation | LDU_FT | [
"<BEGIN>\n## `neo_get_scripthash_from_address`",
"Convert a Public Address String to a ScriptHash (Address) String.",
" :param address: The Public address to convert.\n :type address: str\n :return: String containing the converted ScriptHash.\n<END>",
"<BEGIN>\n## `num2hexstring`",
"Converts a numb... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_cancellation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_cancellation 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... | Function to create a cancellation request for the order ID from the open orders on the order book.
Execution of this function is as follows::
create_cancellation(order_id=order['id'], private_key=kp)
The expected return result for this function is as follows::
{
... | "Function to create a cancellation request for the order ID from the open orders on the order book.\n Execution of this function is as follows::\n\n create_cancellation(order_id=order['id'], private_key=kp)\n\n The expected return result for this function is as follows::\n\n {\n ... | 218 | false | KeithSSmith/switcheo-python | create_cancellation | 140,751 | |
LDU_FT/nccgroup/opinel/handle_truncated_response | LDU_FT | [
"<BEGIN>\n## `read_default_args`",
"Read default argument values for a given tool",
" :param tool_name: Name of the script to read the default arguments for\n :return: Dictionary of default arguments (shared + tool-specific)\n<END>",
"<BEGIN>\n## `prompt`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_truncated_response 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 handle_truncated_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Handle truncated responses
:param callback:
:param params:
:param entities:
:return: | "Handle truncated responses\n\n :param callback:\n :param params:\n :param entities:\n\n :return:" | 132 | false | nccgroup/opinel | handle_truncated_response | 140,752 | |
LDU_FT/sveetch/py-css-styleguide/serialize_to_list | LDU_FT | [
"<BEGIN>\n## `digest_prelude`",
"Walk on rule prelude (aka CSS selector) tokens to return a string of\n the value name (from css selector).",
" Actually only simple selector and selector with descendant combinator\n are supported. Using any other selector kind may leads to unexpected\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_to_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_to_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Serialize given datas to a list structure.
List structure is very simple and only require a variable ``--items``
which is a string of values separated with an empty space. Every other
properties are ignored.
Arguments:
name (string): Name only used inside possible exception... | "Serialize given datas to a list structure.\n\n List structure is very simple and only require a variable ``--items``\n which is a string of values separated with an empty space. Every other\n properties are ignored.\n\n Arguments:\n name (string): Name only used inside possible e... | 98 | false | sveetch/py-css-styleguide | serialize_to_list | 140,753 | |
LDU_FT/olsoneric/pedemath/dot | LDU_FT | [
"<BEGIN>\n## `add_v3`",
"Return a new Vec3 containing the sum of our x, y, z, and arg.",
" If argument is a float or vec, addt it to our x, y, and z.\n Otherwise, treat it as a Vec3 and add arg.x, arg.y, and arg.z from\n our own x, y, and z.\n<END>",
"<BEGIN>\n## `translate_v3`",
"Return a new Vec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dot API.
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 dot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Return the dot product of self and another Vec2. | "Return the dot product of self and another Vec2." | 74 | false | olsoneric/pedemath | dot | 140,754 | |
LDU_FT/alpacahq/pylivetrader/translate | LDU_FT | [
"<BEGIN>\n## `_deprecated_getitem_method`",
"Create a deprecated ``__getitem__`` method that tells users to use\n getattr instead.",
" Parameters\n ----------\n name : str\n The name of the object in the warning message.\n attrs : iterable[str]\n The set of allowed attributes.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate API.
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 translate API.
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... | translate zipline script into pylivetrader script. | "translate zipline script into pylivetrader script." | 81 | false | alpacahq/pylivetrader | translate | 140,755 | |
LDU_FT/Trax-air/swagger-parser/_validate_type | LDU_FT | [
"<BEGIN>\n## `_validate_post_body`",
"returns a tuple (boolean, msg)\n to indicate whether the validation passed\n if False then msg contains the reason\n if True then msg is empty\n<END>",
"<BEGIN>\n## `build_definitions_example`",
"Parse all definitions in the swagger specification.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validate_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Validate the given value with the given property spec.
Args:
properties_dict: specification of the property to check (From definition not route).
value: value to check.
Returns:
True if the value is valid for the given spec. | "Validate the given value with the given property spec.\n\n Args:\n properties_dict: specification of the property to check (From definition not route).\n value: value to check.\n\n Returns:\n True if the value is valid for the given spec." | 100 | false | Trax-air/swagger-parser | _validate_type | 140,756 | |
LDU_FT/noxdafox/clipspy/module | LDU_FT | [
"<BEGIN>\n## `accessible`",
"True if the Slot is directly accessible.\n<END>",
"<BEGIN>\n## `types`",
"A tuple containing the value types for this Slot.",
" The Python equivalent of the CLIPS slot-types function.\n<END>",
"<BEGIN>\n## `sources`",
"A tuple containing the names of the Class sources... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the module API.
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 module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | The module in which the Template is defined.
Python equivalent of the CLIPS deftemplate-module command. | "The module in which the Template is defined.\n\n Python equivalent of the CLIPS deftemplate-module command." | 209 | false | noxdafox/clipspy | module | 140,757 | |
LDU_FT/castelao/oceansdb/crop | LDU_FT | [
"<BEGIN>\n## `cropIndices`",
"Return the indices to crop dataset",
" Assuming that the dataset have the dimensions given by\n dims, this function return the indices to conform with\n the given coordinates (lat, lon, ...)\n<END>",
"<BEGIN>\n## `dbsource`",
"Return which file(s) to us... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crop API.
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 crop API.
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... | Crop a subset of the dataset for each var
Given doy, depth, lat and lon, it returns the smallest subset
that still contains the requested coordinates inside it.
It handels special cases like a region around greenwich and
the international date line.
Accep... | "Crop a subset of the dataset for each var\n\n Given doy, depth, lat and lon, it returns the smallest subset\n that still contains the requested coordinates inside it.\n\n It handels special cases like a region around greenwich and\n the international date line.\n\n ... | 39 | false | castelao/oceansdb | crop | 140,758 | |
LDU_FT/rhayes777/PyAutoFit/prior_tuples | LDU_FT | [
"<BEGIN>\n## `residual_map_from_data_mask_and_model_data`",
"Compute the residual map between a masked observed data and model data, where:",
" Residuals = (Data - Model_Data).",
" Parameters\n -----------\n data : np.ndarray\n The observed data that is fitted.\n mask : np.ndarray\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prior_tuples API.
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 prior_tuples API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns
-------
prior_tuple_dict: [(Prior, PriorTuple)]
The set of all priors associated with this mapper | "Returns\n -------\n prior_tuple_dict: [(Prior, PriorTuple)]\n The set of all priors associated with this mapper" | 243 | false | rhayes777/PyAutoFit | prior_tuples | 140,759 | |
LDU_FT/pmacosta/ptrie/print_node | LDU_FT | [
"<BEGIN>\n## `_create_intermediate_nodes`",
"Create intermediate nodes if hierarchy does not exist.\n<END>",
"<BEGIN>\n## `_delete_subtree`",
"Delete subtree private method.",
" No argument validation and usage of getter/setter private methods is\n used for speed\n<END>",
"<BEGIN>\n## `_prt`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_node API.
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 print_node API.
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... | r"""
Print node information (parent, children and data).
:param name: Node name
:type name: :ref:`NodeName`
:raises:
* RuntimeError (Argument \`name\` is not valid)
* RuntimeError (Node *[name]* not in tree)
Using the same example tree created in
:p... | "r\"\"\"\n Print node information (parent, children and data).\n\n :param name: Node name\n :type name: :ref:`NodeName`\n\n :raises:\n * RuntimeError (Argument \\`name\\` is not valid)\n\n * RuntimeError (Node *[name]* not in tree)\n\n Using the same example tree crea... | 166 | false | pmacosta/ptrie | print_node | 140,760 | |
LDU_FT/RI-imaging/qpformat/get_time | LDU_FT | [
"<BEGIN>\n## `qpinfo`",
"Print information of a quantitative phase imaging dataset\n<END>",
"<BEGIN>\n## `_get_cropped_file_names`",
"self.files with common path prefix/suffix removed\n<END>",
"<BEGIN>\n## `_identifier_data`",
"Return a unique identifier for the folder data\n<END>",
"<BEGIN>\n## `_searc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time API.
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... | Return the time of the tif data since the epoch
The time is stored in the "61238" tag. | "Return the time of the tif data since the epoch\n\n The time is stored in the \"61238\" tag." | 93 | false | RI-imaging/qpformat | get_time | 140,761 | |
LDU_FT/buildbot/buildbot/createSummary | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse messages sent by the 'buildbot-cvs-mail' program.\n<END>",
"<BEGIN>\n## `parse`",
"Parse messages sent by the svn 'commit-email.pl' trigger.\n<END>",
"<BEGIN>\n## `parse`",
"Parse branch notification messages sent by Launchpad.\n<END>",
"<BEGIN>\n## `remote_write`",
"Call... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createSummary API.
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 createSummary API.
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 nice summary logs.
@param log: log to create summary off of. | "Create nice summary logs.\n\n @param log: log to create summary off of." | 518 | false | buildbot/buildbot | createSummary | 140,762 | |
LDU_FT/jwodder/doapi/fetch_resource | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Fetch & return a new `Action` object representing the action's current\n state",
" :rtype: Action\n :raises DOAPIError: if the API endpoint replies with an error\n<END>",
"<BEGIN>\n## `fetch_resource`",
"Fetch & return the resource that the action operated on, or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_resource API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_resource API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Fetch & return the resource that the action operated on, or `None` if
the resource no longer exists (specifically, if the API returns a 404)
:rtype: `Droplet`, `Image`, `FloatingIP`, or `None`
:raises ValueError: if the action has an unknown ``resource_type``
(This indicates a defic... | "Fetch & return the resource that the action operated on, or `None` if\n the resource no longer exists (specifically, if the API returns a 404)\n\n :rtype: `Droplet`, `Image`, `FloatingIP`, or `None`\n :raises ValueError: if the action has an unknown ``resource_type``\n (This indicates a... | 176 | false | jwodder/doapi | fetch_resource | 140,763 | |
LDU_FT/BasementCat/bubbler/trigger | LDU_FT | [
"<BEGIN>\n## `trigger`",
"Trigger this event.\r",
"\t\tAny passed in args/kwargs are passed to the event handlers - if the event\r\n\t\thandlers cannot accept those arguments then they will cause an exception!\n<END>",
"<BEGIN>\n## `getContext`",
"Get a context by name, create the default context if it does... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trigger API.
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 trigger API.
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... | Trigger an event on this context.
Params:
event_name (string):
Event name to trigger
Args and kwargs are passed to each handler - see the bubbler.Event class
for more information.
Returns:
bubbler.Event:
Event instance after execution of all handlers | "Trigger an event on this context.\r\n\r\n\t\tParams:\r\n\t\t\tevent_name (string):\r\n\t\t\t\tEvent name to trigger\r\n\r\n\t\tArgs and kwargs are passed to each handler - see the bubbler.Event class\r\n\t\tfor more information.\r\n\r\n\t\tReturns:\r\n\t\t\tbubbler.Event:\r\n\t\t\t\tEvent instance after execution of a... | 19 | false | BasementCat/bubbler | trigger | 140,764 | |
LDU_FT/albertz/py_better_exchook/is_source_code_missing_open_brackets | LDU_FT | [
"<BEGIN>\n## `parse_pkg_info`",
":param str fn:\n :rtype: dict[str,str]\n<END>",
"<BEGIN>\n## `parse_py_statement`",
":param str line:\n :return: yields (type, value)\n :rtype: typing.Iterator[typing.Tuple[str,str]]\n<END>",
"<BEGIN>\n## `grep_full_py_identifiers`",
":param typing.Iterable[(str,s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_source_code_missing_open_brackets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_source_code_missing_open_brackets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | :param str source_code:
:return: whether this source code snippet (e.g. one line) is complete/even w.r.t. opening/closing brackets
:rtype: bool | ":param str source_code:\n :return: whether this source code snippet (e.g. one line) is complete/even w.r.t. opening/closing brackets\n :rtype: bool" | 75 | false | albertz/py_better_exchook | is_source_code_missing_open_brackets | 140,765 | |
LDU_FT/inveniosoftware-contrib/record-recommender/get_year_week | LDU_FT | [
"<BEGIN>\n## `_is_download`",
"Check if file ending is considered as download.\n<END>",
"<BEGIN>\n## `fetch`",
"Fetch PageViews and Downloads from Elasticsearch.\n<END>",
"<BEGIN>\n## `_fetch_pageviews`",
"Fetch PageViews from Elasticsearch.",
" :param time_from: Staring at timestamp.\n :p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_year_week API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_year_week API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get the year and week for a given timestamp. | "Get the year and week for a given timestamp." | 55 | false | inveniosoftware-contrib/record-recommender | get_year_week | 140,766 | |
LDU_FT/ilgarm/pyzimbra/authenticate | LDU_FT | [
"<BEGIN>\n## `authenticate`",
"Authenticates account, if no password given tries to pre-authenticate.\n @param transport: transport to use for method calls\n @param account_name: account name\n @param password: account password\n @return: AuthToken if authentication succeeded\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
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 authenticate API.
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... | Authenticates account using soap method. | "Authenticates account using soap method." | 32 | false | ilgarm/pyzimbra | authenticate | 140,767 | |
LDU_FT/improbable-research/keanu/Triangular | LDU_FT | [
"<BEGIN>\n## `BooleanSlice`",
"Takes the slice along a given dimension and index of a vertex",
" :param input_vertex: the input vertex\n :param dimension: the dimension to extract along\n :param index: the index of extraction\n<END>",
"<BEGIN>\n## `BooleanTake`",
"A vertex that extracts a scalar at... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Triangular API.
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 Triangular API.
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... | One to one constructor for mapping some shape of xMin, xMax and c to a matching shaped triangular.
:param x_min: the xMin of the Triangular with either the same shape as specified for this vertex or a scalar
:param x_max: the xMax of the Triangular with either the same shape as specified for this vertex or... | "One to one constructor for mapping some shape of xMin, xMax and c to a matching shaped triangular.\n \n :param x_min: the xMin of the Triangular with either the same shape as specified for this vertex or a scalar\n :param x_max: the xMax of the Triangular with either the same shape as specified for this verte... | 185 | false | improbable-research/keanu | Triangular | 140,768 | |
LDU_FT/openfisca/openfisca-core/build_from_variables | LDU_FT | [
"<BEGIN>\n## `apply_thresholds`",
"Return one of the choices depending on the input position compared to thresholds, for each input.",
" >>> apply_thresholds(np.array([4]), [5, 7], [10, 15, 20])\n array([10])\n >>> apply_thresholds(np.array([5]), [5, 7], [10, 15, 20])\n array([10])\n >>> apply_th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_from_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_from_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Build a simulation from a Python dict ``input_dict`` describing variables values without expliciting entities.
This method uses :any:`build_default_simulation` to infer an entity structure
Example:
>>> simulation_builder.build_from_variables(
{'salary': {'2016-10':... | "Build a simulation from a Python dict ``input_dict`` describing variables values without expliciting entities.\n\n This method uses :any:`build_default_simulation` to infer an entity structure\n\n Example:\n\n >>> simulation_builder.build_from_variables(\n {'salary': {'2... | 322 | false | openfisca/openfisca-core | build_from_variables | 140,769 | |
LDU_FT/475Cumulus/TBone/urls_old | LDU_FT | [
"<BEGIN>\n## `request_args`",
"Returns the arguments passed with the request in a dictionary.\n Returns both URL resolved arguments and query string arguments.\n<END>",
"<BEGIN>\n## `connect`",
"Connects a signal to a receiver function",
" :param receiver:\n The callback function wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the urls_old API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the urls_old API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Iterate through all resources registered with this router
and create a list endpoint and a detail endpoint for each one.
Uses the router name as prefix and endpoint name of the resource when registered, to assemble the url pattern.
Uses the constructor-passed url method or class for generating u... | "Iterate through all resources registered with this router\n and create a list endpoint and a detail endpoint for each one.\n Uses the router name as prefix and endpoint name of the resource when registered, to assemble the url pattern.\n Uses the constructor-passed url method or class for generati... | 100 | false | 475Cumulus/TBone | urls_old | 140,770 | |
LDU_FT/simonvh/genomepy/list_installed_genomes | LDU_FT | [
"<BEGIN>\n## `register_provider`",
"Register method to keep list of providers.\n<END>",
"<BEGIN>\n## `tar_to_bigfile`",
"Convert tar of multiple FASTAs to one file.\n<END>",
"<BEGIN>\n## `download_genome`",
"Download a (gzipped) genome file to a specific directory",
" Parameters\n --------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_installed_genomes 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 list_installed_genomes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | List all available genomes.
Parameters
----------
genome_dir : str
Directory with installed genomes.
Returns
-------
list with genome names | "List all available genomes.\n\n Parameters\n ----------\n genome_dir : str\n Directory with installed genomes.\n\n Returns\n -------\n list with genome names" | 87 | false | simonvh/genomepy | list_installed_genomes | 140,771 | |
LDU_FT/nutechsoftware/alarmdecoder/read_line | LDU_FT | [
"<BEGIN>\n## `main`",
"Example application that watches for an event from a specific RF device.",
" This feature allows you to watch for events from RF devices if you have\n an RF receiver. This is useful in the case of internal sensors, which\n don't emit a FAULT if the sensor is tripped and the pane... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Reads a line from the device.
:param timeout: read timeout
:type timeout: float
:param purge_buffer: Indicates whether to purge the buffer prior to
reading.
:type purge_buffer: bool
:returns: line that was read
:raises: :py:class:`~alarmdeco... | "Reads a line from the device.\n\n :param timeout: read timeout\n :type timeout: float\n :param purge_buffer: Indicates whether to purge the buffer prior to\n reading.\n :type purge_buffer: bool\n\n :returns: line that was read\n :raises: :py:class:`... | 286 | false | nutechsoftware/alarmdecoder | read_line | 140,772 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.