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/r-barnes/richdem/TerrainAttribute
LDU_FT
[ "<BEGIN>\n## `LoadGDAL`", "Read a GDAL file.", " Opens any file GDAL can read, selects the first raster band, and loads it\n and its metadata into a RichDEM array of the appropriate data type.", " If you need to do something more complicated, look at the source of this\n function.", " Ar...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the TerrainAttribute API. 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 TerrainAttribute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Calculates terrain attributes. A variety of methods are available. Args: dem (rdarray): An elevation model attrib (str): Terrain attribute to calculate. (See below.) zscale (float): How much to scale the z-axis by prior to calculation ======================= ========= ...
"Calculates terrain attributes. A variety of methods are available.\n\n Args:\n dem (rdarray): An elevation model\n attrib (str): Terrain attribute to calculate. (See below.)\n zscale (float): How much to scale the z-axis by prior to calculation\n\n ======================= ==...
47
false
r-barnes/richdem
TerrainAttribute
38,973
LDU_FT/vsoch/helpme/download
LDU_FT
[ "<BEGIN>\n## `main`", "the main entry point for the HelpMe Command line application. Currently,\n the user can request help or set config values for a particular helper.\n<END>", "<BEGIN>\n## `write_config`", "use configparser to write a config object to filename\n<END>", "<BEGIN>\n## `generate_tempor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
stream to a temporary file, rename on successful completion Parameters ========== file_name: the file name to stream to url: the url to stream from headers: additional headers to add force: If the final image exists, don't overwrite
"stream to a temporary file, rename on successful completion\n\n Parameters\n ==========\n file_name: the file name to stream to\n url: the url to stream from\n headers: additional headers to add\n force: If the final image exists, don't overwrite"
121
false
vsoch/helpme
download
38,974
LDU_FT/cni/MRS/naa_correct
LDU_FT
[ "<BEGIN>\n## `fetch_data`", "Downloads files to folder and checks their md5 checksums", " Parameters\n ----------\n files : dictionary\n For each file in `files` the value should be (url, md5). The file will\n be downloaded from url if the file does not already exist or if the\n fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the naa_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the naa_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 extra...
This function resets the fits and corrects shifts in the spectra. It uses uses the NAA peak at 2.0ppm as a guide to replaces the existing f_ppm values!
"This function resets the fits and corrects shifts in the spectra.\n It uses uses the NAA peak at 2.0ppm as a guide to replaces the existing\n f_ppm values!"
328
false
cni/MRS
naa_correct
38,975
LDU_FT/gmichaeljaison/cv-utils/padding
LDU_FT
[ "<BEGIN>\n## `match_one`", "Match template and find exactly one match in the Image using specified features.", " :param template: Template Image\n :param image: Search Image\n :param options: Options include\n - features: List of options for each feature\n :return: (Box, Score) Bounding box o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the padding API. 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 padding API. 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...
Add padding around four sides of box :param px: padding value in pixels. Can be an array in the format of [top right bottom left] or single value. :return: New padding added box
"Add padding around four sides of box\n\n :param px: padding value in pixels.\n Can be an array in the format of [top right bottom left] or single value.\n :return: New padding added box"
91
false
gmichaeljaison/cv-utils
padding
38,976
LDU_FT/xolox/python-coloredlogs/find_syslog_address
LDU_FT
[ "<BEGIN>\n## `install`", "Enable colored terminal output for Python's :mod:`logging` module.", " :param level: The default logging level (an integer or a string with a\n level name, defaults to :data:`DEFAULT_LOG_LEVEL`).\n :param logger: The logger to which the stream handler should be a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_syslog_address 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 find_syslog_address API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Find the most suitable destination for system log messages. :returns: The pathname of a log device (a string) or an address/port tuple as supported by :class:`~logging.handlers.SysLogHandler`. On Mac OS X this prefers :data:`LOG_DEVICE_MACOSX`, after that :data:`LOG_DEVICE_UNIX` is checked f...
"Find the most suitable destination for system log messages.\n\n :returns: The pathname of a log device (a string) or an address/port tuple as\n supported by :class:`~logging.handlers.SysLogHandler`.\n\n On Mac OS X this prefers :data:`LOG_DEVICE_MACOSX`, after that :data:`LOG_DEVICE_UNIX`\n is ch...
191
false
xolox/python-coloredlogs
find_syslog_address
38,977
LDU_FT/mozillazg/baidu-pcs-python-sdk/query_download_tasks
LDU_FT
[ "<BEGIN>\n## `upload`", "上传单个文件(<2G).", " | 百度PCS服务目前支持最大2G的单个文件上传。\n | 如需支持超大文件(>2G)的断点续传,请参考下面的“分片文件上传”方法。", " :param remote_path: 网盘中文件的保存路径(包含文件名)。\n 必须以 /apps/ 开头。", " .. warning::\n * 路径长度限制为1000;...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_download_tasks 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 query_download_tasks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
根据任务ID号,查询离线下载任务信息及进度信息。 :param task_ids: 要查询的任务ID列表 :type task_ids: list or tuple :param operate_type: * 0:查任务信息 * 1:查进度信息,默认为1 :param expires: 请求失效时间,如果有,则会校验。 :type expires: int :return: Response 对象
"根据任务ID号,查询离线下载任务信息及进度信息。\n\n :param task_ids: 要查询的任务ID列表\n :type task_ids: list or tuple\n :param operate_type:\n * 0:查任务信息\n * 1:查进度信息,默认为1\n :param expires: 请求失效时间,如果有,则会校验。\n :type expires: int\n :return: Response 对象"
126
false
mozillazg/baidu-pcs-python-sdk
query_download_tasks
38,978
LDU_FT/koszullab/metaTOR/draw_sparse_matrix
LDU_FT
[ "<BEGIN>\n## `download_and_install_dependencies`", "Setup URLS and download dependencies for Python 3.6+\n<END>", "<BEGIN>\n## `main`", "This module just acts as an entry point to the bulk of the pipeline.\n All argument parsing is delegated to metator.sh\n<END>", "<BEGIN>\n## `rename_genome`", "Rename...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_sparse_matrix API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_sparse_matrix API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Draw a quick preview of a sparse matrix with automated binning and normalization.
"Draw a quick preview of a sparse matrix with automated\n binning and normalization."
180
false
koszullab/metaTOR
draw_sparse_matrix
38,979
LDU_FT/dixudx/rtcclient/relogin
LDU_FT
[ "<BEGIN>\n## `getRoles`", "Get all :class:`rtcclient.models.Role` objects in this project\n area", " If no :class:`Roles` are retrieved, `None` is returned.", " :return: a :class:`list` that contains all\n :class:`rtcclient.models.Role` objects\n :rtype: list\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relogin API. 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 relogin API. 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...
Relogin the RTC Server/Jazz when the token expires
"Relogin the RTC Server/Jazz when the token expires"
285
false
dixudx/rtcclient
relogin
38,980
LDU_FT/MacHu-GWU/pymongo_mate-project/parse_datetime
LDU_FT
[ "<BEGIN>\n## `read_csv_arg_preprocess`", "Automatically decide if we need to use iterator mode to read a csv file.", " :param abspath: csv file absolute path.\n :param memory_usage: max memory will be used for pandas.read_csv().\n<END>", "<BEGIN>\n## `smart_insert`", "An optimized Insert strategy.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_datetime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_datetime API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
A lazy method to parse anything to datetime. If input data type is: - string: parse datetime from it - integer: use from ordinal - date: use date part and set hour, minute, second to zero - datetime: just return it
"A lazy method to parse anything to datetime.\n\n If input data type is:\n\n - string: parse datetime from it\n - integer: use from ordinal\n - date: use date part and set hour, minute, second to zero\n - datetime: just return it"
188
false
MacHu-GWU/pymongo_mate-project
parse_datetime
38,981
LDU_FT/siemens/django-mantis-stix-importer/cybox_valueset_fact_handler
LDU_FT
[ "<BEGIN>\n## `xml_import`", "Import a STIX or CybOX xml from file <filepath> or a string passed as ``xml_content``", " You can furhter provide:", " - a list of InfoObjects as markings with which all generated Information Objects\n will be associated (e.g., in order to provide prove...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cybox_valueset_fact_handler 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 cybox_valueset_fact_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Handler for dealing with 'value_set' values. Unfortunately, CybOX et al. sometimes use comma-separated value lists rather than an XML structure that can contain several values. This handler is called for elements concerning a value-set such as the following example:: ...
"Handler for dealing with 'value_set' values.\n\n Unfortunately, CybOX et al. sometimes use comma-separated\n value lists rather than an XML structure that can contain\n several values.\n\n This handler is called for elements concerning a value-set\n such as the following example::\n\...
46
false
siemens/django-mantis-stix-importer
cybox_valueset_fact_handler
38,982
LDU_FT/ISA-tools/biopy-isatab/parse
LDU_FT
[ "<BEGIN>\n## `parse`", "Entry point to parse an ISA-Tab directory.\n isatab_ref can point to a directory of ISA-Tab data, in which case we\n search for the investigator file, or be a reference to the high level\n investigation file.\n<END>", "<BEGIN>\n## `_parse_region`", "Parse a section of an ISA-T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. 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 parse API. 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...
Entry point to parse an ISA-Tab directory. isatab_ref can point to a directory of ISA-Tab data, in which case we search for the investigator file, or be a reference to the high level investigation file.
"Entry point to parse an ISA-Tab directory.\n isatab_ref can point to a directory of ISA-Tab data, in which case we\n search for the investigator file, or be a reference to the high level\n investigation file."
24
false
ISA-tools/biopy-isatab
parse
38,983
LDU_FT/aburrell/apexpy/apex2geo
LDU_FT
[ "<BEGIN>\n## `checklat`", "Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).", " Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message", " Returns\n =======\n lat ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apex2geo API. 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 apex2geo API. 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 modified apex to geodetic coordinates. Parameters ========== alat : array_like Modified apex latitude alon : array_like Modified apex longitude height : array_like Altitude in km precision : float, optional Precisi...
"Converts modified apex to geodetic coordinates.\n\n Parameters\n ==========\n alat : array_like\n Modified apex latitude\n alon : array_like\n Modified apex longitude\n height : array_like\n Altitude in km\n precision : float, optional\n ...
120
false
aburrell/apexpy
apex2geo
38,984
LDU_FT/edeposit/edeposit.amqp/_get_channel
LDU_FT
[ "<BEGIN>\n## `_process_exception`", "Process informations about exception and send them thru AMQP.", " Args:\n e (obj): Exception instance.\n body (str): Text which will be sent over AMQP.\n tb (obj): Traceback object with informations, which will be put to the\n headers...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_channel API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_channel API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Create communication channel for given `host`. Args: host (str): Specified --host. timeout (int): Set `timeout` for returned `channel`. Returns: Object: Pika channel object.
"Create communication channel for given `host`.\n\n Args:\n host (str): Specified --host.\n timeout (int): Set `timeout` for returned `channel`.\n\n Returns:\n Object: Pika channel object."
70
false
edeposit/edeposit.amqp
_get_channel
38,985
LDU_FT/tjcsl/ion/last_first_initial
LDU_FT
[ "<BEGIN>\n## `student_visible`", "Return a list of groups that are student-visible.\n<END>", "<BEGIN>\n## `stdev`", "r\"\"\"Calculate standard deviation of data x[]:\n std = sqrt(\\sum_i (x_i - mean)^2 \\over n-1)\n https://wiki.python.org/moin/NumericAndScientificRecipes\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the last_first_initial 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 last_first_initial 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...
Return a name in the format of: Lastname, F [(Nickname)]
"Return a name in the format of:\n Lastname, F [(Nickname)]"
407
false
tjcsl/ion
last_first_initial
38,986
LDU_FT/mila-iqia/fuel/fill_subparser
LDU_FT
[ "<BEGIN>\n## `convert_mnist`", "Converts the MNIST dataset to HDF5.", " Converts the MNIST dataset to an HDF5 dataset compatible with\n :class:`fuel.datasets.MNIST`. The converted dataset is\n saved as 'mnist.hdf5'.", " This method assumes the existence of the following files:\n `train-images-i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fill_subparser API. 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 fill_subparser API. 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...
Sets up a subparser to download the MNIST dataset files. The following MNIST dataset files are downloaded from Yann LeCun's website [LECUN]: `train-images-idx3-ubyte.gz`, `train-labels-idx1-ubyte.gz`, `t10k-images-idx3-ubyte.gz`, `t10k-labels-idx1-ubyte.gz`. Parameters ---------- subparser...
"Sets up a subparser to download the MNIST dataset files.\n\n The following MNIST dataset files are downloaded from Yann LeCun's\n website [LECUN]:\n `train-images-idx3-ubyte.gz`, `train-labels-idx1-ubyte.gz`,\n `t10k-images-idx3-ubyte.gz`, `t10k-labels-idx1-ubyte.gz`.\n\n Parameters\n ----------\n ...
358
false
mila-iqia/fuel
fill_subparser
38,987
LDU_FT/base4sistemas/satcomum/is_cep
LDU_FT
[ "<BEGIN>\n## `dados_qrcode`", "Compila os dados que compõem o QRCode do CF-e-SAT, conforme a\n documentação técnica oficial **Guia para Geração do QRCode pelo Aplicativo\n Comercial**, a partir de uma instância de ``ElementTree`` que represente a\n árvore do XML do CF-e-SAT.", " :param cfe: Instânci...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_cep API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_cep API. 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 ...
Uma versão conveniente para usar em testes condicionais. Apenas retorna verdadeiro ou falso, conforme o argumento é validado. :param bool estrito: Padrão ``False``, indica se apenas os dígitos do número deverão ser considerados. Se verdadeiro, potenciais caracteres que formam a máscara serão re...
"Uma versão conveniente para usar em testes condicionais. Apenas retorna\n verdadeiro ou falso, conforme o argumento é validado.\n\n :param bool estrito: Padrão ``False``, indica se apenas os dígitos do\n número deverão ser considerados. Se verdadeiro, potenciais caracteres\n que formam a máscara se...
61
false
base4sistemas/satcomum
is_cep
38,988
LDU_FT/xzased/lvm2py/free
LDU_FT
[ "<BEGIN>\n## `open`", "Obtains the lvm, vg_t and lv_t handle. Usually you would never need to use this\n method unless you are doing operations using the ctypes function wrappers in\n conversion.py", " *Raises:*", " * HandleError\n<END>", "<BEGIN>\n## `is_active`", "Retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the free API. 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 free API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Returns the free size in the given units. Default units are MiB. *Args:* * units (str): Unit label ('MiB', 'GiB', etc...). Default is MiB.
"Returns the free size in the given units. Default units are MiB.\n\n *Args:*\n\n * units (str): Unit label ('MiB', 'GiB', etc...). Default is MiB."
189
false
xzased/lvm2py
free
38,989
LDU_FT/jim-easterbrook/pywws/get_raw_data
LDU_FT
[ "<BEGIN>\n## `read_data`", "Receive data from the device.", " If the read fails for any reason, an :obj:`IOError` exception\n is raised.", " :param size: the number of bytes to read.", " :type size: int", " :return: the data received.", " :rtype: list(int)\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_raw_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_raw_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Get raw data from circular buffer. If unbuffered is false then a cached value that was obtained earlier may be returned.
"Get raw data from circular buffer.\n\n If unbuffered is false then a cached value that was obtained\n earlier may be returned."
210
false
jim-easterbrook/pywws
get_raw_data
38,990
LDU_FT/Azure/azure-event-hubs-python/add_async_receiver
LDU_FT
[ "<BEGIN>\n## `parse_sas_token`", "Parse a SAS token into its components.", " :param sas_token: The SAS token.\n :type sas_token: str\n :rtype: dict[str, str]\n<END>", "<BEGIN>\n## `offset`", "The offset of the event data object.", " :rtype: ~azure.eventhub.common.Offset\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_async_receiver API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_async_receiver API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Add an async receiver to the client for a particular consumer group and partition. :param consumer_group: The name of the consumer group. :type consumer_group: str :param partition: The ID of the partition. :type partition: str :param offset: The offset from which to start recei...
"Add an async receiver to the client for a particular consumer group and partition.\n\n :param consumer_group: The name of the consumer group.\n :type consumer_group: str\n :param partition: The ID of the partition.\n :type partition: str\n :param offset: The offset from which to star...
260
false
Azure/azure-event-hubs-python
add_async_receiver
38,991
LDU_FT/twisted/twistedchecker/visit_module
LDU_FT
[ "<BEGIN>\n## `_isInner`", "Determine whether the given node is, at any point in its syntactic\n parentage, defined within a function.", " @param node: The node to inspect.\n @type node: L{logilab.astng.bases.NodeNG}", " @return: a boolean indicating if the given node is defined as an inner\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_module API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_module API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
A interface will be called when visiting a module. @param node: node of current module
"A interface will be called when visiting a module.\n\n @param node: node of current module"
146
false
twisted/twistedchecker
visit_module
38,992
LDU_FT/glue-viz/echo/connect_float_text
LDU_FT
[ "<BEGIN>\n## `add_callback`", "Attach a callback function to a property in an instance", " Parameters\n ----------\n instance\n The instance to add the callback to\n prop : str\n Name of callback property in `instance`\n callback : func\n The callback function to add\n ech...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_float_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_float_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. Th...
Connect a numerical callback property with a Qt widget containing text. Parameters ---------- instance : object The class instance that the callback property is attached to prop : str The name of the callback property widget : QtWidget The Qt widget to connect. This should i...
"Connect a numerical callback property with a Qt widget containing text.\n\n Parameters\n ----------\n instance : object\n The class instance that the callback property is attached to\n prop : str\n The name of the callback property\n widget : QtWidget\n The Qt widget to connect. Thi...
88
false
glue-viz/echo
connect_float_text
38,993
LDU_FT/Blueqat/Blueqat/make_cache
LDU_FT
[ "<BEGIN>\n## `pauli`", "Convert to pauli operators of universal gate model.\n\tRequires blueqat.\n<END>", "<BEGIN>\n## `make_qs`", "Make sympy symbols q0, q1, ...", " Args:\n n(int), m(int, optional):\n If specified both n and m, returns [qn, q(n+1), ..., qm],\n Only n is spe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_cache API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_cache API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Make a cache to reduce the time of run. Some backends may implemented it. This is temporary API. It may changed or deprecated.
"Make a cache to reduce the time of run. Some backends may implemented it.\n\n This is temporary API. It may changed or deprecated."
117
false
Blueqat/Blueqat
make_cache
38,994
LDU_FT/oasis-open/cti-stix-validator/_get_musts
LDU_FT
[ "<BEGIN>\n## `pretty_error`", "Return an error message that is easier to read and more useful.\n May require updating if the schemas change significantly.\n<END>", "<BEGIN>\n## `_iter_errors_custom`", "Perform additional validation not possible merely with JSON schemas.", " Args:\n instance: Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_musts API. 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_musts API. 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 the list of 'MUST' validators for the correct version of STIX. Args: options: ValidationOptions instance with validation options for this validation run, including the STIX spec version.
"Return the list of 'MUST' validators for the correct version of STIX.\n\n Args:\n options: ValidationOptions instance with validation options for this\n validation run, including the STIX spec version."
220
false
oasis-open/cti-stix-validator
_get_musts
38,995
LDU_FT/lepture/terminal/choose
LDU_FT
[ "<BEGIN>\n## `log`", "print a log test", " :param verbose: show more logs\n<END>", "<BEGIN>\n## `is_color_supported`", "Find out if your terminal environment supports color.\n<END>", "<BEGIN>\n## `rgb2ansi`", "Convert an RGB color to 256 ansi graphics.\n<END>", "<BEGIN>\n## `colorize`", "Colorize...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the choose API. 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 choose API. 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 ...
Grabs user input from command line from set of provided choices. :param name: prompt text :param choices: list or tuple of available choices. Choices may be single strings or (key, value) tuples. :param default: default value if no input provided. :param no_choice: acceptable list o...
"Grabs user input from command line from set of provided choices.\n\n :param name: prompt text\n :param choices: list or tuple of available choices. Choices may be\n single strings or (key, value) tuples.\n :param default: default value if no input provided.\n :param no_choice: acceptable...
71
false
lepture/terminal
choose
38,996
LDU_FT/squdle/baseconvert/to_base_10_int
LDU_FT
[ "<BEGIN>\n## `represent_as_tuple`", "Represent a number-string in the form of a tuple of digits.\r\n \"868.0F\" -> (8, 6, 8, '.', 0, 15)\r", " Args:\r\n string - Number represented as a string of digits.\r\n Returns:\r\n Number represented as an iterable container of digits\r", " >>>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_base_10_int API. 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 to_base_10_int API. 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...
Converts an integer in any base into it's decimal representation. Args: n - An integer represented as a tuple of digits in the specified base. input_base - the base of the input number. Returns: integer converted into base 10. Example: >>> to_base_10_int((8,1), 1...
"Converts an integer in any base into it's decimal representation.\r\n\r\n Args:\r\n n - An integer represented as a tuple of digits in the specified base.\r\n input_base - the base of the input number.\r\n\r\n Returns:\r\n integer converted into base 10.\r\n\r\n Example:\r\n >>> to...
77
false
squdle/baseconvert
to_base_10_int
38,997
LDU_FT/dylanaraps/pywal/set_desktop_wallpaper
LDU_FT
[ "<BEGIN>\n## `get_desktop_env`", "Identify the current running desktop environment.\n<END>", "<BEGIN>\n## `set_wm_wallpaper`", "Set the wallpaper for non desktop environments.\n<END>", "<BEGIN>\n## `set_desktop_wallpaper`", "Set the wallpaper for the desktop environment.\n<END>", "<BEGIN>\n## `disown`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_desktop_wallpaper 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_desktop_wallpaper 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 wallpaper for the desktop environment.
"Set the wallpaper for the desktop environment."
28
false
dylanaraps/pywal
set_desktop_wallpaper
38,998
LDU_FT/pydata/numexpr/compileThreeAddrForm
LDU_FT
[ "<BEGIN>\n## `set_vml_accuracy_mode`", "Set the accuracy mode for VML operations.", " The `mode` parameter can take the values:\n - 'high': high accuracy mode (HA), <1 least significant bit\n - 'low': low accuracy mode (LA), typically 1-2 least significant bits\n - 'fast': enhanced performance mode ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compileThreeAddrForm 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 compileThreeAddrForm API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Given a three address form of the program, compile it a string that the VM understands.
"Given a three address form of the program, compile it a string that\n the VM understands."
69
false
pydata/numexpr
compileThreeAddrForm
38,999
LDU_FT/kiliankoe/dvbpy/route
LDU_FT
[ "<BEGIN>\n## `monitor`", "VVO Online Monitor\n (GET http://widgets.vvo-online.de/abfahrtsmonitor/Abfahrten.do)", " :param stop: Name of Stop\n :param offset: Minimum time of arrival\n :param limit: Count of returned results\n :param city: Name of City\n :param raw: Return raw response\n :re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the route API. 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 route API. 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...
VVO Online EFA TripRequest (GET http://efa.vvo-online.de:8080/dvb/XML_TRIP_REQUEST2) :param origin: Origin of route :param destination: Destination of route :param city_origin: City of origin :param city_destination: City of destination :param time: Unix timestamp of departure :param deparr...
"VVO Online EFA TripRequest\n (GET http://efa.vvo-online.de:8080/dvb/XML_TRIP_REQUEST2)\n\n :param origin: Origin of route\n :param destination: Destination of route\n :param city_origin: City of origin\n :param city_destination: City of destination\n :param time: Unix timestamp of departure\n :par...
18
false
kiliankoe/dvbpy
route
39,000
LDU_FT/gmr/helper/uid
LDU_FT
[ "<BEGIN>\n## `operating_system`", "Return a string identifying the operating system the application\n is running on.", " :rtype: str\n<END>", "<BEGIN>\n## `start`", "Daemonize if the process is not already running.\n<END>", "<BEGIN>\n## `gid`", "Return the group id that the daemon will run with", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uid API. 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 uid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Return the user id that the process will run as :rtype: int
"Return the user id that the process will run as\n\n :rtype: int"
77
false
gmr/helper
uid
39,001
LDU_FT/ryukinix/decorating/space_wave
LDU_FT
[ "<BEGIN>\n## `default_arguments`", "Returns the available kwargs of the called class\n<END>", "<BEGIN>\n## `recreate`", "Recreate the class based in your args, multiple uses\n<END>", "<BEGIN>\n## `check_arguments`", "Put warnings of arguments whose can't be handle by the class\n<END>", "<BEGIN>\n## `col...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the space_wave API. 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 space_wave API. 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...
Function: space_wave Summary: This function is used to generate a wave-like padding spacement based on the variable lambda Examples: >>> print('\n'.join(space_wave(x) for x in range(100)) █ ███ ████ ██████ ███████ █...
"Function: space_wave\n Summary: This function is used to generate a wave-like padding\n spacement based on the variable lambda\n Examples: >>> print('\\n'.join(space_wave(x) for x in range(100))\n █\n ███\n ████\n ██████\n ███████\n ...
41
false
ryukinix/decorating
space_wave
39,002
LDU_FT/robertmartin8/PyPortfolioOpt/sample_cov
LDU_FT
[ "<BEGIN>\n## `negative_sharpe`", "Calculate the negative Sharpe ratio of a portfolio", " :param weights: asset weights of the portfolio\n :type weights: np.ndarray\n :param expected_returns: expected return of each asset\n :type expected_returns: pd.Series\n :param cov_matrix: the covariance matr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sample_cov API. 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 sample_cov API. 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...
Calculate the annualised sample covariance matrix of (daily) asset returns. :param prices: adjusted closing prices of the asset, each row is a date and each column is a ticker/id. :type prices: pd.DataFrame :param frequency: number of time periods in a year, defaults to 252 (the number ...
"Calculate the annualised sample covariance matrix of (daily) asset returns.\n\n :param prices: adjusted closing prices of the asset, each row is a date\n and each column is a ticker/id.\n :type prices: pd.DataFrame\n :param frequency: number of time periods in a year, defaults to 252 (the nu...
90
false
robertmartin8/PyPortfolioOpt
sample_cov
39,003
LDU_FT/d11wtq/dockerpty/flush
LDU_FT
[ "<BEGIN>\n## `before_all`", "Pulls down busybox:latest before anything is tested.\n<END>", "<BEGIN>\n## `after_scenario`", "Cleans up docker containers used as test fixtures after test completes.\n<END>", "<BEGIN>\n## `set_blocking`", "Set the given file-descriptor blocking or non-blocking.", " Retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Flush `n` bytes of data from the reader Stream to the writer Stream. Returns the number of bytes that were actually flushed. A return value of zero is not an error. If EOF has been reached, `None` is returned.
"Flush `n` bytes of data from the reader Stream to the writer Stream.\n\n Returns the number of bytes that were actually flushed. A return value\n of zero is not an error.\n\n If EOF has been reached, `None` is returned."
66
false
d11wtq/dockerpty
flush
39,004
LDU_FT/RI-imaging/qpformat/verify
LDU_FT
[ "<BEGIN>\n## `qpinfo`", "Print information of a quantitative phase imaging dataset\n<END>", "<BEGIN>\n## `_get_cropped_file_names`", "self.files with common path prefix/suffix removed\n<END>", "<BEGIN>\n## `_identifier_data`", "Return a unique identifier for the folder data\n<END>", "<BEGIN>\n## `_searc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify API. 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 verify API. 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 ...
Verify that `path` is a zip file with Phasics TIFF files
"Verify that `path` is a zip file with Phasics TIFF files"
93
false
RI-imaging/qpformat
verify
39,005
LDU_FT/dronekit/dronekit-python/notify_attribute_listeners
LDU_FT
[ "<BEGIN>\n## `condition_yaw`", "Send MAV_CMD_CONDITION_YAW message to point vehicle at a specified heading (in degrees).", " This method sets an absolute heading by default, but you can set the `relative` parameter\n to `True` to set yaw relative to the current yaw heading.", " By default the yaw of ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notify_attribute_listeners 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 notify_attribute_listeners API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
This method is used to update attribute observers when the named attribute is updated. You should call it in your message listeners after updating an attribute with information from a vehicle message. By default the value of ``cache`` is ``False`` and every update from the vehicle is sent to l...
"This method is used to update attribute observers when the named attribute is updated.\n\n You should call it in your message listeners after updating an attribute with\n information from a vehicle message.\n\n By default the value of ``cache`` is ``False`` and every update from the vehicle is sen...
290
false
dronekit/dronekit-python
notify_attribute_listeners
39,006
LDU_FT/kelproject/pykube/options
LDU_FT
[ "<BEGIN>\n## `iterator`", "Execute the API request and return an iterator over the objects. This\n method does not use the query cache.\n<END>", "<BEGIN>\n## `get_kwargs`", "Creates a full URL to request based on arguments.", " :Parametes:\n - `kwargs`: All keyword arguments to build...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Executes an HTTP OPTIONS. :Parameters: - `args`: Non-keyword arguments - `kwargs`: Keyword arguments
"Executes an HTTP OPTIONS.\n\n :Parameters:\n - `args`: Non-keyword arguments\n - `kwargs`: Keyword arguments"
54
false
kelproject/pykube
options
39,007
LDU_FT/Yinzo/reprint/print_multi_line
LDU_FT
[ "<BEGIN>\n## `width_cal_preprocess`", "此函数同时删除 ANSI escape code,避免影响行宽计算\n This function also remove ANSI escape code to avoid the influence on line width calculation\n<END>", "<BEGIN>\n## `preprocess`", "对输出内容进行预处理,转为str类型 (py3),并替换行内\\r\\t\\n等字符为空格\n do pre-process to the content, turn it into str (fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_multi_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_multi_line API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
'sort_key' 参数只在 dict 模式时有效 'sort_key' parameter only available in 'dict' mode
"'sort_key' 参数只在 dict 模式时有效\n 'sort_key' parameter only available in 'dict' mode"
10
false
Yinzo/reprint
print_multi_line
39,008
LDU_FT/AgeOfLearning/coeus-unity-python-framework/fetch_transform_screen_position
LDU_FT
[ "<BEGIN>\n## `await_transform_exists`", "Waits for a single transform to exist based on does_exist.\n :param cli:\n :param transform_path:\n :param does_exist: Whether or not to await for exist state (True | False)\n :param timeout_seconds: How long until this returns with failure\n :return: bool\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_transform_screen_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_transform_screen_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co...
Requests screen position of a transform at path. WorldToScreenPoint is used for 3D, otherwise a screen-scaled center of RectTransform is used. :param cli: :param transform_path: :return: [x,y]
"Requests screen position of a transform at path. WorldToScreenPoint is used for 3D, otherwise\n a screen-scaled center of RectTransform is used.\n :param cli:\n :param transform_path:\n :return: [x,y]"
38
false
AgeOfLearning/coeus-unity-python-framework
fetch_transform_screen_position
39,009
LDU_FT/jeremymcrae/denovonear/load_genes
LDU_FT
[ "<BEGIN>\n## `get_cached_data`", "get cached data for a url if stored in the cache and not outdated", " Args:\n url: URL for the Ensembl REST service", " Returns:\n data if data in cache, else None\n<END>", "<BEGIN>\n## `cache_url_data`", "cache the data retrieved from ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_genes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_genes API. 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 a file listing gene and transcript IDs Args: path: path to file containing gene IDs and transcript IDs e.g. gene_1 transcript_1.1 length_1 denovo_count gene_2 transcript_2.1 length_3 denovo_count Returns: dict of transcripts eg {'CTC1': ["...
"load a file listing gene and transcript IDs\n \n Args:\n path: path to file containing gene IDs and transcript IDs e.g.\n gene_1 transcript_1.1 length_1 denovo_count\n gene_2 transcript_2.1 length_3 denovo_count\n \n Returns:\n dict of transcripts eg {'...
112
false
jeremymcrae/denovonear
load_genes
39,010
LDU_FT/brandon-rhodes/python-adventure/parse
LDU_FT
[ "<BEGIN>\n## `add_synonym`", "Every word in a group of synonyms shares the same list.\n<END>", "<BEGIN>\n## `play`", "Turn the Python prompt into an Adventure game.", " With optional the `seed` argument the caller can supply an integer\n to start the Python random number generator at a known state.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. 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 parse API. 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...
Read the Adventure data file and return a ``Data`` object.
"Read the Adventure data file and return a ``Data`` object."
17
false
brandon-rhodes/python-adventure
parse
39,011
LDU_FT/scarface-4711/denonavr/_update_avr
LDU_FT
[ "<BEGIN>\n## `exec_appcommand_post`", "Prepare and execute a HTTP POST call to AppCommand.xml end point.", " Returns XML ElementTree on success and None on fail.\n<END>", "<BEGIN>\n## `get_status_xml`", "Get status XML via HTTP and return it as XML ElementTree.\n<END>", "<BEGIN>\n## `create_zones`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_avr API. 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 _update_avr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get the latest status information from device. Method queries device via HTTP and updates instance attributes. Returns "True" on success and "False" on fail. This method is for pre 2016 AVR(-X) devices
"Get the latest status information from device.\n\n Method queries device via HTTP and updates instance attributes.\n Returns \"True\" on success and \"False\" on fail.\n This method is for pre 2016 AVR(-X) devices"
85
false
scarface-4711/denonavr
_update_avr
39,012
LDU_FT/shaunduncan/smokesignal/_on
LDU_FT
[ "<BEGIN>\n## `install_twisted`", "If twisted is available, make `emit' return a DeferredList", " This has been successfully tested with Twisted 14.0 and later.\n<END>", "<BEGIN>\n## `emit`", "Emits a single signal to call callbacks registered to respond to that signal.\n Optionally accepts args and kw...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on API. 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 _on API. 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...
Proxy for `smokesignal.on`, which is compatible as both a function call and a decorator. This method cannot be used as a decorator :param signals: A single signal or list/tuple of signals that callback should respond to :param callback: A callable that should repond to supplied signal(s) :param max_cal...
"Proxy for `smokesignal.on`, which is compatible as both a function call and\n a decorator. This method cannot be used as a decorator\n\n :param signals: A single signal or list/tuple of signals that callback should respond to\n :param callback: A callable that should repond to supplied signal(s)\n :param m...
24
false
shaunduncan/smokesignal
_on
39,013
LDU_FT/sharibarboza/py_zap/get_json
LDU_FT
[ "<BEGIN>\n## `get_title`", "Title is either the chart header for a cable ratings page or above\n the opening description for a broadcast ratings page.\n<END>", "<BEGIN>\n## `get_json`", "Serialize ratings object as JSON-formatted string\n<END>", "<BEGIN>\n## `_get_url_params`", "Returns a list of e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Serialize ratings object as JSON-formatted string
"Serialize ratings object as JSON-formatted string"
59
false
sharibarboza/py_zap
get_json
39,014
LDU_FT/Element-34/py.saunter/verify_visible
LDU_FT
[ "<BEGIN>\n## `get_random_user`", "Gets a random user from the provider", " :returns: Dictionary\n<END>", "<BEGIN>\n## `is_element_available`", "Synchronization method for making sure the element we're looking for is not only on the page,\n but also visible -- since Se will happily deal with th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_visible API. 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 verify_visible API. 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...
Soft assert for whether and element is present and visible in the current window/frame :params locator: the locator of the element to search for :params msg: (Optional) msg explaining the difference
"Soft assert for whether and element is present and visible in the current window/frame\n\n :params locator: the locator of the element to search for\n :params msg: (Optional) msg explaining the difference"
81
false
Element-34/py.saunter
verify_visible
39,015
LDU_FT/JukeboxPipeline/jukeboxmaya/run
LDU_FT
[ "<BEGIN>\n## `main_func`", "Main funcion when executing this module as script", " :param args: commandline arguments\n :type args: list\n :returns: None\n :rtype: None\n :raises: None\n<END>", "<BEGIN>\n## `setup_launch_parser`", "Setup the given parser for the launch command", " :pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Start the configeditor :returns: None :rtype: None :raises: None
"Start the configeditor\n\n :returns: None\n :rtype: None\n :raises: None"
241
false
JukeboxPipeline/jukeboxmaya
run
39,016
LDU_FT/ThreatResponse/margaritashotgun/capture
LDU_FT
[ "<BEGIN>\n## `configure`", "Connect paramiko transport", " :type auth: :py:class`margaritashotgun.auth.AuthMethods`\n :param auth: authentication object\n :type address: str\n :param address: remote server ip or hostname\n :type port: int\n :param port: remote server po...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the capture API. 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 capture API. 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...
Captures memory based on the provided OutputDestination :type tunnel_addr: str :param tunnel_port: ssh tunnel hostname or ip :type tunnel_port: int :param tunnel_port: ssh tunnel port :type filename: str :param filename: memory dump output filename :type bucket: ...
"Captures memory based on the provided OutputDestination\n\n :type tunnel_addr: str\n :param tunnel_port: ssh tunnel hostname or ip\n :type tunnel_port: int\n :param tunnel_port: ssh tunnel port\n :type filename: str\n :param filename: memory dump output filename\n :type...
134
false
ThreatResponse/margaritashotgun
capture
39,017
LDU_FT/geoadmin/lib-gatilegrid/getParentTiles
LDU_FT
[ "<BEGIN>\n## `tileBounds`", "Returns the bounds of a tile in LV03 (EPSG:21781)\n<END>", "<BEGIN>\n## `tileAddress`", "Returns a tile address based on a zoom level and \\\n a point in the tile\n<END>", "<BEGIN>\n## `intersectsExtent`", "Determine if an extent intersects this instance extent\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getParentTiles API. 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 getParentTiles API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Return the parent tile(s) for an irregular (not following quadindex) and regular tiling scheme Parameters: zoom -- the zoom level a the child tile row -- the row of the child tile col -- the col of the child tile zoomParent -- the target zoom of the parent...
"Return the parent tile(s) for an irregular (not following quadindex)\n and regular tiling scheme\n Parameters:\n zoom -- the zoom level a the child tile\n row -- the row of the child tile\n col -- the col of the child tile\n zoomParent -- the target zoom of the...
28
false
geoadmin/lib-gatilegrid
getParentTiles
39,018
LDU_FT/timothydmorton/isochrones/add_limit
LDU_FT
[ "<BEGIN>\n## `interp_box`", "box is 8x3 array, though not really a box", " values is length-8 array, corresponding to values at the \"box\" coords", " TODO: should make power `p` an argument\n<END>", "<BEGIN>\n## `interp_values`", "mass_arr, age_arr, feh_arr are all arrays at which values are desire...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_limit API. 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 add_limit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Define limits to spectroscopic property of particular stars. Usually will be used for 'logg', but 'Teff' and 'feh' will also work. In form (min, max): e.g., t.add_limit(logg=(3.0,None)) None will be converted to (-)np.inf
"Define limits to spectroscopic property of particular stars.\n\n Usually will be used for 'logg', but 'Teff' and 'feh' will also work.\n\n In form (min, max): e.g., t.add_limit(logg=(3.0,None))\n\n None will be converted to (-)np.inf"
314
false
timothydmorton/isochrones
add_limit
39,019
LDU_FT/lambdalisue/django-roughpages/get_backend
LDU_FT
[ "<BEGIN>\n## `prepare_filename_decorator`", "A decorator of `prepare_filename` method", " 1. It automatically assign `settings.ROUGHPAGES_INDEX_FILENAME` if the\n `normalized_url` is ''.\n 2. It automatically assign file extensions to the output list.\n<END>", "<BEGIN>\n## `prepare_filenames`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backend API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backend API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Get backend instance If no `backend_class` is specified, the backend class is determined from the value of `settings.ROUGHPAGES_BACKEND`. `backend_class` can be a class object or dots separated python import path Returns: backend instance
"Get backend instance\n\n If no `backend_class` is specified, the backend class is determined from\n the value of `settings.ROUGHPAGES_BACKEND`.\n `backend_class` can be a class object or dots separated python import path\n\n Returns:\n backend instance"
29
false
lambdalisue/django-roughpages
get_backend
39,020
LDU_FT/ethereum/eth-utils/to_wei
LDU_FT
[ "<BEGIN>\n## `from_wei`", "Takes a number of wei and converts it to any other ether unit.\n<END>", "<BEGIN>\n## `to_wei`", "Takes a number of a unit and converts it to wei.\n<END>", "<BEGIN>\n## `to_hex`", "Auto converts any supported value into its hex representation.\n Trims leading zeros, as defined...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_wei API. 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 to_wei API. 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 ...
Takes a number of a unit and converts it to wei.
"Takes a number of a unit and converts it to wei."
41
false
ethereum/eth-utils
to_wei
39,021
LDU_FT/atl/py-smartdc/refresh
LDU_FT
[ "<BEGIN>\n## `priv`", "Quick and dirty method to find an IP on a private network given a correctly\n formatted IPv4 quad.\n<END>", "<BEGIN>\n## `_save`", "Take the data from a dict and commit them to appropriate attributes.\n<END>", "<BEGIN>\n## `refresh`", "::", " GET /:login/machines/:id...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh API. 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 refresh API. 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...
:: GET /:login/machines/:id/snapshots/:name Fetch the existing state and values for the snapshot and commit the values locally.
"::\n \n GET /:login/machines/:id/snapshots/:name\n \n Fetch the existing state and values for the snapshot \n and commit the values locally."
290
false
atl/py-smartdc
refresh
39,022
LDU_FT/European-XFEL/karabo-bridge-py/hdf5_to_dict
LDU_FT
[ "<BEGIN>\n## `gen_filename`", "Generate a filename from endpoint with timestamp.", " return: str\n hostname_port_YearMonthDay_HourMinSecFrac.h5\n<END>", "<BEGIN>\n## `hdf5_to_dict`", "load the content of an hdf5 file to a dict.", " # TODO: how to split domain_type_dev : parameter : value ?\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hdf5_to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hdf5_to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
load the content of an hdf5 file to a dict. # TODO: how to split domain_type_dev : parameter : value ?
"load the content of an hdf5 file to a dict.\n\n # TODO: how to split domain_type_dev : parameter : value ?"
22
false
European-XFEL/karabo-bridge-py
hdf5_to_dict
39,023
LDU_FT/alixnovosi/botskeleton/update_history
LDU_FT
[ "<BEGIN>\n## `cred_init`", "Initialize what requires credentials/secret files.", " :param secrets_dir: dir to expect credentials in and store logs/history in.\n :param log: logger to use for log output.\n :param bot_name: name of this bot,\n used for various kinds of labelling.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_history API. 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_history API. 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...
Update messaging history on disk. :returns: None
"Update messaging history on disk.\n\n :returns: None"
69
false
alixnovosi/botskeleton
update_history
39,024
LDU_FT/podio/valideer/register
LDU_FT
[ "<BEGIN>\n## `parse`", "Try to parse the given ``obj`` as a validator instance.", " :param obj: The object to be parsed. If it is a...:", " - :py:class:`Validator` instance, return it.\n - :py:class:`Validator` subclass, instantiate it without arguments and\n return it.\n - :p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API. 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 register API. 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...
Register a validator instance under the given ``name``.
"Register a validator instance under the given ``name``."
36
false
podio/valideer
register
39,025
LDU_FT/dcaune/perseus-lib-python-common/send_email
LDU_FT
[ "<BEGIN>\n## `convert_image_to_rgb_mode`", "Convert the specified image instance to RGB mode.", " @param image: a Python Library Image (PIL) instance to convert its\n pixel format to RGB, discarding the alpha channel.", " @param fill_color: color to be used to fill transparent pixels when\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_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 extrac...
Send a electronic mail to a list of recipients. @note: Outlook and Gmail leverage the list-unsubscribe option for senders with good sending reputations: "In order to receive unsubscribe feedback, senders must include an RFC2369-compliant List-Unsubscribe header containing a mailto: addres...
"Send a electronic mail to a list of recipients.\n\n\n @note: Outlook and Gmail leverage the list-unsubscribe option for\n senders with good sending reputations:\n\n \"In order to receive unsubscribe feedback, senders must include an\n RFC2369-compliant List-Unsubscribe header containing a mailt...
498
false
dcaune/perseus-lib-python-common
send_email
39,026
LDU_FT/Lagg/steamodd/_quality_definition
LDU_FT
[ "<BEGIN>\n## `get`", "Returns context data for a given app, can be an ID or a case insensitive name\n<END>", "<BEGIN>\n## `hash_name`", "The URL-friendly identifier for the item. Generates its own approximation if one isn't available\n<END>", "<BEGIN>\n## `quality`", "Can't really trust presence of a sche...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _quality_definition 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 _quality_definition 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 the ID and localized name of the given quality, can be either ID type
"Returns the ID and localized name of the given quality, can be either ID type"
49
false
Lagg/steamodd
_quality_definition
39,027
LDU_FT/dlecocq/nsq-py/handle
LDU_FT
[ "<BEGIN>\n## `pack_iterable`", "Pack an iterable of messages in the TCP protocol format\n<END>", "<BEGIN>\n## `hexify`", "Print out printable characters, but others in hex\n<END>", "<BEGIN>\n## `distribute`", "Generator for (count, object) tuples that distributes count evenly among\n the provided objec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API. 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 handle API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Make sure this message gets either 'fin' or 'req'd
"Make sure this message gets either 'fin' or 'req'd"
54
false
dlecocq/nsq-py
handle
39,028
LDU_FT/valohai/valohai-yaml/listify
LDU_FT
[ "<BEGIN>\n## `validate`", "Validate (and possibly typecast) the given parameter value value.", " :param value: Parameter value\n :return: Typecast parameter value\n :raises ValidationErrors: if there were validation errors\n<END>", "<BEGIN>\n## `format_cli`", "Build a single parameter a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listify API. 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 listify API. 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...
Wrap the given value into a list, with the below provisions: * If the value is a list or a tuple, it's coerced into a new list. * If the value is None, an empty list is returned. * Otherwise, a single-element list is returned, containing the value. :param value: A value. :return: a list! :rtyp...
"Wrap the given value into a list, with the below provisions:\n\n * If the value is a list or a tuple, it's coerced into a new list.\n * If the value is None, an empty list is returned.\n * Otherwise, a single-element list is returned, containing the value.\n\n :param value: A value.\n :return: a list!\n...
42
false
valohai/valohai-yaml
listify
39,029
LDU_FT/JukeboxPipeline/jukebox-core/dep_view_prj
LDU_FT
[ "<BEGIN>\n## `restrictable`", "Decorator for :class:`Reftrack` methods.\n A decorated method will check if its restriction with :meth:`Reftrack.is_restricted`\n and raises a :class:`RestrictionError` if it is restricted.", " :param m: The :class:`Reftrack` method to wrap\n :type m: :class:`Reftrack`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dep_view_prj API. 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 dep_view_prj API. 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...
View the project that is currently selected :returns: None :rtype: None :raises: None
"View the project that is currently selected\n\n :returns: None\n :rtype: None\n :raises: None"
1,529
true
JukeboxPipeline/jukebox-core
dep_view_prj
39,030
LDU_FT/floydhub/floyd-cli/print_data
LDU_FT
[ "<BEGIN>\n## `init`", "Initialize new project at the current path.", " After this you can run other FloydHub commands like status and run.\n<END>", "<BEGIN>\n## `status`", "View status of all jobs in a project.", " The command also accepts a specific job name.\n<END>", "<BEGIN>\n## `print_experime...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Print dataset information in tabular form
"Print dataset information in tabular form"
84
false
floydhub/floyd-cli
print_data
39,031
LDU_FT/DBuildService/dockerfile-parse/image_from
LDU_FT
[ "<BEGIN>\n## `image_from`", ":param from_value: string like \"image:tag\" or \"image:tag AS name\"\n :return: tuple of the image and stage name, e.g. (\"image:tag\", None)\n<END>", "<BEGIN>\n## `lines`", ":return: list containing lines (unicode) from Dockerfile\n<END>", "<BEGIN>\n## `lines`", "Fill Doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image_from API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
:param from_value: string like "image:tag" or "image:tag AS name" :return: tuple of the image and stage name, e.g. ("image:tag", None)
":param from_value: string like \"image:tag\" or \"image:tag AS name\"\n :return: tuple of the image and stage name, e.g. (\"image:tag\", None)"
58
false
DBuildService/dockerfile-parse
image_from
39,032
LDU_FT/slarse/clanimtk/_raise_if_annotated
LDU_FT
[ "<BEGIN>\n## `animate_cli`", "Print out the animation cycle to stdout. This function is for use with\n synchronous functions and must be run in a thread.", " Args:\n animation_ (generator): A generator that produces strings for the\n animation. Should be endless.\n step (float): Secon...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raise_if_annotated 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 _raise_if_annotated 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...
Raise TypeError if a function is decorated with Annotate, as such functions cause visual bugs when decorated with Animate. Animate should be wrapped by Annotate instead. Args: func (function): Any callable. Raises: TypeError
"Raise TypeError if a function is decorated with Annotate, as such\n functions cause visual bugs when decorated with Animate.\n\n Animate should be wrapped by Annotate instead.\n\n Args:\n func (function): Any callable.\n Raises:\n TypeError"
48
false
slarse/clanimtk
_raise_if_annotated
39,033
LDU_FT/agoragames/haigha/_closed_cb
LDU_FT
[ "<BEGIN>\n## `commit`", "Commit the current transaction. Caller can specify a callback to use\n when the transaction is committed.\n<END>", "<BEGIN>\n## `rollback`", "Abandon all message publications and acks in the current transaction.\n Caller can specify a callback to use when the transactio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _closed_cb API. 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 _closed_cb API. 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...
"Private" callback from the ChannelClass when a channel is closed. Only called after broker initiated close, or we receive a close_ok. Caller has the option to send a final frame, to be used to bypass any synchronous or otherwise-pending frames so that the channel can be cleanly closed.
"\"Private\" callback from the ChannelClass when a channel is closed. Only\n called after broker initiated close, or we receive a close_ok. Caller\n has the option to send a final frame, to be used to bypass any\n synchronous or otherwise-pending frames so that the channel can be\n cleanly c...
200
false
agoragames/haigha
_closed_cb
39,034
LDU_FT/marcotcr/lime/as_pyplot_figure
LDU_FT
[ "<BEGIN>\n## `generate_lars_path`", "Generates the lars path for weighted data.", " Args:\n weighted_data: data that has been weighted by kernel\n weighted_label: labels, weighted by kernel", " Returns:\n (alphas, coefs), both are arrays corresponding to the\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_pyplot_figure API. 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 as_pyplot_figure API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns the explanation as a pyplot figure. Will throw an error if you don't have matplotlib installed Args: label: desired label. If you ask for a label for which an explanation wasn't computed, will throw an exception. Will be ignored for regression e...
"Returns the explanation as a pyplot figure.\n\n Will throw an error if you don't have matplotlib installed\n Args:\n label: desired label. If you ask for a label for which an\n explanation wasn't computed, will throw an exception.\n Will be ignored for regre...
113
false
marcotcr/lime
as_pyplot_figure
39,035
LDU_FT/Calysto/calysto/shareWeights
LDU_FT
[ "<BEGIN>\n## `setCoords`", "Set coordinates of window to run from (x1,y1) in the\n lower-left corner to (x2,y2) in the upper-right corner.\n<END>", "<BEGIN>\n## `convert`", "png, ps, pdf, gif, jpg, svg\n returns image in format as bytes\n<END>", "<BEGIN>\n## `getPixels`", "Return a stream of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shareWeights API. 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 shareWeights API. 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...
Share weights with another network. Connection is broken after a randomize or change of size. Layers must have the same names and sizes for shared connections in both networks. Example: net.shareWeights(otherNet, [["hidden", "output"]]) This example will take the weights between the hi...
"Share weights with another network. Connection\n is broken after a randomize or change of size. Layers must have the same\n names and sizes for shared connections in both networks.\n\n Example: net.shareWeights(otherNet, [[\"hidden\", \"output\"]])\n\n This example will take the weights bet...
236
false
Calysto/calysto
shareWeights
39,036
LDU_FT/rhjdjong/SlipLib/create_connection
LDU_FT
[ "<BEGIN>\n## `encode`", "encode(msg) -> SLIP-encoded message.\r", " Encodes a message (a byte sequence) into a\r\n SLIP-encoded packet.\r", " :param bytes msg: The message that must be encoded\r\n :return: The SLIP-encoded message\r\n :rtype: bytes\n<END>", "<BEGIN>\n## `decode`", "decode(p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_connection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_connection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Create a SlipSocket connection. This convenience method creates a connection to the the specified address using the :func:`socket.create_connection` function. The socket that is returned from that call is automatically wrapped in a :class:`SlipSocket` object. .. note:: ...
"Create a SlipSocket connection.\n\n This convenience method creates a connection to the the specified address\n using the :func:`socket.create_connection` function.\n The socket that is returned from that call is automatically wrapped in\n a :class:`SlipSocket` object.\n\n .. note::\...
31
false
rhjdjong/SlipLib
create_connection
39,037
LDU_FT/biolink/ontobio/load_gpi
LDU_FT
[ "<BEGIN>\n## `extract_subset`", "Find all nodes in a subset.", " We assume the oboInOwl encoding of subsets, and subset IDs are IRIs\n<END>", "<BEGIN>\n## `sparql`", "Execute a SPARQL query.", " The query is specified using `select` and `body` parameters.\n The argument for the Named ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_gpi API. 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 load_gpi API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Loads a GPI as a file from the `config.gpi_authority_path`
"Loads a GPI as a file from the `config.gpi_authority_path`"
526
false
biolink/ontobio
load_gpi
39,038
LDU_FT/klahnakoski/mo-json/typed_encode
LDU_FT
[ "<BEGIN>\n## `pypy_json_encode`", "pypy DOES NOT OPTIMIZE GENERATOR CODE WELL\n<END>", "<BEGIN>\n## `unicode_key`", "CONVERT PROPERTY VALUE TO QUOTED NAME OF SAME\n<END>", "<BEGIN>\n## `parse`", "INTENDED TO TREAT JSON AS A STREAM; USING MINIMAL MEMORY WHILE IT ITERATES\n THROUGH THE STRUCTURE. ASSUMI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the typed_encode API. 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 typed_encode API. 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...
:param value: THE DATA STRUCTURE TO ENCODE :param sub_schema: dict FROM PATH TO Column DESCRIBING THE TYPE :param path: list OF CURRENT PATH :param net_new_properties: list FOR ADDING NEW PROPERTIES NOT FOUND IN sub_schema :param buffer: UnicodeBuilder OBJECT :return:
":param value: THE DATA STRUCTURE TO ENCODE\n :param sub_schema: dict FROM PATH TO Column DESCRIBING THE TYPE\n :param path: list OF CURRENT PATH\n :param net_new_properties: list FOR ADDING NEW PROPERTIES NOT FOUND IN sub_schema\n :param buffer: UnicodeBuilder OBJECT\n :return:"
20
false
klahnakoski/mo-json
typed_encode
39,039
LDU_FT/xenon-middleware/pyxenon/get_field_description
LDU_FT
[ "<BEGIN>\n## `make_exception`", "Creates an exception for a given method, and RpcError.\n<END>", "<BEGIN>\n## `get_field_type`", "Obtain the type name of a GRPC Message field.\n<END>", "<BEGIN>\n## `get_field_description`", "Get the type description of a GRPC Message field.\n<END>", "<BEGIN>\n## `make_s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_field_description 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_field_description 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 type description of a GRPC Message field.
"Get the type description of a GRPC Message field."
35
false
xenon-middleware/pyxenon
get_field_description
39,040
LDU_FT/edx/edx-submissions/get_submissions_for_student_item
LDU_FT
[ "<BEGIN>\n## `validate_answer`", "Check that the answer is JSON-serializable and not too long.\n<END>", "<BEGIN>\n## `get_annotations`", "Inspect ScoreAnnotations to attach all relevant annotations.\n<END>", "<BEGIN>\n## `create_reset_score`", "Create a \"reset\" score (a score with a null submission).", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_submissions_for_student_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_submissions_for_student_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Retrieve all submissions associated with the given student item. Developer utility for accessing all the submissions associated with a student item. The student item is specified by the unique combination of course, student, and item. Args: request (dict): The request. course_id (str):...
"Retrieve all submissions associated with the given student item.\n\n Developer utility for accessing all the submissions associated with a\n student item. The student item is specified by the unique combination of\n course, student, and item.\n\n Args:\n request (dict): The request.\n course_...
118
false
edx/edx-submissions
get_submissions_for_student_item
39,041
LDU_FT/taborlab/FlowCal/_parse_date_string
LDU_FT
[ "<BEGIN>\n## `clustering_gmm`", "Find clusters in an array using a Gaussian Mixture Model.", " Before clustering, `data` can be automatically rescaled as specified by\n the `scale` argument.", " Parameters\n ----------\n data : FCSData or array_like\n Data to cluster.\n n_clusters : i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_date_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_date_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Get a datetime.date object from a string date representation. The FCS standard includes an optional keyword parameter $DATE in which the acquistion date is stored. In FCS 2.0, the date is saved as 'dd-mmm-yy', whereas in FCS 3.0 and 3.1 the date is saved as 'dd-mmm-yyyy'. This ...
"Get a datetime.date object from a string date representation.\n\n The FCS standard includes an optional keyword parameter $DATE in\n which the acquistion date is stored. In FCS 2.0, the date is saved\n as 'dd-mmm-yy', whereas in FCS 3.0 and 3.1 the date is saved as\n 'dd-mmm-yyyy'.\n\n ...
418
false
taborlab/FlowCal
_parse_date_string
39,042
LDU_FT/rytilahti/python-songpal/get_supported_playback_functions
LDU_FT
[ "<BEGIN>\n## `make`", "Create a container.", " Reports extra keys as well as missing ones.\n Thanks to habnabit for the idea!\n<END>", "<BEGIN>\n## `create_post_request`", "Call the given method over POST.", " :param method: Name of the method\n :param params: dict of parameters\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_supported_playback_functions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_supported_playback_functions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Return list of inputs and their supported functions.
"Return list of inputs and their supported functions."
86
false
rytilahti/python-songpal
get_supported_playback_functions
39,043
LDU_FT/lemieuxl/pyGenClean/createPopulationFile
LDU_FT
[ "<BEGIN>\n## `main`", "The main function of the module.", " :param argString: the options.", " :type argString: list", " These are the steps:", " 1. Prints the options.\n 2. If there are ``summarized_intensities`` provided, reads the files\n (:py:func:`read_summarized_intensities`) an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createPopulationFile 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 createPopulationFile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Creates a population file. :param inputFiles: the list of input files. :param labels: the list of labels (corresponding to the input files). :param outputFileName: the name of the output file. :type inputFiles: list :type labels: list :type outputFileName: str The ``inputFiles`` is in rea...
"Creates a population file.\n\n :param inputFiles: the list of input files.\n :param labels: the list of labels (corresponding to the input files).\n :param outputFileName: the name of the output file.\n\n :type inputFiles: list\n :type labels: list\n :type outputFileName: str\n\n The ``inputFiles`...
1,109
true
lemieuxl/pyGenClean
createPopulationFile
39,044
LDU_FT/thebjorn/pydeps/dissimilarity_metric
LDU_FT
[ "<BEGIN>\n## `write`", "Write ``txt`` to file and output stream (StringIO).\n<END>", "<BEGIN>\n## `write_attributes`", "Write comma separated attribute values (if exists).\n<END>", "<BEGIN>\n## `is_noise`", "Is this module just noise? (too common either at top or bottom of\n the graph).\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dissimilarity_metric 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 dissimilarity_metric API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return non-zero if references to this module are strange, and should be drawn extra-long. The value defines the length, in rank. This is also good for putting some vertical space between seperate subsystems. Returns an int between 1 (default) and 4 (highly unrelated).
"Return non-zero if references to this module are strange, and\n should be drawn extra-long. The value defines the length, in\n rank. This is also good for putting some vertical space between\n seperate subsystems.\n\n Returns an int between 1 (default) and 4 (highly unrelated)."
60
false
thebjorn/pydeps
dissimilarity_metric
39,045
LDU_FT/opencivicdata/pupa/add_membership
LDU_FT
[ "<BEGIN>\n## `items_differ`", "check whether or not jsonitems and dbitems differ\n<END>", "<BEGIN>\n## `resolve_json_id`", "Given an id found in scraped JSON, return a DB id for the object.", " params:\n json_id: id from json\n allow_no_match: just return None...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_membership API. 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_membership API. 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 a membership in an organization and return the membership object in case there are more details to add
"add a membership in an organization and return the membership\n object in case there are more details to add"
48
false
opencivicdata/pupa
add_membership
39,046
LDU_FT/biocommons/bioutils/make_name_ac_map
LDU_FT
[ "<BEGIN>\n## `fetch_seq`", "Fetches sequences and subsequences from NCBI eutils and Ensembl\n REST interfaces.", " :param string ac: accession of sequence to fetch\n :param int start_i: start position of *interbase* interval\n :param int end_i: end position of *interbase* interval", " **IMPORTA...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_name_ac_map API. 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 make_name_ac_map API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
make map from sequence name to accession for given assembly name >>> grch38p5_name_ac_map = make_name_ac_map('GRCh38.p5') >>> grch38p5_name_ac_map['1'] 'NC_000001.11'
"make map from sequence name to accession for given assembly name\n\n >>> grch38p5_name_ac_map = make_name_ac_map('GRCh38.p5')\n >>> grch38p5_name_ac_map['1']\n 'NC_000001.11'"
172
false
biocommons/bioutils
make_name_ac_map
39,047
LDU_FT/redhat-cip/python-dciclient/update
LDU_FT
[ "<BEGIN>\n## `list`", "list(context, verbose)", " List all tags.", " >>> dcictl tag-list", " :param boolean verbose: Display verbose output\n<END>", "<BEGIN>\n## `create`", "create(context, name)", " Create a tag.", " >>> dcictl tag-create [OPTIONS]", " :param string name: Name o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
update(context, id, etag, name, description, active, team_id) Update a product. >>> dcictl product-update [OPTIONS] :param string id: ID of the product to update [required] :param string etag: Entity tag of the resource [required] :param string name: New name of the product [required] :param ...
"update(context, id, etag, name, description, active, team_id)\n\n Update a product.\n\n >>> dcictl product-update [OPTIONS]\n\n :param string id: ID of the product to update [required]\n :param string etag: Entity tag of the resource [required]\n :param string name: New name of the product [required]\n ...
310
false
redhat-cip/python-dciclient
update
39,048
LDU_FT/dyve/django-bootstrap3/bootstrap_css
LDU_FT
[ "<BEGIN>\n## `text_concat`", "Concatenate several values as a text string with an optional separator\n<END>", "<BEGIN>\n## `bootstrap_message_classes`", "Return the message classes for a message\n<END>", "<BEGIN>\n## `bootstrap_css`", "Return HTML for Bootstrap CSS.\n Adjust url in settings. If no url ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bootstrap_css API. 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 bootstrap_css API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return HTML for Bootstrap CSS. Adjust url in settings. If no url is returned, we don't want this statement to return any HTML. This is intended behavior. Default value: ``None`` This value is configurable, see Settings section **Tag name**:: bootstrap_css **Usage**:: {%...
"Return HTML for Bootstrap CSS.\n Adjust url in settings. If no url is returned, we don't want this statement\n to return any HTML.\n This is intended behavior.\n\n Default value: ``None``\n\n This value is configurable, see Settings section\n\n **Tag name**::\n\n bootstrap_css\n\n **Usage**...
64
false
dyve/django-bootstrap3
bootstrap_css
39,049
LDU_FT/sloria/konch/__ensure_directory_in_path
LDU_FT
[ "<BEGIN>\n## `transform`", "Expand pattern into an (almost) equivalent one, but with single Either.", " Example: ((-a | -b) (-c | -d)) => (-a -c | -a -d | -b -c | -b -d)\n Quirks: [-a] => (-a), (-a...) => (-a -a)\n<END>", "<BEGIN>\n## `parse_long`", "long ::= '--' chars [ ( ' ' | '=' ) chars ] ;\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __ensure_directory_in_path 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 __ensure_directory_in_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Ensures that a file's directory is in the Python path.
"Ensures that a file's directory is in the Python path."
44
false
sloria/konch
__ensure_directory_in_path
39,050
LDU_FT/Parsely/birding/process
LDU_FT
[ "<BEGIN>\n## `main`", "Do the default action of `twitter` command.\n<END>", "<BEGIN>\n## `from_oauth_file`", "Get an object bound to the Twitter API using your own credentials.", " The `twitter` library ships with a `twitter` command that uses PIN\n OAuth. Generate your own OAuth credentials b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. 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 process API. 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...
Process steps: 1. Index third positional value from input to elasticsearch.
"Process steps:\n\n 1. Index third positional value from input to elasticsearch."
88
false
Parsely/birding
process
39,051
LDU_FT/senaite/senaite.lims/to_1000
LDU_FT
[ "<BEGIN>\n## `getViewletByName`", "Viewlets allow through-the-web customizations.", " Through-the-web customization magic is managed by five.customerize.\n We need to think of this when looking up viewlets.", " @return: Viewlet registration object\n<END>", "<BEGIN>\n## `setupViewletByNa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_1000 API. 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 to_1000 API. 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...
Initial version to 1000 :param portal_setup: The portal_setup tool
"Initial version to 1000\n\n :param portal_setup: The portal_setup tool"
32
false
senaite/senaite.lims
to_1000
39,052
LDU_FT/roanuz/py-cricket/get_player_stats
LDU_FT
[ "<BEGIN>\n## `set_value`", "Set key value to the file.", " The fuction will be make the key and value to dictinary formate.\n If its exist then it will update the current new key value to\n the file.\n Arg:\n key : cache key\n value : cache value\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_player_stats API. 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_player_stats API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Calling the Player Stats API Args: player_key: Key of the player board_key: key of the board Return: json data
"Calling the Player Stats API\n Args:\n player_key: Key of the player\n board_key: key of the board\n Return:\n json data"
72
false
roanuz/py-cricket
get_player_stats
39,053
LDU_FT/espressif/esptool/polynomial_multiply_mod
LDU_FT
[ "<BEGIN>\n## `decrypt`", "Decrypt a block of cipher text using the AES block cipher.\n<END>", "<BEGIN>\n## `increment`", "Increment the counter (overflow rolls back to 0).\n<END>", "<BEGIN>\n## `summary`", "Print a human-readable summary of efuse contents\n<END>", "<BEGIN>\n## `write_efuses`", "Write ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the polynomial_multiply_mod 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 polynomial_multiply_mod API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Polynomial multiplication modulo a polynomial over ints mod p. Polynomials are represented as lists of coefficients of increasing powers of x.
"Polynomial multiplication modulo a polynomial over ints mod p.\n\n Polynomials are represented as lists of coefficients\n of increasing powers of x."
199
false
espressif/esptool
polynomial_multiply_mod
39,054
LDU_FT/NeuroanatomyAndConnectivity/surfdist/dist_calc_matrix
LDU_FT
[ "<BEGIN>\n## `calc_surfdist`", "inputs:\n surface - surface file (e.g. lh.pial, with full path)\n labels - label file (e.g. lh.cortex.label, with full path)\n annot - annot file (e.g. lh.aparc.a2009s.annot, with full path)\n reg - registration file (lh.sphere.reg)\n origin - the label from which we calculate...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dist_calc_matrix API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dist_calc_matrix API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Calculate exact geodesic distance along cortical surface from set of source nodes. "labels" specifies the freesurfer label file to use. All values will be used other than those specified in "exceptions" (default: 'Unknown' and 'Medial_Wall'). returns: dist_mat: symmetrical nxn matrix of minimum dista...
"Calculate exact geodesic distance along cortical surface from set of source nodes.\n \"labels\" specifies the freesurfer label file to use. All values will be used other than those\n specified in \"exceptions\" (default: 'Unknown' and 'Medial_Wall').\n\n returns:\n dist_mat: symmetrical nxn matrix of min...
32
false
NeuroanatomyAndConnectivity/surfdist
dist_calc_matrix
39,055
LDU_FT/childsish/lhc-python/_parse_nested_interval
LDU_FT
[ "<BEGIN>\n## `_get_sorted_iterator`", "Get the iterator over the sorted items.", " This function decides whether the items can be sorted in memory or on disk.\n :return:\n<END>", "<BEGIN>\n## `_split`", "Splits the file into several chunks.", " If the original file is too big to fit i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_nested_interval 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 _parse_nested_interval API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Parses a super range. SuperRange ::= Range | Join | Complement
"Parses a super range.\n SuperRange ::= Range | Join | Complement"
76
false
childsish/lhc-python
_parse_nested_interval
39,056
LDU_FT/PyGithub/PyGithub/replace_topics
LDU_FT
[ "<BEGIN>\n## `add_membership`", ":calls: `PUT /teams/:id/memberships/:user <http://developer.github.com/v3/orgs/teams>`_\n :param member: :class:`github.Nameduser.NamedUser`\n :param role: string\n :rtype: None\n<END>", "<BEGIN>\n## `add_to_repos`", ":calls: `PUT /teams/:id/repos/:org/:re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_topics API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_topics API. 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...
:calls: `PUT /repos/:owner/:repo/topics <http://developer.github.com/v3/repos>`_ :param topics: list of strings :rtype: None
":calls: `PUT /repos/:owner/:repo/topics <http://developer.github.com/v3/repos>`_\n :param topics: list of strings\n :rtype: None"
520
false
PyGithub/PyGithub
replace_topics
39,057
LDU_FT/jopohl/urh/view_data
LDU_FT
[ "<BEGIN>\n## `bootstrap_modulator`", "Set initial parameters for default modulator if it was not edited by user previously\n :return:\n<END>", "<BEGIN>\n## `modulate_data`", ":param buffer: Buffer in which the modulated data shall be written, initialized with zeros\n :return:\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Get a representation of the ring buffer for plotting. This is expensive, so it should only be used in frontend :return:
"Get a representation of the ring buffer for plotting. This is expensive, so it should only be used in frontend\n :return:"
149
false
jopohl/urh
view_data
39,058
LDU_FT/MosesSymeonidis/aggregation_builder/graph_look_up
LDU_FT
[ "<BEGIN>\n## `add_raw`", "Adds row aggregation state at the query\n :param raw: list of raw stages or a dict of raw stage\n :return: The current object\n<END>", "<BEGIN>\n## `project`", "Adds a projection stage at the query\n :param id: Specifies if the id is in selected fields default va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the graph_look_up API. 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 graph_look_up API. 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...
Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter. :param _from: Target collection for the $graphLookup operation to search, recursively matching the connectFromField to the connectToField. :param _startWith: Expression that specifie...
"Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.\n :param _from: Target collection for the $graphLookup operation to search, recursively matching the connectFromField to the connectToField.\n :param _startWith: Expression that speci...
33
false
MosesSymeonidis/aggregation_builder
graph_look_up
39,059
LDU_FT/jamieleshaw/lurklib/join_
LDU_FT
[ "<BEGIN>\n## `find`", "Finds needle in haystack.\n If needle is found return True, if not return False.\n Required arguments:\n * haystack - Text to search in.\n * needle - Text to search for.\n<END>", "<BEGIN>\n## `send`", "Send a raw string with the CR-LF appended to it.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join_ API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join_ API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Joins a channel. Returns a tuple of information regarding the channel. Channel Information: * [0] - A tuple containing /NAMES. * [1] - Channel topic. * [2] - Tuple containing information regarding of whom set the topic. * [3] - Time object about when the topic was set. ...
"Joins a channel.\n Returns a tuple of information regarding the channel.\n Channel Information:\n * [0] - A tuple containing /NAMES.\n * [1] - Channel topic.\n * [2] - Tuple containing information regarding of whom set the topic.\n * [3] - Time object about when the topic was ...
112
false
jamieleshaw/lurklib
join_
39,060
LDU_FT/onnx/onnx-mxnet/import_model
LDU_FT
[ "<BEGIN>\n## `_convert_operator`", "Convert from onnx operator to mxnet operator.\n The converter must specify conversions explicitly for incompatible name, and\n apply handlers to operator attributes.", " Parameters\n ----------\n op_name : str\n Operator name, such as Convolution, FullyC...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_model API. 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 import_model API. 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...
Imports the supplied ONNX model file into MXNet symbol and parameters. Parameters ---------- model_file : ONNX model file name Returns ------- sym : mx.symbol Compatible mxnet symbol params : dict of str to mx.ndarray Dict of converted parameters stored in mx.ndarray forma...
"Imports the supplied ONNX model file into MXNet symbol and parameters.\n\n Parameters\n ----------\n model_file : ONNX model file name\n\n Returns\n -------\n sym : mx.symbol\n Compatible mxnet symbol\n\n params : dict of str to mx.ndarray\n Dict of converted parameters stored in mx....
55
false
onnx/onnx-mxnet
import_model
39,061
LDU_FT/nornir-automation/nornir/open
LDU_FT
[ "<BEGIN>\n## `start`", "Run the task for the given host.", " Arguments:\n host (:obj:`nornir.core.inventory.Host`): Host we are operating with. Populated right\n before calling the ``task``\n nornir(:obj:`nornir.core.Nornir`): Populated right before calling\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Connect to the device and populate the attribute :attr:`connection` with the underlying connection
"Connect to the device and populate the attribute :attr:`connection` with\n the underlying connection"
175
false
nornir-automation/nornir
open
39,062
LDU_FT/Adarnof/adarnauth-esi/require_valid
LDU_FT
[ "<BEGIN>\n## `sso_redirect`", "Generates a :model:`esi.CallbackRedirect` for the specified request.\n Redirects to EVE for login.\n Accepts a view or URL name as a redirect after SSO.\n<END>", "<BEGIN>\n## `receive_callback`", "Parses SSO callback, validates, retrieves :model:`esi.Token`, and internally...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_valid API. 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 require_valid API. 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...
Ensures all tokens are still valid. If expired, attempts to refresh. Deletes those which fail to refresh or cannot be refreshed. :return: All tokens which are still valid. :rtype: :class:`esi.managers.TokenQueryset`
"Ensures all tokens are still valid. If expired, attempts to refresh.\n Deletes those which fail to refresh or cannot be refreshed.\n :return: All tokens which are still valid.\n :rtype: :class:`esi.managers.TokenQueryset`"
45
false
Adarnof/adarnauth-esi
require_valid
39,063
LDU_FT/cqlengine/cqlengine/add_where_clause
LDU_FT
[ "<BEGIN>\n## `create_keyspace`", "creates a keyspace", " :param name: name of keyspace to create\n :param strategy_class: keyspace replication strategy class\n :param replication_factor: keyspace replication factor\n :param durable_writes: 1.2 only, write log is bypassed if set to False\n :param ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_where_clause API. 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 add_where_clause API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
adds a where clause to this statement :param clause: the clause to add :type clause: WhereClause
"adds a where clause to this statement\n :param clause: the clause to add\n :type clause: WhereClause"
65
false
cqlengine/cqlengine
add_where_clause
39,064
LDU_FT/COLORFULBOARD/revision/dest_path
LDU_FT
[ "<BEGIN>\n## `download`", ":param url:\n :type url: str\n :param dest_path:\n :type dest_path: str\n<END>", "<BEGIN>\n## `upload`", ":param url:\n :type url: str\n :param method:\n :type method: str\n :param file_path:\n :type file_path: str\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dest_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dest_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
:return: The destination path. :rtype: str
":return: The destination path.\n :rtype: str"
54
false
COLORFULBOARD/revision
dest_path
39,065
LDU_FT/brbsix/pip-utils/get_parents
LDU_FT
[ "<BEGIN>\n## `is_dependant`", "Determine whether `package` is a dependant of `project_name`.\n<END>", "<BEGIN>\n## `find_owners`", "Return the package(s) that file belongs to.\n<END>", "<BEGIN>\n## `is_owner`", "Determine whether `abspath` belongs to `package`.\n<END>", "<BEGIN>\n## `long_description`",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parents API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parents API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return sorted list of names of packages without dependants.
"Return sorted list of names of packages without dependants."
25
false
brbsix/pip-utils
get_parents
39,066
LDU_FT/eyeseast/propublica-congress/by_member
LDU_FT
[ "<BEGIN>\n## `filter`", "Takes a chamber and Congress,\n OR state and district, returning a list of members\n<END>", "<BEGIN>\n## `compare`", "See how often two members voted together in a given Congress.\n Takes two member IDs, a chamber and a Congress number.\n<END>", "<BEGIN>\n## `by_member...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the by_member API. 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 by_member API. 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...
Takes a bioguide ID and a type: (introduced|updated|cosponsored|withdrawn) Returns recent bills
"Takes a bioguide ID and a type:\n (introduced|updated|cosponsored|withdrawn)\n Returns recent bills"
23
false
eyeseast/propublica-congress
by_member
39,067
LDU_FT/insilichem/pychimera/chimera_view
LDU_FT
[ "<BEGIN>\n## `launch_ipython`", "Launch IPython from this interpreter with custom args if needed.\n Chimera magic commands are also enabled automatically.\n<END>", "<BEGIN>\n## `launch_notebook`", "Launch a Jupyter Notebook, with custom Untitled filenames and\n a prepopulated first cell with necessary b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chimera_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chimera_view API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Depicts the requested molecules with NGLViewer in a Python notebook. This method does not require a headless Chimera build, however. Parameters ---------- molecules : tuple of chimera.Molecule Molecules to display. If none is given, all present molecules in Chimera canvas will be displa...
"Depicts the requested molecules with NGLViewer in a Python notebook.\n This method does not require a headless Chimera build, however.\n\n Parameters\n ----------\n molecules : tuple of chimera.Molecule\n Molecules to display. If none is given, all present molecules\n in Chimera canvas will b...
35
false
insilichem/pychimera
chimera_view
39,068
LDU_FT/jay-johnson/antinex-client/generate_ai_request
LDU_FT
[ "<BEGIN>\n## `generate_ai_request`", "generate_ai_request", " :param predict_rows: list of predict rows to build into the request\n :param req_dict: request dictionary to update - for long-running clients\n :param req_file: file holding a request dict to update - one-off tests\n :param features: fea...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_ai_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. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_ai_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. T...
generate_ai_request :param predict_rows: list of predict rows to build into the request :param req_dict: request dictionary to update - for long-running clients :param req_file: file holding a request dict to update - one-off tests :param features: features to process in the data :param ignore_feat...
"generate_ai_request\n\n :param predict_rows: list of predict rows to build into the request\n :param req_dict: request dictionary to update - for long-running clients\n :param req_file: file holding a request dict to update - one-off tests\n :param features: features to process in the data\n :param igno...
46
false
jay-johnson/antinex-client
generate_ai_request
39,069
LDU_FT/Min-ops/cruddy/increment_counter
LDU_FT
[ "<BEGIN>\n## `describe`", "Returns descriptive information about this cruddy handler and the\n methods supported by it.\n<END>", "<BEGIN>\n## `search`", "Cruddy provides a limited but useful interface to search GSI indexes in\n DynamoDB with the following limitations (hopefully some of these wil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the increment_counter API. 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 increment_counter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Atomically increments a counter attribute in the item identified by ``id``. You must specify the name of the attribute as ``counter_name`` and, optionally, the ``increment`` which defaults to ``1``.
"Atomically increments a counter attribute in the item identified by\n ``id``. You must specify the name of the attribute as ``counter_name``\n and, optionally, the ``increment`` which defaults to ``1``."
36
false
Min-ops/cruddy
increment_counter
39,070
LDU_FT/rameshg87/pyremotevbox/RPC
LDU_FT
[ "<BEGIN>\n## `_check_typecode_list`", "Check a list of typecodes for compliance with Struct\n requirements.\n<END>", "<BEGIN>\n## `_get_type_or_substitute`", "return typecode or substitute type for wildcard or\n derived type. For serialization only.\n<END>", "<BEGIN>\n## `setDerivedTypeContents`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the RPC API. 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 RPC API. 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...
Send a request, return the reply. See Send() and Recieve() docstrings for details.
"Send a request, return the reply. See Send() and Recieve()\n docstrings for details."
529
false
rameshg87/pyremotevbox
RPC
39,071
LDU_FT/mozillazg/python-pinyin/load_phrases_dict
LDU_FT
[ "<BEGIN>\n## `convert_zero_consonant`", "零声母转换,还原原始的韵母", " i行的韵母,前面没有声母的时候,写成yi(衣),ya(呀),ye(耶),yao(腰),\n you(忧),yan(烟),yin(因),yang(央),ying(英),yong(雍)。", " u行的韵母,前面没有声母的时候,写成wu(乌),wa(蛙),wo(窝),wai(歪),\n wei(威),wan(弯),wen(温),wang(汪),weng(翁)。", " ü行的韵母,前面没有声母的时候,写成yu(迂),yue(约),yuan(冤),\n yun(晕...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_phrases_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_phrases_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
载入用户自定义的词语拼音库 :param phrases_dict: 词语拼音库。比如: ``{u"阿爸": [[u"ā"], [u"bà"]]}`` :param style: phrases_dict 参数值的拼音库风格. 支持 'default', 'tone2' :type phrases_dict: dict
"载入用户自定义的词语拼音库\n\n :param phrases_dict: 词语拼音库。比如: ``{u\"阿爸\": [[u\"ā\"], [u\"bà\"]]}``\n :param style: phrases_dict 参数值的拼音库风格. 支持 'default', 'tone2'\n :type phrases_dict: dict"
75
false
mozillazg/python-pinyin
load_phrases_dict
39,072