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/aheadley/python-crunchyroll/list_drama_series | LDU_FT | [
"<BEGIN>\n## `return_collection`",
"Change method return value from raw API output to collection of models\n<END>",
"<BEGIN>\n## `_do_post_request_tasks`",
"Handle actions that need to be done with every response",
" I'm not sure what these session_ops are actually used for yet, seems to\n be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_drama_series API.
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 list_drama_series API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get a list of drama series
@param str sort pick how results should be sorted, should be one
of META.SORT_*
@param int limit limit number of series to return, there doesn't
seem to be an upper bound
@param int offset list s... | "Get a list of drama series\n\n @param str sort pick how results should be sorted, should be one\n of META.SORT_*\n @param int limit limit number of series to return, there doesn't\n seem to be an upper bound\n @param int offset ... | 100 | false | aheadley/python-crunchyroll | list_drama_series | 30,373 | |
LDU_FT/ulule/django-linguist/activate_language | LDU_FT | [
"<BEGIN>\n## `_filter_or_exclude`",
"Overrides default behavior to handle linguist fields.\n<END>",
"<BEGIN>\n## `_get_concrete_fields_with_model`",
"For compatibility with Django<=1.10. Replace old\n `_meta.get_concrete_fields_with_model`.\n https://docs.djangoproject.com/en/1.10/ref/models/met... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the activate_language API.
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 activate_language API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Activates the given language for the given instances. | "Activates the given language for the given instances." | 62 | false | ulule/django-linguist | activate_language | 30,374 | |
LDU_FT/rdireen/spherepy/save_patt | LDU_FT | [
"<BEGIN>\n## `sbessely`",
"Returns a vector of spherical bessel functions yn:\r",
" x: The argument.\r\n N: values of n will run from 0 to N-1.\n<END>",
"<BEGIN>\n## `sbesselj`",
"Returns a vector of spherical bessel functions jn:\r",
" x: The argument.\r\n N: values of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_patt API.
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 save_patt API.
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... | Saves ScalarPatternUniform object 'patt' to file. The first line of the
file has the number of rows and the number of columns in the pattern
separated by a comma (single sphere data). The remaining lines have the
form:
0, 1, 3.14, 2.718
The first two numbers are index for the row and in... | "Saves ScalarPatternUniform object 'patt' to file. The first line of the \n file has the number of rows and the number of columns in the pattern \n separated by a comma (single sphere data). The remaining lines have the \n form:\n \n 0, 1, 3.14, 2.718\n\n The first two numbers are index for the ro... | 194 | false | rdireen/spherepy | save_patt | 30,375 | |
LDU_FT/Groundworkstech/pybfd/print_single_instruction_callback | LDU_FT | [
"<BEGIN>\n## `generate_source_files`",
"Genertate source files to be used during the compile process of the\n extension module.\n This is better than just hardcoding the values on python files because\n header definitions might change along differente Binutils versions and\n we'll be a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_single_instruction_callback 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 print_single_instruction_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Callack on each disassembled instruction to print its information. | "Callack on each disassembled instruction to print its information." | 96 | false | Groundworkstech/pybfd | print_single_instruction_callback | 30,376 | |
LDU_FT/sbuss/pypercube/le | LDU_FT | [
"<BEGIN>\n## `eq`",
"An equals filter chain.",
" >>> request_time = EventExpression('request', 'elapsed_ms')\n >>> filtered = request_time.eq('path', '/')\n >>> print(filtered)\n request(elapsed_ms).eq(path, \"/\")\n<END>",
"<BEGIN>\n## `ne`",
"A not-equal filter chain.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the le API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the le API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | A less-than-or-equal-to filter chain.
>>> request_time = EventExpression('request', 'elapsed_ms')
>>> filtered = request_time.le('elapsed_ms', 500)
>>> print(filtered)
request(elapsed_ms).le(elapsed_ms, 500) | "A less-than-or-equal-to filter chain.\n\n >>> request_time = EventExpression('request', 'elapsed_ms')\n >>> filtered = request_time.le('elapsed_ms', 500)\n >>> print(filtered)\n request(elapsed_ms).le(elapsed_ms, 500)" | 35 | false | sbuss/pypercube | le | 30,377 | |
LDU_FT/hozn/keepassdb/acquire_lock | LDU_FT | [
"<BEGIN>\n## `to_struct`",
"Initialize properties of the appropriate struct class from this model class.\n<END>",
"<BEGIN>\n## `move`",
"Move this group to a new parent.",
" :param parent: The new parent group; if None will be root group.\n :type parent: :class:`keepassdb.model.Group`\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the acquire_lock API.
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 acquire_lock API.
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... | Takes out a lock (creates a <dbname>.lock file) for the database.
:param force: Whether to force taking "ownership" of the lock file.
:type force: bool
:raises: :class:`keepassdb.exc.DatabaseAlreadyLocked` - If the database is already locked (and force not set to True). | "Takes out a lock (creates a <dbname>.lock file) for the database.\n \n :param force: Whether to force taking \"ownership\" of the lock file.\n :type force: bool\n :raises: :class:`keepassdb.exc.DatabaseAlreadyLocked` - If the database is already locked (and force not set to True)." | 89 | false | hozn/keepassdb | acquire_lock | 30,378 | |
LDU_FT/jaijuneja/PyTLDR/summarize | LDU_FT | [
"<BEGIN>\n## `summarize`",
"Implements the TextRank summarization algorithm, which follows closely to the PageRank algorithm for ranking\n web pages.",
" :param text: a string of text to be summarized, path to a text file, or URL starting with http\n :param length: the length of the output ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the summarize API.
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 summarize API.
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... | Implements the method of latent semantic analysis described by Steinberger and Jezek in the paper:
J. Steinberger and K. Jezek (2004). Using latent semantic analysis in text summarization and summary evaluation.
Proc. ISIM ’04, pp. 93–100.
:param text: a string of text to be summarized, path t... | "Implements the method of latent semantic analysis described by Steinberger and Jezek in the paper:\n\n J. Steinberger and K. Jezek (2004). Using latent semantic analysis in text summarization and summary evaluation.\n Proc. ISIM ’04, pp. 93–100.\n\n :param text: a string of text to be summarized, ... | 30 | false | jaijuneja/PyTLDR | summarize | 30,379 | |
LDU_FT/spyder-ide/conda-manager/install | LDU_FT | [
"<BEGIN>\n## `get_package_versions`",
"Gives all the compatible package canonical name",
" name : str\n Name of the package\n<END>",
"<BEGIN>\n## `closing_plugin`",
"Perform actions before parent main window is closed.\n<END>",
"<BEGIN>\n## `get_conf_path`",
"Return absolute path for c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Install a set of packages into an environment by name or path.
If token is specified, the channels different from the defaults will
get the token appended. | "Install a set of packages into an environment by name or path.\n\n If token is specified, the channels different from the defaults will\n get the token appended." | 160 | false | spyder-ide/conda-manager | install | 30,380 | |
LDU_FT/django-fluent/django-fluent-comments/allow | LDU_FT | [
"<BEGIN>\n## `moderate_model`",
"Register a parent model (e.g. ``Blog`` or ``Article``) that should receive comment moderation.",
" :param ParentModel: The parent model, e.g. a ``Blog`` or ``Article`` model.\n :param publication_date_field: The field name of a :class:`~django.db.models.DateTimeField` in t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allow API.
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 allow API.
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... | Determine whether a given comment is allowed to be posted on a given object.
Returns ``True`` if the comment should be allowed, ``False`` otherwise. | "Determine whether a given comment is allowed to be posted on a given object.\n\n Returns ``True`` if the comment should be allowed, ``False`` otherwise." | 39 | false | django-fluent/django-fluent-comments | allow | 30,381 | |
LDU_FT/gijzelaerr/python-snap7/error_text | LDU_FT | [
"<BEGIN>\n## `check_error`",
"check if the error code is set. If so, a Python log message is generated\n and an error is raised.\n<END>",
"<BEGIN>\n## `error_text`",
"Returns a textual explanation of a given error number",
" :param error: an error integer\n :param context: server, client or partner... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the error_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns a textual explanation of a given error number
:param error: an error integer
:param context: server, client or partner
:returns: the error string | "Returns a textual explanation of a given error number\n\n :param error: an error integer\n :param context: server, client or partner\n :returns: the error string" | 150 | false | gijzelaerr/python-snap7 | error_text | 30,382 | |
LDU_FT/schneiderfelipe/pyrrole/to_dataframe | LDU_FT | [
"<BEGIN>\n## `_parse_chemical_equation`",
"Parse the chemical equation mini-language.",
" See the docstring of `ChemicalEquation` for more.",
" Parameters\n ----------\n value : `str`\n A string in chemical equation mini-language.",
" Returns\n -------\n mapping\n A mappin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dataframe API.
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 to_dataframe API.
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... | Produce a data table with records for all chemical equations.
All possible differences for numeric attributes are computed and stored
as columns in the returned `pandas.DataFrame` object (see examples
below), whose rows represent chemical equations.
In terms of behavior, this method ca... | "Produce a data table with records for all chemical equations.\n\n All possible differences for numeric attributes are computed and stored\n as columns in the returned `pandas.DataFrame` object (see examples\n below), whose rows represent chemical equations.\n\n In terms of behavior, this me... | 153 | false | schneiderfelipe/pyrrole | to_dataframe | 30,383 | |
LDU_FT/GoogleCloudPlatform/appengine-pipelines/abort | 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 abort API.
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 abort API.
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... | Mark the entire pipeline up to the root as aborted.
Note this should only be called from *outside* the context of a running
pipeline. Synchronous and generator pipelines should raise the 'Abort'
exception to cause this behavior during execution.
Args:
abort_message: Optional message explaining w... | "Mark the entire pipeline up to the root as aborted.\n\n Note this should only be called from *outside* the context of a running\n pipeline. Synchronous and generator pipelines should raise the 'Abort'\n exception to cause this behavior during execution.\n\n Args:\n abort_message: Optional message expl... | 222 | false | GoogleCloudPlatform/appengine-pipelines | abort | 30,384 | |
LDU_FT/mitsei/dlkit/get_comment_admin_session_for_book | LDU_FT | [
"<BEGIN>\n## `get_osid_temporal_mdata`",
"Return default mdata map for OsidTemporal\n<END>",
"<BEGIN>\n## `get_osid_containable_mdata`",
"Return default mdata map for OsidContainable\n<END>",
"<BEGIN>\n## `get_osid_sourceable_mdata`",
"Return default mdata map for OsidSourceable\n<END>",
"<BEGIN>\n## `g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_comment_admin_session_for_book 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 get_comment_admin_session_for_book API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | Gets the ``OsidSession`` associated with the comment administration service for the given book.
arg: book_id (osid.id.Id): the ``Id`` of the ``Book``
arg: proxy (osid.proxy.Proxy): a proxy
return: (osid.commenting.CommentAdminSession) - a
``CommentAdminSession``
ra... | "Gets the ``OsidSession`` associated with the comment administration service for the given book.\n\n arg: book_id (osid.id.Id): the ``Id`` of the ``Book``\n arg: proxy (osid.proxy.Proxy): a proxy\n return: (osid.commenting.CommentAdminSession) - a\n ``CommentAdminSession``\n ... | 6,502 | true | mitsei/dlkit | get_comment_admin_session_for_book | 30,385 | |
LDU_FT/aws/aws-dynamodb-encryption-python/encrypt_dynamodb_item | LDU_FT | [
"<BEGIN>\n## `encrypt_item`",
"Demonstrate use of EncryptedTable to transparently encrypt an item.\n<END>",
"<BEGIN>\n## `to_str`",
"Takes an input str or bytes object and returns an equivalent str object.",
" :param data: Input data\n :type data: str or bytes\n :returns: Data normalized to str\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_dynamodb_item 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 encrypt_dynamodb_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Encrypt a DynamoDB item.
>>> from dynamodb_encryption_sdk.encrypted.item import encrypt_dynamodb_item
>>> plaintext_item = {
... 'some': {'S': 'data'},
... 'more': {'N': '5'}
... }
>>> encrypted_item = encrypt_dynamodb_item(
... item=plaintext_item,
... crypto_config=my_... | "Encrypt a DynamoDB item.\n\n >>> from dynamodb_encryption_sdk.encrypted.item import encrypt_dynamodb_item\n >>> plaintext_item = {\n ... 'some': {'S': 'data'},\n ... 'more': {'N': '5'}\n ... }\n >>> encrypted_item = encrypt_dynamodb_item(\n ... item=plaintext_item,\n ... crypto_... | 175 | false | aws/aws-dynamodb-encryption-python | encrypt_dynamodb_item | 30,386 | |
LDU_FT/kibitzr/kibitzr/_run_automation | LDU_FT | [
"<BEGIN>\n## `is_applicable`",
"Return whether this promoter is applicable for given conf\n<END>",
"<BEGIN>\n## `xpath_selector`",
"Returns Xpath match for `selector` within `html`.",
" :param selector: XPath string\n :param html: Unicode content\n :param select_all: True to get all matches\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _run_automation API.
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 _run_automation API.
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... | 1. Fill form.
2. Run scenario.
3. Delay. | "1. Fill form.\n 2. Run scenario.\n 3. Delay." | 53 | false | kibitzr/kibitzr | _run_automation | 30,387 | |
LDU_FT/astropy/astropy-helpers/find_data_files | LDU_FT | [
"<BEGIN>\n## `get_dummy_distribution`",
"Returns a distutils Distribution object used to instrument the setup\n environment before calling the actual setup() function.\n<END>",
"<BEGIN>\n## `get_distutils_option`",
"Returns the value of the given distutils option.",
" Parameters\n ----------\n o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_data_files API.
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 find_data_files API.
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... | Include files matching ``pattern`` inside ``package``.
Parameters
----------
package : str
The package inside which to look for data files
pattern : str
Pattern (glob-style) to match for the data files (e.g. ``*.dat``).
This supports the``**``recursive syntax. For example, ``**/... | "Include files matching ``pattern`` inside ``package``.\n\n Parameters\n ----------\n package : str\n The package inside which to look for data files\n pattern : str\n Pattern (glob-style) to match for the data files (e.g. ``*.dat``).\n This supports the``**``recursive syntax. For examp... | 135 | false | astropy/astropy-helpers | find_data_files | 30,388 | |
LDU_FT/jeroyang/txttk/condense | LDU_FT | [
"<BEGIN>\n## `from_scale`",
"deprecated, for backward compactbility\n try to use from_score\n<END>",
"<BEGIN>\n## `condense`",
"Given multiple strings, returns a compressed regular expression just\n for these strings",
" >>> condense(['she', 'he', 'her', 'hemoglobin'])\n 'he(moglobin|r)?|she... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the condense API.
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 condense API.
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... | Given multiple strings, returns a compressed regular expression just
for these strings
>>> condense(['she', 'he', 'her', 'hemoglobin'])
'he(moglobin|r)?|she' | "Given multiple strings, returns a compressed regular expression just\n for these strings\n\n >>> condense(['she', 'he', 'her', 'hemoglobin'])\n 'he(moglobin|r)?|she'" | 49 | false | jeroyang/txttk | condense | 30,389 | |
LDU_FT/oasis-open/cti-stix-validator/patterns | LDU_FT | [
"<BEGIN>\n## `pretty_error`",
"Return an error message that is easier to read and more useful.\n May require updating if the schemas change significantly.\n<END>",
"<BEGIN>\n## `_iter_errors_custom`",
"Perform additional validation not possible merely with JSON schemas.",
" Args:\n instance: Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patterns API.
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 patterns API.
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... | Ensure that the syntax of the pattern of an indicator is valid, and that
objects and properties referenced by the pattern are valid. | "Ensure that the syntax of the pattern of an indicator is valid, and that\n objects and properties referenced by the pattern are valid." | 220 | false | oasis-open/cti-stix-validator | patterns | 30,390 | |
LDU_FT/aerogear/digger-build-cli/get_build_tool_version | LDU_FT | [
"<BEGIN>\n## `jarsign`",
"Uses Jarsign to sign an apk target file using the provided keystore information.",
" :param storepass(str) - keystore storepass\n :param keypass(str) - keystore keypass\n :param keystore(str) - keystore file path\n :param source(str) - apk path\n :param alias(str) - keystore alias... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_build_tool_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_build_tool_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.... | Gets the build tool version to be used by zipalign from build.gradle file.
Returns:
A string containing the build tool version, default is 23.0.2. | "Gets the build tool version to be used by zipalign from build.gradle file.\n\n Returns:\n A string containing the build tool version, default is 23.0.2." | 100 | false | aerogear/digger-build-cli | get_build_tool_version | 30,391 | |
LDU_FT/galaxyproject/gravity/determine_config_changes | LDU_FT | [
"<BEGIN>\n## `__load_state`",
"Read persisted state from the JSON statefile\n<END>",
"<BEGIN>\n## `_register_config_file`",
"Persist a newly added config file, or update (overwrite) the value\n of a previously persisted config.\n<END>",
"<BEGIN>\n## `_deregister_config_file`",
"Deregister a previou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the determine_config_changes 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 determine_config_changes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | The magic: Determine what has changed since the last time.
Caller should pass the returned config to register_config_changes to persist. | "The magic: Determine what has changed since the last time.\n\n Caller should pass the returned config to register_config_changes to persist." | 26 | false | galaxyproject/gravity | determine_config_changes | 30,392 | |
LDU_FT/craffel/mir_eval/rand_index | LDU_FT | [
"<BEGIN>\n## `_open`",
"Either open a file handle, or use an existing file-like object.",
" This will behave as the `open` function if `file_or_str` is a string.",
" If `file_or_str` has the `read` attribute, it will return `file_or_str`.",
" Otherwise, an `IOError` is raised.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rand_index API.
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 rand_index API.
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... | (Non-adjusted) Rand index.
Examples
--------
>>> (ref_intervals,
... ref_labels) = mir_eval.io.load_labeled_intervals('ref.lab')
>>> (est_intervals,
... est_labels) = mir_eval.io.load_labeled_intervals('est.lab')
>>> # Trim or pad the estimate to match reference timing
>>> (ref_interv... | "(Non-adjusted) Rand index.\n\n Examples\n --------\n >>> (ref_intervals,\n ... ref_labels) = mir_eval.io.load_labeled_intervals('ref.lab')\n >>> (est_intervals,\n ... est_labels) = mir_eval.io.load_labeled_intervals('est.lab')\n >>> # Trim or pad the estimate to match reference timing\n >>> (... | 1,001 | false | craffel/mir_eval | rand_index | 30,393 | |
LDU_FT/zblz/naima/set_Wp | LDU_FT | [
"<BEGIN>\n## `memoize`",
"Cache decorator for functions inside model classes\n<END>",
"<BEGIN>\n## `lnprior`",
"Return probability of parameter values according to prior knowledge.\n Parameter limits should be done here through uniform prior ditributions\n<END>",
"<BEGIN>\n## `get_sampler`",
"Generate ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_Wp API.
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 set_Wp API.
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 ... | Normalize particle distribution so that the total energy in protons
between Epmin and Epmax is Wp
Parameters
----------
Wp : :class:`~astropy.units.Quantity` float
Desired energy in protons.
Epmin : :class:`~astropy.units.Quantity` float, optional
Minimu... | "Normalize particle distribution so that the total energy in protons\n between Epmin and Epmax is Wp\n\n Parameters\n ----------\n Wp : :class:`~astropy.units.Quantity` float\n Desired energy in protons.\n\n Epmin : :class:`~astropy.units.Quantity` float, optional\n ... | 279 | false | zblz/naima | set_Wp | 30,394 | |
LDU_FT/wdm0006/git-pandas/file_change_rates | LDU_FT | [
"<BEGIN>\n## `repo_name`",
"Returns a DataFrame of the repo names present in this project directory",
" :return: DataFrame\n<END>",
"<BEGIN>\n## `coverage`",
"Will return a DataFrame with coverage information (if available) for each repo in the project).",
" If there is a .coverage file avai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_change_rates API.
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 file_change_rates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | This function will return a DataFrame containing some basic aggregations of the file change history data, and
optionally test coverage data from a coverage_data.py .coverage file. The aim here is to identify files in the
project which have abnormal edit rates, or the rate of changes without growing the... | "This function will return a DataFrame containing some basic aggregations of the file change history data, and\n optionally test coverage data from a coverage_data.py .coverage file. The aim here is to identify files in the\n project which have abnormal edit rates, or the rate of changes without growing ... | 123 | false | wdm0006/git-pandas | file_change_rates | 30,395 | |
LDU_FT/ranaroussi/pywallet/from_der | LDU_FT | [
"<BEGIN>\n## `create_new_address_for_user`",
"Create a new bitcoin address to accept payments for a User.",
" This is a convenience wrapper around `get_child` that helps you do\n the right thing. This method always creates a public, non-prime\n address that can be generated from a BIP32 pub... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_der API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_der API.
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... | Decodes a Signature that was DER-encoded.
Args:
der (bytes or str): The DER encoding to be decoded.
Returns:
Signature: The deserialized signature. | "Decodes a Signature that was DER-encoded.\n\n Args:\n der (bytes or str): The DER encoding to be decoded.\n\n Returns:\n Signature: The deserialized signature." | 186 | false | ranaroussi/pywallet | from_der | 30,396 | |
LDU_FT/atztogo/phono3py/get_bond_symmetry | LDU_FT | [
"<BEGIN>\n## `diagonalize_collision_matrix`",
"Diagonalize collision matrices.",
" Note\n ----\n collision_matricies is overwritten by eigenvectors.",
" Parameters\n ----------\n collision_matricies : ndarray, optional\n Collision matrix. This ndarray has to have the following size an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bond_symmetry API.
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_bond_symmetry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Bond symmetry is the symmetry operations that keep the symmetry
of the cell containing two fixed atoms. | "Bond symmetry is the symmetry operations that keep the symmetry\n of the cell containing two fixed atoms." | 69 | false | atztogo/phono3py | get_bond_symmetry | 30,397 | |
LDU_FT/maxcountryman/atomos/get_and_set | LDU_FT | [
"<BEGIN>\n## `synchronized`",
"A decorator which acquires a lock before attempting to execute its wrapped\n function. Releases the lock in a finally clause.",
" :param fn: The function to wrap.\n<END>",
"<BEGIN>\n## `set`",
"Atomically sets the value to `value`.",
" :param value: The value to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_and_set API.
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_and_set API.
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... | Atomically sets the value to `value` and returns the old value.
:param value: The value to set. | "Atomically sets the value to `value` and returns the old value.\n\n :param value: The value to set." | 57 | false | maxcountryman/atomos | get_and_set | 30,398 | |
LDU_FT/YeoLab/anchor/single_feature_fit | LDU_FT | [
"<BEGIN>\n## `plot_best_worst_fits`",
"Violinplots of the highest and lowest scoring of each modality\n<END>",
"<BEGIN>\n## `violinplot`",
"Wrapper around Seaborn's Violinplot specifically for [0, 1] ranged data",
" What's different:\n - bw = 0.2: Sets bandwidth to be small and the same between datase... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the single_feature_fit 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 single_feature_fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Get the log2 bayes factor of the fit for each modality | "Get the log2 bayes factor of the fit for each modality" | 94 | false | YeoLab/anchor | single_feature_fit | 30,399 | |
LDU_FT/craffel/mir_eval/quality_to_bitmap | LDU_FT | [
"<BEGIN>\n## `_open`",
"Either open a file handle, or use an existing file-like object.",
" This will behave as the `open` function if `file_or_str` is a string.",
" If `file_or_str` has the `read` attribute, it will return `file_or_str`.",
" Otherwise, an `IOError` is raised.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quality_to_bitmap API.
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 quality_to_bitmap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return the bitmap for a given quality.
Parameters
----------
quality : str
Chord quality name.
Returns
-------
bitmap : np.ndarray
Bitmap representation of this quality (12-dim). | "Return the bitmap for a given quality.\n\n Parameters\n ----------\n quality : str\n Chord quality name.\n\n Returns\n -------\n bitmap : np.ndarray\n Bitmap representation of this quality (12-dim)." | 1,001 | false | craffel/mir_eval | quality_to_bitmap | 30,400 | |
LDU_FT/rlabbe/filterpy/inv_diagonal | LDU_FT | [
"<BEGIN>\n## `reset`",
"reset filter back to state at time of construction\n<END>",
"<BEGIN>\n## `update`",
"Update filter with new measurement `z`",
" Returns\n -------",
" x : np.array\n estimate for this time step (same as self.x)\n<END>",
"<BEGIN>\n## `errors`",
"Co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inv_diagonal API.
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 inv_diagonal API.
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... | Computes the inverse of a diagonal NxN np.array S. In general this will
be much faster than calling np.linalg.inv().
However, does NOT check if the off diagonal elements are non-zero. So long
as S is truly diagonal, the output is identical to np.linalg.inv().
Parameters
----------
S : np.array... | "Computes the inverse of a diagonal NxN np.array S. In general this will\n be much faster than calling np.linalg.inv().\n\n However, does NOT check if the off diagonal elements are non-zero. So long\n as S is truly diagonal, the output is identical to np.linalg.inv().\n\n Parameters\n ----------\n S :... | 665 | false | rlabbe/filterpy | inv_diagonal | 30,401 | |
LDU_FT/nlppln/nlppln/copy_cwl_files | LDU_FT | [
"<BEGIN>\n## `parse_frog`",
"Interpret the output of the frog parser.\n Input should be an iterable of lines (i.e. the output of call_frog)\n Result is a sequence of dicts representing the tokens\n<END>",
"<BEGIN>\n## `frog_to_saf`",
"Convert frog tokens into a new SAF document\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_cwl_files API.
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 copy_cwl_files API.
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... | Copy cwl files to a directory where the cwl-runner can find them.
Args:
from_dir (str): Path to directory where to copy files from (default:
the cwl directory of nlppln).
to_dir (str): Path to directory where the files should be copied to
(e.g., the CWL working directory). | "Copy cwl files to a directory where the cwl-runner can find them.\n\n Args:\n from_dir (str): Path to directory where to copy files from (default:\n the cwl directory of nlppln).\n to_dir (str): Path to directory where the files should be copied to\n (e.g., the CWL working direct... | 23 | false | nlppln/nlppln | copy_cwl_files | 30,402 | |
LDU_FT/evocell/rabifier/write | LDU_FT | [
"<BEGIN>\n## `check`",
"Check if data and third party tools are available",
" :raises: RuntimeError\n<END>",
"<BEGIN>\n## `generate_non_rabs`",
"Shrink the non-Rab DB size by reducing sequence redundancy.\n<END>",
"<BEGIN>\n## `run_cmd`",
"Runs an external command",
" :param list cmd: Comman... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
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 write API.
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... | Write sequences predicted to be Rabs as a fasta file.
:return: Number of written sequences
:rtype: int | "Write sequences predicted to be Rabs as a fasta file.\n\n :return: Number of written sequences\n :rtype: int" | 32 | false | evocell/rabifier | write | 30,403 | |
LDU_FT/millar/provstore-api/delete | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a document on ProvStore.",
" :param prov_document: The document to be stored\n :param prov_format: The format of the document provided\n :param bool refresh: Whether or not to load back the document after saving\n :param dict props: Properties for this... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove the document and all of its bundles from ProvStore.
.. warning::
Cannot be undone. | "Remove the document and all of its bundles from ProvStore.\n\n .. warning::\n Cannot be undone." | 34 | false | millar/provstore-api | delete | 30,404 | |
LDU_FT/475Cumulus/TBone/serialize | LDU_FT | [
"<BEGIN>\n## `request_args`",
"Returns the arguments passed with the request in a dictionary.\n Returns both URL resolved arguments and query string arguments.\n<END>",
"<BEGIN>\n## `connect`",
"Connects a signal to a receiver function",
" :param receiver:\n The callback function wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API.
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 serialize API.
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... | Calls the field's ``to_python`` method.
Override in derived classes of fields which involve models, such as ``ModelField`` | "Calls the field's ``to_python`` method.\n Override in derived classes of fields which involve models, such as ``ModelField``" | 100 | false | 475Cumulus/TBone | serialize | 30,405 | |
LDU_FT/evolbioinfo/pastml/deltran | LDU_FT | [
"<BEGIN>\n## `reconstruct_ancestral_states`",
"Reconstructs ancestral states for the given character on the given tree.",
" :param character: character whose ancestral states are to be reconstructed.\n :type character: str\n :param tree: tree whose ancestral state are to be reconstructed,\n anno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deltran API.
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 deltran API.
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... | DELTRAN (delayed transformation) (Swofford & Maddison, 1987) aims at reducing the number of ambiguities
in the parsimonious result. DELTRAN makes the changes as close as possible to the leaves,
hence prioritizing parallel mutations. DELTRAN is performed after DOWNPASS.
if N is not a root:
P <- pare... | "DELTRAN (delayed transformation) (Swofford & Maddison, 1987) aims at reducing the number of ambiguities\n in the parsimonious result. DELTRAN makes the changes as close as possible to the leaves,\n hence prioritizing parallel mutations. DELTRAN is performed after DOWNPASS.\n\n if N is not a root:\n P <... | 150 | false | evolbioinfo/pastml | deltran | 30,406 | |
LDU_FT/jf-parent/brome/execute_command | LDU_FT | [
"<BEGIN>\n## `validate_config`",
"Validate that the browser config contains all the needed config\n<END>",
"<BEGIN>\n## `send_keys`",
"wait_until_clickable = kwargs.get(\n 'wait_until_clickable',\n BROME_CONFIG['proxy_element']['wait_until_clickable']\n )",
" if wait_unti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_command API.
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 execute_command API.
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... | Execute a command on the node
Args:
command (str) | "Execute a command on the node\n\n Args:\n command (str)" | 144 | false | jf-parent/brome | execute_command | 30,407 | |
LDU_FT/weaming/filetree/tree | LDU_FT | [
"<BEGIN>\n## `tree`",
"A generator return a tuple with three elements (root, dirs, files).\n<END>",
"<BEGIN>\n## `n_parent_paths`",
"return parent paths of n levels.\n eg: File('a/b/c/d').n_parent_paths(2) == 'b/c'\n<END>",
"<BEGIN>\n## `n_relative_paths`",
"return relative paths of n levels, inclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tree API.
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 tree API.
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... | A generator return a tuple with three elements (root, dirs, files). | "A generator return a tuple with three elements (root, dirs, files)." | 10 | false | weaming/filetree | tree | 30,408 | |
LDU_FT/timstaley/voevent-parse/add_how | LDU_FT | [
"<BEGIN>\n## `Param`",
"'Parameter', used as a general purpose key-value entry in the 'What' section.",
" May be assembled into a :class:`Group`.",
" NB ``name`` is not mandated by schema, but *is* mandated in full spec.",
" Args:\n value(str): String representing parameter value.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_how API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_how API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Add descriptions or references to the How section.
Args:
voevent(:class:`Voevent`): Root node of a VOEvent etree.
descriptions(str): Description string, or list of description
strings.
references(:py:class:`voeventparse.misc.Reference`): A reference element
(or list ... | "Add descriptions or references to the How section.\n\n Args:\n voevent(:class:`Voevent`): Root node of a VOEvent etree.\n descriptions(str): Description string, or list of description\n strings.\n references(:py:class:`voeventparse.misc.Reference`): A reference element\n (... | 131 | false | timstaley/voevent-parse | add_how | 30,409 | |
LDU_FT/hughsie/python-appstream/add_screenshot | LDU_FT | [
"<BEGIN>\n## `add_release`",
"Add a release object if it does not already exist\n<END>",
"<BEGIN>\n## `add_review`",
"Add a release object if it does not already exist\n<END>",
"<BEGIN>\n## `add_screenshot`",
"Add a screenshot object if it does not already exist\n<END>",
"<BEGIN>\n## `add_provide`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_screenshot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_screenshot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Add a screenshot object if it does not already exist | "Add a screenshot object if it does not already exist" | 18 | false | hughsie/python-appstream | add_screenshot | 30,410 | |
LDU_FT/edx/edx-val/create_transcript_objects | LDU_FT | [
"<BEGIN>\n## `generate_sjson_from_srt`",
"Generate transcripts from sjson to SubRip (*.srt).",
" Arguments:\n srt_subs(SubRip): \"SRT\" subs object",
" Returns:\n Subs converted to \"SJSON\" format.\n<END>",
"<BEGIN>\n## `generate_srt_from_sjson`",
"Generate transcripts... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_transcript_objects 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_transcript_objects 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 VideoTranscript objects.
Arguments:
xml (Element): lxml Element object.
edx_video_id (str): Video id of the video.
resource_fs (OSFS): Import file system.
static_dir (str): The Directory to retrieve transcript file.
external_transcripts (dict): A dict containing the l... | "Create VideoTranscript objects.\n\n Arguments:\n xml (Element): lxml Element object.\n edx_video_id (str): Video id of the video.\n resource_fs (OSFS): Import file system.\n static_dir (str): The Directory to retrieve transcript file.\n external_transcripts (dict): A dict containi... | 197 | false | edx/edx-val | create_transcript_objects | 30,411 | |
LDU_FT/luckydonald/pytgbot/parse_args | LDU_FT | [
"<BEGIN>\n## `to_array`",
"Serializes this StickerSet to a dictionary.",
" :return: dictionary representation of this object.\n :rtype: dict\n<END>",
"<BEGIN>\n## `from_array`",
"Deserialize a new StickerSet from a given dictionary.",
" :return: new StickerSet instance.\n :rtyp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_args API.
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 parse_args API.
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... | `"yada hoa" yupi yeah 12 "" None "None"` -> `["yada hoa", "yupi", "yeah", 12, "", None, "None"]`
:param str:
:return: | "`\"yada hoa\" yupi yeah 12 \"\" None \"None\"` -> `[\"yada hoa\", \"yupi\", \"yeah\", 12, \"\", None, \"None\"]`\n :param str:\n :return:" | 1,048 | true | luckydonald/pytgbot | parse_args | 30,412 | |
LDU_FT/stevepeak/inquiry/_harvest_validate | LDU_FT | [
"<BEGIN>\n## `unique`",
"Unique with keeping sort/order\n [\"a\", \"c\", \"b\", \"c\", \"c\", [\"d\", \"e\"]]",
" Results in\n [\"a\", \"c\", \"b\", \"d\", \"e\"]\n<END>",
"<BEGIN>\n## `_merge_fix`",
"Fixes keys that start with \"&\" and \"-\"\n d = {\n \"&steve\": 10,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _harvest_validate API.
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 _harvest_validate API.
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 and Plant user provided arguments
- Go through and plants the seedlings
for any user arguments provided.
- Validate the arguments, cleaning and adapting (valideer wise)
- Extract negatives "!" arguments | "Validate and Plant user provided arguments\n - Go through and plants the seedlings\n for any user arguments provided.\n - Validate the arguments, cleaning and adapting (valideer wise)\n - Extract negatives \"!\" arguments" | 17 | false | stevepeak/inquiry | _harvest_validate | 30,413 | |
LDU_FT/cltl/KafNafParserPy/remove_entity_layer | LDU_FT | [
"<BEGIN>\n## `set_id`",
"Set the property identifier\n @type pid: string\n @param pid: property identifier\n<END>",
"<BEGIN>\n## `add_property`",
"Adds a new property to the property layer\n @type pid: string\n @param pid: property identifier\n @type label: string\n @... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_entity_layer 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 remove_entity_layer 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... | Removes the entity layer (if exists) of the object (in memory) | "Removes the entity layer (if exists) of the object (in memory)" | 270 | false | cltl/KafNafParserPy | remove_entity_layer | 30,414 | |
LDU_FT/tango-controls/pytango/is_str | LDU_FT | [
"<BEGIN>\n## `get_object_executor`",
"Returns the proper executor for the given object.",
" If the object has *_executors* and *_green_mode* members it returns\n the submit callable for the executor corresponding to the green_mode.\n Otherwise it returns the global executor for the given green_mode.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_str API.
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 ... | Tells if the given tango type is string
:param tg_type: tango type
:type tg_type: :class:`tango.CmdArgType`
:param inc_array: (optional, default is False) determines if include array
in the list of checked types
:type inc_array: :py:obj:`bool`
:return: True if the given tango... | "Tells if the given tango type is string\n\n :param tg_type: tango type\n :type tg_type: :class:`tango.CmdArgType`\n :param inc_array: (optional, default is False) determines if include array\n in the list of checked types\n :type inc_array: :py:obj:`bool`\n\n :return: True if the gi... | 577 | false | tango-controls/pytango | is_str | 30,415 | |
LDU_FT/b3j0f/utils/getpath | LDU_FT | [
"<BEGIN>\n## `find_ctx`",
"Get the right ctx related to input elt.",
" In order to keep safe memory as much as possible, it is important to find\n the right context element. For example, instead of putting properties on\n a function at the level of an instance, it is important to save such\n propert... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getpath API.
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 getpath API.
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 full path of a given element such as the opposite of the
resolve_path behaviour.
:param element: must be directly defined into a module or a package and has
the attribute '__name__'.
:return: element absolute path.
:rtype: str
:raises AttributeError: if element has not the attribute _... | "Get full path of a given element such as the opposite of the\n resolve_path behaviour.\n\n :param element: must be directly defined into a module or a package and has\n the attribute '__name__'.\n\n :return: element absolute path.\n :rtype: str\n\n :raises AttributeError: if element has not the a... | 169 | false | b3j0f/utils | getpath | 30,416 | |
LDU_FT/ThreshingFloor/libtf/reduce | LDU_FT | [
"<BEGIN>\n## `_extract_features`",
"Extracts and sets the feature data from the log file necessary for a reduction\n<END>",
"<BEGIN>\n## `_extract_line_features`",
"Parse raw log lines and convert it to a dictionary with extracted features.\n<END>",
"<BEGIN>\n## `_analyze`",
"Decide which lines should be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reduce API.
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 reduce API.
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 ... | Yield the reduced log lines
:param show_noisy: If this is true, shows the reduced log file. If this is false, it shows the logs that
were deleted. | "Yield the reduced log lines\n\n :param show_noisy: If this is true, shows the reduced log file. If this is false, it shows the logs that\n were deleted." | 25 | false | ThreshingFloor/libtf | reduce | 30,417 | |
LDU_FT/clusterpoint/python-client-api/to_raw_xml | LDU_FT | [
"<BEGIN>\n## `_handle_response`",
"Initialize the corect Response object from the response string based on the API command type.\n<END>",
"<BEGIN>\n## `_parse_for_errors`",
"Look for an error tag and raise APIError for fatal errors or APIWarning for nonfatal ones.\n<END>",
"<BEGIN>\n## `get_content_string`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_raw_xml API.
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 to_raw_xml API.
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... | Convert various representations of an XML structure to a normal XML string.
Args:
source -- The source object to be converted - ET.Element, dict or string.
Returns:
A rew xml string matching the source object.
>>> to_raw_xml("<content/>")
'<content/>'
>>> to_raw_x... | "Convert various representations of an XML structure to a normal XML string.\n\n Args:\n source -- The source object to be converted - ET.Element, dict or string.\n\n Returns:\n A rew xml string matching the source object.\n\n >>> to_raw_xml(\"<content/>\")\n '<content/>'\n\n ... | 120 | false | clusterpoint/python-client-api | to_raw_xml | 30,418 | |
LDU_FT/chrisdrackett/django-support/select_template_from_string | LDU_FT | [
"<BEGIN>\n## `active`",
"tag to determine if a link is to the current page, and if it is, sets 'link_active'\n to True in the context.",
" Use:\n {% active path view strict[True,False] arg1 arg2 arg3 %}",
" path: the path to check. Generally this is just 'request.path'\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select_template_from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select_template_from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Select a template from a string, which can include multiple
template paths separated by commas. | "Select a template from a string, which can include multiple\n template paths separated by commas." | 22 | false | chrisdrackett/django-support | select_template_from_string | 30,419 | |
LDU_FT/aiortc/aioice/set_selected_pair | LDU_FT | [
"<BEGIN>\n## `create_turn_endpoint`",
"Create datagram connection relayed over TURN.\n<END>",
"<BEGIN>\n## `refresh`",
"Periodically refresh the TURN allocation.\n<END>",
"<BEGIN>\n## `request`",
"Execute a STUN transaction and return the response.\n<END>",
"<BEGIN>\n## `send_data`",
"Send data to a r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_selected_pair API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_selected_pair API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Force the selected candidate pair.
If the remote party does not support ICE, you should using this
instead of calling :meth:`connect`. | "Force the selected candidate pair.\n\n If the remote party does not support ICE, you should using this\n instead of calling :meth:`connect`." | 61 | false | aiortc/aioice | set_selected_pair | 30,420 | |
LDU_FT/HPENetworking/PYHPEIMC/delete_plat_operator | LDU_FT | [
"<BEGIN>\n## `get_real_time_locate`",
"function takes the ipAddress of a specific host and issues a RESTFUL call to get the device and interface that the\n target host is currently connected to. Note: Although intended to return a single location, Multiple locations may\n be returned for a single host due t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_plat_operator 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 delete_plat_operator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Function to set the password of an existing operator
:param operator: str Name of the operator account
:param password: str New password
:param url: str url of IMC server, see requests library docs for more info
:param auth: str see requests library docs for more info
:param headers: json formated s... | "Function to set the password of an existing operator\n :param operator: str Name of the operator account\n :param password: str New password\n :param url: str url of IMC server, see requests library docs for more info\n :param auth: str see requests library docs for more info\n :param headers: json form... | 1,448 | true | HPENetworking/PYHPEIMC | delete_plat_operator | 30,421 | |
LDU_FT/tomer8007/kik-bot-api-unofficial/remove_peer_from_group | LDU_FT | [
"<BEGIN>\n## `_connect`",
"Runs the kik connection thread, which creates an encrypted (SSL based) TCP connection\n to the kik servers.\n<END>",
"<BEGIN>\n## `_on_connection_made`",
"Gets called when the TCP connection to kik's servers is done and we are connected.\n Now we might initiate a login... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_peer_from_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_peer_from_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.... | Kicks someone out of a group
:param group_jid: The group JID from which to remove the user
:param peer_jid: The JID of the user to remove | "Kicks someone out of a group\n\n :param group_jid: The group JID from which to remove the user\n :param peer_jid: The JID of the user to remove" | 96 | false | tomer8007/kik-bot-api-unofficial | remove_peer_from_group | 30,422 | |
LDU_FT/zengbin93/zb/create_logger | LDU_FT | [
"<BEGIN>\n## `layer_sizes`",
"Arguments:\n X -- input dataset of shape (input size, number of examples)\n Y -- labels of shape (output size, number of examples)",
" Returns:\n n_x -- the size of the input layer\n n_h -- the size of the hidden layer\n n_y -- the size of the output layer\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_logger API.
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 create_logger API.
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... | define a logger for your program
parameters
------------
log_file file name of log
name name of logger
example
------------
logger = create_logger('example.log',name='logger',)
logger.info('This is an example!')
logger.warning('This is a warn!') | "define a logger for your program\n\n parameters\n ------------\n log_file file name of log\n name name of logger\n\n example\n ------------\n logger = create_logger('example.log',name='logger',)\n logger.info('This is an example!')\n logger.warning('This is a warn!')" | 101 | false | zengbin93/zb | create_logger | 30,423 | |
LDU_FT/danpoland/pyramid-restful-framework/perform_partial_update | LDU_FT | [
"<BEGIN>\n## `parse_requested_expands`",
"Extracts the value of the expand query string parameter from a request.\n Supports comma separated lists.",
" :param query_key: The name query string parameter.\n :param request: Request instance.\n :return: List of strings representing the values of the exp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the perform_partial_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.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the perform_partial_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.... | Hook for controlling the update of an model instance. Override this if you need to do more with your
data before updating the object than just mapping the deserialized data to the attribute of the instance. | "Hook for controlling the update of an model instance. Override this if you need to do more with your\n data before updating the object than just mapping the deserialized data to the attribute of the instance." | 70 | false | danpoland/pyramid-restful-framework | perform_partial_update | 30,424 | |
LDU_FT/spotify/luigi/dates | LDU_FT | [
"<BEGIN>\n## `_fetch_json`",
"Returns the json representation of the dep graph\n<END>",
"<BEGIN>\n## `prefix_search`",
"Searches for jobs matching the given ``job_name_prefix``.\n<END>",
"<BEGIN>\n## `status_search`",
"Searches for jobs matching the given ``status``.\n<END>",
"<BEGIN>\n## `move`",
"Mo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dates API.
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 dates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns a list of dates in this date interval. | "Returns a list of dates in this date interval." | 765 | false | spotify/luigi | dates | 30,425 | |
LDU_FT/Ezhil-Language-Foundation/open-tamil/in_sequence | LDU_FT | [
"<BEGIN>\n## `unicode2encode`",
"charmap : dictionary which has both encode as key, unicode as value\n<END>",
"<BEGIN>\n## `unicode2auto`",
"This function will convert unicode (first argument) text into other\r\n encodes by auto find the encode (from available encodes) by using sample\r\n encode text in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the in_sequence API.
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 in_sequence API.
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... | ignore ctx information right now. If repetition/match length >= @freq_threshold then we flag-it | "ignore ctx information right now. If repetition/match length >= @freq_threshold then we flag-it" | 90 | false | Ezhil-Language-Foundation/open-tamil | in_sequence | 30,426 | |
LDU_FT/Unity-Technologies/ml-agents/add_experiences | LDU_FT | [
"<BEGIN>\n## `get_action`",
"Decides actions given observations information, and takes them in environment.\n :param brain_info: A dictionary of brain names and BrainInfo from environment.\n :return: an ActionInfo containing action, memories, values and an object\n to be passed to add experie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_experiences API.
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 add_experiences API.
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... | Adds experiences to each agent's experience history.
:param curr_info: Current AllBrainInfo (Dictionary of all current brains and corresponding BrainInfo).
:param next_info: Next AllBrainInfo (Dictionary of all current brains and corresponding BrainInfo).
:param take_action_outputs: The outputs ... | "Adds experiences to each agent's experience history.\n :param curr_info: Current AllBrainInfo (Dictionary of all current brains and corresponding BrainInfo).\n :param next_info: Next AllBrainInfo (Dictionary of all current brains and corresponding BrainInfo).\n :param take_action_outputs: The outp... | 171 | false | Unity-Technologies/ml-agents | add_experiences | 30,427 | |
LDU_FT/mattharrison/rst2odp/line_break | LDU_FT | [
"<BEGIN>\n## `adjust_fit`",
"given a x and y of dest, determine the ratio and return\n an (x,y,w,h) for a fitted image (note x or y could be neg).\n >>> adjust_fit(4,3,5,5)\n (0.5, 0, 3.0, 3.0)\n >>> adjust_fit(8,6,5,5)\n (1.0, 0, 6.0, 6.0)\n >>> adjust_fit(4,3,5,2)\n (0, 0.69999999999999996,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the line_break API.
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 line_break API.
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... | insert as many line breaks as the insert_line_break variable says | "insert as many line breaks as the insert_line_break variable says" | 50 | false | mattharrison/rst2odp | line_break | 30,428 | |
LDU_FT/yunpian/yunpian-python-sdk/recharge | 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 recharge API.
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 recharge API.
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... | 充值流量
参数名 类型 是否必须 描述 示例
apikey String 是 用户唯一标识 9b11127a9701975c734b8aee81ee3526
mobile String 是 接收的手机号(仅支持大陆号码) 15205201314
sn String 是 流量包的唯一ID 点击查看 1008601
callback_url String 否 本条流量充值的状态报告推送地址 http://your_receive_url_address
encrypt String 否 加密方式 使用加密 tea (不再使用... | "充值流量\n \n 参数名 类型 是否必须 描述 示例\n apikey String 是 用户唯一标识 9b11127a9701975c734b8aee81ee3526\n mobile String 是 接收的手机号(仅支持大陆号码) 15205201314\n sn String 是 流量包的唯一ID 点击查看 1008601\n callback_url String 否 本条流量充值的状态报告推送地址 http://your_receive_url_address\n encrypt String 否 加密方式 使用加密 t... | 62 | false | yunpian/yunpian-python-sdk | recharge | 30,429 | |
LDU_FT/Aluriak/ACCC/compile | LDU_FT | [
"<BEGIN>\n## `constructSpec`",
"Return a language specification based on parameters.\n<END>",
"<BEGIN>\n## `translated`",
"Return code associated to given structure and values, \n translate with given language specification.\n<END>",
"<BEGIN>\n## `cpp_spec`",
"C++ specification, provided for example, a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compile API.
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 compile API.
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... | Compile given source code.
Return object code, modified by given post treatment. | "Compile given source code.\n Return object code, modified by given post treatment." | 22 | false | Aluriak/ACCC | compile | 30,430 | |
LDU_FT/adubkov/py-zabbix/_get_response | LDU_FT | [
"<BEGIN>\n## `_load_from_config`",
"Load zabbix server IP address and port from zabbix agent config\n file.",
" If ServerActive variable is not found in the file, it will\n use the default: 127.0.0.1:10051",
" :type config_file: str\n :param use_config: Path to zabbix_agentd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_response API.
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_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get response from zabbix server, reads from self.socket.
:type connection: :class:`socket._socketobject`
:param connection: Socket to read.
:rtype: dict
:return: Response from zabbix server or False in case of error. | "Get response from zabbix server, reads from self.socket.\n\n :type connection: :class:`socket._socketobject`\n :param connection: Socket to read.\n\n :rtype: dict\n :return: Response from zabbix server or False in case of error." | 51 | false | adubkov/py-zabbix | _get_response | 30,431 | |
LDU_FT/square/connect-python-sdk/request | LDU_FT | [
"<BEGIN>\n## `attribute_name`",
"Sets the attribute_name of this CatalogQueryRange.\n The name of the attribute to be searched.",
" :param attribute_name: The attribute_name of this CatalogQueryRange.\n :type: str\n<END>",
"<BEGIN>\n## `idempotency_key`",
"Sets the idempotency_key of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | :param method: http request method
:param url: http request url
:param query_params: query parameters in the url
:param headers: http request headers
:param body: request json body, for `application/json`
:param post_params: request post parameters,
`a... | ":param method: http request method\n :param url: http request url\n :param query_params: query parameters in the url\n :param headers: http request headers\n :param body: request json body, for `application/json`\n :param post_params: request post parameters,\n ... | 148 | false | square/connect-python-sdk | request | 30,432 | |
LDU_FT/agschwender/pilbox/derive_signature | LDU_FT | [
"<BEGIN>\n## `color_hex_to_dec_tuple`",
"Converts a color from hexadecimal to decimal tuple, color can be in\n the following formats: 3-digit RGB, 4-digit ARGB, 6-digit RGB and\n 8-digit ARGB.\n<END>",
"<BEGIN>\n## `region`",
"Selects a sub-region of the image using the supplied rectangle,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the derive_signature API.
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 derive_signature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Derives the signature from the supplied query string using the key. | "Derives the signature from the supplied query string using the key." | 17 | false | agschwender/pilbox | derive_signature | 30,433 | |
LDU_FT/manodeep/Corrfunc/read_text_file | LDU_FT | [
"<BEGIN>\n## `strip_line`",
"Removes occurrence of character (sep) from a line of text\n<END>",
"<BEGIN>\n## `get_dict_from_buffer`",
"Parses a string buffer for key-val pairs for the supplied keys.",
" Returns: Python dictionary with all the keys (all keys in buffer\n if None is passed for k... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_text_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_text_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Reads a file under python3 with encoding (default UTF-8).
Also works under python2, without encoding.
Uses the EAFP (https://docs.python.org/2/glossary.html#term-eafp)
principle. | "Reads a file under python3 with encoding (default UTF-8).\n Also works under python2, without encoding.\n Uses the EAFP (https://docs.python.org/2/glossary.html#term-eafp)\n principle." | 21 | false | manodeep/Corrfunc | read_text_file | 30,434 | |
LDU_FT/salu133445/pypianoroll/plot_track | LDU_FT | [
"<BEGIN>\n## `plot_pianoroll`",
"Plot a pianoroll given as a numpy array.",
" Parameters\n ----------\n ax : matplotlib.axes.Axes object\n A :class:`matplotlib.axes.Axes` object where the pianoroll will be\n plotted on.\n pianoroll : np.ndarray\n A pianoroll to be plotted. The v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_track API.
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 plot_track API.
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... | Plot the pianoroll or save a plot of the pianoroll.
Parameters
----------
filename :
The filename to which the plot is saved. If None, save nothing.
beat_resolution : int
The number of time steps used to represent a beat. Required and only
effective when `xtick` is 'beat'.
d... | "Plot the pianoroll or save a plot of the pianoroll.\n\n Parameters\n ----------\n filename :\n The filename to which the plot is saved. If None, save nothing.\n beat_resolution : int\n The number of time steps used to represent a beat. Required and only\n effective when `xtick` is 'bea... | 196 | false | salu133445/pypianoroll | plot_track | 30,435 | |
LDU_FT/ska-sa/hypercube/cube_iter | LDU_FT | [
"<BEGIN>\n## `bytes_required`",
"Returns\n -------\n int\n Estimated number of bytes required by arrays registered\n on the cube, taking their extents into account.\n<END>",
"<BEGIN>\n## `register_dimension`",
"Registers a dimension on this cube.",
" .. code-block:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cube_iter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cube_iter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Recursively iterate over the (dimension, stride)
tuples specified in dim_strides, returning cloned hypercubes
with each of the specified dimensions modified accordingly.
For example, the following call effectively produces
2 loops over the 'ntime' and 'nchan' dimensions
in chunk... | "Recursively iterate over the (dimension, stride)\n tuples specified in dim_strides, returning cloned hypercubes\n with each of the specified dimensions modified accordingly.\n\n For example, the following call effectively produces\n 2 loops over the 'ntime' and 'nchan' dimensions\n i... | 163 | false | ska-sa/hypercube | cube_iter | 30,436 | |
LDU_FT/cltrudeau/wrench/silence_logging | LDU_FT | [
"<BEGIN>\n## `configure_file_logger`",
"Configures logging to use the :class:`SizeRotatingFileHandler`\n<END>",
"<BEGIN>\n## `default_logging_dict`",
"Returns a logging configuration dictionary with reasonable defaults.\n Defines two handlers: \"default\" and \"file\", that go to STDOUT and a\n :class:`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the silence_logging API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the silence_logging API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Disables logging for the duration of what is being wrapped. This is
particularly useful when testing if a test method is supposed to issue an
error message which is confusing that the error shows for a successful
test. | "Disables logging for the duration of what is being wrapped. This is\n particularly useful when testing if a test method is supposed to issue an\n error message which is confusing that the error shows for a successful\n test." | 27 | false | cltrudeau/wrench | silence_logging | 30,437 | |
LDU_FT/proycon/pynlpl/finddefaultreference | LDU_FT | [
"<BEGIN>\n## `auc`",
"Compute Area Under the Curve (AUC) using the trapezoidal rule",
" This is a general fuction, given points on a curve. For computing the area\n under the ROC-curve, see :func:`auc_score`.",
" Parameters\n ----------\n x : array, shape = [n]\n x coordinates.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finddefaultreference 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 finddefaultreference API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Find the default reference for text offsets:
The parent of the current textcontent's parent (counting only Structure Elements and Subtoken Annotation Elements)
Note: This returns not a TextContent element, but its parent. Whether the textcontent actually exists is checked later/elsewhere | "Find the default reference for text offsets:\n The parent of the current textcontent's parent (counting only Structure Elements and Subtoken Annotation Elements)\n\n Note: This returns not a TextContent element, but its parent. Whether the textcontent actually exists is checked later/elsewhere" | 533 | false | proycon/pynlpl | finddefaultreference | 30,438 | |
LDU_FT/hubo1016/namedstruct/packrealsize | LDU_FT | [
"<BEGIN>\n## `ip_frag`",
"Not fragments:\n ip_frag(packet) == 0\n not ip_frag(packet)",
" First packet of fragments:\n ip_frag(packet) == IP_FRAG_ANY",
" Not first packet of fragments:\n ip_frag(packet) & IP_FRAG_LATER",
" All fragments:\n ip_frag(packet) & IP_FRA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the packrealsize API.
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 packrealsize API.
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... | Revert to sizefromlen, pack the struct real size (struct._realsize()) to specified property path.
Unlike packsize, the size without padding is stored. Often used in nstruct "prepack" parameter.
:param properties: specified field name, same as sizefromlen.
:returns: a function which takes a NamedSt... | "Revert to sizefromlen, pack the struct real size (struct._realsize()) to specified property path.\n Unlike packsize, the size without padding is stored. Often used in nstruct \"prepack\" parameter.\n \n :param properties: specified field name, same as sizefromlen.\n \n :returns: a function which takes a... | 149 | false | hubo1016/namedstruct | packrealsize | 30,439 | |
LDU_FT/gwastro/pycbc-glue/fromfilenames | LDU_FT | [
"<BEGIN>\n## `component_offsetvectors`",
"Given an iterable of offset vectors, return the shortest list of\n\tthe unique n-instrument offset vectors from which all the vectors\n\tin the input iterable can be constructed. This can be used to\n\tdetermine the minimal set of n-instrument coincs required to\n\tconst... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromfilenames API.
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 fromfilenames API.
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 segmentlist describing the intervals spanned by the files
whose names are given in the list filenames. The segmentlist is
constructed by parsing the file names, and the boundaries of each
segment are coerced to type coltype.
The file names are parsed using a generalization of the format
described in Tec... | "Return a segmentlist describing the intervals spanned by the files\n\twhose names are given in the list filenames. The segmentlist is\n\tconstructed by parsing the file names, and the boundaries of each\n\tsegment are coerced to type coltype.\n\n\tThe file names are parsed using a generalization of the format\n\tdesc... | 1,048 | true | gwastro/pycbc-glue | fromfilenames | 30,440 | |
LDU_FT/WoLpH/python-utils/timesince | LDU_FT | [
"<BEGIN>\n## `import_global`",
"Import the requested items into the global scope",
" WARNING! this method _will_ overwrite your global scope\n If you have a variable named \"path\" and you call import_global('sys')\n it will be overwritten with sys.path",
" Args:\n name (str): the name of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timesince API.
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 timesince API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns string representing 'time since' e.g.
3 days ago, 5 hours ago etc.
>>> now = datetime.datetime.now()
>>> timesince(now)
'just now'
>>> timesince(now - datetime.timedelta(seconds=1))
'1 second ago'
>>> timesince(now - datetime.timedelta(seconds=2))
'2 seconds ago'
>>> timesin... | "Returns string representing 'time since' e.g.\n 3 days ago, 5 hours ago etc.\n\n >>> now = datetime.datetime.now()\n >>> timesince(now)\n 'just now'\n >>> timesince(now - datetime.timedelta(seconds=1))\n '1 second ago'\n >>> timesince(now - datetime.timedelta(seconds=2))\n '2 seconds ago'\n ... | 23 | false | WoLpH/python-utils | timesince | 30,441 | |
LDU_FT/elifesciences/proofreader-python/_extract_meta_value | LDU_FT | [
"<BEGIN>\n## `col_widths`",
"Get MAX possible width of each column in the table.",
" :return: defaultdict\n<END>",
"<BEGIN>\n## `_marker_line`",
"Generate a correctly sized marker line.",
" e.g.",
" '+------------------+---------+----------+---------+'",
" :return: str\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_meta_value 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 _extract_meta_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Find a target value by `tag` from given meta data.
:param tag: str
:param meta_data: list
:return: str | "Find a target value by `tag` from given meta data.\n\n :param tag: str\n :param meta_data: list\n :return: str" | 44 | false | elifesciences/proofreader-python | _extract_meta_value | 30,442 | |
LDU_FT/rvswift/EB/partition | LDU_FT | [
"<BEGIN>\n## `approximator`",
"recursively rank queries\n :param molecules:\n :param options:\n :param sort_order:\n :param frameworks:\n :param ensemble:\n :return:\n<END>",
"<BEGIN>\n## `rank_queries`",
"rank queries by value added to existing ensemble\n :param molecules:\n :param sc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the partition API.
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 partition API.
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... | Partition molList into activeList and decoyList | "Partition molList into activeList and decoyList" | 91 | false | rvswift/EB | partition | 30,443 | |
LDU_FT/Stranger6667/postmarker/Email | LDU_FT | [
"<BEGIN>\n## `create`",
"Creates a template.",
" :param Name: Name of template\n :param Subject: The content to use for the Subject when this template is used to send email.\n :param HtmlBody: The content to use for the HtmlBody when this template is used to send email.\n :param Text... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Email API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Constructs :py:class:`Email` instance.
:return: :py:class:`Email` | "Constructs :py:class:`Email` instance.\n\n :return: :py:class:`Email`" | 74 | false | Stranger6667/postmarker | Email | 30,444 | |
LDU_FT/robehickman/simple-http-file-sync/file_get_contents | LDU_FT | [
"<BEGIN>\n## `lock_access`",
"Synchronise access to the user file between processes, this specifies\n which user is allowed write access at the current time\n<END>",
"<BEGIN>\n## `can_aquire_user_lock`",
"Allow a user to acquire the lock if no other user is currently using it, if the original\n user is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_get_contents API.
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 file_get_contents API.
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 contents of file located at 'path', not changing FS so does
not require journaling | "Returns contents of file located at 'path', not changing FS so does\n not require journaling" | 60 | false | robehickman/simple-http-file-sync | file_get_contents | 30,445 | |
LDU_FT/RPi-Distro/python-sense-hat/set_pixels | LDU_FT | [
"<BEGIN>\n## `_load_text_assets`",
"Internal. Builds a character indexed dictionary of pixels used by the\n show_message function below\n<END>",
"<BEGIN>\n## `_trim_whitespace`",
"Internal. Trims white space pixels from the front and back of loaded\n text characters\n<END>",
"<BEGIN>\n## `_get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_pixels API.
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 set_pixels API.
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... | Accepts a list containing 64 smaller lists of [R,G,B] pixels and
updates the LED matrix. R,G,B elements must intergers between 0
and 255 | "Accepts a list containing 64 smaller lists of [R,G,B] pixels and\n updates the LED matrix. R,G,B elements must intergers between 0\n and 255" | 75 | false | RPi-Distro/python-sense-hat | set_pixels | 30,446 | |
LDU_FT/jay-johnson/antinex-client/build_logger | LDU_FT | [
"<BEGIN>\n## `generate_ai_request`",
"generate_ai_request",
" :param predict_rows: list of predict rows to build into the request\n :param req_dict: request dictionary to update - for long-running clients\n :param req_file: file holding a request dict to update - one-off tests\n :param features: fea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_logger API.
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 build_logger API.
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... | build_logger
:param name: name that shows in the logger
:param config: name of the config file
:param log_level: level to log
:param log_config_path: path to log config file | "build_logger\n\n :param name: name that shows in the logger\n :param config: name of the config file\n :param log_level: level to log\n :param log_config_path: path to log config file" | 46 | false | jay-johnson/antinex-client | build_logger | 30,447 | |
LDU_FT/codeinthehole/purl/unicode_urlencode | LDU_FT | [
"<BEGIN>\n## `to_utf8`",
"Encode a string as a UTF8 bytestring. This function could be passed a\n bytestring or unicode string so must distinguish between the two.\n<END>",
"<BEGIN>\n## `dict_to_unicode`",
"Ensure all keys and values in a dict are unicode.",
" The passed dict is assumed to have lists... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unicode_urlencode API.
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 unicode_urlencode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Custom wrapper around urlencode to support unicode
Python urlencode doesn't handle unicode well so we need to convert to
bytestrings before using it:
http://stackoverflow.com/questions/6480723/urllib-urlencode-doesnt-like-unicode-values-how-about-this-workaround | "Custom wrapper around urlencode to support unicode\n\n Python urlencode doesn't handle unicode well so we need to convert to\n bytestrings before using it:\n http://stackoverflow.com/questions/6480723/urllib-urlencode-doesnt-like-unicode-values-how-about-this-workaround" | 75 | false | codeinthehole/purl | unicode_urlencode | 30,448 | |
LDU_FT/oasiswork/zimsoap/request | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Given a dict in python-zimbra format or XML, generate\n a Python object.\n<END>",
"<BEGIN>\n## `property`",
"Returns a property value",
" :param: default will return that value if the property is not found,\n else, will raise a KeyError.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Do a SOAP request and returns the result.
Simple wrapper arround pythonzimbra functions
:param name: ex: 'Auth' for performing an 'AuthRequest'
:param content: a dict formatted pythonzimbra-style for request
:param namespace: (optional), the namespace, if different from the
... | "Do a SOAP request and returns the result.\n\n Simple wrapper arround pythonzimbra functions\n :param name: ex: 'Auth' for performing an 'AuthRequest'\n :param content: a dict formatted pythonzimbra-style for request\n :param namespace: (optional), the namespace, if different from the\n ... | 242 | false | oasiswork/zimsoap | request | 30,449 | |
LDU_FT/20tab/twentytab-tree/set_meta | LDU_FT | [
"<BEGIN>\n## `getUrlList`",
"This function get the Page List from the DB and return the tuple to\n use in the urls.py, urlpatterns\n<END>",
"<BEGIN>\n## `list_apps`",
"It returns a list of application contained in PROJECT_APPS\n<END>",
"<BEGIN>\n## `slugable`",
"A node is slugable in following cases:\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 extracte... | This context processor returns meta informations contained in cached files.
If there aren't cache it calculates dictionary to return | "This context processor returns meta informations contained in cached files. \n If there aren't cache it calculates dictionary to return" | 16 | false | 20tab/twentytab-tree | set_meta | 30,450 | |
LDU_FT/unixsurfer/anycast_healthchecker/modify_ip_prefixes | LDU_FT | [
"<BEGIN>\n## `_update_bird_conf_file`",
"Update BIRD configuration.",
" It adds to or removes IP prefix from BIRD configuration. It also\n updates generation time stamp in the configuration file.",
" Main program will exit if configuration file cant be read/written.",
" Arguments... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_ip_prefixes 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 modify_ip_prefixes 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... | Modify IP prefixes in Bird configuration.
Depending on the configuration either removes or reports IP prefixes found
in Bird configuration for which we don't have a service check associated
with them. Moreover, it adds the dummy IP prefix if it isn't present and
ensures that the correct variable name i... | "Modify IP prefixes in Bird configuration.\n\n Depending on the configuration either removes or reports IP prefixes found\n in Bird configuration for which we don't have a service check associated\n with them. Moreover, it adds the dummy IP prefix if it isn't present and\n ensures that the correct variable ... | 132 | false | unixsurfer/anycast_healthchecker | modify_ip_prefixes | 30,451 | |
LDU_FT/kblin/ncbi-genome-download/main | LDU_FT | [
"<BEGIN>\n## `_create_list`",
"Create a list from the input value.",
" If the input is a list already, return it.\n If the input is a comma-separated string, split it.\n<END>",
"<BEGIN>\n## `is_compatible_assembly_level`",
"Check if a given ncbi assembly level string matches the configured assembly le... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Make queries against NCBI Taxa databases | "Make queries against NCBI Taxa databases" | 56 | false | kblin/ncbi-genome-download | main | 30,452 | |
LDU_FT/Archived-Object/ligament/run_skeleton | LDU_FT | [
"<BEGIN>\n## `register_dependency`",
"registers a dependency of data_src -> data_sink\n by placing appropriate entries in provides_for and depends_on\n<END>",
"<BEGIN>\n## `build_task`",
"Builds a task by name, resolving any dependencies on the way\n<END>",
"<BEGIN>\n## `is_build_needed`",
"ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_skeleton API.
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 run_skeleton API.
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... | loads and executes tasks from a given skeleton file
skeleton_path:
path to the skeleton file
tasks:
a list of string identifiers of tasks to be executed
watch:
boolean flag of if the skeleton should be watched for changes and
automatically updat... | "loads and executes tasks from a given skeleton file\n\n skeleton_path:\n path to the skeleton file\n\n tasks:\n a list of string identifiers of tasks to be executed\n\n watch:\n boolean flag of if the skeleton should be watched for changes and\n automati... | 66 | false | Archived-Object/ligament | run_skeleton | 30,453 | |
LDU_FT/secdev/scapy/ls | LDU_FT | [
"<BEGIN>\n## `_get_npcap_config`",
"Get a Npcap parameter matching key in the registry.",
" List:\n AdminOnly, DefaultFilterSettings, DltNull, Dot11Adapters, Dot11Support\n LoopbackAdapter, LoopbackSupport, NdisImPlatformBindingOptions, VlanSupport\n WinPcapCompatible\n<END>",
"<BEGIN>\n## `_exec_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ls API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ls API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | List available layers, or infos on a given layer class or name.
params:
- obj: Packet / packet name to use
- case_sensitive: if obj is a string, is it case sensitive?
- verbose | "List available layers, or infos on a given layer class or name.\n params:\n - obj: Packet / packet name to use\n - case_sensitive: if obj is a string, is it case sensitive?\n - verbose" | 1,329 | true | secdev/scapy | ls | 30,454 | |
LDU_FT/projecthamster/hamster/animate | LDU_FT | [
"<BEGIN>\n## `set_start_time`",
"set the start time. when start time is set, drop down list\n will start from start time and duration will be displayed in\n brackets\n<END>",
"<BEGIN>\n## `parse_fact`",
"tries to extract fact fields from the string\n the optional arguments in the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the animate API.
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 animate API.
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... | Request parent Scene to Interpolate attributes using the internal tweener.
Specify sprite's attributes that need changing.
`duration` defaults to 0.4 seconds and `easing` to cubic in-out
(for others see pytweener.Easing class).
Example::
# tween some_sprite to c... | "Request parent Scene to Interpolate attributes using the internal tweener.\n Specify sprite's attributes that need changing.\n `duration` defaults to 0.4 seconds and `easing` to cubic in-out\n (for others see pytweener.Easing class).\n\n Example::\n # tween some_spri... | 249 | false | projecthamster/hamster | animate | 30,455 | |
LDU_FT/cfobel/pygtk3-helpers/on_new | LDU_FT | [
"<BEGIN>\n## `on_new`",
"Copy selected notebook template to notebook directory.",
" ## Notes ##",
" - An exception is raised if the parent of the selected file is the\n notebook directory.\n - If notebook with same name already exists in notebook directory,\n offer i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_new API.
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 on_new API.
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 ... | Copy selected notebook template to notebook directory.
## Notes ##
- An exception is raised if the parent of the selected file is the
notebook directory.
- If notebook with same name already exists in notebook directory,
offer is made to overwrite (the new copy of the f... | "Copy selected notebook template to notebook directory.\n\n ## Notes ##\n\n - An exception is raised if the parent of the selected file is the\n notebook directory.\n - If notebook with same name already exists in notebook directory,\n offer is made to overwrite (the new copy ... | 15 | false | cfobel/pygtk3-helpers | on_new | 30,456 | |
LDU_FT/SeabornGames/RequestClient/time_report | LDU_FT | [
"<BEGIN>\n## `reinstantiate_endpoints`",
"This will re-instantiate the endpoints with the connection this time\n :param endpoint: Endpoint object to instantiate the sub endpoint in.\n :return: None\n<END>",
"<BEGIN>\n## `_pre_process_call`",
"This is called by the method_decorator within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the time_report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the time_report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | This will generate a time table for the source api_calls
:param source: obj this can be an int(index), str(key), slice,
list of api_calls or an api_call
:return: ReprListList | "This will generate a time table for the source api_calls\n :param source: obj this can be an int(index), str(key), slice,\n list of api_calls or an api_call\n :return: ReprListList" | 148 | false | SeabornGames/RequestClient | time_report | 30,457 | |
LDU_FT/NoviceLive/intellicoder/transform_sources | LDU_FT | [
"<BEGIN>\n## `format`",
"Format the record using the corresponding formatter.\n<END>",
"<BEGIN>\n## `make_c_header`",
"Build a C header from the front and body.\n<END>",
"<BEGIN>\n## `reloc_var`",
"Build C source code to relocate a variable.\n<END>",
"<BEGIN>\n## `make_c_args`",
"Build a C argument li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform_sources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform_sources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get the defintions of needed strings and functions
after replacement. | "Get the defintions of needed strings and functions\n after replacement." | 117 | false | NoviceLive/intellicoder | transform_sources | 30,458 | |
LDU_FT/pbrod/numdifftools/taylor | LDU_FT | [
"<BEGIN>\n## `approx_fprime`",
"Gradient of function, or Jacobian if function fun returns 1d array",
" Parameters\n ----------\n x : array\n parameters at which the derivative is evaluated\n fun : function\n `fun(*((x,)+args), **kwargs)` returning either one value or 1d array\n epsi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the taylor API.
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 taylor API.
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 Taylor coefficients of complex analytic function using FFT
Parameters
----------
fun : callable
function to differentiate
z0 : real or complex scalar at which to evaluate the derivatives
n : scalar integer, default 1
Number of taylor coefficents to compute. Maximum number is ... | "Return Taylor coefficients of complex analytic function using FFT\n\n Parameters\n ----------\n fun : callable\n function to differentiate\n z0 : real or complex scalar at which to evaluate the derivatives\n n : scalar integer, default 1\n Number of taylor coefficents to compute. Maximum n... | 107 | false | pbrod/numdifftools | taylor | 30,459 | |
LDU_FT/obulpathi/cdn-fastly-python/get_generated_vcl | LDU_FT | [
"<BEGIN>\n## `list_backends`",
"List all backends for a particular service and version.\n<END>",
"<BEGIN>\n## `create_backend`",
"Create a backend for a particular service and version.\n<END>",
"<BEGIN>\n## `get_backend`",
"Get the backend for a particular service and version.\n<END>",
"<BEGIN>\n## `upd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_generated_vcl API.
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_generated_vcl API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Display the generated VCL for a particular service and version. | "Display the generated VCL for a particular service and version." | 116 | false | obulpathi/cdn-fastly-python | get_generated_vcl | 30,460 | |
LDU_FT/dh1tw/pyhamtools/get_all | LDU_FT | [
"<BEGIN>\n## `get_homecall`",
"Strips off country prefixes (HC2/DH1TW) and activity suffixes (DH1TW/P).",
" Args:\n callsign (str): Amateur Radio callsign",
" Returns:\n str: callsign without country/activity pre/suffixes",
" Raises:\n ValueError: No cal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Lookup a callsign and return all data available from the underlying database
Args:
callsign (str): Amateur Radio callsign
timestamp (datetime, optional): datetime in UTC (tzinfo=pytz.UTC)
Returns:
dict: Dictionary containing the callsign specific data
Raise... | "Lookup a callsign and return all data available from the underlying database\n\n Args:\n callsign (str): Amateur Radio callsign\n timestamp (datetime, optional): datetime in UTC (tzinfo=pytz.UTC)\n\n Returns:\n dict: Dictionary containing the callsign specific data\n\n ... | 238 | false | dh1tw/pyhamtools | get_all | 30,461 | |
LDU_FT/praekeltfoundation/seed-stage-based-messaging/calculate_retry_delay | LDU_FT | [
"<BEGIN>\n## `is_within_limits`",
"Returns True if the difference between date and any value in dates\n is less than or equal to limit.\n<END>",
"<BEGIN>\n## `calculate_retry_delay`",
"Calculates an exponential backoff for retry attempts with a small\n amount of jitter.\n<END>",
"<BEGIN>\n## `run`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_retry_delay API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_retry_delay API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Calculates an exponential backoff for retry attempts with a small
amount of jitter. | "Calculates an exponential backoff for retry attempts with a small\n amount of jitter." | 37 | false | praekeltfoundation/seed-stage-based-messaging | calculate_retry_delay | 30,462 | |
LDU_FT/rosenbrockc/ci/copy | LDU_FT | [
"<BEGIN>\n## `_get_github`",
"Creates an instance of github.Github to interact with the repos via the \n API interface in pygithub.\n<END>",
"<BEGIN>\n## `_parse_repo`",
"Parses a <repo> tag to update settings on this Repository instance.",
" :arg xml: the <repo> tag XMLElement.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
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 copy API.
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... | Copies the static files and folders specified in these settings into the
locally-cloned repository directory.
:arg repodir: the full path to the directory with the locally-cloned version
of the pull request being unit tested. | "Copies the static files and folders specified in these settings into the\n locally-cloned repository directory.\n\n :arg repodir: the full path to the directory with the locally-cloned version\n of the pull request being unit tested." | 123 | false | rosenbrockc/ci | copy | 30,463 | |
LDU_FT/bububa/pyTOP/delete | LDU_FT | [
"<BEGIN>\n## `ordersku_update`",
"taobao.trade.ordersku.update 更新交易订单的销售属性",
" 需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能\n<END>",
"<BEGIN>\n## `get`",
"taobao.topats.result.get 获取异步任务结果",
" 使用指南:http://open.taobao.com/doc/detail.htm?id=30 ",
" - 1.此接口用于获取异步任务处理的结果,传入的task_id必需属... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | taobao.crm.group.delete 删除分组
将该分组下的所有会员移除出该组,同时删除该分组。注:删除分组为异步任务,必须先调用taobao.crm.grouptask.check 确保涉及属性上没有任务。 | "taobao.crm.group.delete 删除分组\n \n 将该分组下的所有会员移除出该组,同时删除该分组。注:删除分组为异步任务,必须先调用taobao.crm.grouptask.check 确保涉及属性上没有任务。" | 619 | false | bububa/pyTOP | delete | 30,464 | |
LDU_FT/pypa/setuptools_scm/parse | LDU_FT | [
"<BEGIN>\n## `get_version`",
"If supplied, relative_to should be a file from which root may\n be resolved. Typically called by a script or module that is not\n in the root of the repository to direct setuptools_scm to the\n root of the repository by supplying ``__file__``.\n<END>",
"<BEGIN>\n## `_alway... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | :param pre_parse: experimental pre_parse action, may change at any time | ":param pre_parse: experimental pre_parse action, may change at any time" | 17 | false | pypa/setuptools_scm | parse | 30,465 | |
LDU_FT/toejough/pimento/_check_default_index | LDU_FT | [
"<BEGIN>\n## `_get_standard_tc_matches`",
"get the standard tab completions.\n These are the options which could complete the full_text.\n<END>",
"<BEGIN>\n## `_get_fuzzy_tc_matches`",
"Get the options that match the full text, then from each option\n return only the individual words which have not yet ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_default_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_default_index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Check that the default is in the list, and not empty | "Check that the default is in the list, and not empty" | 26 | false | toejough/pimento | _check_default_index | 30,466 | |
LDU_FT/sbarham/dsrt/save_sampleset | LDU_FT | [
"<BEGIN>\n## `predict`",
"Take in an integer-vectorized (i.e., index) vector, and predict the maximally\n likely response, returning it as an integer-vectorized (i.e., index) vector.\n<END>",
"<BEGIN>\n## `pad_dialogues`",
"Pad the entire dataset.\n This involves adding padding at the end of eac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_sampleset API.
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 save_sampleset API.
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... | Serialize the sampleset to file using the HDF5 format. Name is usually in {train, test}. | "Serialize the sampleset to file using the HDF5 format. Name is usually in {train, test}." | 77 | false | sbarham/dsrt | save_sampleset | 30,467 | |
LDU_FT/nickstenning/tagalog/tag | LDU_FT | [
"<BEGIN>\n## `fields`",
"Add a set of fields to each item in ``iterable``. The set of fields have a\n key=value format. '@' are added to the front of each key.\n<END>",
"<BEGIN>\n## `tag`",
"Add tags to each dict or dict-like object in ``iterable``. Tags are added\n to each dict with a key set by ``key`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag API.
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 tag API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Add tags to each dict or dict-like object in ``iterable``. Tags are added
to each dict with a key set by ``key``. If a key already exists under the
key given by ``key``, this function will attempt to ``.extend()``` it, but
will fall back to replacing it in the event of error. | "Add tags to each dict or dict-like object in ``iterable``. Tags are added\n to each dict with a key set by ``key``. If a key already exists under the\n key given by ``key``, this function will attempt to ``.extend()``` it, but\n will fall back to replacing it in the event of error." | 17 | false | nickstenning/tagalog | tag | 30,468 | |
LDU_FT/ARMmbed/autoversion/extract_keypairs | LDU_FT | [
"<BEGIN>\n## `get_current_semver`",
"Given a dictionary of all version data available, determine the current version\n<END>",
"<BEGIN>\n## `make_new_semver`",
"Defines how to increment semver based on which significant figure is triggered\n<END>",
"<BEGIN>\n## `main`",
"Tags the current repository",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_keypairs API.
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 extract_keypairs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Given some lines of text, extract key-value pairs from them | "Given some lines of text, extract key-value pairs from them" | 37 | false | ARMmbed/autoversion | extract_keypairs | 30,469 | |
LDU_FT/AbletonAG/abl.vpath/parse | LDU_FT | [
"<BEGIN>\n## `content_item`",
"if path1 is subpart of path2, get the next path item.\n example:\n path1 = '/foo'\n path2 = '/foo/bar/foo'\n -> 'bar'\n<END>",
"<BEGIN>\n## `compare_path_strings`",
"find out, if path1 is a file, or a directory (or unknown).\n<END>",
"<BEGIN>\n## `compare_parts`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Parse the URI.
uri is the uri to parse.
defaults is a scheme-dependent list of values to use if there
is no value for that part in the supplied URI.
The return value is a tuple of scheme-dependent length. | "Parse the URI.\n\n uri is the uri to parse.\n defaults is a scheme-dependent list of values to use if there\n is no value for that part in the supplied URI.\n\n The return value is a tuple of scheme-dependent length." | 92 | false | AbletonAG/abl.vpath | parse | 30,470 | |
LDU_FT/wheeler-microfluidics/dmf-control-board-firmware/z_transfer_functions | LDU_FT | [
"<BEGIN>\n## `swap_default`",
"Given a `sympy` equation or equality, along with a list of symbol names,\n substitute the specified default value for each symbol for which a value is\n not provided through a keyword argument.",
" For example, consider the following equality:",
" >>> sp.pprint(H)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the z_transfer_functions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the z_transfer_functions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | r'''
Return a symbolic equality representation of the transfer function of RMS
voltage measured by either control board analog feedback circuits.
According to the figure below, the transfer function describes the
following relationship::
# Hardware V1 # # Hardware V2 #... | "r'''\n Return a symbolic equality representation of the transfer function of RMS\n voltage measured by either control board analog feedback circuits.\n\n According to the figure below, the transfer function describes the\n following relationship::\n\n # Hardware V1 # # Hardw... | 206 | false | wheeler-microfluidics/dmf-control-board-firmware | z_transfer_functions | 30,471 | |
LDU_FT/jim-easterbrook/pyctools/as_PIL | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect an output to any callable object.",
" :param str output_name: the output to connect. Must be one of\n the ``'self'`` outputs in the ``linkages`` parameter.",
" :param callable input_method: the thread-safe callable to invoke\n when :py:meth... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_PIL API.
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 as_PIL API.
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 image data in :py:mod:`PIL:PIL.Image` form.
Note that if the image data is already in the correct format
this is a null operation.
:return: The image data as :py:mod:`PIL:PIL.Image`.
:rtype: :py:mod:`PIL:PIL.Image` | "Get image data in :py:mod:`PIL:PIL.Image` form.\n\n Note that if the image data is already in the correct format\n this is a null operation.\n\n :return: The image data as :py:mod:`PIL:PIL.Image`.\n\n :rtype: :py:mod:`PIL:PIL.Image`" | 158 | false | jim-easterbrook/pyctools | as_PIL | 30,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.