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/richardliaw/track/git_repo | LDU_FT | [
"<BEGIN>\n## `dfl_local_dir`",
"Infers a default local directory, which is DFL_DIR_PARENT/<project name>,\n where the project name is guessed according to the following rules.",
" If we detect we're in a repository, the project name is the repository name\n (git only for now).",
" If we're not in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the git_repo API.
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 git_repo API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the git repository root if the cwd is in a repo, else None | "Returns the git repository root if the cwd is in a repo, else None" | 32 | false | richardliaw/track | git_repo | 17,973 | |
LDU_FT/mediaburst/clockwork-python/__build_sms_data | LDU_FT | [
"<BEGIN>\n## `request`",
"Make a http request to clockwork, using the XML provided\n Sets sensible headers for the request.",
" If there is a problem with the http connection a clockwork_exceptions.HttpException is raised\n<END>",
"<BEGIN>\n## `get_balance`",
"Check the balance fot this account.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __build_sms_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __build_sms_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Build a dictionary of SMS message elements | "Build a dictionary of SMS message elements" | 11 | false | mediaburst/clockwork-python | __build_sms_data | 17,974 | |
LDU_FT/edwards-lab/libGWAS/NoExclusions | LDU_FT | [
"<BEGIN>\n## `load_genotypes`",
"This really just intializes the file by opening it up.\n<END>",
"<BEGIN>\n## `process_genotypes`",
"Parse pedigree line and remove excluded individuals from geno",
" Translates alleles into numerical genotypes (0, 1, 2) counting\n number of minor alleles.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the NoExclusions API.
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 NoExclusions API.
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... | Determine that there are no exclusion criterion in play
:return: True if there is no real boundary specification of any kind.
Simple method allowing parsers to short circuit the determination of
missingness, which can be moderately compute intensive. | "Determine that there are no exclusion criterion in play\n\n :return: True if there is no real boundary specification of any kind.\n\n Simple method allowing parsers to short circuit the determination of\n missingness, which can be moderately compute intensive." | 142 | false | edwards-lab/libGWAS | NoExclusions | 17,975 | |
LDU_FT/davidhuser/dhis2.py/get_sqlview | LDU_FT | [
"<BEGIN>\n## `_set_log_format`",
"Set log format\n :param color: Log message is colored\n :param include_caller: At the end, put a [caller:line-of-code], e.g. [script:123]\n :return: string of log format\n<END>",
"<BEGIN>\n## `setup_logger`",
"Setup logzero logger. if logfile is specified, create add... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sqlview API.
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_sqlview API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | GET SQL View data
:param uid: sqlView UID
:param execute: materialize sqlView before downloading its data
:param var: for QUERY types, a dict of variables to query the sqlView
:param criteria: for VIEW / MATERIALIZED_VIEW types, a dict of criteria to filter the sqlView
:param mer... | "GET SQL View data\n :param uid: sqlView UID\n :param execute: materialize sqlView before downloading its data\n :param var: for QUERY types, a dict of variables to query the sqlView\n :param criteria: for VIEW / MATERIALIZED_VIEW types, a dict of criteria to filter the sqlView\n :par... | 52 | false | davidhuser/dhis2.py | get_sqlview | 17,976 | |
LDU_FT/aio-libs/aiobotocore/create_batch_write_structure | LDU_FT | [
"<BEGIN>\n## `read`",
"Read at most amt bytes from the stream.",
" If the amt argument is omitted, read all data.\n<END>",
"<BEGIN>\n## `iter_lines`",
"Return an iterator to yield lines from the raw stream.",
" This is achieved by reading chunk of bytes (of size chunk_size) at a\n tim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_batch_write_structure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_batch_write_structure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Create item structure for passing to batch_write_item
:param table_name: DynamoDB table name
:type table_name: str
:param start_num: Start index
:type start_num: int
:param num_items: Number of items
:type num_items: int
:return: dictionary of tables to write to
:rtype: dict | "Create item structure for passing to batch_write_item\n\n :param table_name: DynamoDB table name\n :type table_name: str\n :param start_num: Start index\n :type start_num: int\n :param num_items: Number of items\n :type num_items: int\n :return: dictionary of tables to write to\n :rtype: dict" | 23 | false | aio-libs/aiobotocore | create_batch_write_structure | 17,977 | |
LDU_FT/dpkp/kafka-python/record | LDU_FT | [
"<BEGIN>\n## `send_fetches`",
"Send FetchRequests for all assigned partitions that do not already have\n an in-flight fetch or pending fetch data.",
" Returns:\n List of Futures: each future resolves to a FetchResponse\n<END>",
"<BEGIN>\n## `reset_offsets_if_needed`",
"Lookup and se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the record API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the record API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Record a value at a known time.
Arguments:
value (double): The value we are recording
time_ms (int): A POSIX timestamp in milliseconds.
Default: The time when record() is evaluated (now)
Raises:
QuotaViolationException: if recording this value moves a... | "Record a value at a known time.\n Arguments:\n value (double): The value we are recording\n time_ms (int): A POSIX timestamp in milliseconds.\n Default: The time when record() is evaluated (now)\n\n Raises:\n QuotaViolationException: if recording this value... | 787 | false | dpkp/kafka-python | record | 17,978 | |
LDU_FT/naught101/sobol_seq/i4_uniform | LDU_FT | [
"<BEGIN>\n## `i4_bit_hi1`",
"i4_bit_hi1 returns the position of the high 1 bit base 2 in an integer.",
" Example:\n +------+-------------+-----\n | N | Binary | BIT\n +------|-------------+-----\n | 0 | 0 | 0\n | 1 | 1 | 1\n | 2 | ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the i4_uniform API.
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 i4_uniform API.
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... | i4_uniform returns a scaled pseudorandom I4.
Discussion:
The pseudorandom number will be scaled to be uniformly distributed
between A and B.
Reference:
Paul Bratley, Bennett Fox, Linus Schrage,
A Guide to Simulation,
Springer Verlag, pages 201-202, 1983.
Pierre L'Ecuyer,
... | "i4_uniform returns a scaled pseudorandom I4.\n\n Discussion:\n The pseudorandom number will be scaled to be uniformly distributed\n between A and B.\n\n Reference:\n Paul Bratley, Bennett Fox, Linus Schrage,\n A Guide to Simulation,\n Springer Verlag, pages 201-202, 1983.\n\n Pierre... | 49 | false | naught101/sobol_seq | i4_uniform | 17,979 | |
LDU_FT/jorahn/icy/pdf_extract_text | LDU_FT | [
"<BEGIN>\n## `ae`",
"Computes the absolute error.",
" This function computes the absolute error between two numbers,\n or for element between a pair of lists or numpy arrays.",
" Parameters\n ----------\n actual : int, float, list of numbers, numpy array\n The ground truth value\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pdf_extract_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pdf_extract_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 ... | Utility to use PDFBox from pdfbox.apache.org to extract Text from a PDF
Parameters
----------
path : str
Path to source pdf-file
pdfbox_path : str
Path to pdfbox-app-x.y.z.jar
pwd : str, optional
Password for protected pdf files
timeout : int, optional
Second... | "Utility to use PDFBox from pdfbox.apache.org to extract Text from a PDF\n \n Parameters\n ----------\n path : str\n Path to source pdf-file\n pdfbox_path : str\n Path to pdfbox-app-x.y.z.jar\n pwd : str, optional\n Password for protected pdf files\n timeout : int, optional\n ... | 86 | false | jorahn/icy | pdf_extract_text | 17,980 | |
LDU_FT/ThreatResponse/margaritashotgun/get_signing_key | LDU_FT | [
"<BEGIN>\n## `configure`",
"Connect paramiko transport",
" :type auth: :py:class`margaritashotgun.auth.AuthMethods`\n :param auth: authentication object\n :type address: str\n :param address: remote server ip or hostname\n :type port: int\n :param port: remote server po... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_signing_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_signing_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Download a local copy of repo signing key for installation | "Download a local copy of repo signing key for installation" | 134 | false | ThreatResponse/margaritashotgun | get_signing_key | 17,981 | |
LDU_FT/KyleWpppd/css-audit/handle_data | LDU_FT | [
"<BEGIN>\n## `extract_leftmost_selector`",
"Because we aren't building a DOM tree to transverse, the only way\n to get the most general selectors is to take the leftmost. \n For example with `div.outer div.inner`, we can't tell if `div.inner`\n has been used in context without building a tree.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Called only for certain start tags where the data
in the body of the tag is of interest. In this case,
the data is for <style> tags and <link> tags to css
documents.
@param <string> data
The data lying between an opening and closing HTML
tag. For instance in <di... | "Called only for certain start tags where the data\n in the body of the tag is of interest. In this case, \n the data is for <style> tags and <link> tags to css\n documents. \n @param <string> data\n The data lying between an opening and closing HTML\n tag. For instance... | 12 | false | KyleWpppd/css-audit | handle_data | 17,982 | |
LDU_FT/wuher/devil/endElement | LDU_FT | [
"<BEGIN>\n## `create`",
"Create object from the given data.",
" The given data may or may not have been validated prior to calling\n this function. This function will try its best in creating the object.\n If the resulting object cannot be produced, raises ``ValidationError``.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the endElement API.
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 endElement API.
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... | End current xml element, parse and add to to parent node. | "End current xml element, parse and add to to parent node." | 193 | false | wuher/devil | endElement | 17,983 | |
LDU_FT/aconrad/pycobertura/has_better_coverage | LDU_FT | [
"<BEGIN>\n## `line_rate`",
"Return the global line rate of the coverage report. If the\n `filename` file is given, return the line rate of the file.\n<END>",
"<BEGIN>\n## `branch_rate`",
"Return the global branch rate of the coverage report. If the\n `filename` file is given, return the branch r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_better_coverage 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 has_better_coverage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Return `True` if coverage of has improved, `False` otherwise.
This does not ensure that all changes have been covered. If this is
what you want, use `CoberturaDiff.has_all_changes_covered()` instead. | "Return `True` if coverage of has improved, `False` otherwise.\n\n This does not ensure that all changes have been covered. If this is\n what you want, use `CoberturaDiff.has_all_changes_covered()` instead." | 53 | false | aconrad/pycobertura | has_better_coverage | 17,984 | |
LDU_FT/ravendb/ravendb-python-client/raw_query | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"This function will use the custom JsonDecoder and the conventions.mappers to recreate your custom object\n in the parse json string state just call this method with the json_string your complete object_type and with your\n mappers dict.\n the mappers dict must contain in the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw_query API.
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 raw_query API.
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... | To get all the document that equal to the query
@param str query: The rql query
@param dict query_parameters: Add query parameters to the query {key : value} | "To get all the document that equal to the query\n\n @param str query: The rql query\n @param dict query_parameters: Add query parameters to the query {key : value}" | 29 | false | ravendb/ravendb-python-client | raw_query | 17,985 | |
LDU_FT/tyarkoni/pliers/get_frame | LDU_FT | [
"<BEGIN>\n## `load_stims`",
"Load one or more stimuli directly from file, inferring/extracting\n metadata as needed.",
" Args:\n source (str or list): The location to load the stim(s) from. Can be\n the path to a directory, to a single file, or a list of filenames.\n dtype (str): ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_frame API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_frame API.
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... | Overrides the default behavior by giving access to the onset
argument.
Args:
index (int): Positional index of the desired frame.
onset (float): Onset (in seconds) of the desired frame. | "Overrides the default behavior by giving access to the onset\n argument.\n\n Args:\n index (int): Positional index of the desired frame.\n onset (float): Onset (in seconds) of the desired frame." | 137 | false | tyarkoni/pliers | get_frame | 17,986 | |
LDU_FT/RetailMeNotSandbox/acky/attach | LDU_FT | [
"<BEGIN>\n## `destroy`",
"Release an EIP. If the EIP was allocated for a VPC instance, an\n AllocationId(aid) must be provided instead of a PublicIp. Setting\n disassociate to True will attempt to disassociate the IP before\n releasing it (required for associated nondefault VPC instances).\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach API.
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 attach API.
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 ... | Attach a volume to an instance, exposing it with a device name. | "Attach a volume to an instance, exposing it with a device name." | 32 | false | RetailMeNotSandbox/acky | attach | 17,987 | |
LDU_FT/wummel/linkchecker/build_url | LDU_FT | [
"<BEGIN>\n## `start_output`",
"Write start of checking info as gml comment.\n<END>",
"<BEGIN>\n## `getaddresses`",
"Return list of email addresses from given field value.\n<END>",
"<BEGIN>\n## `build_url`",
"Call super.build_url(), extract list of mail addresses from URL,\n and check their syntax.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Construct self.url and self.urlparts out of the given base
url information self.base_url, self.parent_url and self.base_ref. | "Construct self.url and self.urlparts out of the given base\n url information self.base_url, self.parent_url and self.base_ref." | 1,377 | true | wummel/linkchecker | build_url | 17,988 | |
LDU_FT/EnergieID/smappy/_actuator_on_off | LDU_FT | [
"<BEGIN>\n## `authenticated`",
"Decorator to check if Smappee's access token has expired.\n If it has, use the refresh token to request a new access token\n<END>",
"<BEGIN>\n## `urljoin`",
"Join terms together with forward slashes",
" Parameters\n ----------\n parts",
" Returns\n -------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _actuator_on_off API.
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 _actuator_on_off API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Turn actuator on or off
Parameters
----------
on_off : str
'on' or 'off'
service_location_id : int
actuator_id : int
duration : int, optional
300,900,1800 or 3600 , specifying the time in seconds the actuator
should be turned on. Any o... | "Turn actuator on or off\n\n Parameters\n ----------\n on_off : str\n 'on' or 'off'\n service_location_id : int\n actuator_id : int\n duration : int, optional\n 300,900,1800 or 3600 , specifying the time in seconds the actuator\n should be turne... | 87 | false | EnergieID/smappy | _actuator_on_off | 17,989 | |
LDU_FT/wonambi-python/wonambi/save_as | LDU_FT | [
"<BEGIN>\n## `write_mnefiff`",
"Export data to MNE using FIFF format.",
" Parameters\n ----------\n data : instance of ChanTime\n data with only one trial\n filename : path to file\n file to export to (include '.mat')",
" Notes\n -----\n It cannot store data larger than 2 GB... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_as API.
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 save_as API.
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... | Dialog for getting name, location of dataset export. | "Dialog for getting name, location of dataset export." | 1,345 | true | wonambi-python/wonambi | save_as | 17,990 | |
LDU_FT/earlye/nephele/do_config | LDU_FT | [
"<BEGIN>\n## `do_mfa`",
"Enter a 6-digit MFA token. Nephele will execute the appropriate\n `aws` command line to authenticate that token. ",
" mfa -h for more details\n<END>",
"<BEGIN>\n## `do_up`",
"Navigate up by one level.",
" For example, if you are in `(aws)/stack:.../asg:.../`, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Deal with configuration. Available subcommands:
* config print - print the current configuration
* config reload - reload the current configuration from disk
* config set - change a setting in the configuration
* config save - save the configuration to disk
config -h for more d... | "Deal with configuration. Available subcommands:\n\n * config print - print the current configuration\n * config reload - reload the current configuration from disk\n * config set - change a setting in the configuration\n * config save - save the configuration to disk\n\n config -h fo... | 52 | false | earlye/nephele | do_config | 17,991 | |
LDU_FT/box/flaky/_log_intermediate_failure | LDU_FT | [
"<BEGIN>\n## `flaky`",
"Decorator used to mark a test as \"flaky\". When used in conjuction with\n the flaky nosetests plugin, will cause the decorated test to be retried\n until min_passes successes are achieved out of up to max_runs test runs.",
" :param max_runs:\n The maximum number of times... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log_intermediate_failure 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 _log_intermediate_failure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Report that the test has failed, but still has reruns left.
Then rerun the test.
:param err:
Information about the test failure (from sys.exc_info())
:type err:
`tuple` of `class`, :class:`Exception`, `traceback`
:param flaky:
Dictionary of flaky attr... | "Report that the test has failed, but still has reruns left.\n Then rerun the test.\n\n :param err:\n Information about the test failure (from sys.exc_info())\n :type err:\n `tuple` of `class`, :class:`Exception`, `traceback`\n :param flaky:\n Dictionary of f... | 56 | false | box/flaky | _log_intermediate_failure | 17,992 | |
LDU_FT/PlaidWeb/Publ/where_entry_first | LDU_FT | [
"<BEGIN>\n## `load_metafile`",
"Load a metadata file from the filesystem\n<END>",
"<BEGIN>\n## `description`",
"Get the textual description of the category\n<END>",
"<BEGIN>\n## `breadcrumb`",
"Get the category hierarchy leading up to this category, including\n root and self.",
" For examp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the where_entry_first API.
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 where_entry_first API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Generate a where clause where this is the first entry
ref -- the entry of reference | "Generate a where clause where this is the first entry\n\n ref -- the entry of reference" | 285 | false | PlaidWeb/Publ | where_entry_first | 17,993 | |
LDU_FT/necaris/python3-openid/parseExtensionArgs | LDU_FT | [
"<BEGIN>\n## `parseExtensionArgs`",
"Set the state of this request to be that expressed in these\n PAPE arguments",
" @param args: The PAPE arguments without a namespace",
" @rtype: None",
" @raises ValueError: When the max_auth_age is not parseable as\n an integer\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseExtensionArgs 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 parseExtensionArgs 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... | Set the state of this request to be that expressed in these
PAPE arguments
@param args: The PAPE arguments without a namespace
@rtype: None
@raises ValueError: When the max_auth_age is not parseable as
an integer | "Set the state of this request to be that expressed in these\n PAPE arguments\n\n @param args: The PAPE arguments without a namespace\n\n @rtype: None\n\n @raises ValueError: When the max_auth_age is not parseable as\n an integer" | 164 | false | necaris/python3-openid | parseExtensionArgs | 17,994 | |
LDU_FT/openstax/cnx-epub/collate | LDU_FT | [
"<BEGIN>\n## `squash_xml_to_text`",
"Squash the given XML element (as `elm`) to a text containing XML.\n The outer most element/tag will be removed, but inner elements will\n remain. If `remove_namespaces` is specified, XML namespace declarations\n will be removed from the text.",
" :param elm: XML ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collate API.
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 collate API.
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... | Given a ``Binder`` as ``binder``, collate the content into a new set
of models.
Returns the collated binder. | "Given a ``Binder`` as ``binder``, collate the content into a new set\n of models.\n Returns the collated binder." | 67 | false | openstax/cnx-epub | collate | 17,995 | |
LDU_FT/NJDFan/ctypes-bitfield/parents | LDU_FT | [
"<BEGIN>\n## `_createunbound`",
"Create a new UnboundNode representing a given class.\n<END>",
"<BEGIN>\n## `_createbound`",
"Create a new BoundNode representing a given object.\n<END>",
"<BEGIN>\n## `findnode`",
"Returns a Node pointing to obj.",
" If obj is a ctypes-derived class, an UnboundNode is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parents API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parents API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | A list of all the parent nodes of this node, back to the root.
parents[0] is the root, and parents[-1] is the immediate parent. | "A list of all the parent nodes of this node, back to the root.\n parents[0] is the root, and parents[-1] is the immediate parent." | 42 | false | NJDFan/ctypes-bitfield | parents | 17,996 | |
LDU_FT/emc-openstack/storops/shadow_copy | LDU_FT | [
"<BEGIN>\n## `attach`",
"Attaches lun, snap or member snap of cg snap to host.",
" Don't pass cg snapshot in as `lun_or_snap`.",
" :param lun_or_snap: the lun, snap, or a member snap of cg snap\n :param skip_hlu_0: whether to skip hlu 0\n :return: the hlu number\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shadow_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shadow_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 extra... | Return a copy of the resource with same raw data
:return: copy of the resource | "Return a copy of the resource with same raw data\n\n :return: copy of the resource" | 222 | false | emc-openstack/storops | shadow_copy | 17,997 | |
LDU_FT/Azure/azure-cosmos-table-python/_generate_property_iv | LDU_FT | [
"<BEGIN>\n## `generate_account_shared_access_signature`",
"Generates a shared access signature for the table service.\n Use the returned signature with the sas_token parameter of TableService.",
" :param ResourceTypes resource_types:\n Specifies the resource types that are accessible wi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_property_iv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_property_iv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Uses the entity_iv, partition key, and row key to generate and return
the iv for the specified property. | "Uses the entity_iv, partition key, and row key to generate and return\n the iv for the specified property." | 142 | false | Azure/azure-cosmos-table-python | _generate_property_iv | 17,998 | |
LDU_FT/idmillington/layout/get_minimum | LDU_FT | [
"<BEGIN>\n## `_do_layout`",
"Lays the text out into separate lines and calculates their\n total height.\n<END>",
"<BEGIN>\n## `_calculate_ms_from_base`",
"Calculates the rotated minimum size from the given base minimum\n size.\n<END>",
"<BEGIN>\n## `render`",
"Draws the signature mark.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_minimum API.
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_minimum API.
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... | Updates this vector so its components are the lower of its
current components and those of the given other value. | "Updates this vector so its components are the lower of its\n current components and those of the given other value." | 91 | false | idmillington/layout | get_minimum | 17,999 | |
LDU_FT/johnnoone/json-spec/move | LDU_FT | [
"<BEGIN>\n## `check`",
"Check if value exists into object.",
" :param doc: the document base\n :param pointer: the path to search in\n :param expected: the expected value\n :param raise_onerror: should raise on error?\n :return: boolean\n<END>",
"<BEGIN>\n## `add`",
"Add element to sequence, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move API.
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 move API.
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... | Move element from sequence, member from mapping.
:param doc: the document base
:param dest: the destination
:type dest: Pointer
:param src: the source
:type src: Pointer
:return: the new object
.. note::
it delete then it add to the new location
soo the dest must refer to ... | "Move element from sequence, member from mapping.\n\n :param doc: the document base\n :param dest: the destination\n :type dest: Pointer\n :param src: the source\n :type src: Pointer\n :return: the new object\n\n .. note::\n\n it delete then it add to the new location\n soo the dest m... | 113 | false | johnnoone/json-spec | move | 18,000 | |
LDU_FT/Naught0/asyncurban/search | LDU_FT | [
"<BEGIN>\n## `_get`",
"Helper method to reduce some boilerplate with :module:`aiohttp`.",
" Args:\n term: The term to search for. Optional if doing a random search.\n random: Whether the search should return a random word.",
" Returns:\n The JSON response from th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
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 search API.
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 ... | Performs a search for a term and returns a list of possible matching :class:`Word`
objects.
Args:
term: The term to be defined.
limit (optional): Max amount of results returned.
Defaults to 3.
Note:
The API will relay... | "Performs a search for a term and returns a list of possible matching :class:`Word`\n objects.\n \n Args:\n term: The term to be defined.\n \n limit (optional): Max amount of results returned.\n Defaults to 3.\n \n Note:\n The API... | 26 | false | Naught0/asyncurban | search | 18,001 | |
LDU_FT/calocan/rescape-python-helpers/_map_deep | LDU_FT | [
"<BEGIN>\n## `prop`",
"Implementation of prop (get_item) that also supports object attributes\n :param key:\n :param dct_or_obj:\n :return:\n<END>",
"<BEGIN>\n## `all_pass_dict`",
"Returns true if all dct values pass f\n :param f: binary lambda predicate\n :param dct:\n :return: True or fals... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _map_deep API.
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 _map_deep API.
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... | Used by map_deep and map_keys_deep
:param map_props:
:param f: Expects a key and value and returns a pair
:param dct:
:return: | "Used by map_deep and map_keys_deep\n :param map_props:\n :param f: Expects a key and value and returns a pair\n :param dct:\n :return:" | 54 | false | calocan/rescape-python-helpers | _map_deep | 18,002 | |
LDU_FT/onelogin/python3-saml/build | LDU_FT | [
"<BEGIN>\n## `get_issuer`",
"Gets the Issuer of the Logout Response Message\n :return: The Issuer\n :rtype: string\n<END>",
"<BEGIN>\n## `get_status`",
"Gets the Status\n :return: The Status\n :rtype: string\n<END>",
"<BEGIN>\n## `is_valid`",
"Determines if the SAML LogoutRespo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Creates a Logout Response object.
:param in_response_to: InResponseTo value for the Logout Response.
:type in_response_to: string | "Creates a Logout Response object.\n :param in_response_to: InResponseTo value for the Logout Response.\n :type in_response_to: string" | 302 | false | onelogin/python3-saml | build | 18,003 | |
LDU_FT/cloudnull/cloudlib/distro_check | LDU_FT | [
"<BEGIN>\n## `getLogger`",
"Return a logger from a given name.",
" If the name does not have a log handler, this will create one for it based\n on the module name which will log everything to a log file in a location\n the executing user will have access to.",
" :param name: ``str``\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distro_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distro_check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a string containing the distro package manager. | "Return a string containing the distro package manager." | 136 | false | cloudnull/cloudlib | distro_check | 18,004 | |
LDU_FT/ihabunek/toot/make_config | LDU_FT | [
"<BEGIN>\n## `_wc_hard_wrap`",
"Wrap text to length characters, breaking when target length is reached,\n taking into account character width.",
" Used to wrap lines which cannot be wrapped on whitespace.\n<END>",
"<BEGIN>\n## `wc_wrap`",
"Wrap text to given length, breaking on whitespace and taking i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Creates a config file.
Attempts to load data from legacy config files if they exist. | "Creates a config file.\n\n Attempts to load data from legacy config files if they exist." | 44 | false | ihabunek/toot | make_config | 18,005 | |
LDU_FT/mortada/fredapi/__fetch_data | LDU_FT | [
"<BEGIN>\n## `__fetch_data`",
"helper function for fetching data given a request URL\n<END>",
"<BEGIN>\n## `_parse`",
"helper function for parsing FRED date string into datetime\n<END>",
"<BEGIN>\n## `get_series_info`",
"Get information about a series such as its title, frequency, observation start/end da... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __fetch_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __fetch_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | helper function for fetching data given a request URL | "helper function for fetching data given a request URL" | 44 | false | mortada/fredapi | __fetch_data | 18,006 | |
LDU_FT/relekang/python-semantic-release/get_repository_owner_and_name | LDU_FT | [
"<BEGIN>\n## `parse_commit_message`",
"Parses a commit message according to the 1.0 version of python-semantic-release. It expects\n a tag of some sort in the commit message and will use the rest of the first line as changelog\n content.",
" :param message: A string of a commit message.\n :raises Un... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_repository_owner_and_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_repository_owner_and_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Checks the origin remote to get the owner and name of the remote repository.
:return: A tuple of the owner and name. | "Checks the origin remote to get the owner and name of the remote repository.\n\n :return: A tuple of the owner and name." | 103 | false | relekang/python-semantic-release | get_repository_owner_and_name | 18,007 | |
LDU_FT/epfl-idevelop/epfl-ldap/get_optional_env | LDU_FT | [
"<BEGIN>\n## `authenticate`",
"Authenticate the user with a bind on the LDAP server\n<END>",
"<BEGIN>\n## `get_optional_env`",
"Return the value of an optional environment variable, and use\n the provided default if it's not set.\n<END>",
"<BEGIN>\n## `is_unit_exist`",
"Return True if the unit 'unid_id... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_optional_env API.
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_optional_env API.
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 value of an optional environment variable, and use
the provided default if it's not set. | "Return the value of an optional environment variable, and use\n the provided default if it's not set." | 10 | false | epfl-idevelop/epfl-ldap | get_optional_env | 18,008 | |
LDU_FT/dschep/lambda-decorators/ssm_parameter_store | LDU_FT | [
"<BEGIN>\n## `before`",
"Run a function before the handler is invoked, is passed the event & context\n and must return an event & context too.",
" Usage::",
" >>> # to create a reusable decorator\n >>> @before\n ... def print_request_id(event, context):\n ... print(contex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ssm_parameter_store 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 ssm_parameter_store API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get parameters from the `AWS SSM Parameter Store <https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-paramstore.html>`_.
Secrets are added to a dictionary named ``ssm_params`` on the context object.
This requires your lambda to have the ``ssm:GetParameters`` permission on for request... | "Get parameters from the `AWS SSM Parameter Store <https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-paramstore.html>`_.\n\n Secrets are added to a dictionary named ``ssm_params`` on the context object.\n\n This requires your lambda to have the ``ssm:GetParameters`` permission on for re... | 69 | false | dschep/lambda-decorators | ssm_parameter_store | 18,009 | |
LDU_FT/sjkingo/virtualenv-api/wheel | LDU_FT | [
"<BEGIN>\n## `_python_rpath`",
"The relative path (from environment root) to python.\n<END>",
"<BEGIN>\n## `_create`",
"Executes `virtualenv` to create a new environment.\n<END>",
"<BEGIN>\n## `_execute_pip`",
"Executes pip commands.",
" :param args: Arguments to pass to pip (list[str])\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wheel API.
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 wheel API.
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... | Creates a wheel of the given package from this virtual environment,
as specified in pip's package syntax or a tuple of ('name', 'ver'),
only if it is not already installed. Some valid examples:
'Django'
'Django==1.5'
('Django', '1.5')
The `options` is a list of strin... | "Creates a wheel of the given package from this virtual environment,\n as specified in pip's package syntax or a tuple of ('name', 'ver'),\n only if it is not already installed. Some valid examples:\n\n 'Django'\n 'Django==1.5'\n ('Django', '1.5')\n\n The `options` is a list... | 38 | false | sjkingo/virtualenv-api | wheel | 18,010 | |
LDU_FT/hmeine/qimage2ndarray/requireCompatibleAPI | LDU_FT | [
"<BEGIN>\n## `requireCompatibleAPI`",
"If PyQt4's API should be configured to be compatible with PySide's\n (i.e. QString and QVariant should not be explicitly exported,\n cf. documentation of sip.setapi()), call this function to check that\n the PyQt4 was properly imported. (It will always ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requireCompatibleAPI 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 requireCompatibleAPI API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | If PyQt4's API should be configured to be compatible with PySide's
(i.e. QString and QVariant should not be explicitly exported,
cf. documentation of sip.setapi()), call this function to check that
the PyQt4 was properly imported. (It will always be configured this
way by this module, b... | "If PyQt4's API should be configured to be compatible with PySide's\n (i.e. QString and QVariant should not be explicitly exported,\n cf. documentation of sip.setapi()), call this function to check that\n the PyQt4 was properly imported. (It will always be configured this\n way by this modu... | 52 | false | hmeine/qimage2ndarray | requireCompatibleAPI | 18,011 | |
LDU_FT/choderalab/pymbar/EXPGauss | LDU_FT | [
"<BEGIN>\n## `read_file`",
"Read contents of the specified file.",
" Parameters:\n -----------\n filename : str\n The name of the file to be read",
" Returns:\n lines : list of str\n The contents of the file, split by line\n<END>",
"<BEGIN>\n## `getFreeEnergyDifferences`",
"Get the dim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the EXPGauss API.
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 EXPGauss API.
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... | Estimate free energy difference using gaussian approximation to one-sided (unidirectional) exponential averaging.
Parameters
----------
w_F : np.ndarray, float
w_F[t] is the forward work value from snapshot t. t = 0...(T-1) Length T is deduced from vector.
compute_uncertainty : bool, optional... | "Estimate free energy difference using gaussian approximation to one-sided (unidirectional) exponential averaging.\n\n Parameters\n ----------\n w_F : np.ndarray, float\n w_F[t] is the forward work value from snapshot t. t = 0...(T-1) Length T is deduced from vector.\n compute_uncertainty : bool, o... | 533 | false | choderalab/pymbar | EXPGauss | 18,012 | |
LDU_FT/EmbodiedCognition/py-c3d/parameter_blocks | LDU_FT | [
"<BEGIN>\n## `write`",
"Write binary header data to a file handle.",
" This method writes exactly 512 bytes to the beginning of the given file\n handle.",
" Parameters\n ----------\n handle : file handle\n The given handle will be reset to 0 using `seek` and then ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parameter_blocks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parameter_blocks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Compute the size (in 512B blocks) of the parameter section. | "Compute the size (in 512B blocks) of the parameter section." | 61 | false | EmbodiedCognition/py-c3d | parameter_blocks | 18,013 | |
LDU_FT/zetaops/zengine/find_message | LDU_FT | [
"<BEGIN>\n## `list_catalogs`",
"Lists existing catalogs respect to ui view template format\n<END>",
"<BEGIN>\n## `get_catalog`",
"Get existing catalog and fill the form with the model data.\n If given key not found as catalog, it generates an empty catalog data form.\n<END>",
"<BEGIN>\n## `save_catal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Search in messages. If "channel_key" given, search will be limited to that channel,
otherwise search will be performed on all of user's subscribed channels.
.. code-block:: python
# request:
{
'view':'_zops_search_unit,
'channel_key': key,
... | "Search in messages. If \"channel_key\" given, search will be limited to that channel,\n otherwise search will be performed on all of user's subscribed channels.\n\n .. code-block:: python\n\n # request:\n {\n 'view':'_zops_search_unit,\n 'channel_k... | 655 | false | zetaops/zengine | find_message | 18,014 | |
LDU_FT/jhazelwo/python-fileasobj/check | LDU_FT | [
"<BEGIN>\n## `example_add_line_to_file`",
"Different methods to append a given line to the file, all work the same.\n<END>",
"<BEGIN>\n## `example_write_file_to_disk_if_changed`",
"Try to remove all comments from a file, and save it if changes were made.\n<END>",
"<BEGIN>\n## `read`",
"Read given_file to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Find first occurrence of 'line' in file.
This searches each line as a whole, if you want to see if a substring is in a line, use .grep() or .egrep()
If found, return the line; this makes it easier to chain methods.
:param line: String; whole line to find.
:return: String or False. | "Find first occurrence of 'line' in file.\n\n This searches each line as a whole, if you want to see if a substring is in a line, use .grep() or .egrep()\n\n If found, return the line; this makes it easier to chain methods.\n\n :param line: String; whole line to find.\n :return: String or Fa... | 39 | false | jhazelwo/python-fileasobj | check | 18,015 | |
LDU_FT/albahnsen/CostSensitiveClassification/load_creditscoring2 | LDU_FT | [
"<BEGIN>\n## `_partition_estimators`",
"Private function used to partition estimators between jobs.\n<END>",
"<BEGIN>\n## `_parallel_build_estimators`",
"Private function used to build a batch of estimators within a job.\n<END>",
"<BEGIN>\n## `_parallel_predict_proba`",
"Private function used to compute (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_creditscoring2 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 load_creditscoring2 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... | Load and return the credit scoring PAKDD 2009 competition dataset (classification).
The credit scoring is a easily transformable example-dependent cost-sensitive classification dataset.
Parameters
----------
cost_mat_parameters : Dictionary-like object, optional (default=None)
If not None, mus... | "Load and return the credit scoring PAKDD 2009 competition dataset (classification).\n\n The credit scoring is a easily transformable example-dependent cost-sensitive classification dataset.\n\n Parameters\n ----------\n cost_mat_parameters : Dictionary-like object, optional (default=None)\n If not N... | 334 | false | albahnsen/CostSensitiveClassification | load_creditscoring2 | 18,016 | |
LDU_FT/abhishek-ram/pyas2-lib/parse | LDU_FT | [
"<BEGIN>\n## `quote_as2name`",
"Function converts as2 name from unquoted to quoted format\n :param unquoted_name: the as2 name in unquoted format\n :return: the as2 name in unquoted format\n<END>",
"<BEGIN>\n## `mime_to_bytes`",
"Function to convert and email Message to flat string format\n :param ms... | 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... | Function parses the RAW AS2 MDN, verifies it and extracts the
processing status of the orginal AS2 message.
:param raw_content:
A byte string of the received HTTP headers followed by the body.
:param find_message_cb:
A callback the must returns the original Message Obje... | "Function parses the RAW AS2 MDN, verifies it and extracts the\n processing status of the orginal AS2 message.\n\n :param raw_content:\n A byte string of the received HTTP headers followed by the body.\n\n :param find_message_cb:\n A callback the must returns the original Mess... | 81 | false | abhishek-ram/pyas2-lib | parse | 18,017 | |
LDU_FT/hayd/pep8radius/fix_file | LDU_FT | [
"<BEGIN>\n## `fix_file`",
"Calls fix_code on the source code from the passed in file over the given\n line_ranges.",
" - If diff then this returns the udiff for the changes, otherwise\n returns the fixed code.\n - If in_place the changes are written to the file.\n<END>",
"<BEGIN>\n## `fix_code`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_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 extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_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 extracte... | Apply autopep8 to the diff lines of a file.
- Returns the diff between original and fixed file.
- If self.in_place then this writes the the fixed code the file_name.
- Prints dots to show progress depending on options. | "Apply autopep8 to the diff lines of a file.\n\n - Returns the diff between original and fixed file.\n - If self.in_place then this writes the the fixed code the file_name.\n - Prints dots to show progress depending on options." | 57 | false | hayd/pep8radius | fix_file | 18,018 | |
LDU_FT/a2liu/mr-clean/clean | LDU_FT | [
"<BEGIN>\n## `summarize`",
"Prints information about the DataFrame to a file or to the prompt.",
" Parameters\n ----------\n df - DataFrame\n The DataFrame to summarize\n preview_rows - int, default 5\n Amount of rows to preview from the head and tail of the DataFrame\n display_max_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean API.
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 clean API.
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... | Superficially cleans data, i.e. changing simple things about formatting.
Parameters:
df - DataFrame
DataFrame to clean
error_rate - float {0 <= error_rate <= 1}, default 0
Maximum amount of errors/inconsistencies caused explicitly by cleaning, expressed
as a percentage of total dataf... | "Superficially cleans data, i.e. changing simple things about formatting.\n Parameters:\n df - DataFrame\n DataFrame to clean\n error_rate - float {0 <= error_rate <= 1}, default 0\n Maximum amount of errors/inconsistencies caused explicitly by cleaning, expressed\n as a percentage of tota... | 84 | false | a2liu/mr-clean | clean | 18,019 | |
LDU_FT/mikeywaites/flask-arrested/add_endpoint | LDU_FT | [
"<BEGIN>\n## `process`",
"Process the provided data and invoke :meth:`Handler.handle` method for this\n Handler class.",
" :params data: The data being processed.\n :returns: self\n :rtype: :class:`Handler`",
" .. code-block:: python",
" def post(self, *args, **... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_endpoint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_endpoint API.
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... | Register an :class:`.Endpoint` aginst this resource.
:param endpoint: :class:`.Endpoint` API Endpoint class
Usage::
foo_resource = Resource('example', __name__)
class MyEndpoint(Endpoint):
url = '/example'
name = 'myendpoint'
foo_r... | "Register an :class:`.Endpoint` aginst this resource.\n\n :param endpoint: :class:`.Endpoint` API Endpoint class\n\n Usage::\n\n foo_resource = Resource('example', __name__)\n class MyEndpoint(Endpoint):\n\n url = '/example'\n name = 'myendpoint'\n\n ... | 99 | false | mikeywaites/flask-arrested | add_endpoint | 18,020 | |
LDU_FT/radzak/rtv-downloader/get_urls_from_onetab | LDU_FT | [
"<BEGIN>\n## `suppress_stdout`",
"Context manager that suppresses stdout.",
" Examples:\n >>> with suppress_stdout():\n ... print('Test print')",
" >>> print('test')\n test\n<END>",
"<BEGIN>\n## `get_domain_name`",
"Extract a domain name from the url (without subdomain).... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_urls_from_onetab 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_urls_from_onetab API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get video urls from a link to the onetab shared page.
Args:
onetab (str): Link to a onetab shared page.
Returns:
list: List of links to the videos. | "Get video urls from a link to the onetab shared page.\n\n Args:\n onetab (str): Link to a onetab shared page.\n\n Returns:\n list: List of links to the videos." | 59 | false | radzak/rtv-downloader | get_urls_from_onetab | 18,021 | |
LDU_FT/pydata/numexpr/evaluate | LDU_FT | [
"<BEGIN>\n## `set_vml_accuracy_mode`",
"Set the accuracy mode for VML operations.",
" The `mode` parameter can take the values:\n - 'high': high accuracy mode (HA), <1 least significant bit\n - 'low': low accuracy mode (LA), typically 1-2 least significant bits\n - 'fast': enhanced performance mode ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate API.
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 evaluate API.
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... | Evaluate a simple array expression element-wise, using the new iterator.
ex is a string forming an expression, like "2*a+3*b". The values for "a"
and "b" will by default be taken from the calling function's frame
(through use of sys._getframe()). Alternatively, they can be specifed
using the 'local_dic... | "Evaluate a simple array expression element-wise, using the new iterator.\n\n ex is a string forming an expression, like \"2*a+3*b\". The values for \"a\"\n and \"b\" will by default be taken from the calling function's frame\n (through use of sys._getframe()). Alternatively, they can be specifed\n using th... | 69 | false | pydata/numexpr | evaluate | 18,022 | |
LDU_FT/CI-WATER/mapkit/getColorForValue | LDU_FT | [
"<BEGIN>\n## `getAsKmlGrid`",
"Creates a KML file with each cell in the raster represented by a polygon. The result is a vector grid representation of the raster.\n Note that pixels with values between -1 and 0 are omitted as no data values. Also note that this method only works on the first band.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getColorForValue API.
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 getColorForValue API.
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 a color tuple give a value within the range of mapped values
:param value: Lookup value
:rtype: tuple of RGB integer values | "Return a color tuple give a value within the range of mapped values\n :param value: Lookup value\n :rtype: tuple of RGB integer values" | 62 | false | CI-WATER/mapkit | getColorForValue | 18,023 | |
LDU_FT/pkkid/python-plexapi/_clean | LDU_FT | [
"<BEGIN>\n## `registerPlexObject`",
"Registry of library types we may come across when parsing XML. This allows us to\n define a few helper functions to dynamically convery the XML into objects. See\n buildItem() below for an example.\n<END>",
"<BEGIN>\n## `cast`",
"Cast the specified value to t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean API.
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 _clean API.
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 ... | Clean attr value for display in __repr__. | "Clean attr value for display in __repr__." | 372 | false | pkkid/python-plexapi | _clean | 18,024 | |
LDU_FT/bkjones/pyrabbit/get_vhost | LDU_FT | [
"<BEGIN>\n## `do_call`",
"Send an HTTP request to the REST API.",
" :param string path: A URL\n :param string method: The HTTP method (GET, POST, etc.) to use\n in the request.\n :param string body: A string representing any data to be sent in the\n body of the HTTP re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vhost API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_vhost API.
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 the attributes of a single named vhost in a dict.
:param string vname: Name of the vhost to get.
:returns dict vhost: Attribute dict for the named vhost | "Returns the attributes of a single named vhost in a dict.\n\n :param string vname: Name of the vhost to get.\n :returns dict vhost: Attribute dict for the named vhost" | 112 | false | bkjones/pyrabbit | get_vhost | 18,025 | |
LDU_FT/seleniumbase/SeleniumBase/play_bootstrap_tour | LDU_FT | [
"<BEGIN>\n## `generate_application_string`",
"Generate an application string based on some of the given information\n that can be pulled from the test object: app_env, start_time.\n<END>",
"<BEGIN>\n## `_filter_xpath_grouping`",
"This method removes the outer parentheses for xpath grouping.\n Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the play_bootstrap_tour 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 play_bootstrap_tour 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... | Plays a Bootstrap tour on the current website. | "Plays a Bootstrap tour on the current website." | 362 | false | seleniumbase/SeleniumBase | play_bootstrap_tour | 18,026 | |
LDU_FT/guma44/GEOparse/_sra_download_worker | LDU_FT | [
"<BEGIN>\n## `download`",
"Download SRA files.",
" Returns:\n :obj:`list` of :obj:`str`: List of downloaded files.\n<END>",
"<BEGIN>\n## `add_log_file`",
"Add log file.",
" Args:\n path (:obj:`str`): Path to the log file.\n<END>",
"<BEGIN>\n## `_sra_download_worker`",
"A wo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sra_download_worker 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 _sra_download_worker API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | A worker to download SRA files.
To be used with multiprocessing. | "A worker to download SRA files.\n\n To be used with multiprocessing." | 142 | false | guma44/GEOparse | _sra_download_worker | 18,027 | |
LDU_FT/diging/tethne/_strip_punctuation | LDU_FT | [
"<BEGIN>\n## `to_dxgmml`",
"Writes a :class:`.GraphCollection` to\n `dynamic XGMML. <https://code.google.com/p/dynnetwork/wiki/DynamicXGMML>`_.",
" Dynamic XGMML is a schema for describing dynamic networks in Cytoscape 3.0.\n This method assumes that `Graph` indices are orderable points in time\n (e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _strip_punctuation 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 _strip_punctuation 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... | Removes all punctuation characters from a string. | "Removes all punctuation characters from a string." | 497 | false | diging/tethne | _strip_punctuation | 18,028 | |
LDU_FT/davebridges/mousedb/unweaned | LDU_FT | [
"<BEGIN>\n## `age`",
"Calculates the animals age, relative to the current date (if alive) or the date of death (if not).\n<END>",
"<BEGIN>\n## `breeding_male_location_type`",
"This attribute defines whether a male's current location is the same as the breeding cage to which it belongs.",
" This attri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unweaned API.
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 unweaned API.
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 attribute generates a queryset of unweaned animals for this breeding cage. It is filtered for only Alive animals. | "This attribute generates a queryset of unweaned animals for this breeding cage. It is filtered for only Alive animals." | 128 | false | davebridges/mousedb | unweaned | 18,029 | |
LDU_FT/VisualOps/cli/create_container | LDU_FT | [
"<BEGIN>\n## `create_app`",
"insert app record when stack run as a app\n<END>",
"<BEGIN>\n## `create_container`",
"insert container record when create container\n<END>",
"<BEGIN>\n## `get_app_data`",
"get app data ( include name and app_data )\n<END>",
"<BEGIN>\n## `_get_config`",
"Get user docker con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_container API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_container API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | insert container record when create container | "insert container record when create container" | 90 | false | VisualOps/cli | create_container | 18,030 | |
LDU_FT/PyCQA/pydocstyle/check_surrounding_whitespaces | LDU_FT | [
"<BEGIN>\n## `error_lineno`",
"Get the line number with which to report violations.\n<END>",
"<BEGIN>\n## `source`",
"Return the source code for the definition.\n<END>",
"<BEGIN>\n## `is_public`",
"Return True iff this function should be considered public.\n<END>",
"<BEGIN>\n## `is_magic`",
"Return Tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_surrounding_whitespaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_surrounding_whitespaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | D210: No whitespaces allowed surrounding docstring text. | "D210: No whitespaces allowed surrounding docstring text." | 183 | false | PyCQA/pydocstyle | check_surrounding_whitespaces | 18,031 | |
LDU_FT/costastf/locationsharinglib/_reverse | LDU_FT | [
"<BEGIN>\n## `get_shared_people`",
"Retrieves all people that share their location with this account\n<END>",
"<BEGIN>\n## `get_authenticated_person`",
"Retrieves the person associated with this account\n<END>",
"<BEGIN>\n## `get_coordinates_by_nickname`",
"Retrieves a person's coordinates by nickname\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _reverse API.
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 _reverse API.
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... | reverse patch direction (this doesn't touch filenames) | "reverse patch direction (this doesn't touch filenames)" | 61 | false | costastf/locationsharinglib | _reverse | 18,032 | |
LDU_FT/singularityhub/singularity-python/compare_containers | LDU_FT | [
"<BEGIN>\n## `get_template`",
"get_template will return a template in the template folder,\n with some substitutions (eg, {'{{ graph | safe }}':\"fill this in!\"}\n<END>",
"<BEGIN>\n## `container_similarity_vector`",
"container similarity_vector is similar to compare_packages, but intended\n to compare ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compare_containers 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 compare_containers 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... | compare_containers will generate a data structure with common and unique files to
two images. If environmental variable SINGULARITY_HUB is set, will use container
database objects.
:param container1: first container for comparison
:param container2: second container for comparison if either not defined ... | "compare_containers will generate a data structure with common and unique files to\n two images. If environmental variable SINGULARITY_HUB is set, will use container\n database objects.\n :param container1: first container for comparison\n :param container2: second container for comparison if either not def... | 135 | false | singularityhub/singularity-python | compare_containers | 18,033 | |
LDU_FT/genomoncology/related/to_datetime_field | LDU_FT | [
"<BEGIN>\n## `init_default`",
"Returns optional default if field is not required and\n default was not provided.",
" :param bool required: whether the field is required in a given model.\n :param default: default provided by creator of field.\n :param optional_default: default for the data type if n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_datetime_field API.
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 to_datetime_field API.
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 a callable instance that will convert a string to a DateTime.
:param formatter: String that represents data format for parsing.
:return: instance of the DateTimeConverter. | "Returns a callable instance that will convert a string to a DateTime.\n\n :param formatter: String that represents data format for parsing.\n :return: instance of the DateTimeConverter." | 95 | false | genomoncology/related | to_datetime_field | 18,034 | |
LDU_FT/listen-lavender/webcrawl/monitor | LDU_FT | [
"<BEGIN>\n## `_daemonize`",
"do the UNIX double-fork magic, see Stevens' \"Advanced \n Programming in the UNIX Environment\" for details (ISBN 0201563177)\n http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16\n<END>",
"<BEGIN>\n## `monitor`",
"Monitor the process, check whether it runs out of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the monitor API.
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 monitor API.
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... | Monitor the process, check whether it runs out of time. | "Monitor the process, check whether it runs out of time." | 23 | false | listen-lavender/webcrawl | monitor | 18,035 | |
LDU_FT/qubell/contrib-python-qubell-client/dump | LDU_FT | [
"<BEGIN>\n## `request_upload_secret`",
":return: json with \"keyId\" as secret and \"url\" for posting key\n<END>",
"<BEGIN>\n## `entity`",
"CLI for tonomi.com using contrib-python-qubell-client",
" To enable completion:",
" eval \"$(_NOMI_COMPLETE=source nomi)\"\n<END>",
"<BEGIN>\n## `import_ap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Dump initialized object structure to yaml | "Dump initialized object structure to yaml" | 112 | false | qubell/contrib-python-qubell-client | dump | 18,036 | |
LDU_FT/edeposit/edeposit.amqp/get_amqp_settings | LDU_FT | [
"<BEGIN>\n## `_process_exception`",
"Process informations about exception and send them thru AMQP.",
" Args:\n e (obj): Exception instance.\n body (str): Text which will be sent over AMQP.\n tb (obj): Traceback object with informations, which will be put to the\n headers... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_amqp_settings API.
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_amqp_settings API.
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 all settings in dict in following format::
{
"submodule_name": {
"vhost": VIRTUALHOST,
"exchange": EXCHANGE,
"queues": {
QUEUE_NAME: ROUTING_KEY,
QUEUE_NAME: ROUTING_KEY
},
... | "Return all settings in dict in following format::\n\n {\n \"submodule_name\": {\n \"vhost\": VIRTUALHOST,\n \"exchange\": EXCHANGE,\n \"queues\": {\n QUEUE_NAME: ROUTING_KEY,\n QUEUE_NAME: ROUTING_KEY\n ... | 70 | false | edeposit/edeposit.amqp | get_amqp_settings | 18,037 | |
LDU_FT/pmelchior/proxmin/update_history | LDU_FT | [
"<BEGIN>\n## `prox_gradf_lim`",
"Forward-backward step: gradient, followed by projection\n<END>",
"<BEGIN>\n## `prox_lim12`",
"if boundary == \"circle\":\n if j == 0:\n xy = np.array([x[0], Xs[1][0]])\n if j == 1:\n xy = np.array([Xs[0][0], x[0]])\n return [prox_circ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_history API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_history API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Add the current state for all kwargs to the history | "Add the current state for all kwargs to the history" | 91 | false | pmelchior/proxmin | update_history | 18,038 | |
LDU_FT/timmahrt/ProMo/morphChunkedDataLists | LDU_FT | [
"<BEGIN>\n## `plotF0`",
"Plots the original data in a graph above the plot of the dtw'ed data\n<END>",
"<BEGIN>\n## `f0Morph`",
"Resynthesizes the pitch track from a source to a target wav file",
" fromPitchData and toPitchData should be segmented according to the\n portions that you want to morph. T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the morphChunkedDataLists 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 morphChunkedDataLists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Morph one set of data into another, in a stepwise fashion
A convenience function. Given a set of paired data lists,
this will morph each one individually.
Returns a single list with all data combined together. | "Morph one set of data into another, in a stepwise fashion\n\n A convenience function. Given a set of paired data lists,\n this will morph each one individually.\n\n Returns a single list with all data combined together." | 75 | false | timmahrt/ProMo | morphChunkedDataLists | 18,039 | |
LDU_FT/jam31118/vis/get_text_position_and_inner_alignment | LDU_FT | [
"<BEGIN>\n## `estimate_global_norm_range`",
"Return estimated global range for 2D (pcolormesh-like) plot.",
" ## Returns:\n - vmin\n - vmax\n<END>",
"<BEGIN>\n## `process_frames_argument`",
"Check and process 'frames' argument\n into a proper iterable for an animation object",
" ## Argument... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text_position_and_inner_alignment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text_position_and_inner_alignment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | Return text position and its alignment in its bounding box.
The returned position is given in Axes coordinate,
as defined in matplotlib documentation on transformation.
The returned alignment is given in dictionary,
which can be put as a fontdict to text-relavent method. | "Return text position and its alignment in its bounding box.\n \n The returned position is given in Axes coordinate,\n as defined in matplotlib documentation on transformation.\n\n The returned alignment is given in dictionary,\n which can be put as a fontdict to text-relavent method." | 53 | false | jam31118/vis | get_text_position_and_inner_alignment | 18,040 | |
LDU_FT/inveniosoftware/invenio-collections/apply | LDU_FT | [
"<BEGIN>\n## `query`",
"Parse query string using given grammar.",
" :returns: AST that represents the query in the given grammar.\n<END>",
"<BEGIN>\n## `index`",
"Query Elasticsearch using \"collection\" param in query string.\n<END>",
"<BEGIN>\n## `apply`",
"Enhance the query restricting not per... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply API.
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 apply API.
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... | Enhance the query restricting not permitted collections.
Get the permitted restricted collection for the current user from the
user_info object and all the restriced collections from the
restricted_collection_cache. | "Enhance the query restricting not permitted collections.\n\n Get the permitted restricted collection for the current user from the\n user_info object and all the restriced collections from the\n restricted_collection_cache." | 33 | false | inveniosoftware/invenio-collections | apply | 18,041 | |
LDU_FT/nschloe/matplotlib2tikz/draw_patchcollection | LDU_FT | [
"<BEGIN>\n## `_get_ticks`",
"Gets a {'x','y'}, a number of ticks and ticks labels, and returns the\n necessary axis options for the given configuration.\n<END>",
"<BEGIN>\n## `_is_colorbar_heuristic`",
"Find out if the object is in fact a color bar.\n<END>",
"<BEGIN>\n## `_mpl_cmap2pgf_cmap`",
"Convert... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_patchcollection 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 draw_patchcollection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns PGFPlots code for a number of patch objects. | "Returns PGFPlots code for a number of patch objects." | 81 | false | nschloe/matplotlib2tikz | draw_patchcollection | 18,042 | |
LDU_FT/xflr6/gsheets/findall | LDU_FT | [
"<BEGIN>\n## `write_csv`",
"Dump rows to ``fileobj`` with the given ``encoding`` and CSV ``dialect``.\n<END>",
"<BEGIN>\n## `write_dataframe`",
"Dump ``rows`` to string buffer and load with ``pandas.read_csv()`` using ``kwargs``.\n<END>",
"<BEGIN>\n## `from_string`",
"Return a new SheetUrl instance from p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the findall API.
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 findall API.
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... | Fetch and return a list of spreadsheets with the given title.
Args:
title(str): title/name of the spreadsheets to return, or ``None`` for all
Returns:
list: list of new SpreadSheet instances (possibly empty) | "Fetch and return a list of spreadsheets with the given title.\n\n Args:\n title(str): title/name of the spreadsheets to return, or ``None`` for all\n Returns:\n list: list of new SpreadSheet instances (possibly empty)" | 93 | false | xflr6/gsheets | findall | 18,043 | |
LDU_FT/pyGrowler/Growler/http_responder_factory | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new prototype object with the argument as the source\n prototype.",
" .. Note:",
" This does not `initialize` the newly created object any\n more than setting its prototype.\n Calling the __init__ method is usually unnecessary as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the http_responder_factory 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 http_responder_factory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | The default factory function which creates a GrowlerHTTPResponder with
this object as the parent protocol, and the application's req/res
factory functions.
To change the default responder, overload this method with the same
to return your
own responder.
Params
-... | "The default factory function which creates a GrowlerHTTPResponder with\n this object as the parent protocol, and the application's req/res\n factory functions.\n\n To change the default responder, overload this method with the same\n to return your\n own responder.\n\n Params\... | 203 | false | pyGrowler/Growler | http_responder_factory | 18,044 | |
LDU_FT/UUDigitalHumanitieslab/tei_reader/all_parts | LDU_FT | [
"<BEGIN>\n## `tostring`",
"Convert an element to a single string and allow the passed inject method to place content before any\n element.\n<END>",
"<BEGIN>\n## `attributes`",
"Contain attributes applicable to this element\n<END>",
"<BEGIN>\n## `divisions`",
"Recursively get all the text divisions ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_parts API.
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 all_parts API.
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 get the parts flattened and in document order constituting the entire text e.g. if something has emphasis, a footnote or is marked as foreign. Text without a container element will be returned in order and wrapped with a TextPart. | "Recursively get the parts flattened and in document order constituting the entire text e.g. if something has emphasis, a footnote or is marked as foreign. Text without a container element will be returned in order and wrapped with a TextPart." | 14 | false | UUDigitalHumanitieslab/tei_reader | all_parts | 18,045 | |
LDU_FT/edx/bok-choy/search | LDU_FT | [
"<BEGIN>\n## `wait_for_js`",
"Method decorator that waits for JavaScript dependencies before executing `function`.\n If the function is not a method, the decorator has no effect.",
" Args:\n function (callable): Method to decorate.",
" Returns:\n Decorated method\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
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 search API.
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 ... | Click on the Search button and wait for the
results page to be displayed | "Click on the Search button and wait for the\n results page to be displayed" | 254 | false | edx/bok-choy | search | 18,046 | |
LDU_FT/callsign-viper/Flask-GraphQL-Auth/init_app | LDU_FT | [
"<BEGIN>\n## `init_app`",
"Register this extension with the flask app.",
" :param app: A flask application\n<END>",
"<BEGIN>\n## `_set_default__configuration_options`",
"Sets the default configuration options used by this extension\n<END>",
"<BEGIN>\n## `decode_jwt`",
"Decodes an encoded JWT",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
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 init_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Register this extension with the flask app.
:param app: A flask application | "Register this extension with the flask app.\n\n :param app: A flask application" | 20 | false | callsign-viper/Flask-GraphQL-Auth | init_app | 18,047 | |
LDU_FT/joyent/python-manta/_help_reindent | LDU_FT | [
"<BEGIN>\n## `_request`",
"Make a Manta request",
" ...\n @returns (res, content)\n<END>",
"<BEGIN>\n## `put_directory`",
"PutDirectory\n https://apidocs.joyent.com/manta/api.html#PutDirectory",
" @param mdir {str} A manta path, e.g. '/trent/stor/mydir'.\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _help_reindent API.
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 _help_reindent API.
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... | Hook to re-indent help strings before writing to stdout.
"help" is the help content to re-indent
"indent" is a string with which to indent each line of the
help content after normalizing. If unspecified or None
then the default is use: the 'self.helpindent' class... | "Hook to re-indent help strings before writing to stdout.\n\n \"help\" is the help content to re-indent\n \"indent\" is a string with which to indent each line of the\n help content after normalizing. If unspecified or None\n then the default is use: the 'self.helpind... | 203 | false | joyent/python-manta | _help_reindent | 18,048 | |
LDU_FT/discolabs/django-shopify-auth/create_user | LDU_FT | [
"<BEGIN>\n## `initialise_shopify_session`",
"Initialise the Shopify session with the Shopify App's API credentials.\n<END>",
"<BEGIN>\n## `anonymous_required`",
"Decorator requiring the current user to be anonymous (not logged in).\n<END>",
"<BEGIN>\n## `login_required`",
"Decorator that wraps django.cont... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_user API.
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 create_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Creates and saves a ShopUser with the given domain and password. | "Creates and saves a ShopUser with the given domain and password." | 11 | false | discolabs/django-shopify-auth | create_user | 18,049 | |
LDU_FT/sloria/konch/fix_identities | LDU_FT | [
"<BEGIN>\n## `transform`",
"Expand pattern into an (almost) equivalent one, but with single Either.",
" Example: ((-a | -b) (-c | -d)) => (-a -c | -a -d | -b -c | -b -d)\n Quirks: [-a] => (-a), (-a...) => (-a -a)\n<END>",
"<BEGIN>\n## `parse_long`",
"long ::= '--' chars [ ( ' ' | '=' ) chars ] ;\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_identities API.
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 fix_identities API.
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... | Make pattern-tree tips point to same object if they are equal. | "Make pattern-tree tips point to same object if they are equal." | 44 | false | sloria/konch | fix_identities | 18,050 | |
LDU_FT/jbasko/wr-profiles/load | LDU_FT | [
"<BEGIN>\n## `envvar_profile_cls`",
"A class decorator that makes the decorated class a sub-class of EnvvarProfile and transforms\n its type annotations into envvar profile properties.\n<END>",
"<BEGIN>\n## `envvar_profile`",
"Creates an EnvvarProfile instance without the need for an explicit declaration o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
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 load API.
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... | Get a loaded frozen instance of a specific profile. | "Get a loaded frozen instance of a specific profile." | 23 | false | jbasko/wr-profiles | load | 18,051 | |
LDU_FT/google/pyu2f/GetDeviceStringProperty | LDU_FT | [
"<BEGIN>\n## `ToByteArray`",
"Serialize the command.",
" Encodes the command as per the U2F specs, using the standard\n ISO 7816-4 extended encoding. All Commands expect data, so\n Le is always present.",
" Returns:\n Python bytearray of the encoded command.\n<END>",
"<BEGIN>\n## `_BuildPl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetDeviceStringProperty 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 GetDeviceStringProperty API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Reads string property from the HID device. | "Reads string property from the HID device." | 95 | false | google/pyu2f | GetDeviceStringProperty | 18,052 | |
LDU_FT/jspricke/python-remind/get_uids | LDU_FT | [
"<BEGIN>\n## `rem2ics`",
"Command line tool to convert from Remind to iCalendar\n<END>",
"<BEGIN>\n## `ics2rem`",
"Command line tool to convert from iCalendar to Remind\n<END>",
"<BEGIN>\n## `_parse_remind`",
"Calls remind and parses the output into a dict",
" filename -- the remind file (include... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_uids API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_uids API.
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... | UIDs of all reminders in the file excluding included files
If a filename is specified, only it's UIDs are return, otherwise all.
filename -- the remind file | "UIDs of all reminders in the file excluding included files\n If a filename is specified, only it's UIDs are return, otherwise all.\n\n filename -- the remind file" | 47 | false | jspricke/python-remind | get_uids | 18,053 | |
LDU_FT/jcrist/skein/datetime_to_millis | LDU_FT | [
"<BEGIN>\n## `add_page`",
"Add a new proxied page to the Web UI.",
" Parameters\n ----------\n route : str\n The route for the proxied page. Must be a valid path *segment* in a\n url (e.g. ``foo`` in ``/foo/bar/baz``). Routes must be unique\n across the appl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the datetime_to_millis 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 datetime_to_millis API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Convert a `datetime.datetime` to milliseconds since the epoch | "Convert a `datetime.datetime` to milliseconds since the epoch" | 153 | false | jcrist/skein | datetime_to_millis | 18,054 | |
LDU_FT/cdgriffith/Box/float | LDU_FT | [
"<BEGIN>\n## `_safe_attr`",
"Convert a key into something that is accessible as an attribute\n<END>",
"<BEGIN>\n## `_camel_killer`",
"CamelKiller, qu'est-ce que c'est?",
" Taken from http://stackoverflow.com/a/1176023/3244542\n<END>",
"<BEGIN>\n## `_conversion_checks`",
"Internal use for checking if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the float API.
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 float API.
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... | Return value of key as a float
:param item: key of value to transform
:param default: value to return if item does not exist
:return: float of value | "Return value of key as a float\n\n :param item: key of value to transform\n :param default: value to return if item does not exist\n :return: float of value" | 31 | false | cdgriffith/Box | float | 18,055 | |
LDU_FT/goshuirc/irc/_irc_lower | LDU_FT | [
"<BEGIN>\n## `sort_prefixes`",
"Returns a sorted list of prefixes.",
" Args:\n orig (str): Unsorted list of prefixes.\n prefixes (str): List of prefixes, from highest-priv to lowest.\n<END>",
"<BEGIN>\n## `parse_modes`",
"Return a modelist.",
" Args:\n params (list of str): Para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _irc_lower API.
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 _irc_lower API.
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 us to our lower-case equivalent, given our std. | "Convert us to our lower-case equivalent, given our std." | 97 | false | goshuirc/irc | _irc_lower | 18,056 | |
LDU_FT/cbrand/vpnchooser/put | LDU_FT | [
"<BEGIN>\n## `check`",
"Checks the given password with the one stored\n in the database\n<END>",
"<BEGIN>\n## `connect`",
"Connects the client to the server and\n returns it.\n<END>",
"<BEGIN>\n## `server_rules`",
"Reads the server rules from the client\n and returns it.\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
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 put API.
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... | Updates the Device Resource with the
name. | "Updates the Device Resource with the\n name." | 38 | false | cbrand/vpnchooser | put | 18,057 | |
LDU_FT/blockstack/blockstack-core/queuedb_remove | LDU_FT | [
"<BEGIN>\n## `anyword_substring_search_inner`",
"return True if ANY target_word matches a query_word\n<END>",
"<BEGIN>\n## `search_people_by_bio`",
"queries lucene index to find a nearest match, output is profile username\n<END>",
"<BEGIN>\n## `order_search_results`",
"order of results should be a) query ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queuedb_remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queuedb_remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Remove an element from a queue.
Return True on success
Raise on error | "Remove an element from a queue.\n Return True on success\n Raise on error" | 1,580 | true | blockstack/blockstack-core | queuedb_remove | 18,058 | |
LDU_FT/lexibank/pylexibank/tokenizer | LDU_FT | [
"<BEGIN>\n## `tokenizer`",
"Datasets can provide support for segmentation (aka tokenization) in two ways:\n - by providing an orthography profile at etc/orthography.tsv or\n - by overwriting this method to return a custom tokenizer callable.",
" :return: A callable to do segmentation.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tokenizer API.
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 tokenizer API.
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... | Datasets can provide support for segmentation (aka tokenization) in two ways:
- by providing an orthography profile at etc/orthography.tsv or
- by overwriting this method to return a custom tokenizer callable.
:return: A callable to do segmentation.
The expected signature of the callab... | "Datasets can provide support for segmentation (aka tokenization) in two ways:\n - by providing an orthography profile at etc/orthography.tsv or\n - by overwriting this method to return a custom tokenizer callable.\n\n :return: A callable to do segmentation.\n\n The expected signature of the... | 48 | false | lexibank/pylexibank | tokenizer | 18,059 | |
LDU_FT/tomturner/django-tenants/get_tenant_base_schema | LDU_FT | [
"<BEGIN>\n## `get_table_list`",
"Returns a list of table names in the current database and schema.\n<END>",
"<BEGIN>\n## `get_table_description`",
"Returns a description of the table, with the DB-API cursor.description interface.\n<END>",
"<BEGIN>\n## `delete`",
"Deletes this row. Drops the tenant's schem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tenant_base_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tenant_base_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | If TENANT_CREATION_FAKES_MIGRATIONS, tenants will be created by cloning an
existing schema specified by TENANT_CLONE_BASE. | "If TENANT_CREATION_FAKES_MIGRATIONS, tenants will be created by cloning an\n existing schema specified by TENANT_CLONE_BASE." | 50 | false | tomturner/django-tenants | get_tenant_base_schema | 18,060 | |
LDU_FT/perrygeo/simanneal/poly | LDU_FT | [
"<BEGIN>\n## `distance`",
"Calculates distance between two latitude-longitude coordinates.\n<END>",
"<BEGIN>\n## `round_figures`",
"Returns x rounded to n significant figures.\n<END>",
"<BEGIN>\n## `set_schedule`",
"Takes the output from `auto` and sets the attributes\n<END>",
"<BEGIN>\n## `copy_state`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poly API.
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 poly API.
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... | Creates a shape that has multiple collections of points (parts)
including lines, polygons, and even multipoint shapes. If no shape type
is specified it defaults to 'polygon'. If no part types are specified
(which they normally won't be) then all parts default to the shape type. | "Creates a shape that has multiple collections of points (parts)\r\n including lines, polygons, and even multipoint shapes. If no shape type\r\n is specified it defaults to 'polygon'. If no part types are specified\r\n (which they normally won't be) then all parts default to the shape type." | 67 | false | perrygeo/simanneal | poly | 18,061 | |
LDU_FT/binarydud/pyres/create_message | LDU_FT | [
"<BEGIN>\n## `perform`",
"This method converts payload into args and calls the ``perform``\n method on the payload class.",
" Before calling ``perform``, a ``before_perform`` class method\n is called, if it exists. It takes a dictionary as an argument;\n currently the only things st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns a message body to send in this email. Should be from email.mime.* | "Returns a message body to send in this email. Should be from email.mime.*" | 35 | false | binarydud/pyres | create_message | 18,062 | |
LDU_FT/CamDavidsonPilon/tdigest/trimmed_mean | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the t-digest with value x and weight w.\n<END>",
"<BEGIN>\n## `batch_update`",
"Update the t-digest with an iterable of values. This assumes all points have the\n same weight.\n<END>",
"<BEGIN>\n## `percentile`",
"Computes the percentile of a specific value in [0,100... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trimmed_mean API.
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 trimmed_mean API.
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 mean of the distribution between the two percentiles p1 and p2.
This is a modified algorithm than the one presented in the original t-Digest paper. | "Computes the mean of the distribution between the two percentiles p1 and p2.\n This is a modified algorithm than the one presented in the original t-Digest paper." | 24 | false | CamDavidsonPilon/tdigest | trimmed_mean | 18,063 | |
LDU_FT/kolypto/py-good/priority | LDU_FT | [
"<BEGIN>\n## `message`",
"Convenience decorator that applies [`Msg()`](#msg) to a callable.",
" ```python\n from good import Schema, message",
" @message(u'Need a number')\n def intify(v):\n return int(v)\n ```",
" :param message: Error message to use instead\n :type message: uni... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the priority API.
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 priority API.
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... | Get priority for this Schema.
Used to sort mapping keys
:rtype: int | "Get priority for this Schema.\n\n Used to sort mapping keys\n\n :rtype: int" | 118 | false | kolypto/py-good | priority | 18,064 | |
LDU_FT/watson-developer-cloud/python-sdk/_to_dict | LDU_FT | [
"<BEGIN>\n## `synthesize_using_websocket`",
"Synthesizes text to spoken audio using web sockets. It supports the use of\n the SSML <mark> element to identify the location of user-specified markers in the audio.\n It can also return timing information for all strings of the input text.\n Note:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return a json dictionary representing this model. | "Return a json dictionary representing this model." | 1,254 | true | watson-developer-cloud/python-sdk | _to_dict | 18,065 | |
LDU_FT/pylast/pylast/get_session_key | LDU_FT | [
"<BEGIN>\n## `cleanup_nodes`",
"Remove text nodes containing only whitespace\n<END>",
"<BEGIN>\n## `_collect_nodes`",
"Returns a sequence of dom.Node objects about as close to limit as possible\n<END>",
"<BEGIN>\n## `_extract_all`",
"Extracts all the values from the xml string. returning a list.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_session_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_session_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Retrieve a session key with a username and a md5 hash of the user's
password. | "Retrieve a session key with a username and a md5 hash of the user's\n password." | 146 | false | pylast/pylast | get_session_key | 18,066 | |
LDU_FT/dschreij/python-mediadecoder/__render_videoframe | LDU_FT | [
"<BEGIN>\n## `get_frame`",
"Callback function for the audio stream. Don't use directly.\n<END>",
"<BEGIN>\n## `queue`",
"Sets the audioqueue.",
"\t\tParameters\n\t\t----------\n\t\tvalue : queue.Queue\n\t\t\tThe buffer from which audioframes are received.\n<END>",
"<BEGIN>\n## `loop`",
"Indicates whethe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __render_videoframe 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 __render_videoframe 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... | Retrieves a new videoframe from the stream.
Sets the frame as the __current_video_frame and passes it on to
__videorenderfunc() if it is set. | "Retrieves a new videoframe from the stream.\n\n\t\tSets the frame as the __current_video_frame and passes it on to\n\t\t__videorenderfunc() if it is set." | 75 | false | dschreij/python-mediadecoder | __render_videoframe | 18,067 | |
LDU_FT/wharris/dougrain/drop_curie | LDU_FT | [
"<BEGIN>\n## `add_curie`",
"Adds a CURIE definition.",
" A CURIE link with the given ``name`` and ``href`` is added to the\n document.",
" This method returns self, allowing it to be chained with additional\n method calls.\n<END>",
"<BEGIN>\n## `add_link`",
"Adds a link to the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drop_curie API.
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 drop_curie API.
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... | Removes a CURIE.
The CURIE link with the given name is removed from the document. | "Removes a CURIE.\n\n The CURIE link with the given name is removed from the document." | 94 | false | wharris/dougrain | drop_curie | 18,068 | |
LDU_FT/HDI-Project/MLPrimitives/compute_threshold | LDU_FT | [
"<BEGIN>\n## `resample`",
"pd.DataFrame.resample adapter.",
" Call the `df.resample` method on the given time_index\n and afterwards call the indicated aggregation.",
" Optionally group the dataframe by the indicated columns before\n performing the resampling.",
" If groupby option is used, t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_threshold API.
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 compute_threshold API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Helper method for `extract_anomalies` method.
Calculates the epsilon (threshold) for anomalies. | "Helper method for `extract_anomalies` method.\n Calculates the epsilon (threshold) for anomalies." | 96 | false | HDI-Project/MLPrimitives | compute_threshold | 18,069 | |
LDU_FT/NatLibFi/Skosify/create_concept_scheme | LDU_FT | [
"<BEGIN>\n## `read_rdf`",
"Read a list of RDF files and/or RDF graphs. May raise an Exception.\n<END>",
"<BEGIN>\n## `mapping_get`",
"Look up the URI in the given mapping and return the result.",
" Throws KeyError if no matching mapping was found.\n<END>",
"<BEGIN>\n## `mapping_match`",
"Determine wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_concept_scheme 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 create_concept_scheme API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Create a skos:ConceptScheme in the model and return it. | "Create a skos:ConceptScheme in the model and return it." | 109 | false | NatLibFi/Skosify | create_concept_scheme | 18,070 | |
LDU_FT/zsiciarz/pygcvs/read_gcvs | LDU_FT | [
"<BEGIN>\n## `read_gcvs`",
"Reads variable star data in `GCVS format`_.",
" :param filename: path to GCVS data file (usually ``iii.dat``)",
" .. _`GCVS format`: http://www.sai.msu.su/gcvs/gcvs/iii/html/\n<END>",
"<BEGIN>\n## `dict_to_body`",
"Converts a dictionary of variable star data to a `Body` i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_gcvs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_gcvs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Reads variable star data in `GCVS format`_.
:param filename: path to GCVS data file (usually ``iii.dat``)
.. _`GCVS format`: http://www.sai.msu.su/gcvs/gcvs/iii/html/ | "Reads variable star data in `GCVS format`_.\n\n :param filename: path to GCVS data file (usually ``iii.dat``)\n\n .. _`GCVS format`: http://www.sai.msu.su/gcvs/gcvs/iii/html/" | 19 | false | zsiciarz/pygcvs | read_gcvs | 18,071 | |
LDU_FT/intuition-io/intuition/get_historical_prices | LDU_FT | [
"<BEGIN>\n## `update`",
"Actualizes the portfolio universe with the alog state\n<END>",
"<BEGIN>\n## `trade_signals_handler`",
"Process buy and sell signals from the simulation\n<END>",
"<BEGIN>\n## `advise`",
"General parameters or user settings\n (maw_weigth, max_assets, max_frequency, commission... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_historical_prices 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_historical_prices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get historical prices for the given ticker symbol.
Date format is 'YYYY-MM-DD'
Returns a nested dictionary (dict of dicts).
outer dict keys are dates ('YYYY-MM-DD') | "Get historical prices for the given ticker symbol.\n Date format is 'YYYY-MM-DD'\n\n Returns a nested dictionary (dict of dicts).\n outer dict keys are dates ('YYYY-MM-DD')" | 73 | false | intuition-io/intuition | get_historical_prices | 18,072 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.