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/behave/behave-django/add_arguments
LDU_FT
[ "<BEGIN>\n## `add_command_arguments`", "Additional command line arguments for the behave management command\n<END>", "<BEGIN>\n## `add_behave_arguments`", "Additional command line arguments extracted directly from behave\n<END>", "<BEGIN>\n## `add_arguments`", "Add behave's and our command line arguments ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_arguments API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_arguments API. 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...
Add behave's and our command line arguments to the command
"Add behave's and our command line arguments to the command"
15
false
behave/behave-django
add_arguments
12,673
LDU_FT/xaptum/xtt-python/create_ecdsap256_key_pair
LDU_FT
[ "<BEGIN>\n## `create_ecdsap256_key_pair`", "Create a new ECDSAP256 key pair.", " :returns: a tuple of the public and private keys\n<END>", "<BEGIN>\n## `to_bytes`", "Converts the string to a bytes type, if not already.", " :s: the string to convert to bytes\n :returns: `str` on Python2 and `bytes...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_ecdsap256_key_pair API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_ecdsap256_key_pair API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Create a new ECDSAP256 key pair. :returns: a tuple of the public and private keys
"Create a new ECDSAP256 key pair.\n\n :returns: a tuple of the public and private keys"
26
false
xaptum/xtt-python
create_ecdsap256_key_pair
12,674
LDU_FT/graphql-python/graphql-core-next/does_fragment_condition_match
LDU_FT
[ "<BEGIN>\n## `uni_char_code`", "Convert unicode characters to integers.", " Converts four hexadecimal chars to the integer that the string represents.\n For example, uni_char_code('0','0','0','f') will return 15,\n and uni_char_code('0','0','f','f') returns 255.", " Returns a negative number on er...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the does_fragment_condition_match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the does_fragment_condition_match API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Determine if a fragment is applicable to the given type.
"Determine if a fragment is applicable to the given type."
470
false
graphql-python/graphql-core-next
does_fragment_condition_match
12,675
LDU_FT/mozillazg/baidu-pcs-python-sdk/meta
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 meta API. 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 meta API. 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...
获取单个文件或目录的元信息. :param remote_path: 网盘中文件/目录的路径,必须以 /apps/ 开头。 .. warning:: * 路径长度限制为1000; * 径中不能包含以下字符:``\\\\ ? | " > < : *``; * 文件名或路径名开头结尾不能是 ``.`` 或空...
"获取单个文件或目录的元信息.\n\n :param remote_path: 网盘中文件/目录的路径,必须以 /apps/ 开头。\n\n .. warning::\n * 路径长度限制为1000;\n * 径中不能包含以下字符:``\\\\\\\\ ? | \" > < : *``;\n * 文件名或路径名开头结尾不能是 ``.``\n ...
126
false
mozillazg/baidu-pcs-python-sdk
meta
12,676
LDU_FT/blockstack/blockstack-files/file_list
LDU_FT
[ "<BEGIN>\n## `file_key_lookup`", "Get the file-encryption GPG key for the given blockchain ID, by index.", " if index == 0, then give back the current key\n if index > 0, then give back an older (revoked) key.\n if key_id is given, index and hostname will be ignored", " Return {'status': True, 'ke...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
List all files uploaded to a particular blockchain ID Return {'status': True, 'listing': list} on success Return {'error': ...} on error
"List all files uploaded to a particular blockchain ID\n Return {'status': True, 'listing': list} on success\n Return {'error': ...} on error"
28
false
blockstack/blockstack-files
file_list
12,677
LDU_FT/4Kaylum/Brickfront/getReviews
LDU_FT
[ "<BEGIN>\n## `checkResponse`", "Returns if a request has an okay error code, otherwise raises InvalidRequest.\n<END>", "<BEGIN>\n## `checkKey`", "Checks that an API key is valid.", " :param str key: (optional) A key that you want to check the validity of. Defaults to the one provided on initializatio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getReviews API. 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 getReviews API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get the reviews for a set. :param str setID: The ID of the set you want to get the reviews of. :returns: A list of reviews. :rtype: List[:class:`brickfront.review.Review`] .. warning:: An empty list will be returned if there are no reviews, or if the set ID is invalid.
"Get the reviews for a set.\n\n :param str setID: The ID of the set you want to get the reviews of.\n :returns: A list of reviews.\n :rtype: List[:class:`brickfront.review.Review`]\n .. warning:: An empty list will be returned if there are no reviews, or if the set ID is invalid."
33
false
4Kaylum/Brickfront
getReviews
12,678
LDU_FT/Tinche/cattrs/structure
LDU_FT
[ "<BEGIN>\n## `make_dict_unstructure_fn`", "Generate a specialized dict unstructuring function for a class.\n<END>", "<BEGIN>\n## `unstruct_strat`", "The default way of unstructuring ``attrs`` classes.\n<END>", "<BEGIN>\n## `register_structure_hook`", "Register a primitive-to-class converter function for a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the structure API. 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 structure API. 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...
Convert unstructured Python data structures to structured data.
"Convert unstructured Python data structures to structured data."
43
false
Tinche/cattrs
structure
12,679
LDU_FT/ronniedada/tabula/apply_meta
LDU_FT
[ "<BEGIN>\n## `size`", "Return the viewable size of the Table as @tuple (x,y)\n<END>", "<BEGIN>\n## `get_ftr`", "Process footer and return the processed string\n<END>", "<BEGIN>\n## `conv_units`", "Format and convert units to be more human readable", " @return new val with converted units\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_meta API. 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 apply_meta API. 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...
Apply metadata to help formatting the output: - conv_funcs: convert data before column alignments - deco_funcs: decorate data after column alignments
"Apply metadata to help formatting the output:\n\n - conv_funcs: convert data before column alignments\n - deco_funcs: decorate data after column alignments"
25
false
ronniedada/tabula
apply_meta
12,680
LDU_FT/ofir123/py-printer/_unit_info
LDU_FT
[ "<BEGIN>\n## `get_printer`", "Returns an already initialized instance of the printer.", " :param colors: If False, no colors will be printed.\n :param width_limit: If True, printing width will be limited by console width.\n :param disabled: If True, nothing will be printed.\n<END>", "<BEGIN>\n## `_ge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unit_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unit_info API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns both the best unit to measure the size, and its power. :return: A tuple containing the unit and its power.
"Returns both the best unit to measure the size, and its power.\n\n :return: A tuple containing the unit and its power."
46
false
ofir123/py-printer
_unit_info
12,681
LDU_FT/daler/trackhub/default_hub
LDU_FT
[ "<BEGIN>\n## `default_hub`", "Returns a fully-connected set of hub components using default filenames.", " Parameters\n ----------", " hub_name : str\n Name of the hub", " genome : str\n Assembly name (hg38, dm6, etc)", " email : str\n Email to include with hub.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_hub API. 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 default_hub API. 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...
Returns a fully-connected set of hub components using default filenames. Parameters ---------- hub_name : str Name of the hub genome : str Assembly name (hg38, dm6, etc) email : str Email to include with hub. short_label : str Short label for the hub. If None...
"Returns a fully-connected set of hub components using default filenames.\n\n Parameters\n ----------\n\n hub_name : str\n Name of the hub\n\n genome : str\n Assembly name (hg38, dm6, etc)\n\n email : str\n Email to include with hub.\n\n short_label : str\n Short label for ...
111
false
daler/trackhub
default_hub
12,682
LDU_FT/steven-lang/bottr/start
LDU_FT
[ "<BEGIN>\n## `stop`", "Stops this bot.", " Returns as soon as all running threads have finished processing.\n<END>", "<BEGIN>\n## `_listen_comments`", "Start listening to comments, using a separate thread.\n<END>", "<BEGIN>\n## `start`", "Starts this bot in a separate thread. Therefore, this call...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API. 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 start API. 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...
Starts this bot in a separate thread. Therefore, this call is non-blocking. It will listen to all new inbox messages created.
"Starts this bot in a separate thread. Therefore, this call is non-blocking.\n\n It will listen to all new inbox messages created."
45
false
steven-lang/bottr
start
12,683
LDU_FT/atmos-python/atmos/overridden_by_assumptions
LDU_FT
[ "<BEGIN>\n## `assumes`", "Stores a function's assumptions as an attribute.\n<END>", "<BEGIN>\n## `overridden_by_assumptions`", "Stores what assumptions a function is overridden by as an attribute.\n<END>", "<BEGIN>\n## `equation_docstring`", "Creates a decorator that adds a docstring to an equation functi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overridden_by_assumptions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overridden_by_assumptions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Stores what assumptions a function is overridden by as an attribute.
"Stores what assumptions a function is overridden by as an attribute."
126
false
atmos-python/atmos
overridden_by_assumptions
12,684
LDU_FT/jhazelwo/python-fileasobj/replace
LDU_FT
[ "<BEGIN>\n## `example_add_line_to_file`", "Different methods to append a given line to the file, all work the same.\n<END>", "<BEGIN>\n## `example_write_file_to_disk_if_changed`", "Try to remove all comments from a file, and save it if changes were made.\n<END>", "<BEGIN>\n## `read`", "Read given_file to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Replace all lines of file that match 'old' with 'new' Will replace duplicates if found. :param old: String, List of Strings, a multi-line String, or False; what to replace. :param new: String; what to use as replacement. :return: Boolean; whether contents changed during method call.
"Replace all lines of file that match 'old' with 'new'\n\n Will replace duplicates if found.\n\n :param old: String, List of Strings, a multi-line String, or False; what to replace.\n :param new: String; what to use as replacement.\n\n :return: Boolean; whether contents changed during method...
39
false
jhazelwo/python-fileasobj
replace
12,685
LDU_FT/liminspace/dju-image/is_image
LDU_FT
[ "<BEGIN>\n## `image_get_format`", "Return image format for file-object f. (jpeg, png, gif etc.)\n All formats: http://pillow.readthedocs.org/en/latest/handbook/image-file-formats.html\n Example:\n if image_get_format(request.FILES['image']) == 'jpeg':\n print 'Image is JPEG'", " i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return True if file f is image (types type) and set its correct content_type and filename extension. Example: if is_image(request.FILES['file']): print 'File is image' if is_image(open('/tmp/image.jpeg', 'rb')): print 'File is image'
"Return True if file f is image (types type) and set its correct content_type and filename extension.\n Example:\n if is_image(request.FILES['file']):\n print 'File is image'\n\n if is_image(open('/tmp/image.jpeg', 'rb')):\n print 'File is image'"
36
false
liminspace/dju-image
is_image
12,686
LDU_FT/hfaran/piazza-api/mark_as_duplicate
LDU_FT
[ "<BEGIN>\n## `user_login`", "Login with email, password and get back a session cookie", " :type email: str\n :param email: The email used for authentication\n :type password: str\n :param password: The password used for authentication\n<END>", "<BEGIN>\n## `demo_login`", "Authe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mark_as_duplicate API. 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 mark_as_duplicate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Mark the post at ``duplicated_cid`` as a duplicate of ``master_cid`` :type duplicated_cid: int :param duplicated_cid: The numeric id of the duplicated post :type master_cid: int :param master_cid: The numeric id of an older post. This will be the post that gets kept and ``...
"Mark the post at ``duplicated_cid`` as a duplicate of ``master_cid``\n\n :type duplicated_cid: int\n :param duplicated_cid: The numeric id of the duplicated post\n :type master_cid: int\n :param master_cid: The numeric id of an older post. This will be the\n post that gets kept...
100
false
hfaran/piazza-api
mark_as_duplicate
12,687
LDU_FT/eventable/vobject/transformFromNative
LDU_FT
[ "<BEGIN>\n## `toVName`", "Turn a Python name into an iCalendar style name,\n optionally uppercase and with characters stripped off.\n<END>", "<BEGIN>\n## `dquoteEscape`", "Return param, or \"param\" if ',' or ';' or ':' is in param.\n<END>", "<BEGIN>\n## `readComponents`", "Generate one Component at a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transformFromNative 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 transformFromNative 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...
Replace the date, datetime or period tuples in obj.value with appropriate strings.
"Replace the date, datetime or period tuples in obj.value with\n appropriate strings."
138
false
eventable/vobject
transformFromNative
12,688
LDU_FT/melizalab/arf/set_uuid
LDU_FT
[ "<BEGIN>\n## `open_file`", "Open an ARF file, creating as necessary.", " Use this instead of h5py.File to ensure that root-level attributes and group\n creation property lists are set correctly.\n<END>", "<BEGIN>\n## `create_entry`", "Create a new ARF entry under group, setting required attributes.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_uuid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_uuid API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Set the uuid attribute of an HDF5 object. Use this method to ensure correct dtype
"Set the uuid attribute of an HDF5 object. Use this method to ensure correct dtype"
45
false
melizalab/arf
set_uuid
12,689
LDU_FT/sass/libsass-python/build
LDU_FT
[ "<BEGIN>\n## `build_directory`", "Compiles all Sass/SCSS files in ``path`` to CSS.", " :param sass_path: the path of the directory which contains source files\n to compile\n :type sass_path: :class:`str`, :class:`basestring`\n :param css_path: the path of the directory compiled CSS...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API. 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 build API. 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...
Builds the Sass/SCSS files in the specified :attr:`sass_path`. It finds :attr:`sass_path` and locates :attr:`css_path` as relative to the given ``package_dir``. :param package_dir: the path of package directory :type package_dir: :class:`str`, :class:`basestring` :param output_s...
"Builds the Sass/SCSS files in the specified :attr:`sass_path`.\n It finds :attr:`sass_path` and locates :attr:`css_path`\n as relative to the given ``package_dir``.\n\n :param package_dir: the path of package directory\n :type package_dir: :class:`str`, :class:`basestring`\n :param o...
80
false
sass/libsass-python
build
12,690
LDU_FT/romana/vpc-router/_get_real_instance_if_mismatch
LDU_FT
[ "<BEGIN>\n## `_do_tcp_check`", "Attempt to establish a TCP connection.", " If not successful, record the IP in the results dict.", " Always closes the connection at the end.\n<END>", "<BEGIN>\n## `do_health_checks`", "Perform a health check on a list of IP addresses.", " Each check ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_real_instance_if_mismatch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_real_instance_if_mismatch API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Return the real instance for the given IP address, if that instance is different than the passed in instance or has a different eni. If the ipaddr belongs to the same instance and eni that was passed in then this returns None.
"Return the real instance for the given IP address, if that instance is\n different than the passed in instance or has a different eni.\n\n If the ipaddr belongs to the same instance and eni that was passed in then\n this returns None."
207
false
romana/vpc-router
_get_real_instance_if_mismatch
12,691
LDU_FT/paul-wolf/strgen/dump
LDU_FT
[ "<BEGIN>\n## `getSource`", "Extract the identifier out of this construct: ${mylist}: mylist\n<END>", "<BEGIN>\n## `getCharacterSet`", "Get a character set with individual members or ranges.", " Current index is on '[', the start of the character set.\n<END>", "<BEGIN>\n## `getLiteral`", "Get a se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Print the parse tree and then call render for an example.
"Print the parse tree and then call render for an example."
14
false
paul-wolf/strgen
dump
12,692
LDU_FT/sqlalchemy-redshift/sqlalchemy-redshift/visit_unload_from_select
LDU_FT
[ "<BEGIN>\n## `gen_columns_from_children`", "Generates columns that are being used in child elements of the delete query\n this will be used to determine tables for the using clause.\n :param root: the delete query\n :return: a generator of columns\n<END>", "<BEGIN>\n## `visit_delete_stmt`", "Adds red...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_unload_from_select API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_unload_from_select API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Returns the actual sql query for the UnloadFromSelect class.
"Returns the actual sql query for the UnloadFromSelect class."
48
false
sqlalchemy-redshift/sqlalchemy-redshift
visit_unload_from_select
12,693
LDU_FT/ethereum/web3.py/fromWeb3
LDU_FT
[ "<BEGIN>\n## `solidityKeccak`", "Executes keccak256 exactly as Solidity does.\n Takes list of abi_types as inputs -- `[uint24, int8[], bool]`\n and list of corresponding values -- `[20, [-1, 5, 0], True]`\n<END>", "<BEGIN>\n## `gas_price_strategy_middleware`", "Includes a gas price using the ga...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromWeb3 API. 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 fromWeb3 API. 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...
Generate an ENS instance with web3 :param `web3.Web3` web3: to infer connection information :param hex-string addr: the address of the ENS registry on-chain. If not provided, ENS.py will default to the mainnet ENS registry address.
"Generate an ENS instance with web3\n\n :param `web3.Web3` web3: to infer connection information\n :param hex-string addr: the address of the ENS registry on-chain. If not provided,\n ENS.py will default to the mainnet ENS registry address."
268
false
ethereum/web3.py
fromWeb3
12,694
LDU_FT/JukeboxPipeline/jukeboxmaya/get_namespace
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 get_namespace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_namespace API. 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 a suitable name for a namespace for the taskfileinfo Returns the name of the shot/asset with a "_1" suffix. When you create the namespace the number will automatically be incremented by Maya. :param taskfileinfo: the taskfile info for the file that needs a namespace :type taskfileinfo: :class:`...
"Return a suitable name for a namespace for the taskfileinfo\n\n Returns the name of the shot/asset with a \"_1\" suffix.\n When you create the namespace the number will automatically be incremented by Maya.\n\n :param taskfileinfo: the taskfile info for the file that needs a namespace\n :type taskfileinfo:...
241
false
JukeboxPipeline/jukeboxmaya
get_namespace
12,695
LDU_FT/GoogleCloudPlatform/appengine-pipelines/start
LDU_FT
[ "<BEGIN>\n## `_get_task_target`", "Get the default target for a pipeline task.", " Current version id format is: user_defined_version.minor_version_number\n Current module id is just the module's name. It could be \"default\"", " Returns:\n A complete target name is of format version.module. If module i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API. 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 start API. 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...
Starts a pipeline. Args: pipeline: Pipeline instance to run. return_task: When True, do not submit the task to start the pipeline but instead return it for someone else to enqueue. countdown: Time in seconds into the future that this Task should execute. Defaults to zero. et...
"Starts a pipeline.\n\n Args:\n pipeline: Pipeline instance to run.\n return_task: When True, do not submit the task to start the pipeline\n but instead return it for someone else to enqueue.\n countdown: Time in seconds into the future that this Task should execute.\n Defaults to zero.\...
222
false
GoogleCloudPlatform/appengine-pipelines
start
12,696
LDU_FT/edx/bok-choy/map
LDU_FT
[ "<BEGIN>\n## `wait_for_js`", "Method decorator that waits for JavaScript dependencies before executing `function`.\n If the function is not a method, the decorator has no effect.", " Args:\n function (callable): Method to decorate.", " Returns:\n Decorated method\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted doc...
Return a copy of this query, with the values mapped through `map_fn`. Args: map_fn (callable): A callable that takes a single argument and returns a new value. Keyword Args: desc (str): A description of the mapping transform, for use in log message. Defaults to ...
"Return a copy of this query, with the values mapped through `map_fn`.\n\n Args:\n map_fn (callable): A callable that takes a single argument and returns a new value.\n\n Keyword Args:\n desc (str): A description of the mapping transform, for use in log message.\n Defa...
254
false
edx/bok-choy
map
12,697
LDU_FT/ladybug-tools/uwg/urbflux
LDU_FT
[ "<BEGIN>\n## `solarcalcs`", "Solar Calculation\n Mutates RSM, BEM, and UCM objects based on following parameters:\n UCM # Urban Canopy - Building Energy Model object\n BEM # Building Energy Model object\n simTime # Simulation time bbject\n RSM...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the urbflux API. 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 urbflux API. 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...
Calculate the surface heat fluxes Output: [UCM,UBL,BEM]
"Calculate the surface heat fluxes\n Output: [UCM,UBL,BEM]"
53
false
ladybug-tools/uwg
urbflux
12,698
LDU_FT/myint/cppclean/builder_from_source
LDU_FT
[ "<BEGIN>\n## `get_tokens`", "Returns a sequence of Tokens.", " Args:\n source: string of C++ source code.", " Yields:\n Token that represents the next token in the source.\n<END>", "<BEGIN>\n## `_find`", "Return index of sub_string in string.", " Raise TokenError if sub_string is not ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the builder_from_source API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the builder_from_source API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Utility method that returns an ASTBuilder from source code. Args: source: 'C++ source code' filename: 'file1' Returns: ASTBuilder
"Utility method that returns an ASTBuilder from source code.\n\n Args:\n source: 'C++ source code'\n filename: 'file1'\n\n Returns:\n ASTBuilder"
48
false
myint/cppclean
builder_from_source
12,699
LDU_FT/jstitch/MambuPy/postprocess
LDU_FT
[ "<BEGIN>\n## `convertDict2Attrs`", "The trick for iterable Mambu Objects comes here:", " You iterate over each element of the responded List from Mambu,\n and create a Mambu Activity object for each one, initializing\n them one at a time, and changing the attrs attribute (which just\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the postprocess API. 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 postprocess API. 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...
Postprocessing. Just in case some elements on the addresses was converted to anything but string, it gets converted back to only string (unicode). Things on addresses are not useful but by what they say, not what they are. .. todo:: do the same thing to the 'address' field created on ...
"Postprocessing.\n\n Just in case some elements on the addresses was converted to\n anything but string, it gets converted back to only string\n (unicode). Things on addresses are not useful but by what they\n say, not what they are.\n\n.. todo:: do the same thing to the 'address' field crea...
357
false
jstitch/MambuPy
postprocess
12,700
LDU_FT/SpriteLink/NIPAP/save
LDU_FT
[ "<BEGIN>\n## `_serve_file`", "Call Paste's FileApp (a WSGI application) to serve the file\n at the specified path\n<END>", "<BEGIN>\n## `extract_prefix_attr`", "Extract prefix attributes from arbitary dict.\n<END>", "<BEGIN>\n## `extract_pool_attr`", "Extract pool attributes from arbitary dict.\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Save prefix to NIPAP. If the object represents a new prefix unknown to NIPAP (attribute `id` is `None`) this function maps to the function :py:func:`nipap.backend.Nipap.add_prefix` in the backend, used to create a new prefix. Otherwise it maps to the function ...
"Save prefix to NIPAP.\n\n If the object represents a new prefix unknown to NIPAP (attribute\n `id` is `None`) this function maps to the function\n :py:func:`nipap.backend.Nipap.add_prefix` in the backend, used to\n create a new prefix. Otherwise it maps to the function\n ...
454
false
SpriteLink/NIPAP
save
12,701
LDU_FT/instacart/jardin/select
LDU_FT
[ "<BEGIN>\n## `index_by`", "Returns a dict with a key for each value of `field` and the first record with that value as value.\n :param field: Name of the field to index by.\n :type field: string.\n<END>", "<BEGIN>\n## `destroy`", "Deletes the record. If the model has ``soft_delete`` activated, t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Perform a SELECT statement on the model's table in the replica database. :param select: Columns to return in the SELECT statement. :type select: string, array, dict :param where: WHERE clause of the SELECT statement. This can be a plain string, a dict or an array. :type where: string, d...
"Perform a SELECT statement on the model's table in the replica database.\n\n :param select: Columns to return in the SELECT statement.\n :type select: string, array, dict\n :param where: WHERE clause of the SELECT statement. This can be a plain string, a dict or an array.\n :type where: str...
41
false
instacart/jardin
select
12,702
LDU_FT/danilobellini/audiolazy/gammatone
LDU_FT
[ "<BEGIN>\n## `deprecate`", "A deprecation warning emmiter as a decorator.\n<END>", "<BEGIN>\n## `get_module_names`", "All names in the package directory that matches the given glob, without\n their extension. Repeated names should appear only once.\n<END>", "<BEGIN>\n## `get_modules`", "List of module ob...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gammatone API. 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 gammatone API. 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...
``Slaney, M. "An Efficient Implementation of the Patterson-Holdsworth Auditory Filter Bank", Apple Computer Technical Report #35, 1993.``
"``Slaney, M. \"An Efficient Implementation of the Patterson-Holdsworth\n Auditory Filter Bank\", Apple Computer Technical Report #35, 1993.``"
578
false
danilobellini/audiolazy
gammatone
12,703
LDU_FT/goodmami/penman/alphanum_order
LDU_FT
[ "<BEGIN>\n## `alphanum_order`", "Sort a list of triples by relation name.", " Embedded integers are sorted numerically, but otherwise the sorting\n is alphabetic.\n<END>", "<BEGIN>\n## `decode`", "Deserialize PENMAN-serialized *s* into its Graph object", " Args:\n s: a string containing a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alphanum_order API. 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 alphanum_order API. 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...
Sort a list of triples by relation name. Embedded integers are sorted numerically, but otherwise the sorting is alphabetic.
"Sort a list of triples by relation name.\n\n Embedded integers are sorted numerically, but otherwise the sorting\n is alphabetic."
59
false
goodmami/penman
alphanum_order
12,704
LDU_FT/havardgulldahl/jottalib/deleted
LDU_FT
[ "<BEGIN>\n## `get_auth_info`", "Get authentication details to jottacloud.", " Will first check environment variables, then the .netrc file.\n<END>", "<BEGIN>\n## `calculate_md5`", "Utility function to calculate md5 hashes while being light on memory usage.", " By reading the fileobject piece by piec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deleted API. 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 deleted API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return datetime.datetime or None if the file isnt deleted
"Return datetime.datetime or None if the file isnt deleted"
111
false
havardgulldahl/jottalib
deleted
12,705
LDU_FT/yatiml/yatiml/add_to_loader
LDU_FT
[ "<BEGIN>\n## `class_subobjects`", "Find the aggregated subobjects of an object.", " These are the public attributes.", " Args:\n class_: The class whose subobjects to return.", " Yields:\n Tuples (name, type, required) describing subobjects.\n<END>", "<BEGIN>\n## `__sweeten`", "Ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_to_loader API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_to_loader API. 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...
Registers one or more classes with a YAtiML loader. Once a class has been registered, it can be recognized and \ constructed when reading a YAML text. Args: loader_cls: The loader to register the classes with. classes: The class(es) to register, a plain Python class or a \ ...
"Registers one or more classes with a YAtiML loader.\n\n Once a class has been registered, it can be recognized and \\\n constructed when reading a YAML text.\n\n Args:\n loader_cls: The loader to register the classes with.\n classes: The class(es) to register, a plain Python class or a \\\n ...
224
false
yatiml/yatiml
add_to_loader
12,706
LDU_FT/AdvancedClimateSystems/uModbus/_create_mbap_header
LDU_FT
[ "<BEGIN>\n## `pdu_to_function_code_or_raise_error`", "Parse response PDU and return of :class:`ModbusFunction` or\n raise error.", " :param resp_pdu: PDU of response.\n :return: Subclass of :class:`ModbusFunction` matching the response.\n :raises ModbusError: When response contains error code.\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_mbap_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_mbap_header API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Return byte array with MBAP header for PDU. :param slave_id: Number of slave. :param pdu: Byte array with PDU. :return: Byte array of 7 bytes with MBAP header.
"Return byte array with MBAP header for PDU.\n\n :param slave_id: Number of slave.\n :param pdu: Byte array with PDU.\n :return: Byte array of 7 bytes with MBAP header."
186
false
AdvancedClimateSystems/uModbus
_create_mbap_header
12,707
LDU_FT/moonso/loqusdb/get_variants
LDU_FT
[ "<BEGIN>\n## `update_database`", "Update a case in the database", " Args:\n adapter: Connection to database\n variant_file(str): Path to variant file\n sv_file(str): Path to sv variant file\n family_file(str): Path to family file\n family_type(str): Format of fami...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variants API. 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_variants API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return all variants in the database If no region is specified all variants will be returned. Args: chromosome(str) start(int) end(int) Returns: variants(Iterable(Variant))
"Return all variants in the database\n If no region is specified all variants will be returned.\n\n Args:\n chromosome(str)\n start(int)\n end(int)\n \n \n Returns:\n variants(Iterable(Variant))"
216
false
moonso/loqusdb
get_variants
12,708
LDU_FT/jim-easterbrook/pywws/before
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 before API. 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 before API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return datetime of newest existing data record whose datetime is < idx. If no such record exists, return None.
"Return datetime of newest existing data record whose datetime\n is < idx. If no such record exists, return None."
210
false
jim-easterbrook/pywws
before
12,709
LDU_FT/yt-project/unyt/in_base
LDU_FT
[ "<BEGIN>\n## `uconcatenate`", "Concatenate a sequence of arrays.", " This wrapper around numpy.concatenate preserves units. All input arrays\n must have the same units. See the documentation of numpy.concatenate for\n full details.", " Examples\n --------\n >>> from unyt import cm\n >>> ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the in_base API. 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 in_base API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Creates a copy of this array with the data in the specified unit system, and returns it in that system's base units. Parameters ---------- unit_system : string, optional The unit system to be used in the conversion. If not specified, the configured default base u...
"Creates a copy of this array with the data in the specified unit\n system, and returns it in that system's base units.\n\n Parameters\n ----------\n unit_system : string, optional\n The unit system to be used in the conversion. If not specified,\n the configured defaul...
236
false
yt-project/unyt
in_base
12,710
LDU_FT/bkabrda/anymarkup-core/_guess_fmt_from_bytes
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse input from file-like object, unicode string or byte string.", " Args:\n inp: file-like object, unicode string or byte string with the markup\n format: explicitly override the guessed `inp` markup format\n encoding: `inp` encoding, defaults to utf-8\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _guess_fmt_from_bytes 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 _guess_fmt_from_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Try to guess format of given bytestring. Args: inp: byte string to guess format of Returns: guessed format
"Try to guess format of given bytestring.\n\n Args:\n inp: byte string to guess format of\n Returns:\n guessed format"
29
false
bkabrda/anymarkup-core
_guess_fmt_from_bytes
12,711
LDU_FT/Cog-Creators/Red-Lavalink/connect
LDU_FT
[ "<BEGIN>\n## `wait_until_ready`", "Waits for the underlying node to become ready.", " If no_raise is set, returns false when a timeout occurs instead of propogating TimeoutError.\n A timeout of None means to wait indefinitely.\n<END>", "<BEGIN>\n## `connect`", "Connects to the voice channel as...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API. 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 connect API. 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...
Connects to a discord voice channel. This is the publicly exposed way to connect to a discord voice channel. The :py:func:`initialize` function must be called first! Parameters ---------- channel Returns ------- Player The created Player object. Raises ------ Inde...
"Connects to a discord voice channel.\n\n This is the publicly exposed way to connect to a discord voice channel.\n The :py:func:`initialize` function must be called first!\n\n Parameters\n ----------\n channel\n\n Returns\n -------\n Player\n The created Player object.\n\n Raises\n ...
103
false
Cog-Creators/Red-Lavalink
connect
12,712
LDU_FT/codelv/enaml-native/pop_result
LDU_FT
[ "<BEGIN>\n## `init_layout`", "Initialize the layout of the toolkit widget.", " This method is called during the bottom-up pass. This method\n should initialize the layout of the widget. The child widgets\n will be fully initialized and layed out when this is called.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop_result API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop_result API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns the result for ``key`` and unregisters it.
"Returns the result for ``key`` and unregisters it."
573
false
codelv/enaml-native
pop_result
12,713
LDU_FT/brandon-rhodes/uncommitted/find_repositories_with_locate
LDU_FT
[ "<BEGIN>\n## `run`", "Run `command`, catch any exception, and return lines of output.\n<END>", "<BEGIN>\n## `find_repositories_with_locate`", "Use locate to return a sequence of (directory, dotdir) pairs.\n<END>", "<BEGIN>\n## `find_repositories_by_walking_without_following_symlinks`", "Walk a tree and re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_repositories_with_locate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_repositories_with_locate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Use locate to return a sequence of (directory, dotdir) pairs.
"Use locate to return a sequence of (directory, dotdir) pairs."
19
false
brandon-rhodes/uncommitted
find_repositories_with_locate
12,714
LDU_FT/mcieslik-mctp/papy/get_inputs
LDU_FT
[ "<BEGIN>\n## `_inspect`", "(internal) Determines the type of a given ``object``. Discriminates between \n ``Piper``, ``Worker``, ``FunctionType`` and ``Iterable`` instances. It \n returns a ``tuple`` of boolean variables i.e: (is_piper, is_worker, \n is_function, is_iterable_of_pipers, is_iterable_of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_inputs API. 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_inputs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns ``Piper`` instances, which are inputs to the pipeline i.e. have no incoming pipes (outgoing dependency edges).
"Returns ``Piper`` instances, which are inputs to the pipeline i.e. have \n no incoming pipes (outgoing dependency edges)."
323
false
mcieslik-mctp/papy
get_inputs
12,715
LDU_FT/pbrisk/timewave/evolve
LDU_FT
[ "<BEGIN>\n## `initialize_worker`", "inits producer for a simulation run on a single process\n<END>", "<BEGIN>\n## `initialize_path`", "inits producer for next path, i.e. sets current state to initial state\n<END>", "<BEGIN>\n## `evolve`", "evolve to the new process state at the next date, i.e. do one step...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evolve API. 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 evolve API. 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 ...
evolve to the new process state at the next date :param date new_date: date or point in time of the new state :return State:
"evolve to the new process state at the next date\n\n :param date new_date: date or point in time of the new state\n :return State:"
50
false
pbrisk/timewave
evolve
12,716
LDU_FT/klichukb/django-migrate-sql/_generate_altered_sql_dependencies
LDU_FT
[ "<BEGIN>\n## `build_current_graph`", "Read current state of SQL items from the current project state.", " Returns:\n (SQLStateGraph) Current project state graph.\n<END>", "<BEGIN>\n## `build_graph`", "Read lazy dependency list and build graph.\n<END>", "<BEGIN>\n## `_sql_params`", "Identify `s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_altered_sql_dependencies API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_altered_sql_dependencies API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its...
Generate forward operations for changing/creating SQL item dependencies. Dependencies are only in-memory and should be reflecting database dependencies, so changing them in SQL config does not alter database. Such actions are persisted in separate type operation - `AlterSQLState`. Args...
"Generate forward operations for changing/creating SQL item dependencies.\n\n Dependencies are only in-memory and should be reflecting database dependencies, so\n changing them in SQL config does not alter database. Such actions are persisted in separate\n type operation - `AlterSQLState`.\n\n ...
32
false
klichukb/django-migrate-sql
_generate_altered_sql_dependencies
12,717
LDU_FT/harmsm/PyCmdMessenger/receive
LDU_FT
[ "<BEGIN>\n## `send`", "Send a command (which may or may not have associated arguments) to an \n arduino using the CmdMessage protocol. The command and any parameters\n should be passed as direct arguments to send. ", " arg_formats is an optional string that specifies the formats to use fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the receive API. 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 receive API. 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...
Recieve commands coming off the serial port. arg_formats is an optimal keyword that specifies the formats to use to parse incoming arguments. If specified here, arg_formats supercedes the formats specified on initialization.
"Recieve commands coming off the serial port. \n\n arg_formats is an optimal keyword that specifies the formats to use to\n parse incoming arguments. If specified here, arg_formats supercedes\n the formats specified on initialization."
33
false
harmsm/PyCmdMessenger
receive
12,718
LDU_FT/ScienceLogic/ovfexporter/validate_save_dir
LDU_FT
[ "<BEGIN>\n## `parse_args`", "Argument parser and validator\n :return: args\n<END>", "<BEGIN>\n## `validate_args`", "Call all required validation functions\n :param args:\n :return:\n<END>", "<BEGIN>\n## `convert`", "Download VM disks, and OVF from vCenter\n :param args:\n :return: created v...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_save_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_save_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Validate that the save directory exists, if not, create it :return: str directory
"Validate that the save directory exists, if not, create it\n :return: str directory"
24
false
ScienceLogic/ovfexporter
validate_save_dir
12,719
LDU_FT/jonathansick/paperweight/bib_name
LDU_FT
[ "<BEGIN>\n## `read_git_blob`", "Get text from a git blob.", " Parameters\n ----------\n commit_ref : str\n Any SHA or git tag that can resolve into a commit in the\n git repository.\n path : str\n Path to the document in the git repository, relative to the root\n of the r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bib_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bib_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Name of the BibTeX bibliography file (e.g., ``'mybibliography.bib'``).
"Name of the BibTeX bibliography file (e.g.,\n ``'mybibliography.bib'``)."
60
false
jonathansick/paperweight
bib_name
12,720
LDU_FT/authomatic/liveandletdie/_normalize_check_url
LDU_FT
[ "<BEGIN>\n## `port_in_use`", "Checks whether a port is free or not.", " :param int port:\n The port number to check for.", " :param bool kill:\n If ``True`` the process will be killed.", " :returns:\n The process id as :class:`int` if in use, otherwise ``False`` .\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _normalize_check_url 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 _normalize_check_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Normalizes check_url by: * Adding the `http` scheme if missing * Adding or replacing port with `self.port`
"Normalizes check_url by:\n\n * Adding the `http` scheme if missing\n * Adding or replacing port with `self.port`"
22
false
authomatic/liveandletdie
_normalize_check_url
12,721
LDU_FT/cloudmesh-cmd3/cmd3/get_plugins
LDU_FT
[ "<BEGIN>\n## `do_clear`", "Usage:\n clear", " Clears the screen.\n<END>", "<BEGIN>\n## `do_banner`", "::", " Usage:\n banner [-c CHAR] [-n WIDTH] [-i INDENT] [-r COLOR] TEXT", " Arguments:\n TEXT The text message from which to creat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_plugins API. 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_plugins API. 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...
returns the list of plugins from the specified directory :param directory: directory that contains the plugins. Files starting with _ will be ignored.
"returns the list of plugins from the specified directory\n :param directory: directory that contains the plugins. Files starting with _ will be ignored."
184
false
cloudmesh-cmd3/cmd3
get_plugins
12,722
LDU_FT/thornomad/django-hitcount/delete_hit_count_handler
LDU_FT
[ "<BEGIN>\n## `filter_active`", "Return only the 'active' hits.", " How you count a hit/view will depend on personal choice: Should the\n same user/visitor *ever* be counted twice? After a week, or a month,\n or a year, should their view be counted again?", " The defaulf is to cons...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_hit_count_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_hit_count_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Custom callback for the Hit.delete() method. Hit.delete(): removes the hit from the associated HitCount object. Hit.delete(save_hitcount=True): preserves the hit for the associated HitCount object.
"Custom callback for the Hit.delete() method.\n\n Hit.delete(): removes the hit from the associated HitCount object.\n Hit.delete(save_hitcount=True): preserves the hit for the associated\n HitCount object."
28
false
thornomad/django-hitcount
delete_hit_count_handler
12,723
LDU_FT/quasipedia/swaggery/check_has_version
LDU_FT
[ "<BEGIN>\n## `operations`", "Decorator for marking Resource methods as HTTP operations.", " This decorator does a number of different things:\n - It transfer onto itself docstring and annotations from the decorated\n method, so as to be \"transparent\" with regards to introspection.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_has_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_has_version API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
An API class must have a `version` attribute.
"An API class must have a `version` attribute."
67
false
quasipedia/swaggery
check_has_version
12,724
LDU_FT/chainside/btcpy/b58encode_check
LDU_FT
[ "<BEGIN>\n## `b58encode_check`", "Encode a string using Base58 with a 4 character checksum\n<END>", "<BEGIN>\n## `b58decode_check`", "Decode and verify the checksum of a Base58 encoded string\n<END>", "<BEGIN>\n## `derive`", ":param path: a path like \"m/44'/0'/1'/0/10\" if deriving from a master key,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the b58encode_check API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the b58encode_check API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Encode a string using Base58 with a 4 character checksum
"Encode a string using Base58 with a 4 character checksum"
10
false
chainside/btcpy
b58encode_check
12,725
LDU_FT/Kunstmord/datalib/copy_features_base
LDU_FT
[ "<BEGIN>\n## `extract_feature_base`", "Generic function which extracts a feature and stores it in the database", " Parameters\n ----------\n dbpath : string, path to SQLite database file\n folder_path : string, path to folder where the files are stored\n set_object : object (either TestSet or Tra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_features_base 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 copy_features_base 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...
Generic function which copies features from one database to another (base object should be of the same type) Parameters ---------- dbpath_origin : string, path to SQLite database file from which the features will be copied dbpath_destination : string, path to SQLite database file to which the features ...
"Generic function which copies features from one database to another (base object should be of the same type)\n\n Parameters\n ----------\n dbpath_origin : string, path to SQLite database file from which the features will be copied\n dbpath_destination : string, path to SQLite database file to which the fea...
117
false
Kunstmord/datalib
copy_features_base
12,726
LDU_FT/thespacedoctor/fundamentals/csv
LDU_FT
[ "<BEGIN>\n## `main`", "The main function used when ``yaml_to_database.py`` when installed as a cl tool\n<END>", "<BEGIN>\n## `ingest`", "*ingest the contents of the directory of yaml files into a database*", " **Return:**\n - None", " **Usage:**", " To import an entir...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the csv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the csv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
*Render the data in CSV format* **Key Arguments:** - ``filepath`` -- path to the file to write the csv content to. Default *None* **Return:** - ``renderedData`` -- the data rendered in csv format **Usage:** To render the data set as csv: .. co...
"*Render the data in CSV format*\n\n **Key Arguments:**\n - ``filepath`` -- path to the file to write the csv content to. Default *None*\n\n **Return:**\n - ``renderedData`` -- the data rendered in csv format\n\n **Usage:**\n\n To render the data set as csv:\n\n ...
306
false
thespacedoctor/fundamentals
csv
12,727
LDU_FT/CodyKochmann/generators/read
LDU_FT
[ "<BEGIN>\n## `first`", "first is essentially the next() function except it's second argument\n determines how many of the first items you want. If items is more than\n 1 the output is an islice of the generator. If items is 1, the first\n item is returned\n<END>", "<BEGIN>\n## `timed_pipe`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
instead of writing open('file').read(), this is much more efficient and has some extra goodies
"instead of writing open('file').read(), this is much more efficient and has some extra goodies"
71
false
CodyKochmann/generators
read
12,728
LDU_FT/OCA/openupgradelib/move_field_m2o
LDU_FT
[ "<BEGIN>\n## `_adjust_merged_values_orm`", "This method deals with the values on the records to be merged +\n the target record, performing operations that makes sense on the meaning\n of the model.", " :param field_spec: Dictionary with field names as keys and forced operation\n to perform as val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_field_m2o API. 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 move_field_m2o API. 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...
Use that function in the following case: A field moves from a model A to the model B with : A -> m2o -> B. (For exemple product_product -> product_template) This function manage the migration of this field. available on post script migration. :param registry_old_model: registry of the model A; :...
"Use that function in the following case:\n A field moves from a model A to the model B with : A -> m2o -> B.\n (For exemple product_product -> product_template)\n This function manage the migration of this field.\n available on post script migration.\n :param registry_old_model: registry of the model A;...
190
false
OCA/openupgradelib
move_field_m2o
12,729
LDU_FT/PureStorage-OpenConnect/rest-client/create_snapshots
LDU_FT
[ "<BEGIN>\n## `_check_rest_version`", "Validate a REST API version is supported by the library and target array.\n<END>", "<BEGIN>\n## `_choose_rest_version`", "Return the newest REST API version supported by target array.\n<END>", "<BEGIN>\n## `_list_available_rest_versions`", "Return a list of the REST A...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_snapshots API. 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_snapshots API. 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 snapshots of the listed volumes. :param volumes: List of names of the volumes to snapshot. :type volumes: list of str :param \*\*kwargs: See the REST API Guide on your array for the documentation on the request: **POST volume** ...
"Create snapshots of the listed volumes.\n\n :param volumes: List of names of the volumes to snapshot.\n :type volumes: list of str\n :param \\*\\*kwargs: See the REST API Guide on your array for the\n documentation on the request:\n **POST volume...
166
false
PureStorage-OpenConnect/rest-client
create_snapshots
12,730
LDU_FT/SUNCAT-Center/CatHub/get_enthalpy
LDU_FT
[ "<BEGIN>\n## `molecules2symbols`", "Take a list of molecules and return just a list of atomic\n symbols, possibly adding hydrogen\n<END>", "<BEGIN>\n## `construct_reference_system`", "Take a list of symbols and construct gas phase\n references system, when possible avoiding O2.\n Candidates can be re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_enthalpy API. 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_enthalpy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns the internal energy of an adsorbed molecule. Parameters ---------- temperature : numeric temperature in K electronic_energy : numeric energy in eV Returns ------- internal_energy : numeric Internal energy in eV
"Returns the internal energy of an adsorbed molecule.\n\n Parameters\n ----------\n temperature : numeric\n temperature in K\n electronic_energy : numeric\n energy in eV\n\n\n Returns\n -------\n internal_energy : numeric\n Internal energy in eV"
178
false
SUNCAT-Center/CatHub
get_enthalpy
12,731
LDU_FT/adrn/gala/_get_axes
LDU_FT
[ "<BEGIN>\n## `w`", "This returns a single array containing the phase-space positions.", " Parameters\n ----------\n units : `~gala.units.UnitSystem` (optional)\n The unit system to represent the position and velocity in\n before combining into the full array.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_axes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_axes API. 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...
Parameters ---------- dim : int Dimensionality of the orbit. subplots_kwargs : dict (optional) Dictionary of kwargs passed to :func:`~matplotlib.pyplot.subplots`.
"Parameters\n ----------\n dim : int\n Dimensionality of the orbit.\n subplots_kwargs : dict (optional)\n Dictionary of kwargs passed to :func:`~matplotlib.pyplot.subplots`."
465
false
adrn/gala
_get_axes
12,732
LDU_FT/SHTOOLS/SHTOOLS/plot_i2
LDU_FT
[ "<BEGIN>\n## `example`", "Plot random phase and Gaussian random variable spectra.\n<END>", "<BEGIN>\n## `plot_rad`", "Plot the radial component of the gravity field.", " Usage\n -----\n x.plot_rad([tick_interval, xlabel, ylabel, ax, colorbar,\n cb_orientation, cb_labe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_i2 API. 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 plot_i2 API. 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...
Plot the third invariant I2 (the determinant) of the tensor: I2 = vxx*(vyy*vzz - vyz**2) + vxy*(vyz*vxz - vxy*vzz) + vxz*(vxy*vyz - vxz*vyy) Usage ----- x.plot_i2([tick_interval, xlabel, ylabel, ax, colorbar, cb_orientation, cb_label, show, fname])...
"Plot the third invariant I2 (the determinant) of the tensor:\n\n I2 = vxx*(vyy*vzz - vyz**2) + vxy*(vyz*vxz - vxy*vzz)\n + vxz*(vxy*vyz - vxz*vyy)\n\n Usage\n -----\n x.plot_i2([tick_interval, xlabel, ylabel, ax, colorbar, cb_orientation,\n cb_label, show...
779
false
SHTOOLS/SHTOOLS
plot_i2
12,733
LDU_FT/apache/incubator-mxnet/forward_ocr
LDU_FT
[ "<BEGIN>\n## `dynamic_unroll`", "Unrolls an RNN cell across time steps.", " Currently, 'TNC' is a preferred layout. unroll on the input of this layout\n runs much faster.", " Parameters\n ----------\n cell : an object whose base class is RNNCell.\n The RNN cell to run on the input sequen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the forward_ocr API. 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 forward_ocr API. 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...
Forward the image through the LSTM network model Parameters ---------- img_: int of array Returns ---------- label_list: string of list
"Forward the image through the LSTM network model\n\n Parameters\n ----------\n img_: int of array\n\n Returns\n ----------\n label_list: string of list"
3,672
true
apache/incubator-mxnet
forward_ocr
12,734
LDU_FT/google/mobly/_client_send
LDU_FT
[ "<BEGIN>\n## `_parse_logline_timestamp`", "Parses a logline timestamp into a tuple.", " Args:\n t: Timestamp in logline format.", " Returns:\n An iterable of date and time elements in the order of month, day, hour,\n minute, second, microsecond.\n<END>", "<BEGIN>\n## `logline_time...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _client_send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _client_send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Sends an Rpc message through the connection. Args: msg: string, the message to send. Raises: Error: a socket error occurred during the send.
"Sends an Rpc message through the connection.\n\n Args:\n msg: string, the message to send.\n\n Raises:\n Error: a socket error occurred during the send."
593
false
google/mobly
_client_send
12,735
LDU_FT/matze/pkgconfig/libs
LDU_FT
[ "<BEGIN>\n## `_compare_versions`", "Compare two version strings and return -1, 0 or 1 depending on the equality\n of the subset of matching version numbers.", " The implementation is inspired by the top answer at\n http://stackoverflow.com/a/1714190/997768.\n<END>", "<BEGIN>\n## `_split_version_speci...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the libs API. 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 libs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return the LDFLAGS string returned by pkg-config. The static specifier will also include libraries for static linking (i.e., includes any private libraries).
"Return the LDFLAGS string returned by pkg-config.\n\n The static specifier will also include libraries for static linking (i.e.,\n includes any private libraries)."
23
false
matze/pkgconfig
libs
12,736
LDU_FT/wbond/ocspbuilder/this_update
LDU_FT
[ "<BEGIN>\n## `issuer`", "An asn1crypto.x509.Certificate or oscrypto.asymmetric.Certificate object\n of the issuer.\n<END>", "<BEGIN>\n## `key_hash_algo`", "A unicode string of the hash algorithm to use when creating the\n certificate identifier - \"sha1\" (default), or \"sha256\".\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the this_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the this_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 extra...
A datetime.datetime object of when the response was generated.
"A datetime.datetime object of when the response was generated."
46
false
wbond/ocspbuilder
this_update
12,737
LDU_FT/buildinspace/peru/push_async_callback
LDU_FT
[ "<BEGIN>\n## `_find_plugin_dir`", "Find the directory containing the plugin definition for the given type.\n Do this by searching all the paths where plugins can live for a dir that\n matches the type name.\n<END>", "<BEGIN>\n## `_get_plugin_install_dirs`", "Return all the places on the filesystem where...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_async_callback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_async_callback API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Registers an arbitrary coroutine function and arguments. Cannot suppress exceptions.
"Registers an arbitrary coroutine function and arguments.\n Cannot suppress exceptions."
75
false
buildinspace/peru
push_async_callback
12,738
LDU_FT/tmc/gevent-zeromq/_get_descriptors
LDU_FT
[ "<BEGIN>\n## `send_multipart`", "wrap send_multipart to prevent state_changed on each partial send\n<END>", "<BEGIN>\n## `recv_multipart`", "wrap recv_multipart to prevent state_changed on each partial recv\n<END>", "<BEGIN>\n## `monkey_patch`", "Monkey patches `zmq.Context` and `zmq.Socket`", " If t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_descriptors API. 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_descriptors API. 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 three elements tuple with socket descriptors ready for gevent.select.select
"Returns three elements tuple with socket descriptors ready\n for gevent.select.select"
12
false
tmc/gevent-zeromq
_get_descriptors
12,739
LDU_FT/draperunner/fjlc/token_chain
LDU_FT
[ "<BEGIN>\n## `string_chain`", "Chain several filters after each other, applies the filter on the entire string\n :param text: String to format\n :param filters: Sequence of filters to apply on String\n :return: The formatted String\n<END>", "<BEGIN>\n## `token_chain`", "Chain several filt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the token_chain API. 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 token_chain API. 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...
Chain several filters after each other, applying filters only on non special class tokens as detected by {@link ClassifierOptions#isSpecialClassWord(String)} :param text: String to format :param filters: Sequence of filters to apply to tokens :return: The formatted String
"Chain several filters after each other, applying filters only on non special class tokens as detected by\n {@link ClassifierOptions#isSpecialClassWord(String)}\n\n :param text: String to format\n :param filters: Sequence of filters to apply to tokens\n :return: The formatted String"
50
false
draperunner/fjlc
token_chain
12,740
LDU_FT/stevearc/pyramid_webpack/_get_graph
LDU_FT
[ "<BEGIN>\n## `get_webpack`", "Get the Webpack object for a given webpack config.", " Called at most once per request per config name.\n<END>", "<BEGIN>\n## `includeme`", "Add pyramid_webpack methods and config to the app\n<END>", "<BEGIN>\n## `_get_setting`", "Helper function to fetch settings, inher...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_graph API. 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_graph API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Run a graph and render the tag contents for each output
"Run a graph and render the tag contents for each output"
15
false
stevearc/pyramid_webpack
_get_graph
12,741
LDU_FT/lpantano/seqcluster/_generate_reads
LDU_FT
[ "<BEGIN>\n## `add_exp`", "Function to add the counts for each sample", " :param gr: name of the sample\n :param exp: counts of sample **gr**", " :returns: dict with key,values equally to name,counts.\n<END>", "<BEGIN>\n## `MakeJoint`", "Joint distribution of values from pmf1 and pmf2....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_reads API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_reads API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Main function that create reads from precursors
"Main function that create reads from precursors"
491
false
lpantano/seqcluster
_generate_reads
12,742
LDU_FT/yunpian/yunpian-python-sdk/verify_param
LDU_FT
[ "<BEGIN>\n## `update_voice_notify`", "修改语音通知模版", " 注意:模板成功修改之后需要重新审核才能使用!同时提醒您如果修改了变量,务必重新测试,以免替换出错!\n 参数:\n 参数名 类型 是否必须 描述 示例\n apikey String 是 用户唯一标识 9b11127a9701975c734b8aee81ee3526\n tpl_id Long 是 模板id,64位长整形。指定id时返回id对应的模板。未指定时返回所有模板 95...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_param API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_param API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
return Code.ARGUMENT_MISSING if every key in must not found in param
"return Code.ARGUMENT_MISSING if every key in must not found in param"
62
false
yunpian/yunpian-python-sdk
verify_param
12,743
LDU_FT/sentinel-hub/eo-learn/register
LDU_FT
[ "<BEGIN>\n## `execute`", "Execute computation of blobs on input eopatch", " :param eopatch: Input eopatch\n :type eopatch: eolearn.core.EOPatch\n :return: EOPatch instance with new key holding the blob image.\n :rtype: eolearn.core.EOPatch\n<END>", "<BEGIN>\n## `_check_classifier`"...
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...
Implementation of pair-wise registration and warping using point-based matching This function estimates a number of transforms (Euler, PartialAffine and Homography) using point-based matching. Features descriptor are first extracted from the pair of images using either SIFT or SURF descriptors. A ...
"Implementation of pair-wise registration and warping using point-based matching\n\n This function estimates a number of transforms (Euler, PartialAffine and Homography) using point-based matching.\n Features descriptor are first extracted from the pair of images using either SIFT or SURF descriptors. A\n...
453
false
sentinel-hub/eo-learn
register
12,744
LDU_FT/Britefury/batchup/batch_indices_iterator
LDU_FT
[ "<BEGIN>\n## `num_batches`", "Compute the number of mini-batches required to cover a data set of\n size `n` using batches of size `batch_size`.", " Parameters\n ----------\n n: int\n the number of samples in the data set\n batch_size: int\n the mini-batch size", " Returns\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the batch_indices_iterator 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 batch_indices_iterator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Create an iterator that generates mini-batch sample indices The generated mini-batches indices take the form of nested lists of either: - 1D NumPy integer arrays - slices The list nesting structure with match that of the tree of data sources rooted at `self` Pa...
"Create an iterator that generates mini-batch sample indices\n\n The generated mini-batches indices take the form of nested lists of\n either:\n - 1D NumPy integer arrays\n - slices\n\n The list nesting structure with match that of the tree of data sources\n rooted at `self`\n\...
194
false
Britefury/batchup
batch_indices_iterator
12,745
LDU_FT/koehlma/pygrooveshark/export
LDU_FT
[ "<BEGIN>\n## `artist`", ":class:`Artist` object of album's artist\n<END>", "<BEGIN>\n## `export`", "Returns a dictionary with all album information.\n Use the :meth:`from_export` method to recreate the\n :class:`Album` object.\n<END>", "<BEGIN>\n## `export`", "Returns a dictionary with all s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export API. 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 export API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Returns a dictionary with all song information. Use the :meth:`from_export` method to recreate the :class:`Song` object.
"Returns a dictionary with all song information.\n Use the :meth:`from_export` method to recreate the\n :class:`Song` object."
52
false
koehlma/pygrooveshark
export
12,746
LDU_FT/seatgeek/fuzzywuzzy/WRatio
LDU_FT
[ "<BEGIN>\n## `extractWithoutOrder`", "Select the best match in a list or dictionary of choices.", " Find best matches in a list or dictionary of choices, return a\n generator of tuples containing the match and its score. If a dictionary\n is used, also returns the key for each match.", " Arguments...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the WRatio API. 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 WRatio API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return a measure of the sequences' similarity between 0 and 100, using different algorithms. **Steps in the order they occur** #. Run full_process from utils on both strings #. Short circuit if this makes either string empty #. Take the ratio of the two processed strings (fuzz.ratio) #. Run checks...
"Return a measure of the sequences' similarity between 0 and 100, using different algorithms.\n\n **Steps in the order they occur**\n\n #. Run full_process from utils on both strings\n #. Short circuit if this makes either string empty\n #. Take the ratio of the two processed strings (fuzz.ratio)\n #. Ru...
76
false
seatgeek/fuzzywuzzy
WRatio
12,747
LDU_FT/openid/JWTConnect-Python-OidcMsg/to_jwt
LDU_FT
[ "<BEGIN>\n## `make_openid_request`", "Construct the JWT to be passed by value (the request parameter) or by\n reference (request_uri).\n The request will be signed", " :param arq: The Authorization request\n :param keys: Keys to use for signing/encrypting. A KeyJar instance\n :param issuer: Who i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_jwt API. 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_jwt API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create a signed JWT representation of the class instance :param key: The signing key :param algorithm: The signature algorithm to use :param lev: :param lifetime: The lifetime of the JWS :return: A signed JWT
"Create a signed JWT representation of the class instance\n\n :param key: The signing key\n :param algorithm: The signature algorithm to use\n :param lev:\n :param lifetime: The lifetime of the JWS\n :return: A signed JWT"
75
false
openid/JWTConnect-Python-OidcMsg
to_jwt
12,748
LDU_FT/saghul/evergreen/current
LDU_FT
[ "<BEGIN>\n## `_double_prefix`", "Grow the given deque by doubling, but don't split the second chunk just\n because the first one is small.\n<END>", "<BEGIN>\n## `_merge_prefix`", "Replace the first entries in a deque of strings with a single\n string of up to size bytes.", " >>> d = col...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current API. 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 current API. 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 the current event loop singleton object.
"Get the current event loop singleton object."
79
false
saghul/evergreen
current
12,749
LDU_FT/theislab/anndata/chunked_X
LDU_FT
[ "<BEGIN>\n## `read_csv`", "Read ``.csv`` file.", " Same as :func:`~anndata.read_text` but with default delimiter ``','``.", " Parameters\n ----------\n filename\n Data file.\n delimiter\n Delimiter that separates data within text file. If ``None``, will split at\n arbitrary...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chunked_X API. 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 chunked_X API. 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 an iterator over the rows of the data matrix :attr:`X`. Parameters ---------- chunk_size Row size of a single chunk.
"Return an iterator over the rows of the data matrix :attr:`X`.\n\n Parameters\n ----------\n chunk_size\n Row size of a single chunk."
143
false
theislab/anndata
chunked_X
12,750
LDU_FT/dogoncouch/logdissect/post_parse_action
LDU_FT
[ "<BEGIN>\n## `parse_file`", "Parse an object-per-line JSON file into a log data dict\n<END>", "<BEGIN>\n## `filter_data`", "Morph log data by preceeding time period (single log)\n<END>", "<BEGIN>\n## `parse_file`", "Parse single JSON object into a LogData object\n<END>", "<BEGIN>\n## `filter_data`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_parse_action API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_parse_action API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
separate hosts and ports after entry is parsed
"separate hosts and ports after entry is parsed"
24
false
dogoncouch/logdissect
post_parse_action
12,751
LDU_FT/arne-cl/discoursegraphs/get_cousins_treepos
LDU_FT
[ "<BEGIN>\n## `merging_cli`", "simple commandline interface of the merging module.", " This function is called when you use the ``discoursegraphs`` application\n directly on the command line.\n<END>", "<BEGIN>\n## `add_node_ids_as_labels`", "Adds the ID of each node of a discourse graph as a label (an ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cousins_treepos API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_cousins_treepos 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...
Given a treeposition, return the treeposition of its siblings.
"Given a treeposition, return the treeposition of its siblings."
846
false
arne-cl/discoursegraphs
get_cousins_treepos
12,752
LDU_FT/qzmfranklin/easyshell/subshell
LDU_FT
[ "<BEGIN>\n## `update_parser`", "Update the parser object for the shell.", " Arguments:\n parser: An instance of argparse.ArgumentParser.\n<END>", "<BEGIN>\n## `_do_debug`", "\\\n Enter the debugging shell.\n debug Show current debugging status, i.e, on/off.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subshell API. 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 subshell API. 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...
Decorate a function to conditionally launch a _ShellBase subshell. Arguments: shell_cls: A subclass of _ShellBase to be launched. commands: Names of command that should trigger this function object. kwargs: The keyword arguments for the command decorator method. -----------------------...
"Decorate a function to conditionally launch a _ShellBase subshell.\n\n Arguments:\n shell_cls: A subclass of _ShellBase to be launched.\n commands: Names of command that should trigger this function object.\n kwargs: The keyword arguments for the command decorator method.\n\n ---------------...
147
false
qzmfranklin/easyshell
subshell
12,753
LDU_FT/OpenGov/python_data_wrap/compress_ranges_to_lists
LDU_FT
[ "<BEGIN>\n## `read`", "Loads an arbitrary file type (xlsx, xls, or csv like) and returns\n a list of 2D tables. For csv files this will be a list of one table,\n but excel formats can have many tables/worksheets.", " TODO:\n Add wrapper which can be closed/exited on each file type which cleans\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compress_ranges_to_lists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compress_ranges_to_lists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Converts the internal dimension ranges on lists into list of the restricted size. Thus all dimension rules are applied to all dimensions of the list wrapper and returned as a list (of lists).
"Converts the internal dimension ranges on lists into\n list of the restricted size. Thus all dimension rules\n are applied to all dimensions of the list wrapper\n and returned as a list (of lists)."
94
false
OpenGov/python_data_wrap
compress_ranges_to_lists
12,754
LDU_FT/cloudmesh/cloudmesh-common/get
LDU_FT
[ "<BEGIN>\n## `names`", "The names defined in ~/.ssh/config\n :return: the names\n<END>", "<BEGIN>\n## `load`", "list the hosts defined in the ssh config file\n<END>", "<BEGIN>\n## `execute`", "execute the command on the named host\n :param name: the name of the host in config\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
returns the time of the timer. :param name: the name of the timer :type name: string :rtype: the elapsed time
"returns the time of the timer.\n\n :param name: the name of the timer\n :type name: string\n :rtype: the elapsed time"
203
false
cloudmesh/cloudmesh-common
get
12,755
LDU_FT/markchil/gptools/parallel_compute_ll_matrix
LDU_FT
[ "<BEGIN>\n## `matern_function`", "r\"\"\"Matern covariance function of arbitrary dimension, for use with :py:class:`ArbitraryKernel`.", " The Matern kernel has the following hyperparameters, always referenced in\n the order listed:", " = ===== ====================================\n 0 sigma prefact...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parallel_compute_ll_matrix 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 parallel_compute_ll_matrix API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Compute matrix of the log likelihood over the parameter space in parallel. Parameters ---------- bounds : 2-tuple or list of 2-tuples with length equal to the number of free parameters Bounds on the range to use for each of the parameters. If a single 2-tuple is given, it will be used f...
"Compute matrix of the log likelihood over the parameter space in parallel.\n \n Parameters\n ----------\n bounds : 2-tuple or list of 2-tuples with length equal to the number of free parameters\n Bounds on the range to use for each of the parameters. If a single\n 2-tuple is given, it will be...
496
false
markchil/gptools
parallel_compute_ll_matrix
12,756
LDU_FT/log2timeline/plaso/_ParseStorageMediaImageOptions
LDU_FT
[ "<BEGIN>\n## `_GetStatus`", "Retrieves status information.", " Returns:\n dict[str, object]: status attributes, indexed by name.\n<END>", "<BEGIN>\n## `_ProcessEvent`", "Processes an event.", " Args:\n mediator (AnalysisMediator): mediates interactions between\n analysis plugins a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ParseStorageMediaImageOptions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ParseStorageMediaImageOptions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Parses the storage media image options. Args: options (argparse.Namespace): command line arguments. Raises: BadConfigOption: if the options are invalid.
"Parses the storage media image options.\n\n Args:\n options (argparse.Namespace): command line arguments.\n\n Raises:\n BadConfigOption: if the options are invalid."
5,157
true
log2timeline/plaso
_ParseStorageMediaImageOptions
12,757
LDU_FT/PedalPi/Application/stop
LDU_FT
[ "<BEGIN>\n## `start`", "Start the application, initializing your components.\n<END>", "<BEGIN>\n## `stop`", "Stop the application, closing your components.\n<END>", "<BEGIN>\n## `by`", "Get the plugins registered in PedalPi by technology", " :param PluginTechnology technology: PluginTechnology id...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API. 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 stop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Stop the application, closing your components.
"Stop the application, closing your components."
42
false
PedalPi/Application
stop
12,758
LDU_FT/kalbhor/MusicNow/get_tracks_from_album
LDU_FT
[ "<BEGIN>\n## `add_config`", "Prompts user for API keys, adds them in an .ini file stored in the same\n location as that of the script\n<END>", "<BEGIN>\n## `get_tracks_from_album`", "Gets tracks from an album using Spotify's API\n<END>", "<BEGIN>\n## `get_url`", "Provides user with a list of songs to c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tracks_from_album 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_tracks_from_album API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Gets tracks from an album using Spotify's API
"Gets tracks from an album using Spotify's API"
18
false
kalbhor/MusicNow
get_tracks_from_album
12,759
LDU_FT/formiaczek/multi_key_dict/iterkeys
LDU_FT
[ "<BEGIN>\n## `get_other_keys`", "Returns list of other keys that are mapped to the same value as specified key. \r\n @param key - key for which other keys should be returned.\r\n @param including_current if set to True - key will also appear on this list.\n<END>", "<BEGIN>\n## `iteritems`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterkeys API. 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 iterkeys API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns an iterator over the dictionary's keys. @param key_type if specified, iterator for a dictionary of this type will be used. Otherwise (if not specified) tuples containing all (multiple) keys for this dictionary will be generated. @param return_al...
"Returns an iterator over the dictionary's keys.\r\n @param key_type if specified, iterator for a dictionary of this type will be used. \r\n Otherwise (if not specified) tuples containing all (multiple) keys\r\n for this dictionary will be generated.\r\n @param ...
16
false
formiaczek/multi_key_dict
iterkeys
12,760
LDU_FT/ensime/ensime-vim/formatted_completion_sig
LDU_FT
[ "<BEGIN>\n## `buffer_typechecks_and_display`", "Adds typecheck events to the buffer, and displays them right away.", " This is a workaround for this issue:\n https://github.com/ensime/ensime-server/issues/1616\n<END>", "<BEGIN>\n## `handle_typecheck_complete`", "Handles ``NewScalaNotesEvent```...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the formatted_completion_sig API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the formatted_completion_sig API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Regenerate signature for methods. Return just the name otherwise
"Regenerate signature for methods. Return just the name otherwise"
150
false
ensime/ensime-vim
formatted_completion_sig
12,761
LDU_FT/RPi-Distro/python-gpiozero/inactive_time
LDU_FT
[ "<BEGIN>\n## `toggle`", "Toggle all the output devices. For each device, if it's on, turn it\n off; if it's off, turn it on.\n<END>", "<BEGIN>\n## `on`", "If no arguments are specified, turn all the LEDs on. If arguments are\n specified, they must be the indexes of the LEDs you wish to turn on.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inactive_time API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inactive_time API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
The length of time (in seconds) that the device has been inactive for. When the device is active, this is :data:`None`.
"The length of time (in seconds) that the device has been inactive for.\n When the device is active, this is :data:`None`."
291
false
RPi-Distro/python-gpiozero
inactive_time
12,762
LDU_FT/abilian/abilian-core/schedule_entities_reindex
LDU_FT
[ "<BEGIN>\n## `require_flush`", "Decorator for methods that need to query security.", " It ensures all security related operations are flushed to DB, but\n avoids unneeded flushes.\n<END>", "<BEGIN>\n## `query_pa_no_flush`", "Query for a :class:`PermissionAssignment` using `session` without any\n `f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule_entities_reindex API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule_entities_reindex API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
:param entities: as returned by :func:`get_entities_for_reindex`
":param entities: as returned by :func:`get_entities_for_reindex`"
429
false
abilian/abilian-core
schedule_entities_reindex
12,763
LDU_FT/ArangoDB-Community/pyArango/patch
LDU_FT
[ "<BEGIN>\n## `_create`", "Creates an index of any type according to postData\n<END>", "<BEGIN>\n## `createVertex`", "adds a vertex to the graph and returns it\n<END>", "<BEGIN>\n## `deleteVertex`", "deletes a vertex from the graph as well as al linked edges\n<END>", "<BEGIN>\n## `link`", "A shorthand ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch API. 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 patch API. 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...
Saves the document by only updating the modified fields. The default behaviour concening the keepNull parameter is the opposite of ArangoDB's default, Null values won't be ignored Use docArgs for things such as waitForSync = True
"Saves the document by only updating the modified fields.\n The default behaviour concening the keepNull parameter is the opposite of ArangoDB's default, Null values won't be ignored\n Use docArgs for things such as waitForSync = True"
105
false
ArangoDB-Community/pyArango
patch
12,764
LDU_FT/xoolive/traffic/vmach2tas
LDU_FT
[ "<BEGIN>\n## `closest_point_of_approach`", "Computes a CPA dataframe for all pairs of trajectories candidates for\n being separated by less than lateral_separation in vertical_separation.", " In order to be computed efficiently, the method needs the following\n parameters:", " - projection: a firs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vmach2tas API. 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 vmach2tas API. 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...
True airspeed (tas) to mach number conversion
"True airspeed (tas) to mach number conversion"
147
false
xoolive/traffic
vmach2tas
12,765
LDU_FT/openid/python-openid/toTypeURIs
LDU_FT
[ "<BEGIN>\n## `queryURL`", "Build a URL to query the proxy resolver.", " @param xri: An XRI to resolve.\n @type xri: unicode", " @param service_type: The service type to resolve, if you desire\n service endpoint selection. A service type is a URI.\n @type service_type: s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toTypeURIs API. 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 toTypeURIs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Given a namespace mapping and a string containing a comma-separated list of namespace aliases, return a list of type URIs that correspond to those aliases. @param namespace_map: The mapping from namespace URI to alias @type namespace_map: openid.message.NamespaceMap @param alias_list_s: The string...
"Given a namespace mapping and a string containing a\n comma-separated list of namespace aliases, return a list of type\n URIs that correspond to those aliases.\n\n @param namespace_map: The mapping from namespace URI to alias\n @type namespace_map: openid.message.NamespaceMap\n\n @param alias_list_s: Th...
828
false
openid/python-openid
toTypeURIs
12,766
LDU_FT/ASKIDA/Selenium2LibraryExtension/element_value_should_be
LDU_FT
[ "<BEGIN>\n## `wait_until_element_has_focus`", "Waits until the element identified by `locator` has focus.\n\t\tYou might rather want to use `Element Focus Should Be Set`", "\t\t| *Argument* | *Description* | *Example* |\n\t\t| locator | Selenium 2 element locator | id=my_id |\n\t\t| timeout | maximum time to wa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the element_value_should_be 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 element_value_should_be API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Verifies the element identified by `locator` has the expected value. | *Argument* | *Description* | *Example* | | locator | Selenium 2 element locator | id=my_id | | expected | expected value | My Name Is Slim Shady | | strip | Boolean, determines whether it should strip the field's value before comparison or ...
"Verifies the element identified by `locator` has the expected value.\n\n\t\t| *Argument* | *Description* | *Example* |\n\t\t| locator | Selenium 2 element locator | id=my_id |\n\t\t| expected | expected value | My Name Is Slim Shady |\n\t\t| strip | Boolean, determines whether it should strip the field's value before ...
76
false
ASKIDA/Selenium2LibraryExtension
element_value_should_be
12,767
LDU_FT/theno/fabsetup/powerline_for_bash_or_powerline_shell
LDU_FT
[ "<BEGIN>\n## `create_readme_with_long_description`", "Try to convert content of README.md into rst format using pypandoc,\n write it into README and return it.", " If pypandoc cannot be imported write content of README.md unchanged into\n README and return it.\n<END>", "<BEGIN>\n## `openssl`", "Ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the powerline_for_bash_or_powerline_shell API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the powerline_for_bash_or_powerline_shell API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
Set up the bash extension of powerline or powerline_shell (another task).
"Set up the bash extension of powerline or powerline_shell (another task)."
226
false
theno/fabsetup
powerline_for_bash_or_powerline_shell
12,768
LDU_FT/CamDavidsonPilon/lifetimes/conditional_probability_alive
LDU_FT
[ "<BEGIN>\n## `fit`", "Pareto/NBD model fitter.", " Parameters\n ----------\n frequency: array_like\n the frequency vector of customers' purchases\n (denoted x in literature).\n recency: array_like\n the recency vector of customers' purchases\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conditional_probability_alive API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the conditional_probability_alive API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Conditional probability alive. Compute the probability that a customer with history (frequency, recency, T) is currently alive. From https://www.researchgate.net/publication/247219660_Empirical_validation_and_comparison_of_models_for_customer_base_analysis Appendix A, eq. (5) P...
"Conditional probability alive.\n\n Compute the probability that a customer with history (frequency,\n recency, T) is currently alive.\n From https://www.researchgate.net/publication/247219660_Empirical_validation_and_comparison_of_models_for_customer_base_analysis\n Appendix A, eq. (5)\n\n ...
232
false
CamDavidsonPilon/lifetimes
conditional_probability_alive
12,769
LDU_FT/mitodl/PyLmod/get_group
LDU_FT
[ "<BEGIN>\n## `unravel_sections`", "Unravels section type dictionary into flat list of sections with\n section type set as an attribute.", " Args:\n section_data(dict): Data return from py:method::get_sections", " Returns:\n list: Flat list of sections with ``sectionT...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_group API. 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 group data based on uuid. Args: uuid (str): optional uuid. defaults to self.cuuid Raises: PyLmodUnexpectedData: No data was returned. requests.RequestException: Exception connection error Returns: dict: group json
"Get group data based on uuid.\n\n Args:\n uuid (str): optional uuid. defaults to self.cuuid\n\n Raises:\n PyLmodUnexpectedData: No data was returned.\n requests.RequestException: Exception connection error\n\n Returns:\n dict: group json"
190
false
mitodl/PyLmod
get_group
12,770
LDU_FT/loisaidasam/pyslack/chat_update_message
LDU_FT
[ "<BEGIN>\n## `_make_request`", "Make request to API endpoint", " Note: Ignoring SSL cert validation due to intermittent failures\n http://requests.readthedocs.org/en/latest/user/advanced/#ssl-cert-verification\n<END>", "<BEGIN>\n## `channels_list`", "channels.list", " This method retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chat_update_message 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 chat_update_message 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...
chat.update This method updates a message. Required parameters: `channel`: Channel containing the message to be updated. (e.g: "C1234567890") `text`: New text for the message, using the default formatting rules. (e.g: "Hello world") `timestamp`: Timestamp of the me...
"chat.update\n\n This method updates a message.\n\n Required parameters:\n `channel`: Channel containing the message to be updated. (e.g: \"C1234567890\")\n `text`: New text for the message, using the default formatting rules. (e.g: \"Hello world\")\n `timestamp`: Timesta...
18
false
loisaidasam/pyslack
chat_update_message
12,771
LDU_FT/kensho-technologies/grift/validate_resource
LDU_FT
[ "<BEGIN>\n## `load`", "Load a value, converting it to the proper type if validation_type exists.\n<END>", "<BEGIN>\n## `_iter_config_props`", "Iterate over all ConfigProperty attributes, yielding (attr_name, config_property)\n<END>", "<BEGIN>\n## `_update_property_keys`", "Set unspecified property_keys fo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_resource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_resource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Validate the network resource with exponential backoff
"Validate the network resource with exponential backoff"
39
false
kensho-technologies/grift
validate_resource
12,772