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/brianhie/scanorama/correct | LDU_FT | [
"<BEGIN>\n## `silhouette_score`",
"Compute the mean Silhouette Coefficient of all samples.",
" The Silhouette Coefficient is calculated using the mean intra-cluster\n distance (``a``) and the mean nearest-cluster distance (``b``) for each\n sample. The Silhouette Coefficient for a sample is ``(b - a) ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the correct API.
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 correct API.
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... | Integrate and batch correct a list of data sets.
Parameters
----------
datasets_full : `list` of `scipy.sparse.csr_matrix` or of `numpy.ndarray`
Data sets to integrate and correct.
genes_list: `list` of `list` of `string`
List of genes for each data set.
return_dimred: `bool`, optio... | "Integrate and batch correct a list of data sets.\n\n Parameters\n ----------\n datasets_full : `list` of `scipy.sparse.csr_matrix` or of `numpy.ndarray`\n Data sets to integrate and correct.\n genes_list: `list` of `list` of `string`\n List of genes for each data set.\n return_dimred: `boo... | 137 | false | brianhie/scanorama | correct | 39,773 | |
LDU_FT/SectorLabs/django-localized-fields/_get_populate_values | LDU_FT | [
"<BEGIN>\n## `save`",
"Saves this model instance to the database.\n<END>",
"<BEGIN>\n## `to_python`",
"Converts the value from a database value into a Python value.\n<END>",
"<BEGIN>\n## `get_prep_value`",
"Gets the value in a format to store into the database.\n<END>",
"<BEGIN>\n## `formfield`",
"Get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_populate_values 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_populate_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Gets all values (for each language) from the
specified's instance's `populate_from` field.
Arguments:
instance:
The instance to get the values from.
Returns:
A list of (lang_code, value) tuples. | "Gets all values (for each language) from the\n specified's instance's `populate_from` field.\n\n Arguments:\n instance:\n The instance to get the values from.\n\n Returns:\n A list of (lang_code, value) tuples." | 117 | false | SectorLabs/django-localized-fields | _get_populate_values | 39,774 | |
LDU_FT/blubberdiblub/eztemplate/variable_outfile_iterator | LDU_FT | [
"<BEGIN>\n## `get_value`",
"Get value only from mapping and possibly convert key to string.\n<END>",
"<BEGIN>\n## `get_field`",
"Create a special value when field missing and tolerant.\n<END>",
"<BEGIN>\n## `convert_field`",
"When field missing, store conversion specifier.\n<END>",
"<BEGIN>\n## `format_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the variable_outfile_iterator 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 variable_outfile_iterator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Iterate over variable output file name template. | "Iterate over variable output file name template." | 39 | false | blubberdiblub/eztemplate | variable_outfile_iterator | 39,775 | |
LDU_FT/maweigert/gputools/fft_plan | LDU_FT | [
"<BEGIN>\n## `gaussian_filter`",
"blurs data with a gaussian kernel of given sigmas",
" Parameters\n ----------\n data: ndarray\n 2 or 3 dimensional array \n sigma: scalar or tuple\n the sigma of the gaussian \n truncate: float \n truncate the kernel after truncate*sigma \n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fft_plan API.
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 fft_plan API.
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 an reikna plan/FFT obj of shape dshape | "returns an reikna plan/FFT obj of shape dshape" | 199 | false | maweigert/gputools | fft_plan | 39,776 | |
LDU_FT/pmorissette/ffn/_erc_weights_slsqp | LDU_FT | [
"<BEGIN>\n## `memoize`",
"Memoize decorator. The refresh keyword is the keyword\n used to bypass the cache (in the function call).\n<END>",
"<BEGIN>\n## `parse_arg`",
"Parses arguments for convenience. Argument can be a\n csv list ('a,b,c'), a string, a list, a tuple.",
" Returns a list.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _erc_weights_slsqp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _erc_weights_slsqp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Calculates the equal risk contribution / risk parity weights given
a DataFrame of returns.
Args:
* x0 (np.array): Starting asset weights.
* cov (np.array): covariance matrix.
* b (np.array): Risk target weights. By definition target total risk contributions are all equal which makes this redund... | "Calculates the equal risk contribution / risk parity weights given\n a DataFrame of returns.\n\n Args:\n * x0 (np.array): Starting asset weights.\n * cov (np.array): covariance matrix.\n * b (np.array): Risk target weights. By definition target total risk contributions are all equal which makes this... | 176 | false | pmorissette/ffn | _erc_weights_slsqp | 39,777 | |
LDU_FT/sjkingo/virtualenv-api/install | LDU_FT | [
"<BEGIN>\n## `_python_rpath`",
"The relative path (from environment root) to python.\n<END>",
"<BEGIN>\n## `_create`",
"Executes `virtualenv` to create a new environment.\n<END>",
"<BEGIN>\n## `_execute_pip`",
"Executes pip commands.",
" :param args: Arguments to pass to pip (list[str])\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Installs the given package into this virtual environment, as
specified in pip's package syntax or a tuple of ('name', 'ver'),
only if it is not already installed. Some valid examples:
'Django'
'Django==1.5'
('Django', '1.5')
'-e .'
'-r requirements.txt'
... | "Installs the given package into this virtual environment, as\n specified in pip's package syntax or a tuple of ('name', 'ver'),\n only if it is not already installed. Some valid examples:\n\n 'Django'\n 'Django==1.5'\n ('Django', '1.5')\n '-e .'\n '-r requirements.... | 38 | false | sjkingo/virtualenv-api | install | 39,778 | |
LDU_FT/beerfactory/hbmqtt/_handle_qos1_message_flow | LDU_FT | [
"<BEGIN>\n## `mqtt_subscribe`",
":param topics: array of topics [{'filter':'/a/b', 'qos': 0x00}, ...]\n :return:\n<END>",
"<BEGIN>\n## `start`",
"Start the broker to serve with the given configuration",
" Start method opens network sockets and will start listening for incoming connections.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_qos1_message_flow 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_qos1_message_flow 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 QOS_1 application message acknowledgment
For incoming messages, this method stores the message and reply with PUBACK
For outgoing messages, this methods sends PUBLISH and waits for the corresponding PUBACK
:param app_message:
:return: | "Handle QOS_1 application message acknowledgment\n For incoming messages, this method stores the message and reply with PUBACK\n For outgoing messages, this methods sends PUBLISH and waits for the corresponding PUBACK\n :param app_message:\n :return:" | 110 | false | beerfactory/hbmqtt | _handle_qos1_message_flow | 39,779 | |
LDU_FT/cslarsen/crianza/split | LDU_FT | [
"<BEGIN>\n## `xcompile`",
"Parses Crianza source code and returns a native Python function.",
" Args:\n args: The resulting function's number of input parameters.",
" Returns:\n A callable Python function.\n<END>",
"<BEGIN>\n## `xeval`",
"Compiles to native Python bytecode and runs pro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split API.
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 split API.
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... | Splits a string into a list of (start_column, substring) tuples. | "Splits a string into a list of (start_column, substring) tuples." | 106 | false | cslarsen/crianza | split | 39,780 | |
LDU_FT/mdsol/rwslib/getCSVReader | LDU_FT | [
"<BEGIN>\n## `format_date_argument`",
"Take a date as either a datetime.date/datetime or a string and return it as a iso8601 formatted value\n :param Union[datetime.date, datetime.datetime] date_element: passed argument\n :rtype str\n :return:\n<END>",
"<BEGIN>\n## `dataset`",
"Qualify the dataset_na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getCSVReader API.
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 getCSVReader API.
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... | Take a Rave CSV output ending with a line with just EOF on it and return a DictReader | "Take a Rave CSV output ending with a line with just EOF on it and return a DictReader" | 120 | false | mdsol/rwslib | getCSVReader | 39,781 | |
LDU_FT/rcbops/osa_differ/make_osa_report | LDU_FT | [
"<BEGIN>\n## `get_commits`",
"Find all commits between two commit SHAs.\n<END>",
"<BEGIN>\n## `get_projects`",
"Get all projects from multiple YAML files.\n<END>",
"<BEGIN>\n## `get_roles`",
"Read OSA role information at a particular commit.\n<END>",
"<BEGIN>\n## `make_osa_report`",
"Create initial RS... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_osa_report API.
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 make_osa_report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Create initial RST report header for OpenStack-Ansible. | "Create initial RST report header for OpenStack-Ansible." | 25 | false | rcbops/osa_differ | make_osa_report | 39,782 | |
LDU_FT/blockstack/blockstack-core/get_namespace_preorder | LDU_FT | [
"<BEGIN>\n## `anyword_substring_search_inner`",
"return True if ANY target_word matches a query_word\n<END>",
"<BEGIN>\n## `search_people_by_bio`",
"queries lucene index to find a nearest match, output is profile username\n<END>",
"<BEGIN>\n## `order_search_results`",
"order of results should be a) query ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_namespace_preorder 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_namespace_preorder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Given the hash(namesapce_id, sender_script_pubkey, reveal_addr) for a
namespace that is being imported, get its associated NAMESPACE_PREORDER
record.
Return the namespace preorder record on success.
Return None if not found, if the namespace is currently not preordered, or if the preor... | "Given the hash(namesapce_id, sender_script_pubkey, reveal_addr) for a \n namespace that is being imported, get its associated NAMESPACE_PREORDER\n record.\n\n Return the namespace preorder record on success.\n Return None if not found, if the namespace is currently not preordered, or if the... | 1,580 | true | blockstack/blockstack-core | get_namespace_preorder | 39,783 | |
LDU_FT/restran/mountains/get_proxy | LDU_FT | [
"<BEGIN>\n## `set_dict_none_default`",
"对字典中为None的值,重新设置默认值\n :param dict_item:\n :param default_value:\n :return:\n<END>",
"<BEGIN>\n## `auto_model_name_recognize`",
"自动将 site-user 识别成 SiteUser\n :param model_name:\n :return:\n<END>",
"<BEGIN>\n## `model_to_select_list`",
"只选择 id 和 name,用来... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_proxy API.
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_proxy API.
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: proxy_host, proxy_port, proxy_username, proxy_password | "获取下一个可用的代理\n :return: proxy_host, proxy_port, proxy_username, proxy_password" | 81 | false | restran/mountains | get_proxy | 39,784 | |
LDU_FT/satellogic/telluric/from_defaults | LDU_FT | [
"<BEGIN>\n## `join`",
"This method takes a list of rasters and returns a raster that is constructed of all of them\n<END>",
"<BEGIN>\n## `merge_all`",
"Merge a list of rasters, cropping by a region of interest.\n There are cases that the roi is not precise enough for this cases one can use,\n the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_defaults API.
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 from_defaults API.
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 a context with default config options
Parameters
----------
kwargs : optional
Keyword arguments for TelluricContext()
Returns
-------
TelluricContext
Notes
-----
The items in kwargs will be overlaid on the default values. | "Create a context with default config options\n Parameters\n ----------\n kwargs : optional\n Keyword arguments for TelluricContext()\n Returns\n -------\n TelluricContext\n Notes\n -----\n The items in kwargs will be overlaid on the default valu... | 261 | false | satellogic/telluric | from_defaults | 39,785 | |
LDU_FT/guyzmo/git-repo/register_target | LDU_FT | [
"<BEGIN>\n## `confirm`",
"Method to show a CLI based confirmation message, waiting for a yes/no answer.\n \"what\" and \"where\" are used to better define the message.\n<END>",
"<BEGIN>\n## `register_target`",
"Decorator to register a class with an repo_service\n<END>",
"<BEGIN>\n## `get_service`",
"Ac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_target API.
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 register_target API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Decorator to register a class with an repo_service | "Decorator to register a class with an repo_service" | 38 | false | guyzmo/git-repo | register_target | 39,786 | |
LDU_FT/dhylands/rshell/autoscan | LDU_FT | [
"<BEGIN>\n## `add_device`",
"Adds a device to the list of devices we know about.\n<END>",
"<BEGIN>\n## `is_micropython_usb_device`",
"Checks a USB device to see if it looks like a MicroPython device.\n<END>",
"<BEGIN>\n## `is_micropython_usb_port`",
"Checks to see if the indicated portname is a MicroPytho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autoscan API.
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 autoscan API.
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... | autoscan will check all of the serial ports to see if they have
a matching VID:PID for a MicroPython board. | "autoscan will check all of the serial ports to see if they have\n a matching VID:PID for a MicroPython board." | 159 | false | dhylands/rshell | autoscan | 39,787 | |
LDU_FT/kalekundert/nonstdlib/config | LDU_FT | [
"<BEGIN>\n## `keep_on_one_line`",
"Keep all the output generated within a with-block on one line. Whenever a \n new line would be printed, instead reset the cursor to the beginning of the \n line and print the new line without a line break.\n<END>",
"<BEGIN>\n## `write_color`",
"Write the given colored... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Configure logging to stream and file concurrently.
Allows setting a file and stream to log to concurrently with differing
level if desired. Must provide either stream or file.
Parameters
----------
stream: File like:
Stream to write file to [Default: sys.stderr]. If none, will not write ... | "Configure logging to stream and file concurrently.\n\n Allows setting a file and stream to log to concurrently with differing \n level if desired. Must provide either stream or file.\n\n Parameters\n ----------\n stream: File like:\n Stream to write file to [Default: sys.stderr]. If none, will n... | 28 | false | kalekundert/nonstdlib | config | 39,788 | |
LDU_FT/6809/dragonlib/pformat_tokens | LDU_FT | [
"<BEGIN>\n## `bin2hexline`",
"Format binary data to a Hex-Editor like format...",
" >>> data = bytearray([i for i in range(256)])\n >>> print('\\\\n'.join(bin2hexline(data, width=16)))\n 0000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f ................\n 0016 10 11 12 13 14 15 16 17 18 19 1a 1b ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pformat_tokens API.
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 pformat_tokens API.
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... | format a tokenized BASIC program line. Useful for debugging.
returns a list of formated string lines. | "format a tokenized BASIC program line. Useful for debugging.\n returns a list of formated string lines." | 63 | false | 6809/dragonlib | pformat_tokens | 39,789 | |
LDU_FT/bmweiner/skillful/set_reprompt_text | LDU_FT | [
"<BEGIN>\n## `timestamp`",
"Validate timestamp specified by request.",
" See `validate.request` for additional info.",
" Args:\n stamp: str. Time request was made as ISO 8601 timestamp.\n tolerance: int. Number of seconds request remains valid from timestamp.",
" Returns\n bool... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_reprompt_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_reprompt_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Set response reprompt output speech as plain text type.
Args:
text: str. Response speech used when type is 'PlainText'. Cannot
exceed 8,000 characters. | "Set response reprompt output speech as plain text type.\n\n Args:\n text: str. Response speech used when type is 'PlainText'. Cannot\n exceed 8,000 characters." | 94 | false | bmweiner/skillful | set_reprompt_text | 39,790 | |
LDU_FT/asmodehn/filefinder2/_find_parent_path_names | LDU_FT | [
"<BEGIN>\n## `strip_encoding_cookie`",
"Generator to pull lines from a text-mode file, skipping the encoding\n cookie if it is found in the first two lines.\n<END>",
"<BEGIN>\n## `source_to_unicode`",
"Converts a bytes string with python source code to unicode.\n Unicode strings are passed through uncha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_parent_path_names 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 _find_parent_path_names API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Returns a tuple of (parent-module-name, parent-path-attr-name) | "Returns a tuple of (parent-module-name, parent-path-attr-name)" | 64 | false | asmodehn/filefinder2 | _find_parent_path_names | 39,791 | |
LDU_FT/RudolfCardinal/pythonlib/process_bind_param | LDU_FT | [
"<BEGIN>\n## `pdb_run`",
"Calls ``func(*args, **kwargs)``; if it raises an exception, break into\n the ``pdb`` debugger.\n<END>",
"<BEGIN>\n## `get_class_name_from_frame`",
"A frame contains information about a specific call in the Python call\n stack; see https://docs.python.org/3/library/inspect.html.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_bind_param API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_bind_param API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Convert things on the way from Python to the database. | "Convert things on the way from Python to the database." | 2,517 | true | RudolfCardinal/pythonlib | process_bind_param | 39,792 | |
LDU_FT/ecell/ecell4/run_azure | LDU_FT | [
"<BEGIN>\n## `load_world`",
"Load a world from the given HDF5 filename.\n The return type is determined by ``ecell4_base.core.load_version_information``.",
" Parameters\n ----------\n filename : str\n A HDF5 filename.",
" Returns\n -------\n w : World\n Return one from ``BDW... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_azure API.
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 run_azure API.
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... | Execute a function for multiple sets of arguments on Microsoft Azure,
and return the results as a list.
:param function target: A target function.
:param list jobs: A list of sets of arguments given to the target.
:param int n: The number of repeats running the target. 1 as default.
:param str path... | "Execute a function for multiple sets of arguments on Microsoft Azure,\n and return the results as a list.\n\n :param function target: A target function.\n :param list jobs: A list of sets of arguments given to the target.\n :param int n: The number of repeats running the target. 1 as default.\n :param s... | 217 | false | ecell/ecell4 | run_azure | 39,793 | |
LDU_FT/tinybike/coinbridge/verifymessage | LDU_FT | [
"<BEGIN>\n## `payment`",
"Convenience method for sending Bitcoins.",
" Send coins from origin to destination. Calls record_tx to log the\n transaction to database. Uses free, instant \"move\" transfers\n if addresses are both local (in the same wallet), and standard\n \"sendfrom\" t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verifymessage API.
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 verifymessage API.
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... | Verifies that a message has been signed by an address.
Args:
address (str): address claiming to have signed the message
signature (str): ECDSA signature
message (str): plaintext message which was signed
Returns:
bool: True if the address signed the message, Fals... | "Verifies that a message has been signed by an address.\n\n Args:\n address (str): address claiming to have signed the message\n signature (str): ECDSA signature\n message (str): plaintext message which was signed\n\n Returns:\n bool: True if the address signed the mess... | 48 | false | tinybike/coinbridge | verifymessage | 39,794 | |
LDU_FT/arokem/python-matlab-bridge/_bind_method | LDU_FT | [
"<BEGIN>\n## `split_pulls`",
"split a list of closed issues into non-PR Issues and Pull Requests\n<END>",
"<BEGIN>\n## `issues_closed_since`",
"Get all issues closed since a particular point in time. period\n can either be a datetime object, or a timedelta object. In the\n latter case, it is used as a t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bind_method API.
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 _bind_method API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Generate a Matlab function and bind it to the instance
This is where the magic happens. When an unknown attribute of the
Matlab class is requested, it is assumed to be a call to a
Matlab function, and is generated and bound to the instance.
This works because getattr() falls back to __... | "Generate a Matlab function and bind it to the instance\n\n This is where the magic happens. When an unknown attribute of the\n Matlab class is requested, it is assumed to be a call to a\n Matlab function, and is generated and bound to the instance.\n\n This works because getattr() falls bac... | 58 | false | arokem/python-matlab-bridge | _bind_method | 39,795 | |
LDU_FT/Utagai/spice/get_blank | LDU_FT | [
"<BEGIN>\n## `init_auth`",
"Initializes the auth settings for accessing MyAnimeList\n through its official API from a given username and password.\n :param username Your MyAnimeList account username.\n :param password Your MyAnimeList account password.\n :return A tuple containing your credentials.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_blank API.
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_blank API.
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 [medium]Data object for filling before calling spice.add(),
spice.update() or spice.delete().
:param medium Anime or manga (tokens.Medium.ANIME or tokens.Medium.MANGA).
:returns A [medium]Data object. | "Returns a [medium]Data object for filling before calling spice.add(),\n spice.update() or spice.delete().\n :param medium Anime or manga (tokens.Medium.ANIME or tokens.Medium.MANGA).\n :returns A [medium]Data object." | 18 | false | Utagai/spice | get_blank | 39,796 | |
LDU_FT/bear/ninka/discoverEndpoint | LDU_FT | [
"<BEGIN>\n## `discoverAuthEndpoints`",
"Find the authorization or redirect_uri endpoints for the given authDomain.\n Only scan html element matching all criteria in look_in.",
" optionally the content to be scanned can be given as an argument.",
" :param authDomain: the URL of the domain to handle\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discoverEndpoint API.
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 discoverEndpoint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Find the given endpoint for the given domain.
Only scan html element matching all criteria in look_in.
optionally the content to be scanned can be given as an argument.
:param domain: the URL of the domain to handle
:param endpoint: list of endpoints to look for
:param content: the content to be s... | "Find the given endpoint for the given domain.\n Only scan html element matching all criteria in look_in.\n\n optionally the content to be scanned can be given as an argument.\n\n :param domain: the URL of the domain to handle\n :param endpoint: list of endpoints to look for\n :param content: the content... | 19 | false | bear/ninka | discoverEndpoint | 39,797 | |
LDU_FT/google/flatbuffers/StartVector | LDU_FT | [
"<BEGIN>\n## `compare_version`",
"Compare two version number strings of the form W.X.Y.Z.",
" The numbers are compared most-significant to least-significant.\n For example, 12.345.67.89 > 2.987.88.99.",
" Args:\n a: First version number string to compare\n b: Second version number string to compare",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the StartVector API.
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 StartVector API.
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... | StartVector initializes bookkeeping for writing a new vector.
A vector has the following format:
- <UOffsetT: number of elements in this vector>
- <T: data>+, where T is the type of elements of this vector. | "StartVector initializes bookkeeping for writing a new vector.\n\n A vector has the following format:\n - <UOffsetT: number of elements in this vector>\n - <T: data>+, where T is the type of elements of this vector." | 83 | false | google/flatbuffers | StartVector | 39,798 | |
LDU_FT/naphatkrit/easyci/get_staged_signatures | LDU_FT | [
"<BEGIN>\n## `get_signature`",
"Get the signature of the current state of the repository",
" TODO right now `get_signature` is an effectful process in that\n it adds all untracked file to staging. This is the only way to get\n accruate diff on new files. This is ok because we only use it on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_staged_signatures 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_staged_signatures 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 list of staged signatures
Args:
vcs (easyci.vcs.base.Vcs)
Returns:
list(basestring) - list of signatures | "Get the list of staged signatures\n\n Args:\n vcs (easyci.vcs.base.Vcs)\n\n Returns:\n list(basestring) - list of signatures" | 94 | false | naphatkrit/easyci | get_staged_signatures | 39,799 | |
LDU_FT/micropython/micropython/find_module_registrations | LDU_FT | [
"<BEGIN>\n## `ptr`",
"Returns the numbered function (i.e. USART6) for this AF.\n<END>",
"<BEGIN>\n## `run_loop`",
"Start the loop.",
" :param `leds`: Which LEDs to light up upon switch press.\n :type `leds`: sequence of LED objects\n<END>",
"<BEGIN>\n## `find_c_file`",
"Search vpaths for the c fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_module_registrations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_module_registrations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Find any MP_REGISTER_MODULE definitions in the provided c file.
:param str c_file: path to c file to check
:return: List[(module_name, obj_module, enabled_define)] | "Find any MP_REGISTER_MODULE definitions in the provided c file.\n\n :param str c_file: path to c file to check\n :return: List[(module_name, obj_module, enabled_define)]" | 54 | false | micropython/micropython | find_module_registrations | 39,800 | |
LDU_FT/desbma/sacad/preProcessForComparison | LDU_FT | [
"<BEGIN>\n## `waitAccessAsync`",
"Wait the needed time before sending a request to honor rate limit.\n<END>",
"<BEGIN>\n## `aiohttp_socket_timeout`",
"Return a aiohttp.ClientTimeout object with only socket timeouts set.\n<END>",
"<BEGIN>\n## `query`",
"Send a GET/POST request or get data from cache, retry... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preProcessForComparison 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 preProcessForComparison API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Process results to prepare them for future comparison and sorting. | "Process results to prepare them for future comparison and sorting." | 63 | false | desbma/sacad | preProcessForComparison | 39,801 | |
LDU_FT/scott-maddox/openbandparams/add_parameter | LDU_FT | [
"<BEGIN>\n## `GaP_Eg_Gamma`",
"Returns the Gamma-valley bandgap, Eg_Gamma, in electron Volts at a\n given temperature, T, in Kelvin (default: 300 K).",
" GaP has a unique Gamma-gap temperature dependence.\n<END>",
"<BEGIN>\n## `_has_x`",
"Returns True if x is explicitly defined in kwargs\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_parameter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_parameter API.
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... | Adds a `Parameter` object to the instance.
If a `Parameter` with the same name or alias has already been added
and `overload` is False (the default), a `ValueError` is thrown.
If a class member or method with the same name or alias is already
defined, a `ValueError` is ... | "Adds a `Parameter` object to the instance.\n \n If a `Parameter` with the same name or alias has already been added\n and `overload` is False (the default), a `ValueError` is thrown.\n \n If a class member or method with the same name or alias is already\n defined, a `ValueErr... | 68 | false | scott-maddox/openbandparams | add_parameter | 39,802 | |
LDU_FT/andycasey/sick/save | LDU_FT | [
"<BEGIN>\n## `chains`",
"Create a plot showing the walker values for each parameter at every step.",
" :param xs:\n The samples. This should be a 3D :class:`numpy.ndarray` of size \n (``n_walkers``, ``n_steps``, ``n_parameters``).",
" :type xs:\n :class:`numpy.ndarray`",
" :par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
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 save API.
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... | Save the model configuration to a YAML-formatted file.
:param filename:
The filename to save the model configuration to.
:type filename:
str
:param clobber: [optional]
Clobber the filename if it already exists.
:type clobber:
bool
... | "Save the model configuration to a YAML-formatted file.\n\n :param filename:\n The filename to save the model configuration to.\n\n :type filename:\n str\n\n :param clobber: [optional]\n Clobber the filename if it already exists.\n\n :type clobber:\n ... | 179 | false | andycasey/sick | save | 39,803 | |
LDU_FT/requests/requests-kerberos/generate_request_header | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Simple function to extract the current version using regular expressions.\n<END>",
"<BEGIN>\n## `_negotiate_value`",
"Extracts the gssapi authentication token from the appropriate header\n<END>",
"<BEGIN>\n## `_get_channel_bindings_application_data`",
"https://tools.ietf.org/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_request_header 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 generate_request_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Generates the GSSAPI authentication token with kerberos.
If any GSSAPI step fails, raise KerberosExchangeError
with failure detail. | "Generates the GSSAPI authentication token with kerberos.\n\n If any GSSAPI step fails, raise KerberosExchangeError\n with failure detail." | 23 | false | requests/requests-kerberos | generate_request_header | 39,804 | |
LDU_FT/leancloud/python-sdk/increment | LDU_FT | [
"<BEGIN>\n## `become`",
"通过 session token 获取用户对象",
" :param session_token: 用户的 session token\n :return: leancloud.User\n<END>",
"<BEGIN>\n## `sign_up`",
"创建一个新用户。新创建的 User 对象,应该使用此方法来将数据保存至服务器,而不是使用 save 方法。\n 用户对象上必须包含 username 和 password 两个字段\n<END>",
"<BEGIN>\n## `login`",
"登陆用户。... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the increment API.
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 increment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | 在对象此字段上自增对应的数值,如果数值没有指定,默认为一。
:param attr: 字段名
:param amount: 自增量
:return: 当前对象 | "在对象此字段上自增对应的数值,如果数值没有指定,默认为一。\n\n :param attr: 字段名\n :param amount: 自增量\n :return: 当前对象" | 161 | false | leancloud/python-sdk | increment | 39,805 | |
LDU_FT/adafruit/Adafruit_Python_DHT/read | LDU_FT | [
"<BEGIN>\n## `get_platform`",
"Return a DHT platform interface for the currently detected platform.\n<END>",
"<BEGIN>\n## `read`",
"Read DHT sensor of specified sensor type (DHT11, DHT22, or AM2302) on\n specified pin and return a tuple of humidity (as a floating point value\n in percent) and temperatur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Read DHT sensor of specified sensor type (DHT11, DHT22, or AM2302) on
specified pin and return a tuple of humidity (as a floating point value
in percent) and temperature (as a floating point value in Celsius). Note that
because the sensor requires strict timing to read and Linux is not a real
time OS, a... | "Read DHT sensor of specified sensor type (DHT11, DHT22, or AM2302) on\n specified pin and return a tuple of humidity (as a floating point value\n in percent) and temperature (as a floating point value in Celsius). Note that\n because the sensor requires strict timing to read and Linux is not a real\n time ... | 13 | false | adafruit/Adafruit_Python_DHT | read | 39,806 | |
LDU_FT/riggsd/davies/excluded_length | LDU_FT | [
"<BEGIN>\n## `lint`",
"Run verbose PyLint on source. Optionally specify fmt=html for HTML output.\n<END>",
"<BEGIN>\n## `azm`",
"Corrected azimuth, taking into account backsight, declination, and compass corrections.\n<END>",
"<BEGIN>\n## `inc`",
"Corrected inclination, taking into account backsight and c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the excluded_length API.
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 excluded_length API.
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... | Surveyed length which does not count toward the included total | "Surveyed length which does not count toward the included total" | 60 | false | riggsd/davies | excluded_length | 39,807 | |
LDU_FT/AnalogJ/lexicon/_update_record | LDU_FT | [
"<BEGIN>\n## `_authenticate`",
"Authenticate with netcup server. Must be called first.\n<END>",
"<BEGIN>\n## `_create_record`",
"Create record. If it already exists, do nothing.\n<END>",
"<BEGIN>\n## `_list_records`",
"List all records. Return an empty list if no records found.\n ``rtype``, ``name`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_record API.
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 _update_record API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Updates the specified record in a new Gandi zone
'content' should be a string or a list of strings | "Updates the specified record in a new Gandi zone\n\n 'content' should be a string or a list of strings" | 218 | false | AnalogJ/lexicon | _update_record | 39,808 | |
LDU_FT/edx/xblock-utils/publish_event | LDU_FT | [
"<BEGIN>\n## `get_xblock_settings`",
"Gets XBlock-specific settigns for current XBlock",
" Returns default if settings service is not available.",
" Parameters:\n default - default value to be used in two cases:\n * No settings service is available\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish_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 ext... | AJAX handler to allow client-side code to publish a server-side event | "AJAX handler to allow client-side code to publish a server-side event" | 56 | false | edx/xblock-utils | publish_event | 39,809 | |
LDU_FT/fkarb/xltable/_to_addr | LDU_FT | [
"<BEGIN>\n## `itersheets`",
"Iterates over the worksheets in the book, and sets the active\n worksheet as the current one before yielding.\n<END>",
"<BEGIN>\n## `to_xlsx`",
"Write workbook to a .xlsx file using xlsxwriter.\n Return a xlsxwriter.workbook.Workbook.",
" :param kwargs: Extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_addr API.
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 _to_addr API.
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... | converts a (0,0) based coordinate to an excel address | "converts a (0,0) based coordinate to an excel address" | 48 | false | fkarb/xltable | _to_addr | 39,810 | |
LDU_FT/bfrog/whizzer/add_callback | LDU_FT | [
"<BEGIN>\n## `remote`",
"Decorator that adds a remote attribute to a function.",
" fn -- function being decorated\n name -- aliased name of the function, used for remote proxies\n types -- a argument type specifier, can be used to ensure\n arguments are of the correct type\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_callback API.
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 add_callback API.
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... | Add a callback without an associated errback. | "Add a callback without an associated errback." | 107 | false | bfrog/whizzer | add_callback | 39,811 | |
LDU_FT/ktdreyer/txkoji/getChannel | LDU_FT | [
"<BEGIN>\n## `duration`",
"Return a timedelta for this build.",
" Measure the time between this build's start and end time, or \"now\"\n if the build has not yet finished.",
" :returns: timedelta object\n<END>",
"<BEGIN>\n## `url`",
"Return a kojiweb URL for this resource.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getChannel API.
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 getChannel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Load all information about a channel and return a custom Channel class.
Calls "getChannel" XML-RPC.
:param channel_id: ``int``, for example 12345, or ``str`` for name.
:returns: deferred that when fired returns a Channel (Munch, dict-like)
object representing this Koji channe... | "Load all information about a channel and return a custom Channel class.\n\n Calls \"getChannel\" XML-RPC.\n\n :param channel_id: ``int``, for example 12345, or ``str`` for name.\n :returns: deferred that when fired returns a Channel (Munch, dict-like)\n object representing this Ko... | 213 | false | ktdreyer/txkoji | getChannel | 39,812 | |
LDU_FT/AoiKuiyuyou/AoikLiveReload/pip_ins_req | LDU_FT | [
"<BEGIN>\n## `main`",
"Main function.",
" :return:\n None.\n<END>",
"<BEGIN>\n## `start_watcher_thread`",
"Start watcher thread.",
" :return:\n Watcher thread object.\n<END>",
"<BEGIN>\n## `run_watcher`",
"Watcher thread's function.",
" :return:\n None.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pip_ins_req API.
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 pip_ins_req API.
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 task that uses given virtual environment's `pip` to sets up \
packages listed in given requirements file.
:param ctx: BuildContext object.
:param python: Python program path used to set up `pip` and `virtualenv`.
:param req_path: Requirements file relative path relative to top directory.
... | "Create task that uses given virtual environment's `pip` to sets up \\\n packages listed in given requirements file.\n\n :param ctx: BuildContext object.\n\n :param python: Python program path used to set up `pip` and `virtualenv`.\n\n :param req_path: Requirements file relative path relative to top directo... | 216 | false | AoiKuiyuyou/AoikLiveReload | pip_ins_req | 39,813 | |
LDU_FT/pgmpy/pgmpy/add_variable | LDU_FT | [
"<BEGIN>\n## `_initalize_tree`",
"Initalizes root node of the tree, i.e depth = 0\n<END>",
"<BEGIN>\n## `_build_tree`",
"Recursively builds a tree for proposing new position and momentum\n<END>",
"<BEGIN>\n## `_sample`",
"Returns a sample using a single iteration of NUTS\n<END>",
"<BEGIN>\n## `sample`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_variable API.
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 add_variable API.
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... | Add a variable to the model.
Parameters:
-----------
variable: any hashable python object
card: int
Representing the cardinality of the variable to be added.
Examples:
---------
>>> from pgmpy.models import MarkovChain as MC
>>> model = MC()... | "Add a variable to the model.\n\n Parameters:\n -----------\n variable: any hashable python object\n\n card: int\n Representing the cardinality of the variable to be added.\n\n Examples:\n ---------\n >>> from pgmpy.models import MarkovChain as MC\n >>>... | 1,557 | true | pgmpy/pgmpy | add_variable | 39,814 | |
LDU_FT/CenturyLinkCloud/clc-python-sdk/Add | LDU_FT | [
"<BEGIN>\n## `SetCredentials`",
"Establish API username and password associated with APIv2 commands.\n<END>",
"<BEGIN>\n## `get_session`",
"Start a session with the given parameters",
"\tUse instead of SetCredentials if you need a session object to avoid the use of global credentials.",
"\tReturns a sessi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Add new public_ip.
Specify one or more ports using a list of dicts with the following keys:
protocol - TCP, UDP, or ICMP
port - int 0-65534
port_to - (optional) if specifying a range of ports then the rqange end. int 0-65534
Optionally specify one or more source restrictions using a list of dicts with ... | "Add new public_ip.\n\n\t\tSpecify one or more ports using a list of dicts with the following keys:\n\n\t\t\tprotocol - TCP, UDP, or ICMP\n\t\t\tport - int 0-65534\n\t\t\tport_to - (optional) if specifying a range of ports then the rqange end. int 0-65534\n\n\t\tOptionally specify one or more source restrictions using... | 402 | false | CenturyLinkCloud/clc-python-sdk | Add | 39,815 | |
LDU_FT/mozilla/django-tidings/_unique_by_email | LDU_FT | [
"<BEGIN>\n## `multi_raw`",
"Scoop multiple model instances out of the DB at once, given a query that\n returns all fields of each.",
" Return an iterable of sequences of model instances parallel to the\n ``models`` sequence of classes. For example::",
" [(<User such-and-such>, <Watch such-and-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unique_by_email API.
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 _unique_by_email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Given a sequence of (User/EmailUser, [Watch, ...]) pairs
clustered by email address (which is never ''), yield from each
cluster a single pair like this::
(User/EmailUser, [Watch, Watch, ...]).
The User/Email is that of...
(1) the first incoming pair where the User has an email and is not
... | "Given a sequence of (User/EmailUser, [Watch, ...]) pairs\n clustered by email address (which is never ''), yield from each\n cluster a single pair like this::\n\n (User/EmailUser, [Watch, Watch, ...]).\n\n The User/Email is that of...\n (1) the first incoming pair where the User has an email and is no... | 73 | false | mozilla/django-tidings | _unique_by_email | 39,816 | |
LDU_FT/ska-sa/katcp-python/set_sampling_strategy | LDU_FT | [
"<BEGIN>\n## `request_time`",
"Return the current time in ms since the Unix Epoch.\n<END>",
"<BEGIN>\n## `request_raw_reverse`",
"A raw request handler to demonstrate the calling convention if\n @request decoraters are not used. Reverses the message arguments.\n<END>",
"<BEGIN>\n## `transform_future`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_sampling_strategy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_sampling_strategy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Set the sampling strategy for the named sensor
Parameters
----------
sensor_name : str
Name of the sensor
strategy_and_params : seq of str or str
As tuple contains (<strat_name>, [<strat_parm1>, ...]) where the
strategy names and parameters are as de... | "Set the sampling strategy for the named sensor\n\n Parameters\n ----------\n\n sensor_name : str\n Name of the sensor\n strategy_and_params : seq of str or str\n As tuple contains (<strat_name>, [<strat_parm1>, ...]) where the\n strategy names and parameters... | 905 | false | ska-sa/katcp-python | set_sampling_strategy | 39,817 | |
LDU_FT/TaurusOlson/fntools/valueof | LDU_FT | [
"<BEGIN>\n## `use_with`",
"Apply a function on the attributes of the data",
" :param data: an object\n :param fn: a function\n :param attrs: some attributes of the object\n :returns: an object",
" Let's create some data first::",
" >>> from collections import namedtuple\n >>> Pe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valueof API.
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 valueof API.
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... | Extract the value corresponding to the given key in all the dictionaries
>>> bands = [{'name': 'Led Zeppelin', 'singer': 'Robert Plant', 'guitarist': 'Jimmy Page'},
... {'name': 'Metallica', 'singer': 'James Hetfield', 'guitarist': 'Kirk Hammet'}]
>>> valueof(bands, 'singer')
['Robert Plant', 'James He... | "Extract the value corresponding to the given key in all the dictionaries\n\n >>> bands = [{'name': 'Led Zeppelin', 'singer': 'Robert Plant', 'guitarist': 'Jimmy Page'},\n ... {'name': 'Metallica', 'singer': 'James Hetfield', 'guitarist': 'Kirk Hammet'}]\n >>> valueof(bands, 'singer')\n ['Robert Plant', 'Ja... | 134 | false | TaurusOlson/fntools | valueof | 39,818 | |
LDU_FT/kristianfoerster/melodist/calc_precipitation_stats | LDU_FT | [
"<BEGIN>\n## `calc_precipitation_stats`",
"Calculates precipitation statistics for the cascade model while aggregating hourly observations",
" Parameters\n ----------\n months : Months for each seasons to be used for statistics (array of numpy array, default=1-12, e.g., [np.arange(12... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_precipitation_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_precipitation_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Calculates precipitation statistics for the cascade model while aggregating hourly observations
Parameters
----------
months : Months for each seasons to be used for statistics (array of numpy array, default=1-12, e.g., [np.arange(12) + 1])
avg_stats : average statistics for ... | "Calculates precipitation statistics for the cascade model while aggregating hourly observations\n\n Parameters\n ----------\n months : Months for each seasons to be used for statistics (array of numpy array, default=1-12, e.g., [np.arange(12) + 1])\n avg_stats : average statistic... | 205 | false | kristianfoerster/melodist | calc_precipitation_stats | 39,819 | |
LDU_FT/klahnakoski/pyLibrary/missing | LDU_FT | [
"<BEGIN>\n## `groupby`",
":param data:\n :param keys:\n :param size:\n :param min_size:\n :param max_size:\n :param contiguous: MAINTAIN THE ORDER OF THE DATA, STARTING THE NEW GROUP WHEN THE SELECTOR CHANGES\n :return: return list of (keys, values) PAIRS, WHERE\n keys IS IN LEAF... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the missing API.
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 missing API.
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... | THERE IS PLENTY OF OPPORTUNITY TO SIMPLIFY missing EXPRESSIONS
OVERRIDE THIS METHOD TO SIMPLIFY
:return: | "THERE IS PLENTY OF OPPORTUNITY TO SIMPLIFY missing EXPRESSIONS\n OVERRIDE THIS METHOD TO SIMPLIFY\n :return:" | 574 | false | klahnakoski/pyLibrary | missing | 39,820 | |
LDU_FT/EelcoHoogendoorn/Numpy_arraysetops_EP/rank | LDU_FT | [
"<BEGIN>\n## `group_by`",
"construct a grouping object on the given keys, optionally performing the given reduction on the given values",
" Parameters\n ----------\n keys : indexable object\n keys to group by\n values : array_like, optional\n sequence of values, of the same length as k... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rank API.
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 rank API.
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... | how high in sorted list each key is. inverse permutation of sorter, such that sorted[rank]==keys | "how high in sorted list each key is. inverse permutation of sorter, such that sorted[rank]==keys" | 198 | false | EelcoHoogendoorn/Numpy_arraysetops_EP | rank | 39,821 | |
LDU_FT/KarchinLab/probabilistic2020/bed_generator | LDU_FT | [
"<BEGIN>\n## `compute_indel_length`",
"Computes the indel length accounting for wether it is an insertion or\n deletion.",
" Parameters\n ----------\n fs_df : pd.DataFrame\n mutation input as dataframe only containing indel mutations",
" Returns\n -------\n indel_len : pd.Series\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bed_generator API.
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 bed_generator API.
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... | Iterates through a BED file yielding parsed BED lines.
Parameters
----------
bed_path : str
path to BED file
Yields
------
BedLine(line) : BedLine
A BedLine object which has parsed the individual line in
a BED file. | "Iterates through a BED file yielding parsed BED lines.\n\n Parameters\n ----------\n bed_path : str\n path to BED file\n\n Yields\n ------\n BedLine(line) : BedLine\n A BedLine object which has parsed the individual line in\n a BED file." | 281 | false | KarchinLab/probabilistic2020 | bed_generator | 39,822 | |
LDU_FT/dwkim78/upsilon/predict | LDU_FT | [
"<BEGIN>\n## `sigma_clipping`",
"Remove any fluctuated data points by magnitudes.",
" Parameters\n ----------\n date : array_like\n An array of dates.\n mag : array_like\n An array of magnitudes.\n err : array_like\n An array of magnitude errors.\n threshold : float, optio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
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 predict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return label and probability estimated.
Parameters
----------
rf_model : sklearn.ensemble.RandomForestClassifier
The UPSILoN random forests model.
features : array_like
A list of features estimated by UPSILoN.
Returns
-------
label : str
A predicted label (i.e. clas... | "Return label and probability estimated.\n\n Parameters\n ----------\n rf_model : sklearn.ensemble.RandomForestClassifier\n The UPSILoN random forests model.\n features : array_like\n A list of features estimated by UPSILoN.\n\n Returns\n -------\n label : str\n A predicted lab... | 80 | false | dwkim78/upsilon | predict | 39,823 | |
LDU_FT/ryanvarley/ExoData/roundedSpecClass | LDU_FT | [
"<BEGIN>\n## `load_db_from_url`",
"Loads the database from a gzipped version of the system folder, by default the one located in the oec_gzip repo\n in the OpenExoplanetCatalogue GitHub group.",
" The database is loaded from the url in memory",
" :param url: url to load (must be gzipped version of sy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the roundedSpecClass API.
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 roundedSpecClass API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Spectral class with rounded class number ie A8.5V is A9 | "Spectral class with rounded class number ie A8.5V is A9" | 133 | false | ryanvarley/ExoData | roundedSpecClass | 39,824 | |
LDU_FT/akatrevorjay/uninhibited/fire | LDU_FT | [
"<BEGIN>\n## `get_event`",
"Lookup an event by name.",
" :param str item: Event name\n :return Event: Event instance under key\n<END>",
"<BEGIN>\n## `_add_internal_event`",
"This is only here to ensure my constant hatred for Python 2's horrid variable argument support.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fire API.
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 fire API.
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... | Fire event. call event's handlers using given arguments, return a list of results.
:param str name: Event name
:param tuple args: positional arguments to call each handler with
:param dict kwargs: keyword arguments to call each handler with
:return list: a list of tuples of handler, ret... | "Fire event. call event's handlers using given arguments, return a list of results.\n\n :param str name: Event name\n :param tuple args: positional arguments to call each handler with\n :param dict kwargs: keyword arguments to call each handler with\n :return list: a list of tuples of handle... | 40 | false | akatrevorjay/uninhibited | fire | 39,825 | |
LDU_FT/rosenbrockc/acorn/config_dir | LDU_FT | [
"<BEGIN>\n## `cascade`",
"Restores a sequence of string definitions using the first entry as the\n original and then applying a series of :func:`~acorn.logging.diff.restore`\n calls.",
" Args:\n sequence (list): of results returned by\n :func:`~acorn.logging.diff.compress`, except that ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns the configuration directory for custom package settings. | "Returns the configuration directory for custom package settings." | 263 | false | rosenbrockc/acorn | config_dir | 39,826 | |
LDU_FT/BlueBrain/hpcbench/tex_escape | LDU_FT | [
"<BEGIN>\n## `arguments`",
"Dictionary providing the list of arguments for every\n benchmark\n<END>",
"<BEGIN>\n## `run`",
"Execute benchmarks on every node specified in arguments.\n If none are given, then execute benchmarks on every nodes\n specified in the ``network.nodes`` campaign co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tex_escape API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tex_escape API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Escape string for LaTeX usage
:param text: a plain text message
:return: the message escaped to appear correctly in LaTeX | "Escape string for LaTeX usage\n :param text: a plain text message\n :return: the message escaped to appear correctly in LaTeX" | 216 | false | BlueBrain/hpcbench | tex_escape | 39,827 | |
LDU_FT/emilydolson/avida-spatial-tools/make_movie | LDU_FT | [
"<BEGIN>\n## `gen_gradient`",
"Returns a line of text to add to an environment file, initializing a\n gradient resource with the specified\n name (string), inflow(int), radius(int), and location (tuple of ints)\n<END>",
"<BEGIN>\n## `gen_res`",
"Returns a line of text to add to an environment file, init... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_movie API.
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 make_movie API.
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... | Makes an animation overlaying colored circles representing phenotypes over
an imshow() plot indicating the resources present in each cell. By default,
color is determined using the palettes in the EnvironmentFile object
passed as the first parameter. The easiest way to change color palettes
is to assign... | "Makes an animation overlaying colored circles representing phenotypes over\n an imshow() plot indicating the resources present in each cell. By default,\n color is determined using the palettes in the EnvironmentFile object\n passed as the first parameter. The easiest way to change color palettes\n is to a... | 189 | false | emilydolson/avida-spatial-tools | make_movie | 39,828 | |
LDU_FT/ruipgil/changepy/exponential | LDU_FT | [
"<BEGIN>\n## `pelt`",
"PELT algorithm to compute changepoints in time series",
" Ported from:\n https://github.com/STOR-i/Changepoints.jl\n https://github.com/rkillick/changepoint/\n Reference:\n Killick R, Fearnhead P, Eckley IA (2012) Optimal detection\n of changepoints w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exponential API.
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 exponential API.
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... | Creates a segment cost function for a time series with a
exponential distribution with changing mean
Args:
data (:obj:`list` of float): 1D time series data
Returns:
function: Function with signature
(int, int) -> float
where the first arg is the starting index, a... | "Creates a segment cost function for a time series with a\n exponential distribution with changing mean\n\n Args:\n data (:obj:`list` of float): 1D time series data\n Returns:\n function: Function with signature\n (int, int) -> float\n where the first arg is the starting... | 19 | false | ruipgil/changepy | exponential | 39,829 | |
LDU_FT/brutus/wdiffhtml/wrap_content | LDU_FT | [
"<BEGIN>\n## `load_from_resource`",
"Returns the contents of a file resource.",
" If the resource exists in the users data directory, it is used instead\n of the default resource.\n<END>",
"<BEGIN>\n## `wdiff`",
"Returns the results of `wdiff` in a HTML compatible format.",
" Needs a :cls:`settings.Set... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_content API.
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 wrap_content API.
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 *content* wrapped in a HTML structure.
If *hard_breaks* is set, line breaks are converted to `<br />` tags. | "Returns *content* wrapped in a HTML structure.\n\n If *hard_breaks* is set, line breaks are converted to `<br />` tags." | 42 | false | brutus/wdiffhtml | wrap_content | 39,830 | |
LDU_FT/mobolic/facebook-sdk/delete_object | LDU_FT | [
"<BEGIN>\n## `get_user_from_cookie`",
"Parses the cookie set by the official Facebook JavaScript SDK.",
" cookies should be a dictionary-like object mapping cookie names to\n cookie values.",
" If the user is logged in via Facebook, we return a dictionary with\n the keys \"uid\" and \"access_token... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Deletes the object with the given ID from the graph. | "Deletes the object with the given ID from the graph." | 56 | false | mobolic/facebook-sdk | delete_object | 39,831 | |
LDU_FT/rohankapoorcom/zm-py/get_events | LDU_FT | [
"<BEGIN>\n## `active`",
"Indicate if this RunState is currently active.\n<END>",
"<BEGIN>\n## `_zm_request`",
"Perform a request to the ZoneMinder API.\n<END>",
"<BEGIN>\n## `get_monitors`",
"Get a list of Monitors from the ZoneMinder API.\n<END>",
"<BEGIN>\n## `get_run_states`",
"Get a list of RunSta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get the number of events that have occurred on this Monitor.
Specifically only gets events that have occurred within the TimePeriod
provided. | "Get the number of events that have occurred on this Monitor.\n\n Specifically only gets events that have occurred within the TimePeriod\n provided." | 33 | false | rohankapoorcom/zm-py | get_events | 39,832 | |
LDU_FT/c0ntrol-x/p4rr0t007/get_json_request | LDU_FT | [
"<BEGIN>\n## `json_response`",
"Useful for restful APIs\n :param data: a native python object, must be json serialiable, otherwise will be handled by :py:meth:`Application.json_handle_weird`\n :param code: the http status code\n :param indent: how many characters to indent when generating the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | friendly method to parse a proper json request (i.e.: **application/json** or **text/json**)
:returns: a dict with the parsed data, unless the request data does not contain a valid json string or the content-type do not portray a json request. | "friendly method to parse a proper json request (i.e.: **application/json** or **text/json**)\n :returns: a dict with the parsed data, unless the request data does not contain a valid json string or the content-type do not portray a json request." | 31 | false | c0ntrol-x/p4rr0t007 | get_json_request | 39,833 | |
LDU_FT/jstitch/MambuPy/gettransactionsurl | LDU_FT | [
"<BEGIN>\n## `convertDict2Attrs`",
"The trick for iterable Mambu Objects comes here:",
" You iterate over each element of the responded List from Mambu,\n and create a Mambu Activity object for each one, initializing\n them one at a time, and changing the attrs attribute (which just\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gettransactionsurl API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gettransactionsurl API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Request loan Transactions URL.
If idcred is set, you'll get a response adequate for a
MambuTransactions object. There's a MambuTransaction object too, but
you'll get a list first and each element of it will be automatically
converted to a MambuTransaction object that you may use.
If not set, you'l... | "Request loan Transactions URL.\n\n If idcred is set, you'll get a response adequate for a\n MambuTransactions object. There's a MambuTransaction object too, but\n you'll get a list first and each element of it will be automatically\n converted to a MambuTransaction object that you may use.\n\n If not se... | 357 | false | jstitch/MambuPy | gettransactionsurl | 39,834 | |
LDU_FT/jobovy/galpy/Tphi | LDU_FT | [
"<BEGIN>\n## `_evaluate`",
"NAME:\n _evaluate\n PURPOSE:\n evaluate the potential at (R,z)\n INPUT:\n R - Cylindrical Galactocentric radius\n z - vertical height\n phi - azimuth\n t - time\n OUTPUT:\n potential at (R,z)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Tphi API.
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 Tphi API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | NAME:
Tphi
PURPOSE:
Calculate the azimuthal period
INPUT:
+scipy.integrate.quadrature keywords
OUTPUT:
T_phi(R,vT,vT)/ro/vc + estimate of the error
HISTORY:
2010-12-01 - Written - Bovy (NYU) | "NAME:\n Tphi\n PURPOSE:\n Calculate the azimuthal period\n INPUT:\n +scipy.integrate.quadrature keywords\n OUTPUT:\n T_phi(R,vT,vT)/ro/vc + estimate of the error\n HISTORY:\n 2010-12-01 - Written - Bovy (NYU)" | 5,004 | true | jobovy/galpy | Tphi | 39,835 | |
LDU_FT/mlavin/django-all-access/get_client | LDU_FT | [
"<BEGIN>\n## `get_client`",
"Return the API client for the given provider.\n<END>",
"<BEGIN>\n## `get_access_token`",
"Fetch access token from callback request.\n<END>",
"<BEGIN>\n## `get_redirect_args`",
"Get request parameters for redirect url.\n<END>",
"<BEGIN>\n## `parse_raw_token`",
"Parse token ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get instance of the OAuth client for this provider. | "Get instance of the OAuth client for this provider." | 26 | false | mlavin/django-all-access | get_client | 39,836 | |
LDU_FT/dtmilano/AndroidViewClient/longTouch | LDU_FT | [
"<BEGIN>\n## `takeScreenshotAndShowItOnWindow`",
"Takes the current screenshot and shows it on the main window.\n It also:\n - sizes the window\n - create the canvas\n - set the focus\n - enable the events\n - create widgets\n - finds the targets (as explaine... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the longTouch API.
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 longTouch API.
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... | Long touches this C{View}
@param duration: duration in ms | "Long touches this C{View}\n\n @param duration: duration in ms" | 197 | false | dtmilano/AndroidViewClient | longTouch | 39,837 | |
LDU_FT/LCAV/pylocus/opt_space | LDU_FT | [
"<BEGIN>\n## `optspace`",
"Complete and denoise EDM using OptSpace algorithm.",
" Uses OptSpace algorithm to complete and denoise EDM. The problem being solved is\n X,S,Y = argmin_(X,S,Y) || W ° (D - XSY') ||_F^2",
" :param edm_missing: EDM with 0 where no measurement was taken.\n :param rank: exp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the opt_space API.
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 opt_space API.
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... | Implementation of the OptSpace matrix completion algorithm.
An algorithm for Matrix Reconstruction from a partially revealed set.
Sparse treatment of matrices are removed because of indexing problems in Python.
Args:
M_E: 2D numpy array; The partially revealed matrix.
Matrix ... | "Implementation of the OptSpace matrix completion algorithm.\r\n An algorithm for Matrix Reconstruction from a partially revealed set.\r\n Sparse treatment of matrices are removed because of indexing problems in Python.\r\n Args:\r\n M_E: 2D numpy array; The partially revealed matrix.\r\n ... | 130 | false | LCAV/pylocus | opt_space | 39,838 | |
LDU_FT/datosgobar/pydatajson/_dataset_report_helper | LDU_FT | [
"<BEGIN>\n## `get_datasets`",
"Devuelve una lista de datasets del catálogo o de uno de sus metadatos.",
" Args:\n catalog (dict, str or DataJson): Representación externa/interna de un\n catálogo. Una representación _externa_ es un path local o una\n URL remota a un archivo con la... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dataset_report_helper API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dataset_report_helper API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Toma un dict con la metadata de un dataset, y devuelve un dict coni
los valores que dataset_report() usa para reportar sobre él.
Args:
dataset (dict): Diccionario con la metadata de un dataset.
Returns:
dict: Diccionario con los campos a nivel dataset que requiere
... | "Toma un dict con la metadata de un dataset, y devuelve un dict coni\n los valores que dataset_report() usa para reportar sobre él.\n\n Args:\n dataset (dict): Diccionario con la metadata de un dataset.\n\n Returns:\n dict: Diccionario con los campos a nivel dataset que requie... | 337 | false | datosgobar/pydatajson | _dataset_report_helper | 39,839 | |
LDU_FT/timstaley/voevent-parse/add_where_when | LDU_FT | [
"<BEGIN>\n## `Param`",
"'Parameter', used as a general purpose key-value entry in the 'What' section.",
" May be assembled into a :class:`Group`.",
" NB ``name`` is not mandated by schema, but *is* mandated in full spec.",
" Args:\n value(str): String representing parameter value.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_where_when API.
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 add_where_when API.
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... | Add details of an observation to the WhereWhen section.
We
Args:
voevent(:class:`Voevent`): Root node of a VOEvent etree.
coords(:class:`.Position2D`): Sky co-ordinates of event.
obs_time(datetime.datetime): Nominal DateTime of the observation. Must
either be timezone-aware... | "Add details of an observation to the WhereWhen section.\n\n We\n\n Args:\n voevent(:class:`Voevent`): Root node of a VOEvent etree.\n coords(:class:`.Position2D`): Sky co-ordinates of event.\n obs_time(datetime.datetime): Nominal DateTime of the observation. Must\n either be timez... | 131 | false | timstaley/voevent-parse | add_where_when | 39,840 | |
LDU_FT/spyder-ide/spyder/get_item_size | LDU_FT | [
"<BEGIN>\n## `set_bracket_matcher_color_scheme`",
"Set color scheme for matched parentheses.\n<END>",
"<BEGIN>\n## `long_banner`",
"Banner for IPython widgets with pylab message\n<END>",
"<BEGIN>\n## `reset_namespace`",
"Reset the namespace by removing all names defined by the user.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_item_size API.
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_item_size API.
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 max size (width and height) for the elements of a list of
strings as a QLabel. | "Get the max size (width and height) for the elements of a list of\n strings as a QLabel." | 2,144 | true | spyder-ide/spyder | get_item_size | 39,841 | |
LDU_FT/solidsnack/v2/git_day | LDU_FT | [
"<BEGIN>\n## `git_day`",
"Constructs a version string of the form:",
" day[.<commit-number-in-day>][+<branch-name-if-not-master>]",
" Master is understood to be always buildable and thus untagged\n versions are treated as patch levels. Branches not master are treated\n as PEP-440 \... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the git_day API.
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 git_day API.
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... | Constructs a version string of the form:
day[.<commit-number-in-day>][+<branch-name-if-not-master>]
Master is understood to be always buildable and thus untagged
versions are treated as patch levels. Branches not master are treated
as PEP-440 "local version identifiers". | "Constructs a version string of the form:\n\n day[.<commit-number-in-day>][+<branch-name-if-not-master>]\n\n Master is understood to be always buildable and thus untagged\n versions are treated as patch levels. Branches not master are treated\n as PEP-440 \"local version identifiers\"." | 17 | false | solidsnack/v2 | git_day | 39,842 | |
LDU_FT/HPAC/matchpy/is_syntactic | LDU_FT | [
"<BEGIN>\n## `substitute`",
"Replaces variables in the given *expression* using the given *substitution*.",
" >>> print(substitute(f(x_), {'x': a}))\n f(a)",
" If nothing was substituted, the original expression is returned:",
" >>> expression = f(x_)\n >>> result = substitute(expression, {'y... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_syntactic API.
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 is_syntactic API.
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... | Check if the given expression is syntactic, i.e. it does not contain sequence wildcards or
associative/commutative operations. | "Check if the given expression is syntactic, i.e. it does not contain sequence wildcards or\n associative/commutative operations." | 324 | false | HPAC/matchpy | is_syntactic | 39,843 | |
LDU_FT/pymoca/pymoca/get_mx | LDU_FT | [
"<BEGIN>\n## `call`",
"Convenience method for calling methods with walker.\n<END>",
"<BEGIN>\n## `der`",
"Get the derivative of the variable, create it if it doesn't exist.\n<END>",
"<BEGIN>\n## `log`",
"Convenience function for printing indenting debug output.\n<END>",
"<BEGIN>\n## `flatten_component_r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mx API.
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 ... | We pull components and symbols from the AST on demand.
This is to ensure that parametrized vector dimensions can be resolved. Vector
dimensions need to be known at CasADi MX creation time.
:param tree:
:return: | "We pull components and symbols from the AST on demand.\n This is to ensure that parametrized vector dimensions can be resolved. Vector\n dimensions need to be known at CasADi MX creation time.\n :param tree:\n :return:" | 61 | false | pymoca/pymoca | get_mx | 39,844 | |
LDU_FT/crate/crate-python/sql | LDU_FT | [
"<BEGIN>\n## `coerce`",
"Convert plain dictionaries to MutableDict.\n<END>",
"<BEGIN>\n## `_raise_for_status`",
"make sure that only crate.exceptions are raised that are defined in\n the DB-API specification\n<END>",
"<BEGIN>\n## `_server_url`",
"Normalizes a given server string to an url",
" >>> ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sql API.
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 sql API.
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... | Execute SQL stmt against the crate server. | "Execute SQL stmt against the crate server." | 81 | false | crate/crate-python | sql | 39,845 | |
LDU_FT/fmd/lazyconf/choose_schema | LDU_FT | [
"<BEGIN>\n## `data_file`",
"Gets the full path to the file in which to save/load configured data.\n<END>",
"<BEGIN>\n## `schema_file`",
"Gets the full path to the file in which to load configuration schema.\n<END>",
"<BEGIN>\n## `add_ignore`",
"Writes a .gitignore file to ignore the generated data file.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the choose_schema API.
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 choose_schema API.
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... | Finds all schema templates and prompts to choose one. Copies the file to self.lazy_folder. | "Finds all schema templates and prompts to choose one. Copies the file to self.lazy_folder." | 25 | false | fmd/lazyconf | choose_schema | 39,846 | |
LDU_FT/ethereum/py-evm/disable_dao_fork | LDU_FT | [
"<BEGIN>\n## `new_transaction`",
"Create and return a transaction sending amount from <from_> to <to>.",
" The transaction will be signed with the given private key.\n<END>",
"<BEGIN>\n## `idfn`",
"Function for pytest to produce uniform names for fixtures.\n<END>",
"<BEGIN>\n## `get_fixtures_file_hash`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disable_dao_fork API.
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 disable_dao_fork API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Set the ``support_dao_fork`` flag to ``False`` on the
:class:`~eth.vm.forks.homestead.HomesteadVM`. Requires that presence of
the :class:`~eth.vm.forks.homestead.HomesteadVM` in the
``vm_configuration`` | "Set the ``support_dao_fork`` flag to ``False`` on the\n :class:`~eth.vm.forks.homestead.HomesteadVM`. Requires that presence of\n the :class:`~eth.vm.forks.homestead.HomesteadVM` in the\n ``vm_configuration``" | 422 | false | ethereum/py-evm | disable_dao_fork | 39,847 | |
LDU_FT/Aluriak/bubble-tools/bbl_to_cys | LDU_FT | [
"<BEGIN>\n## `bubble_to_dot`",
"Write in dotfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_gexf`",
"Write in bblfile a graph equivalent to those depicted in bubble file\n<END>",
"<BEGIN>\n## `bubble_to_js`",
"Write in jsdir a graph equivalent to those depicted in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bbl_to_cys API.
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 bbl_to_cys API.
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... | Yield lines of js to write in output file | "Yield lines of js to write in output file" | 88 | false | Aluriak/bubble-tools | bbl_to_cys | 39,848 | |
LDU_FT/sacrud/sacrud/delete | LDU_FT | [
"<BEGIN>\n## `list_of_lists_to_dict`",
"Convert list of key,value lists to dict",
" [['id', 1], ['id', 2], ['id', 3], ['foo': 4]]\n {'id': [1, 2, 3], 'foo': [4]}\n<END>",
"<BEGIN>\n## `get_m2m_value`",
"Set m2m value for model obj from request params like \"group[]\"",
" :Parameters:",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Delete the object by primary_key:
.. code-block:: python
DBSession.sacrud(Users).delete(1)
DBSession.sacrud(Users).delete('1')
DBSession.sacrud(User2Groups).delete({'user_id': 4, 'group_id': 2})
JSON support:
.. code-block:: python
DBSession.s... | "Delete the object by primary_key:\n\n .. code-block:: python\n\n DBSession.sacrud(Users).delete(1)\n DBSession.sacrud(Users).delete('1')\n DBSession.sacrud(User2Groups).delete({'user_id': 4, 'group_id': 2})\n\n JSON support:\n\n .. code-block:: python\n\n ... | 63 | false | sacrud/sacrud | delete | 39,849 | |
LDU_FT/mieubrisse/wunderpy2/_check_title_length | LDU_FT | [
"<BEGIN>\n## `get_endpoint_obj`",
"Tiny helper function that gets used all over the place to join the object ID to the endpoint and run a GET request, returning the result\n<END>",
"<BEGIN>\n## `update_endpoint_obj`",
"Helper method to ease the repetitiveness of updating an... SO VERY DRY ",
" (That's a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_title_length API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_title_length 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... | Checks the given title against the given API specifications to ensure it's short enough | "Checks the given title against the given API specifications to ensure it's short enough" | 94 | false | mieubrisse/wunderpy2 | _check_title_length | 39,850 | |
LDU_FT/etesync/radicale_storage_etesync/set_meta_all | LDU_FT | [
"<BEGIN>\n## `discover`",
"Discover a list of collections under the given ``path``.",
" If ``depth`` is \"0\", only the actual object under ``path`` is\n returned.",
" If ``depth`` is anything but \"0\", it is considered as \"1\" and direct\n children are included in the result.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_meta_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_meta_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 extr... | Set metadata values for collection.
``props`` a dict with values for properties. | "Set metadata values for collection.\n\n ``props`` a dict with values for properties." | 33 | false | etesync/radicale_storage_etesync | set_meta_all | 39,851 | |
LDU_FT/learningequality/iceqube/percentage_progress | LDU_FT | [
"<BEGIN>\n## `wait_for_job_update`",
"Blocks until a job given by job_id has updated its state (canceled, completed, progress updated, etc.)\n if timeout is not None, then this function raises iceqube.exceptions.TimeoutError.",
" :param job_id: the job's job_id to monitor for changes.\n :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the percentage_progress 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 percentage_progress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns a float between 0 and 1, representing the current job's progress in its task.
If total_progress is not given or 0, just return self.progress.
:return: float corresponding to the total percentage progress of the job. | "Returns a float between 0 and 1, representing the current job's progress in its task.\n If total_progress is not given or 0, just return self.progress.\n\n :return: float corresponding to the total percentage progress of the job." | 93 | false | learningequality/iceqube | percentage_progress | 39,852 | |
LDU_FT/neo4j-drivers/neobolt/remove | LDU_FT | [
"<BEGIN>\n## `watch`",
"Quick wrapper for using the Watcher.",
" :param logger_name: name of logger to watch\n :param level: minimum log level to show (default INFO)\n :param out: where to send output (default stdout)\n :return: Watcher instance\n<END>",
"<BEGIN>\n## `get_user_agent`",
"Obtain t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
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 remove API.
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 ... | Remove an address from the connection pool, if present, closing
all connections to that address. | "Remove an address from the connection pool, if present, closing\n all connections to that address." | 86 | false | neo4j-drivers/neobolt | remove | 39,853 | |
LDU_FT/SolutionsCloud/apidoc/get_template_from_config | LDU_FT | [
"<BEGIN>\n## `_init_config`",
"return command's configuration from call's arguments\n<END>",
"<BEGIN>\n## `_merge_files`",
"Combine the input files to a big output file\n<END>",
"<BEGIN>\n## `create_from_name_and_dictionary`",
"Return a populated object Object from dictionary datas\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_template_from_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_template_from_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Retrieve a template path from the config object | "Retrieve a template path from the config object" | 42 | false | SolutionsCloud/apidoc | get_template_from_config | 39,854 | |
LDU_FT/buckhx/QuadKey/xdifference | LDU_FT | [
"<BEGIN>\n## `geo_to_pixel`",
"Transform from geo coordinates to pixel coordinates\n<END>",
"<BEGIN>\n## `from_geo`",
"Constucts a quadkey representation from geo and level\n geo => (lat, lon)\n If lat or lon are outside of bounds, they will be clipped\n If level is outside of bounds, an AssertionErr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xdifference API.
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 xdifference API.
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... | Generator
Gives the difference of quadkeys between self and to
Generator in case done on a low level
Only works with quadkeys of same level | "Generator\n Gives the difference of quadkeys between self and to\n Generator in case done on a low level\n Only works with quadkeys of same level" | 10 | false | buckhx/QuadKey | xdifference | 39,855 | |
LDU_FT/locationlabs/mockredis/scorerange | LDU_FT | [
"<BEGIN>\n## `_execute_lua`",
"Sets KEYS and ARGV alongwith redis.call() function in lua globals\n and executes the lua redis script\n<END>",
"<BEGIN>\n## `_import_lua`",
"Import lua and dependencies.",
" :param load_dependencies: should Lua library dependencies be loaded?\n :raises: Ru... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scorerange API.
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 scorerange API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return (score, member) pairs between min and max scores. | "Return (score, member) pairs between min and max scores." | 76 | false | locationlabs/mockredis | scorerange | 39,856 | |
LDU_FT/Pixelapse/pyglass/stitch_pdfs | LDU_FT | [
"<BEGIN>\n## `embedded_preview`",
"Returns path to temporary copy of embedded QuickLook preview, if it exists\n<END>",
"<BEGIN>\n## `thumbnail_preview`",
"Returns the path to small thumbnail preview.\n<END>",
"<BEGIN>\n## `export_cmd`",
"Executes a `sketchtool export` command and returns formatted output"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stitch_pdfs API.
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 stitch_pdfs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Merges a series of single page pdfs into one multi-page doc | "Merges a series of single page pdfs into one multi-page doc" | 33 | false | Pixelapse/pyglass | stitch_pdfs | 39,857 | |
LDU_FT/eddiejessup/agaro/sparsify | LDU_FT | [
"<BEGIN>\n## `get_average_measure`",
"Calculate a measure of a model in an output directory, averaged over\n all times when the model is at steady-state.",
" Parameters\n ----------\n dirname: str\n Output directory\n measure_func: function\n Function which takes a :class:`Model` in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sparsify API.
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 sparsify API.
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... | Remove files from an output directory at regular interval, so as to
make it as if there had been more iterations between outputs. Can be used
to reduce the storage size of a directory.
If the new number of iterations between outputs is not an integer multiple
of the old number, then raise an exception.... | "Remove files from an output directory at regular interval, so as to\n make it as if there had been more iterations between outputs. Can be used\n to reduce the storage size of a directory.\n\n If the new number of iterations between outputs is not an integer multiple\n of the old number, then raise an exce... | 62 | false | eddiejessup/agaro | sparsify | 39,858 | |
LDU_FT/deepmind/pysc2/parse_agent_interface_format | LDU_FT | [
"<BEGIN>\n## `DEFINE_point`",
"Registers a flag whose value parses as a point.\n<END>",
"<BEGIN>\n## `spatial`",
"Choose the action space for the action proto.\n<END>",
"<BEGIN>\n## `select_unit`",
"Select a specific unit from the multi-unit selection.\n<END>",
"<BEGIN>\n## `control_group`",
"Act on a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_agent_interface_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_agent_interface_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Creates an AgentInterfaceFormat object from keyword args.
Convenient when using dictionaries or command-line arguments for config.
Note that the feature_* and rgb_* properties define the respective spatial
observation dimensions and accept:
* None or 0 to disable that spatial observation.
* A single... | "Creates an AgentInterfaceFormat object from keyword args.\n\n Convenient when using dictionaries or command-line arguments for config.\n\n Note that the feature_* and rgb_* properties define the respective spatial\n observation dimensions and accept:\n * None or 0 to disable that spatial observation.\n * ... | 300 | false | deepmind/pysc2 | parse_agent_interface_format | 39,859 | |
LDU_FT/kylejusticemagnuson/pyti/average_true_range_percent | LDU_FT | [
"<BEGIN>\n## `band_width`",
"Bandwidth.",
" Formula:\n BW = SMA(H - L)\n<END>",
"<BEGIN>\n## `center_band`",
"Center Band.",
" Formula:\n CB = SMA(TP)\n<END>",
"<BEGIN>\n## `upper_band`",
"Upper Band.",
" Formula:\n UB = CB + BW\n<END>",
"<BEGIN>\n## `lower_band`",
"Lower Band.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the average_true_range_percent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the average_true_range_percent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Average True Range Percent.
Formula:
ATRP = (ATR / CLOSE) * 100 | "Average True Range Percent.\n\n Formula:\n ATRP = (ATR / CLOSE) * 100" | 204 | false | kylejusticemagnuson/pyti | average_true_range_percent | 39,860 | |
LDU_FT/rdo-management/python-rdomanager-oscplugin/check_nodes_count | LDU_FT | [
"<BEGIN>\n## `_csv_to_nodes_dict`",
"Convert CSV to a list of dicts formatted for os_cloud_config",
" Given a CSV file in the format below, convert it into the\n structure expected by os_could_config JSON files.",
" pm_type, pm_addr, pm_user, pm_password, mac\n<END>",
"<BEGIN>\n## `build_option_par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_nodes_count API.
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 check_nodes_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Check if there are enough available nodes for creating/scaling stack | "Check if there are enough available nodes for creating/scaling stack" | 85 | false | rdo-management/python-rdomanager-oscplugin | check_nodes_count | 39,861 | |
LDU_FT/presslabs/z3/get_chunk | LDU_FT | [
"<BEGIN>\n## `multipart_etag`",
"Computes etag for multipart uploads\n :type digests: list of hex-encoded md5 sums (string)\n :param digests: The list of digests for each individual chunk.",
" :rtype: string\n :returns: The etag computed from the individual chunks.\n<END>",
"<BEGIN>\n## `get_chunk... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_chunk API.
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_chunk API.
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 complete chunks or None if EOF reached | "Return complete chunks or None if EOF reached" | 22 | false | presslabs/z3 | get_chunk | 39,862 | |
LDU_FT/tmr232/Sark/functions | LDU_FT | [
"<BEGIN>\n## `get_idb_graph`",
"Export IDB to a NetworkX graph.",
" Use xrefs to and from functions to build a DiGraph containing all\n the functions in the IDB and all the links between them.\n The graph can later be used to perform analysis on the IDB.",
" :return: nx.DiGraph()\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the functions API.
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 functions API.
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 all functions in range.
Args:
start: Start address of the range. Defaults to IDB start.
end: End address of the range. Defaults to IDB end.
Returns:
This is a generator that iterates over all the functions in the IDB. | "Get all functions in range.\n\n Args:\n start: Start address of the range. Defaults to IDB start.\n end: End address of the range. Defaults to IDB end.\n\n Returns:\n This is a generator that iterates over all the functions in the IDB." | 137 | false | tmr232/Sark | functions | 39,863 | |
LDU_FT/jsommers/switchyard/unhumanize_delay | LDU_FT | [
"<BEGIN>\n## `router_main`",
"Main method for router; we stay in a loop in this method, receiving\n packets until the end of time.\n<END>",
"<BEGIN>\n## `from_bytes`",
"Takes a byte string as a parameter and returns a list of\n IPOption objects.\n<END>",
"<BEGIN>\n## `to_bytes`",
"Takes a li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unhumanize_delay API.
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 unhumanize_delay API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Accept a string representing link propagation delay (e.g.,
'100 milliseconds' or '100 msec' or 100 millisec') and return
a floating point number representing the delay in seconds.
Recognizes:
- us, usec, micros* all as microseconds
- ms, msec, millisec* all as milliseconds
- s, sec*... | "Accept a string representing link propagation delay (e.g., \n '100 milliseconds' or '100 msec' or 100 millisec') and return\n a floating point number representing the delay in seconds.\n Recognizes:\n - us, usec, micros* all as microseconds\n - ms, msec, millisec* all as milliseconds\n - ... | 192 | false | jsommers/switchyard | unhumanize_delay | 39,864 | |
LDU_FT/ella/ella/file | LDU_FT | [
"<BEGIN>\n## `thumb`",
"Generates html and thumbnails for admin site.\n<END>",
"<BEGIN>\n## `clean`",
"Validation function that checks the dimensions of the crop whether it fits into the original and the format.\n<END>",
"<BEGIN>\n## `clean`",
"Check format name uniqueness for sites",
" :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Method returns formated photo path - derived from format.id and source Photo filename | "Method returns formated photo path - derived from format.id and source Photo filename" | 180 | false | ella/ella | file | 39,865 | |
LDU_FT/joshuaduffy/dota2api/get_league_listing | LDU_FT | [
"<BEGIN>\n## `get_match_history`",
"Returns a dictionary containing a list of the most recent Dota matches",
" :param account_id: (int, optional)\n :param hero_id: (int, optional)\n :param game_mode: (int, optional) see ``ref/modes.json``\n :param skill: (int, optional) see ``ref/ski... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_league_listing API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_league_listing API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns a dictionary containing a list of all ticketed leagues
:return: dictionary of ticketed leagues, see :doc:`responses </responses>` | "Returns a dictionary containing a list of all ticketed leagues\n\n :return: dictionary of ticketed leagues, see :doc:`responses </responses>`" | 38 | false | joshuaduffy/dota2api | get_league_listing | 39,866 | |
LDU_FT/django-treebeard/django-treebeard/get_descendants_group_count | LDU_FT | [
"<BEGIN>\n## `get_foreign_keys`",
"Get foreign keys and models they refer to, so we can pre-process\n the data for load_bulk\n<END>",
"<BEGIN>\n## `_process_foreign_keys`",
"For each foreign key try to load the actual object so load_bulk\n doesn't fail trying to load an int where django expects ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_descendants_group_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_descendants_group_count API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Helper for a very common case: get a group of siblings and the number
of *descendants* in every sibling. | "Helper for a very common case: get a group of siblings and the number\n of *descendants* in every sibling." | 194 | false | django-treebeard/django-treebeard | get_descendants_group_count | 39,867 | |
LDU_FT/abingham/spor/remove_handler | LDU_FT | [
"<BEGIN>\n## `_open_repo`",
"Open and return the repository containing the specified file.",
" The file is specified by looking up `path_key` in `args`. This value or\n `None` is passed to `open_repository`.",
" Returns: A `Repository` instance.",
" Raises:\n ExitError: If there is a prob... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_handler API.
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 remove_handler API.
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... | usage: {program} remove <anchor-id> [<path>]
Remove an existing anchor. | "usage: {program} remove <anchor-id> [<path>]\n\n Remove an existing anchor." | 85 | false | abingham/spor | remove_handler | 39,868 | |
LDU_FT/alefnula/tea/get | LDU_FT | [
"<BEGIN>\n## `smart_text`",
"Return a unicode object representing 's'.\r",
" Treats bytes using the 'encoding' codec.\r",
" If strings_only is True, don't convert (some) non-string-like objects.\n<END>",
"<BEGIN>\n## `smart_bytes`",
"Return a bytes version of 's' encoded as specified in 'encoding'.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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... | Return a value from configuration.
Safe version which always returns a default value if the value is not
found. | "Return a value from configuration.\n\n Safe version which always returns a default value if the value is not\n found." | 240 | false | alefnula/tea | get | 39,869 | |
LDU_FT/qacafe/cdrouter.py/create | LDU_FT | [
"<BEGIN>\n## `list`",
"Get a list of configs.",
" :param filter: (optional) Filters to apply as a string list.\n :param type: (optional) `union` or `inter` as string.\n :param sort: (optional) Sort fields to apply as string list.\n :param limit: (optional) Limit returned list length.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create a highlight.
:param id: Result ID as an int.
:param seq: TestResult sequence ID as an int.
:param resource: :class:`highlights.Highlight <highlights.Highlight>` object
:return: :class:`highlights.Highlight <highlights.Highlight>` object
:rtype: highlights.Highlight | "Create a highlight.\n\n :param id: Result ID as an int.\n :param seq: TestResult sequence ID as an int.\n :param resource: :class:`highlights.Highlight <highlights.Highlight>` object\n :return: :class:`highlights.Highlight <highlights.Highlight>` object\n :rtype: highlights.Highlight... | 282 | false | qacafe/cdrouter.py | create | 39,870 | |
LDU_FT/pyvisa/pyvisa-sim/_match_setters | LDU_FT | [
"<BEGIN>\n## `_get_triplet`",
"Return a triplet from a dialogue dictionary.",
" :param dd: Dialogue dictionary.\n :type dd: Dict[str, str]\n :return: (query, response, error response)\n :rtype: (str, str | NoResponse, str | NoResponse)\n<END>",
"<BEGIN>\n## `_load`",
"YAML Parse a file or str an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _match_setters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _match_setters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Tries to match in setters
:param query: message tuple
:type query: Tuple[bytes]
:return: response if found or None
:rtype: Tuple[bytes] | None | "Tries to match in setters\n\n :param query: message tuple\n :type query: Tuple[bytes]\n :return: response if found or None\n :rtype: Tuple[bytes] | None" | 85 | false | pyvisa/pyvisa-sim | _match_setters | 39,871 | |
LDU_FT/Syndace/python-x3dh/__generateOTPKs | LDU_FT | [
"<BEGIN>\n## `__generateSPK`",
"Generate a new PK and sign its public key using the IK, add the timestamp aswell\n to allow for periodic rotations.\n<END>",
"<BEGIN>\n## `__generateOTPKs`",
"Generate the given amount of OTPKs.",
" :param num_otpks: Either an integer or None.",
" If th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __generateOTPKs API.
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 __generateOTPKs API.
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... | Generate the given amount of OTPKs.
:param num_otpks: Either an integer or None.
If the value of num_otpks is None, set it to the max_num_otpks value of the
configuration. | "Generate the given amount of OTPKs.\n\n :param num_otpks: Either an integer or None.\n\n If the value of num_otpks is None, set it to the max_num_otpks value of the\n configuration." | 43 | false | Syndace/python-x3dh | __generateOTPKs | 39,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.