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/Azure/azure-uamqp-python/initialize | LDU_FT | [
"<BEGIN>\n## `_close_received`",
"Callback called when a connection CLOSE frame is received.\n This callback will process the received CLOSE error to determine if\n the connection is recoverable or whether it should be shutdown.\n :param error: The error information from the close\n f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initialize API.
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 initialize API.
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... | Initialize the TLS/SSL platform to prepare it for
making AMQP requests. This only needs to happen once. | "Initialize the TLS/SSL platform to prepare it for\n making AMQP requests. This only needs to happen once." | 299 | false | Azure/azure-uamqp-python | initialize | 35,473 | |
LDU_FT/edx/opaque-keys/_to_string | LDU_FT | [
"<BEGIN>\n## `parse_url`",
"If it can be parsed as a version_guid with no preceding org + offering, returns a dict\n with key 'version_guid' and the value,",
" If it can be parsed as a org + offering, returns a dict\n with key 'id' and optional keys 'branch' and 'version_guid'.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return a string representing this location. | "Return a string representing this location." | 127 | false | edx/opaque-keys | _to_string | 35,474 | |
LDU_FT/exa-analytics/exa/_create | LDU_FT | [
"<BEGIN>\n## `_create`",
"Globally called function for creating the isotope/element API.\n<END>",
"<BEGIN>\n## `read_tarball`",
"Read a (possibly compressed) tarball archive and return a dictionary of\n editors.",
" .. code-block:: python",
" eds = read_tarball(path, classes=MyEditor) # Al... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Globally called function for creating the isotope/element API. | "Globally called function for creating the isotope/element API." | 194 | false | exa-analytics/exa | _create | 35,475 | |
LDU_FT/smitchell556/cuttlepool/_unavailable_range | LDU_FT | [
"<BEGIN>\n## `_get`",
"Get a resource from the pool. If timeout is ``None`` waits\n indefinitely.",
" :param timeout: Time in seconds to wait for a resource.\n :type timeout: int\n :return: A resource.\n :rtype: :class:`_ResourceTracker`",
" :raises PoolEmptyError: Wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unavailable_range 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 _unavailable_range API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return a generator for the indices of the unavailable region of
``_reference_queue``. | "Return a generator for the indices of the unavailable region of\n ``_reference_queue``." | 29 | false | smitchell556/cuttlepool | _unavailable_range | 35,476 | |
LDU_FT/dbcli/athenacli/style_factory | LDU_FT | [
"<BEGIN>\n## `refresher`",
"Decorator to add the decorated function to the dictionary of\n refreshers. Any function decorated with a @refresher will be executed as\n part of the completion refresh routine.\n<END>",
"<BEGIN>\n## `refresh`",
"Creates a SQLCompleter object and populates it with the relevan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the style_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the style_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 ext... | Create a Pygments Style class based on the user's preferences.
:param str name: The name of a built-in Pygments style.
:param dict cli_style: The user's token-type style preferences. | "Create a Pygments Style class based on the user's preferences.\n :param str name: The name of a built-in Pygments style.\n :param dict cli_style: The user's token-type style preferences." | 95 | false | dbcli/athenacli | style_factory | 35,477 | |
LDU_FT/tinybike/coinbridge/call | LDU_FT | [
"<BEGIN>\n## `payment`",
"Convenience method for sending Bitcoins.",
" Send coins from origin to destination. Calls record_tx to log the\n transaction to database. Uses free, instant \"move\" transfers\n if addresses are both local (in the same wallet), and standard\n \"sendfrom\" t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the call API.
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 call API.
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... | Passes an arbitrary command to the coin daemon.
Args:
command (str): command to be sent to the coin daemon | "Passes an arbitrary command to the coin daemon.\n\n Args:\n command (str): command to be sent to the coin daemon" | 48 | false | tinybike/coinbridge | call | 35,478 | |
LDU_FT/lawsie/guizero/exit_full_screen | LDU_FT | [
"<BEGIN>\n## `value_text`",
"Sets or returns the option selected in a ButtonGroup by its text value.\n<END>",
"<BEGIN>\n## `resize`",
"Resizes the widget.",
" :param int width:\n The width of the widget.",
" :param int height:\n The height of the widget.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exit_full_screen API.
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 exit_full_screen API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Change from full screen to windowed mode and remove key binding | "Change from full screen to windowed mode and remove key binding" | 173 | false | lawsie/guizero | exit_full_screen | 35,479 | |
LDU_FT/lappis-unb/salic-ml/raised_funds | LDU_FT | [
"<BEGIN>\n## `approved_funds`",
"Verifica se o valor total de um projeto é um\n outlier em relação\n aos projetos do mesmo seguimento cultural\n Dataframes: planilha_orcamentaria\n<END>",
"<BEGIN>\n## `complexidade`",
"Returns a value that indicates project health, currently FinancialIndicator\n i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raised_funds API.
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 raised_funds API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns the total raised funds of a project
with the given pronac and if this project is an
outlier based on this value. | "Returns the total raised funds of a project\n with the given pronac and if this project is an\n outlier based on this value." | 102 | false | lappis-unb/salic-ml | raised_funds | 35,480 | |
LDU_FT/nrcharles/caelum/eere_station | LDU_FT | [
"<BEGIN>\n## `parse_noaa_line`",
"Parse NOAA stations.",
" This is an old list, the format is:",
" NUMBER NAME & STATE/COUNTRY LAT LON ELEV (meters)",
" 010250 TROMSO NO 6941N 01855E 10\n<END>",
"<BEGIN>\n## `closest_eere`",
"Find closes... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eere_station API.
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 eere_station API.
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... | Station information.
Args:
station_code (str): station code.
Returns (dict): station information | "Station information.\n\n Args:\n station_code (str): station code.\n\n Returns (dict): station information" | 60 | false | nrcharles/caelum | eere_station | 35,481 | |
LDU_FT/smdabdoub/phylotoast/write_diversity_metrics | LDU_FT | [
"<BEGIN>\n## `sample_group`",
"Iterate through all categories in an OrderedDict and return category name if SampleID\n present in that category.",
" :type sid: str\n :param sid: SampleID from dataset.",
" :type groups: OrderedDict\n :param groups: Returned dict from phylotoast.util.gather_categ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_diversity_metrics 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 write_diversity_metrics API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Given a dictionary of diversity calculations (keyed by method)
write out the data to a file. | "Given a dictionary of diversity calculations (keyed by method)\n write out the data to a file." | 200 | false | smdabdoub/phylotoast | write_diversity_metrics | 35,482 | |
LDU_FT/jonhadfield/python-hosts/remove_all_matching | LDU_FT | [
"<BEGIN>\n## `get_entry_type`",
"Return the type of entry for the line of hosts file passed\n :param hosts_entry: A line from the hosts file\n :return: 'comment' | 'blank' | 'ipv4' | 'ipv6'\n<END>",
"<BEGIN>\n## `str_to_hostentry`",
"Transform a line from a hosts file into an instance of HostsEn... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_all_matching API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_all_matching 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... | Remove all HostsEntry instances from the Hosts object
where the supplied ip address or name matches
:param address: An ipv4 or ipv6 address
:param name: A host name
:return: None | "Remove all HostsEntry instances from the Hosts object\n where the supplied ip address or name matches\n :param address: An ipv4 or ipv6 address\n :param name: A host name\n :return: None" | 28 | false | jonhadfield/python-hosts | remove_all_matching | 35,483 | |
LDU_FT/amoffat/sh/get_iter_string_reader | LDU_FT | [
"<BEGIN>\n## `encode_to_py3bytes_or_py2str`",
"takes anything and attempts to return a py2 string or py3 bytes. this\n is typically used when creating command + arguments to be executed via\n os.exec*\n<END>",
"<BEGIN>\n## `get_exc_from_name`",
"takes an exception name, like:",
" ErrorReturnCo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_iter_string_reader 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_iter_string_reader API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | return an iterator that returns a chunk of a string every time it is
called. notice that even though bufsize_type might be line buffered, we're
not doing any line buffering here. that's because our StreamBufferer
handles all buffering. we just need to return a reasonable-sized chunk. | "return an iterator that returns a chunk of a string every time it is\n called. notice that even though bufsize_type might be line buffered, we're\n not doing any line buffering here. that's because our StreamBufferer\n handles all buffering. we just need to return a reasonable-sized chunk." | 83 | false | amoffat/sh | get_iter_string_reader | 35,484 | |
LDU_FT/alorence/pysvg-py3/_addPolylineToElements | LDU_FT | [
"<BEGIN>\n## `getAllElementsOfHirarchy`",
"returns ALL elements of the complete hirarchy as a flat list\n<END>",
"<BEGIN>\n## `getElementByID`",
"returns an element with the specific id and the position of that element within the svg elements array\n<END>",
"<BEGIN>\n## `getElementsByType`",
"retrieves al... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _addPolylineToElements 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 _addPolylineToElements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Creates a new Polyline element that will be used for future movement/drawing.
The old one (if filled) will be stored on the movement stack. | "Creates a new Polyline element that will be used for future movement/drawing. \n The old one (if filled) will be stored on the movement stack." | 75 | false | alorence/pysvg-py3 | _addPolylineToElements | 35,485 | |
LDU_FT/vberlier/nbtlib/infer_list_subtype | LDU_FT | [
"<BEGIN>\n## `load`",
"Load the nbt file at the specified location.\r",
" By default, the function will figure out by itself if the file is\r\n gzipped before loading it. You can pass a boolean to the `gzipped`\r\n keyword only argument to specify explicitly whether the file is\r\n compressed or not... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer_list_subtype 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 infer_list_subtype 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... | Infer a list subtype from a collection of items. | "Infer a list subtype from a collection of items." | 66 | false | vberlier/nbtlib | infer_list_subtype | 35,486 | |
LDU_FT/RyanBalfanz/django-smsish/send_mass_sms | LDU_FT | [
"<BEGIN>\n## `open`",
"Ensures we have a connection to the SMS gateway. Returns whether or not a new connection was required (True or False).\n<END>",
"<BEGIN>\n## `_send`",
"A helper method that does the actual sending.\n<END>",
"<BEGIN>\n## `get_sms_connection`",
"Load an sms backend and return an insta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_mass_sms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_mass_sms API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Given a datatuple of (subject, message, from_email, recipient_list), sends
each message to each recipient list. Returns the number of emails sent.
If from_email is None, the DEFAULT_FROM_EMAIL setting is used.
If auth_user and auth_password are set, they're used to log in.
If auth_user is None, the EMAIL_HOST_USER... | "Given a datatuple of (subject, message, from_email, recipient_list), sends\n\teach message to each recipient list. Returns the number of emails sent.\n\n\tIf from_email is None, the DEFAULT_FROM_EMAIL setting is used.\n\tIf auth_user and auth_password are set, they're used to log in.\n\tIf auth_user is None, the EMAIL... | 23 | false | RyanBalfanz/django-smsish | send_mass_sms | 35,487 | |
LDU_FT/mfitzp/padua/kegg_pathway | LDU_FT | [
"<BEGIN>\n## `remove_rows_matching`",
"Return a ``DataFrame`` with rows where `column` values match `match` are removed.",
" The selected `column` series of values from the supplied Pandas ``DataFrame`` is compared\n to `match`, and those rows that match are removed from the DataFrame.",
" :param df:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kegg_pathway API.
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 kegg_pathway API.
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... | Visualize data on a kegg pathway.
:param df:
:param pathway:
:param a:
:param b:
:param ids_from:
:param cmap:
:param is_log2:
:param fillna:
:param z_score:
:return: | "Visualize data on a kegg pathway.\n\n\n :param df:\n :param pathway:\n :param a:\n :param b:\n :param ids_from:\n :param cmap:\n :param is_log2:\n :param fillna:\n :param z_score:\n :return:" | 266 | false | mfitzp/padua | kegg_pathway | 35,488 | |
LDU_FT/Min-ops/cruddy/search | LDU_FT | [
"<BEGIN>\n## `describe`",
"Returns descriptive information about this cruddy handler and the\n methods supported by it.\n<END>",
"<BEGIN>\n## `search`",
"Cruddy provides a limited but useful interface to search GSI indexes in\n DynamoDB with the following limitations (hopefully some of these wil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 ... | Cruddy provides a limited but useful interface to search GSI indexes in
DynamoDB with the following limitations (hopefully some of these will
be expanded or eliminated in the future.
* The GSI must be configured with a only HASH and not a RANGE.
* The only operation supported in the que... | "Cruddy provides a limited but useful interface to search GSI indexes in\n DynamoDB with the following limitations (hopefully some of these will\n be expanded or eliminated in the future.\n\n * The GSI must be configured with a only HASH and not a RANGE.\n * The only operation supported in t... | 36 | false | Min-ops/cruddy | search | 35,489 | |
LDU_FT/zsethna/OLGA/cutR_seq | LDU_FT | [
"<BEGIN>\n## `nt2aa`",
"Translate a nucleotide sequence into an amino acid sequence.",
" Parameters\n ----------\n ntseq : str\n Nucleotide sequence composed of A, C, G, or T (uppercase or lowercase)",
" Returns\n -------\n aaseq : str\n Amino acid sequence",
" Example\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cutR_seq API.
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 cutR_seq API.
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... | Cut genomic sequence from the right.
Parameters
----------
seq : str
Nucleotide sequence to be cut from the right
cutR : int
cutR - max_palindrome = how many nucleotides to cut from the right.
Negative cutR implies complementary palindromic insertions.
max_palindrome : int
... | "Cut genomic sequence from the right.\n\n Parameters\n ----------\n seq : str\n Nucleotide sequence to be cut from the right\n cutR : int\n cutR - max_palindrome = how many nucleotides to cut from the right.\n Negative cutR implies complementary palindromic insertions.\n max_palindro... | 287 | false | zsethna/OLGA | cutR_seq | 35,490 | |
LDU_FT/fracpete/python-weka-wrapper/options | LDU_FT | [
"<BEGIN>\n## `next`",
"Reads the next dataset row.",
" :return: the next row\n :rtype: Instance\n<END>",
"<BEGIN>\n## `main`",
"Runs a associator from the command-line. Calls JVM start/stop automatically.\n Use -h to see all options.\n<END>",
"<BEGIN>\n## `next`",
"Returns the next rule... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Sets the command-line options (as list).
:param options: the list of command-line options to set
:type options: list | "Sets the command-line options (as list).\n\n :param options: the list of command-line options to set\n :type options: list" | 68 | false | fracpete/python-weka-wrapper | options | 35,491 | |
LDU_FT/arraylabs/pymyq/state | LDU_FT | [
"<BEGIN>\n## `close_websession`",
"Close web session if not already closed and created by us.\n<END>",
"<BEGIN>\n## `get_devices`",
"Get a list of all devices associated with the account.\n<END>",
"<BEGIN>\n## `main`",
"Create the aiohttp session and run the example.\n<END>",
"<BEGIN>\n## `state`",
"R... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the state API.
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 state API.
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 the current state of the device (if it exists). | "Return the current state of the device (if it exists)." | 12 | false | arraylabs/pymyq | state | 35,492 | |
LDU_FT/FSX/misaka/escape_html | LDU_FT | [
"<BEGIN>\n## `escape_html`",
"Binding for Hoedown's HTML escaping function.",
" The implementation is inspired by the OWASP XSS Prevention recommendations:",
" .. code-block:: none",
" & --> &\n < --> <\n > --> >\n \" --> "\n ' --> '\n / --... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the escape_html API.
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 escape_html API.
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... | Binding for Hoedown's HTML escaping function.
The implementation is inspired by the OWASP XSS Prevention recommendations:
.. code-block:: none
& --> &
< --> <
> --> >
" --> "
' --> '
/ --> / when escape_slash is set to True
.. ver... | "Binding for Hoedown's HTML escaping function.\n\n The implementation is inspired by the OWASP XSS Prevention recommendations:\n\n .. code-block:: none\n\n & --> &\n < --> <\n > --> >\n \" --> "\n ' --> '\n / --> / when escape_slash is set to Tru... | 30 | false | FSX/misaka | escape_html | 35,493 | |
LDU_FT/edwards-lab/libGWAS/LoadSNPs | 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 LoadSNPs API.
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 LoadSNPs API.
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... | Define the SNP inclusions (by RSID). This overrides true boundary \
definition.
:param snps: array of RSIDs
:return: None
This doesn't define RSID ranges, so it throws InvalidBoundarySpec if it
encounters what appears to be a range (SNP contains a "-") | "Define the SNP inclusions (by RSID). This overrides true boundary \\\n definition.\n\n :param snps: array of RSIDs\n :return: None\n\n This doesn't define RSID ranges, so it throws InvalidBoundarySpec if it\n encounters what appears to be a range (SNP contains a \"-\")" | 142 | false | edwards-lab/libGWAS | LoadSNPs | 35,494 | |
LDU_FT/rfk/django-supervisor/get_merged_config | LDU_FT | [
"<BEGIN>\n## `_handle_shell`",
"Command 'supervisord shell' runs the interactive command shell.\n<END>",
"<BEGIN>\n## `_handle_getconfig`",
"Command 'supervisor getconfig' prints merged config to stdout.\n<END>",
"<BEGIN>\n## `_handle_autoreload`",
"Command 'supervisor autoreload' watches for code changes... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_merged_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_merged_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... | Get the final merged configuration for supvervisord, as a string.
This is the top-level function exported by this module. It combines
the config file from the main project with default settings and those
specified in the command-line, processes various special section names,
and returns the resulting ... | "Get the final merged configuration for supvervisord, as a string.\n\n This is the top-level function exported by this module. It combines\n the config file from the main project with default settings and those\n specified in the command-line, processes various special section names,\n and returns the resu... | 30 | false | rfk/django-supervisor | get_merged_config | 35,495 | |
LDU_FT/auth0/auth0-python/get_all | LDU_FT | [
"<BEGIN>\n## `authorization_code`",
"Authorization code grant",
" This is the OAuth 2.0 grant that regular web apps utilize in order\n to access an API. Use this endpoint to exchange an Authorization Code\n for a Token.",
" Args:\n grant_type (str): Denotes the flow you'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Retrieves all resource servers
Args:
page (int, optional): The result's page number (zero based).
per_page (int, optional): The amount of entries per page.
include_totals (bool, optional): True if the query summary is
to be included in the result, False oth... | "Retrieves all resource servers\n\n Args:\n page (int, optional): The result's page number (zero based).\n\n per_page (int, optional): The amount of entries per page.\n\n include_totals (bool, optional): True if the query summary is\n to be included in the result, ... | 337 | false | auth0/auth0-python | get_all | 35,496 | |
LDU_FT/sharibarboza/py_zap/get_title | LDU_FT | [
"<BEGIN>\n## `get_title`",
"Title is either the chart header for a cable ratings page or above\n the opening description for a broadcast ratings page.\n<END>",
"<BEGIN>\n## `get_json`",
"Serialize ratings object as JSON-formatted string\n<END>",
"<BEGIN>\n## `_get_url_params`",
"Returns a list of e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_title API.
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_title API.
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... | Title is either the chart header for a cable ratings page or above
the opening description for a broadcast ratings page. | "Title is either the chart header for a cable ratings page or above\n the opening description for a broadcast ratings page." | 59 | false | sharibarboza/py_zap | get_title | 35,497 | |
LDU_FT/dwavesystems/dwave_networkx/ints | LDU_FT | [
"<BEGIN>\n## `traveling_salesman`",
"Returns an approximate minimum traveling salesperson route.",
" Defines a QUBO with ground states corresponding to the\n minimum routes and uses the sampler to sample\n from it.",
" A route is a cycle in the graph that reaches each node exactly once.\n A min... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ints API.
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 ints API.
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... | Converts a sequence of chimera_index node labels into
linear_index node labels, preserving order
Parameters
----------
qlist : sequence of ints
The chimera_index node labels
Returns
-------
rlist : iterable of tuples
The linear_lindex nod... | "Converts a sequence of chimera_index node labels into\n linear_index node labels, preserving order\n\n Parameters\n ----------\n qlist : sequence of ints\n The chimera_index node labels\n\n Returns\n -------\n rlist : iterable of tuples\n The linea... | 563 | false | dwavesystems/dwave_networkx | ints | 35,498 | |
LDU_FT/scraperwiki/scraperwiki-python/get_var | LDU_FT | [
"<BEGIN>\n## `has_external_dependency`",
"Check that a non-Python dependency is installed.\n<END>",
"<BEGIN>\n## `scrape`",
"Scrape a URL optionally with parameters.\n This is effectively a wrapper around urllib2.urlopen.\n<END>",
"<BEGIN>\n## `execute`",
"Execute an arbitrary SQL query given by query,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_var API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_var API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns the variable with the provided key from the
table specified by _State.vars_table_name. | "Returns the variable with the provided key from the\n table specified by _State.vars_table_name." | 22 | false | scraperwiki/scraperwiki-python | get_var | 35,499 | |
LDU_FT/posativ/isso/uhash | LDU_FT | [
"<BEGIN>\n## `anonymize`",
"Anonymize IPv4 and IPv6 :param remote_addr: to /24 (zero'd)\n and /48 (zero'd).\n<END>",
"<BEGIN>\n## `thread`",
"Extract <h1> title from web page. The title is *probably* the text node,\n which is the nearest H1 node in context to an element with the `isso-thread` id.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uhash API.
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 uhash API.
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... | Calculate hash from unicode value and return hex value as unicode | "Calculate hash from unicode value and return hex value as unicode" | 61 | false | posativ/isso | uhash | 35,500 | |
LDU_FT/jart/fabulous/complete | LDU_FT | [
"<BEGIN>\n## `lorem_gotham`",
"Cheesy Gothic Poetry Generator",
" Uses Python generators to yield eternal angst.",
" When you need to generate random verbiage to test your code or\n typographic design, let's face it... Lorem Ipsum and \"the quick\n brown fox\" are old and boring!",
" What you... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the complete API.
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 complete API.
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... | The actual completion method
This method is not meant to be overridden. Override the
completelist method instead. It will make your life much easier.
For more detail see documentation for readline.set_completer | "The actual completion method\n \n This method is not meant to be overridden. Override the\n completelist method instead. It will make your life much easier.\n \n For more detail see documentation for readline.set_completer" | 148 | false | jart/fabulous | complete | 35,501 | |
LDU_FT/tmbo/questionary/rawselect | LDU_FT | [
"<BEGIN>\n## `default_values_of`",
"Return the defaults of the function `func`.\n<END>",
"<BEGIN>\n## `required_arguments`",
"Return all arguments of a function that do not have a default value.\n<END>",
"<BEGIN>\n## `text`",
"Prompt the user to enter a free text message.",
" This question type ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rawselect API.
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 rawselect API.
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... | Ask the user to select one item from a list of choices using shortcuts.
The user can only select one option.
Args:
message: Question text
choices: Items shown in the selection, this can contain `Choice` or
or `Separator` objects or simple items as strings. Pass... | "Ask the user to select one item from a list of choices using shortcuts.\n\n The user can only select one option.\n\n Args:\n message: Question text\n\n choices: Items shown in the selection, this can contain `Choice` or\n or `Separator` objects or simple items as stri... | 84 | false | tmbo/questionary | rawselect | 35,502 | |
LDU_FT/offu/WeRoBot/move_users | LDU_FT | [
"<BEGIN>\n## `make_view`",
"为一个 BaseRoBot 生成 Flask view。",
" Usage ::",
" from werobot import WeRoBot",
" robot = WeRoBot(token='token')",
" @robot.handler\n def hello(message):\n return 'Hello World!'",
" from flask import Flask\n from werobot.con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_users API.
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 move_users API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | 批量移动用户分组。
:param user_id_list: 用户 ID 的列表(长度不能超过50)
:param group_id: 分组 ID
:return: 返回的 JSON 数据包 | "批量移动用户分组。\n\n :param user_id_list: 用户 ID 的列表(长度不能超过50)\n :param group_id: 分组 ID\n :return: 返回的 JSON 数据包" | 223 | false | offu/WeRoBot | move_users | 35,503 | |
LDU_FT/ramrod-project/database-brain/log_env_gte | LDU_FT | [
"<BEGIN>\n## `deprecated_function`",
"decorator to annotate deprecated functions",
" usage @decorator(replacement=\"brain.whatever.new_function\")",
" :param func_: <callable>\n :param replacement: <str>\n :param args: positional arguments\n :param kwargs:\n :return: <func_'s return value>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_env_gte API.
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 log_env_gte API.
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... | Boolean check if the current environment LOGLEVEL is
at least as verbose as a desired LOGLEVEL
:param desired: <str> one of 9 keys in <brain.environment.stage>
:return: <bool> | "Boolean check if the current environment LOGLEVEL is\n at least as verbose as a desired LOGLEVEL\n\n :param desired: <str> one of 9 keys in <brain.environment.stage>\n :return: <bool>" | 165 | false | ramrod-project/database-brain | log_env_gte | 35,504 | |
LDU_FT/arne-cl/discoursegraphs/write_exb | LDU_FT | [
"<BEGIN>\n## `merging_cli`",
"simple commandline interface of the merging module.",
" This function is called when you use the ``discoursegraphs`` application\n directly on the command line.\n<END>",
"<BEGIN>\n## `add_node_ids_as_labels`",
"Adds the ID of each node of a discourse graph as a label (an ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_exb API.
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 write_exb API.
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... | converts a DiscourseDocumentGraph into an Exmaralda ``*.exb`` file and
writes it to the given file (or file path). | "converts a DiscourseDocumentGraph into an Exmaralda ``*.exb`` file and\n writes it to the given file (or file path)." | 846 | false | arne-cl/discoursegraphs | write_exb | 35,505 | |
LDU_FT/mozilla/crontabber/nagios | LDU_FT | [
"<BEGIN>\n## `toposort`",
"Dependencies are expressed as a dictionary whose keys are items\nand whose values are a set of dependent items. Output is a list of\nsets in topological order. The first set consists of items with no\ndependences, each subsequent set consists of items that depend upon\nitems in the prec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nagios API.
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 nagios API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | return 0 (OK) if there are no errors in the state.
return 1 (WARNING) if a backfill app only has 1 error.
return 2 (CRITICAL) if a backfill app has > 1 error.
return 2 (CRITICAL) if a non-backfill app has 1 error. | "return 0 (OK) if there are no errors in the state.\n return 1 (WARNING) if a backfill app only has 1 error.\n return 2 (CRITICAL) if a backfill app has > 1 error.\n return 2 (CRITICAL) if a non-backfill app has 1 error." | 59 | false | mozilla/crontabber | nagios | 35,506 | |
LDU_FT/Roastero/freshroastsr700/state_transition_run | LDU_FT | [
"<BEGIN>\n## `fan_speed`",
"Verifies the value is between 1 and 9 inclusively.\n<END>",
"<BEGIN>\n## `heat_setting`",
"Verifies that the heat setting is between 0 and 3.\n<END>",
"<BEGIN>\n## `heater_level`",
"Verifies that the heater_level is between 0 and heater_segments.\n Can only be called ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the state_transition_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the state_transition_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | This is the thread that listens to an event from
the timer process to execute the state_transition_func callback
in the context of the main process. | "This is the thread that listens to an event from\n the timer process to execute the state_transition_func callback\n in the context of the main process." | 61 | false | Roastero/freshroastsr700 | state_transition_run | 35,507 | |
LDU_FT/tisimst/mcerp/hypot | LDU_FT | [
"<BEGIN>\n## `correlate`",
"Force a correlation matrix on a set of statistically distributed objects.\r\n This function works on objects in-place.\r",
" Parameters\r\n ----------\r\n params : array\r\n An array of of uv objects.\r\n corrmat : 2d-array\r\n The correlation matrix to b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hypot API.
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 hypot API.
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... | Calculate the hypotenuse given two "legs" of a right triangle | "Calculate the hypotenuse given two \"legs\" of a right triangle" | 166 | false | tisimst/mcerp | hypot | 35,508 | |
LDU_FT/mcocdawc/chemcoord/from_pymatgen_molecule | LDU_FT | [
"<BEGIN>\n## `_check_construction_table`",
"Checks if a construction table uses valid references.\n Raises an exception (UndefinedCoordinateSystem) otherwise.\n<END>",
"<BEGIN>\n## `_get_frag_constr_table`",
"Create a construction table for a Zmatrix.",
" A construction table is basically a Zm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_pymatgen_molecule 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 from_pymatgen_molecule API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Create an instance of the own class from a pymatgen molecule
Args:
molecule (:class:`pymatgen.core.structure.Molecule`):
Returns:
Cartesian: | "Create an instance of the own class from a pymatgen molecule\n\n Args:\n molecule (:class:`pymatgen.core.structure.Molecule`):\n\n Returns:\n Cartesian:" | 503 | false | mcocdawc/chemcoord | from_pymatgen_molecule | 35,509 | |
LDU_FT/kinegratii/borax/get_term_info | LDU_FT | [
"<BEGIN>\n## `trim_iterable`",
"trim the list to make total length no more than limit.If split specified,a string is return.\n :return:\n<END>",
"<BEGIN>\n## `chunks`",
"Yield successive n-sized chunks from iterable object. https://stackoverflow.com/a/312464\n<END>",
"<BEGIN>\n## `flatten`",
"flat a it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_term_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_term_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Parse solar term and stem-branch year/month/day from a solar date.
(sy, sm, sd) => (term, next_gz_month)
term for year 2101,:2101.1.5(初六) 小寒 2101.1.20(廿一) 大寒 | "Parse solar term and stem-branch year/month/day from a solar date.\n (sy, sm, sd) => (term, next_gz_month)\n term for year 2101,:2101.1.5(初六) 小寒 2101.1.20(廿一) 大寒" | 16 | false | kinegratii/borax | get_term_info | 35,510 | |
LDU_FT/blackecho/Deep-Learning-TensorFlow/flag_to_list | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model to the given data.",
" :param train_set: training data\n :param test_set: test data\n<END>",
"<BEGIN>\n## `_run_train_step`",
"Run a single training step.",
" :param data: input data\n :param mode: 'train' or 'test'.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flag_to_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flag_to_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Convert a string of comma-separated tf flags to a list of values. | "Convert a string of comma-separated tf flags to a list of values." | 284 | false | blackecho/Deep-Learning-TensorFlow | flag_to_list | 35,511 | |
LDU_FT/jrief/django-angular/update_widget_attrs | LDU_FT | [
"<BEGIN>\n## `THUMBNAIL_OPTIONS`",
"Set the size as a 2-tuple for thumbnailed images after uploading them.\n<END>",
"<BEGIN>\n## `get_context`",
"Some widgets require a modified rendering context, if they contain angular directives.\n<END>",
"<BEGIN>\n## `errors`",
"Returns a TupleErrorList for this field... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_widget_attrs 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 update_widget_attrs 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... | Update the dictionary of attributes used while rendering the input widget | "Update the dictionary of attributes used while rendering the input widget" | 63 | false | jrief/django-angular | update_widget_attrs | 35,512 | |
LDU_FT/hammerlab/cohorts/generate_random_missense_variants | LDU_FT | [
"<BEGIN>\n## `download_to_path`",
"This method is analogous to \"gsutil cp gsuri localpath\", but in a\n programatically accesible way. The only difference is that we\n have to make a guess about the encoding of the file to not upset\n downstream file operations. If you are downloading a VCF,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_random_missense_variants API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_random_missense_variants API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Generate a random collection of missense variants by trying random variants repeatedly. | "Generate a random collection of missense variants by trying random variants repeatedly." | 230 | false | hammerlab/cohorts | generate_random_missense_variants | 35,513 | |
LDU_FT/sparklingpandas/sparklingpandas/aggregate | LDU_FT | [
"<BEGIN>\n## `_prep_pandas_groupby`",
"Prepare the old school pandas group by based approach.\n<END>",
"<BEGIN>\n## `_group`",
"Group together the values with the same key.\n<END>",
"<BEGIN>\n## `groups`",
"Returns dict {group name -> group labels}.\n<END>",
"<BEGIN>\n## `indices`",
"Returns dict {gro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggregate API.
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 aggregate API.
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... | Apply the aggregation function.
Note: This implementation does note take advantage of partial
aggregation unless we have one of the special cases.
Currently the only special case is Series.kurtosis - and even
that doesn't properly do partial aggregations, but we can improve
it to... | "Apply the aggregation function.\n Note: This implementation does note take advantage of partial\n aggregation unless we have one of the special cases.\n Currently the only special case is Series.kurtosis - and even\n that doesn't properly do partial aggregations, but we can improve\n ... | 87 | false | sparklingpandas/sparklingpandas | aggregate | 35,514 | |
LDU_FT/jborean93/ntlm-auth/_get_exchange_key_ntlm_v1 | LDU_FT | [
"<BEGIN>\n## `_get_exchange_key_ntlm_v1`",
"[MS-NLMP] v28.0 2016-07-14",
" 3.4.5.1 KXKEY\n Calculates the Key Exchange Key for NTLMv1 authentication. Used for signing\n and sealing messages",
" :param negotiate_flags: The negotiated NTLM flags\n :param session_base_key: A session key calculated... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_exchange_key_ntlm_v1 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 _get_exchange_key_ntlm_v1 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | [MS-NLMP] v28.0 2016-07-14
3.4.5.1 KXKEY
Calculates the Key Exchange Key for NTLMv1 authentication. Used for signing
and sealing messages
:param negotiate_flags: The negotiated NTLM flags
:param session_base_key: A session key calculated from the user password
challenge
:param server_c... | "[MS-NLMP] v28.0 2016-07-14\n\n 3.4.5.1 KXKEY\n Calculates the Key Exchange Key for NTLMv1 authentication. Used for signing\n and sealing messages\n\n :param negotiate_flags: The negotiated NTLM flags\n :param session_base_key: A session key calculated from the user password\n challenge\n :para... | 60 | false | jborean93/ntlm-auth | _get_exchange_key_ntlm_v1 | 35,515 | |
LDU_FT/pylover/khayyam/strptime | LDU_FT | [
"<BEGIN>\n## `strptime`",
"This is opposite of the :py:meth:`khayyam.JalaliDate.strftime`,\n and used to parse date strings into date object.",
" `ValueError` is raised if the date_string and format can’t be\n parsed by time.strptime() or if it returns a value which isn’t a time tuple. For ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strptime API.
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 strptime API.
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 is opposite of the :py:meth:`khayyam.JalaliDate.strftime`,
and used to parse date strings into date object.
`ValueError` is raised if the date_string and format can’t be
parsed by time.strptime() or if it returns a value which isn’t a time tuple. For a
complete list of formatting d... | "This is opposite of the :py:meth:`khayyam.JalaliDate.strftime`,\n and used to parse date strings into date object.\n\n `ValueError` is raised if the date_string and format can’t be\n parsed by time.strptime() or if it returns a value which isn’t a time tuple. For a\n complete list of format... | 54 | false | pylover/khayyam | strptime | 35,516 | |
LDU_FT/pyinvoke/invocations/blacken | LDU_FT | [
"<BEGIN>\n## `confirm`",
"Ask user a yes/no question and return their response as a boolean.",
" ``question`` should be a simple, grammatically complete question such as\n \"Do you wish to continue?\", and will have a string similar to ``\" [Y/n] \"``\n appended automatically. This function will *not* ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the blacken API.
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 blacken API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Install and execute ``black`` under appropriate circumstances, with diffs.
Installs and runs ``black`` under Python 3.6 (the first version it
supports). Since this sort of CI based task only needs to run once per
commit (formatting is not going to change between interpreters) this seems
like a worthwhi... | "Install and execute ``black`` under appropriate circumstances, with diffs.\n\n Installs and runs ``black`` under Python 3.6 (the first version it\n supports). Since this sort of CI based task only needs to run once per\n commit (formatting is not going to change between interpreters) this seems\n like a wo... | 126 | false | pyinvoke/invocations | blacken | 35,517 | |
LDU_FT/quodlibet/mutagen/mmap_move | LDU_FT | [
"<BEGIN>\n## `_parse_sv8_int`",
"Reads (max limit) bytes from fileobj until the MSB is zero.\n All 7 LSB will be merged to a big endian uint.",
" Raises ValueError in case not MSB is zero, or EOFError in\n case the file ended before limit is reached.",
" Returns (parsed number, number of bytes rea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mmap_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mmap_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 extract... | Mmaps the file object if possible and moves 'count' data
from 'src' to 'dest'. All data has to be inside the file size
(enlarging the file through this function isn't possible)
Will adjust the file offset.
Args:
fileobj (fileobj)
dest (int): The destination offset
src (int): Th... | "Mmaps the file object if possible and moves 'count' data\n from 'src' to 'dest'. All data has to be inside the file size\n (enlarging the file through this function isn't possible)\n\n Will adjust the file offset.\n\n Args:\n fileobj (fileobj)\n dest (int): The destination offset\n src... | 518 | false | quodlibet/mutagen | mmap_move | 35,518 | |
LDU_FT/twosigma/marbles/assertBetween | LDU_FT | [
"<BEGIN>\n## `get_stack_info`",
"Capture locals, module name, filename, and line number from the\n stacktrace to provide the source of the assertion error and\n formatted note.\n<END>",
"<BEGIN>\n## `assertBetween`",
"Fail if ``obj`` is not between ``lower`` and ``upper``.",
" If ``strict=True`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assertBetween API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assertBetween API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Fail if ``obj`` is not between ``lower`` and ``upper``.
If ``strict=True`` (default), fail unless
``lower < obj < upper``. If ``strict=False``, fail unless
``lower <= obj <= upper``.
This is equivalent to ``self.assertTrue(lower < obj < upper)``
or ``self.assertTrue(lower <= ob... | "Fail if ``obj`` is not between ``lower`` and ``upper``.\n\n If ``strict=True`` (default), fail unless\n ``lower < obj < upper``. If ``strict=False``, fail unless\n ``lower <= obj <= upper``.\n\n This is equivalent to ``self.assertTrue(lower < obj < upper)``\n or ``self.assertTrue(low... | 199 | false | twosigma/marbles | assertBetween | 35,519 | |
LDU_FT/msztolcman/versionner/get | LDU_FT | [
"<BEGIN>\n## `parse_args`",
"Parse input arguments of script.",
" :param args: list of parameters\n :type: argparse.Namespace\n :param cfg: configuration storage\n :type: Config\n<END>",
"<BEGIN>\n## `_find_project_config_file`",
"Find path to project-wide config file\n Search from current wo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Find command class for given command name and return it's instance
:param name: str
:param args: additional arguments for Command
:param kwargs: additional arguments for Command
:return: Command | "Find command class for given command name and return it's instance\n\n :param name: str\n :param args: additional arguments for Command\n :param kwargs: additional arguments for Command\n :return: Command" | 61 | false | msztolcman/versionner | get | 35,520 | |
LDU_FT/jkenlooper/chill/purge_collection | LDU_FT | [
"<BEGIN>\n## `multiple_directory_files_loader`",
"Loads all the files in each directory as values in a dict with the key\n being the relative file path of the directory. Updates the value if\n subsequent file paths are the same.\n<END>",
"<BEGIN>\n## `send_root_file`",
"Function used to send static fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the purge_collection API.
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 purge_collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Recursive purge of nodes with name and id | "Recursive purge of nodes with name and id" | 63 | false | jkenlooper/chill | purge_collection | 35,521 | |
LDU_FT/git-afsantos/bonsai/pretty_str | LDU_FT | [
"<BEGIN>\n## `_build_for_statement`",
"NOTE: this is not a complete implementation of for loop parsing.\n Turns out for loops allow a number of wacky things going on,\n such as declaring a variable in place of a condition.\n These more peculiar cases are not covered. See\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return a human-readable string representation of this object.
Kwargs:
indent (int): The amount of spaces to use as indentation. | "Return a human-readable string representation of this object.\n\n Kwargs:\n indent (int): The amount of spaces to use as indentation." | 111 | false | git-afsantos/bonsai | pretty_str | 35,522 | |
LDU_FT/delfick/harpoon/authentications_spec | LDU_FT | [
"<BEGIN>\n## `a_temp_file`",
"Yield the name of a temporary file and ensure it's removed after use\n<END>",
"<BEGIN>\n## `run_container`",
"Run this image and all dependency images\n<END>",
"<BEGIN>\n## `run_deps`",
"Start containers for all our dependencies\n<END>",
"<BEGIN>\n## `stop_deps`",
"Stop t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authentications_spec 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 authentications_spec API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Spec for a group of authentication options | "Spec for a group of authentication options" | 149 | false | delfick/harpoon | authentications_spec | 35,523 | |
LDU_FT/pjuren/pyokit/_build_trees_by_chrom | LDU_FT | [
"<BEGIN>\n## `__trim_extensions_dot`",
"trim leading dots from extensions and drop any empty strings.\n<END>",
"<BEGIN>\n## `__split_genomic_interval_filename`",
"Split a filename of the format chrom:start-end.ext or chrom.ext (full chrom).",
" :return: tuple of (chrom, start, end) -- 'start' and 'end' are... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_trees_by_chrom 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 _build_trees_by_chrom API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Construct set of interval trees from an iterable of genome alignment blocks.
:return: a dictionary indexed by chromosome name where each entry is an
interval tree for that chromosome. | "Construct set of interval trees from an iterable of genome alignment blocks.\n\n :return: a dictionary indexed by chromosome name where each entry is an\n interval tree for that chromosome." | 519 | false | pjuren/pyokit | _build_trees_by_chrom | 35,524 | |
LDU_FT/docker/docker-py/create | LDU_FT | [
"<BEGIN>\n## `compare_version`",
"Compare docker versions",
" >>> v1 = '1.9'\n >>> v2 = '1.10'\n >>> compare_version(v1, v2)\n 1\n >>> compare_version(v2, v1)\n -1\n >>> compare_version(v2, v2)\n 0\n<END>",
"<BEGIN>\n## `datetime_to_timestamp`",
"Convert a UTC datetime to a Unix time... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create a container without starting it. Similar to ``docker create``.
Takes the same arguments as :py:meth:`run`, except for ``stdout``,
``stderr``, and ``remove``.
Returns:
A :py:class:`Container` object.
Raises:
:py:class:`docker.errors.ImageNotFound`
... | "Create a container without starting it. Similar to ``docker create``.\n\n Takes the same arguments as :py:meth:`run`, except for ``stdout``,\n ``stderr``, and ``remove``.\n\n Returns:\n A :py:class:`Container` object.\n\n Raises:\n :py:class:`docker.errors.ImageNotFoun... | 998 | false | docker/docker-py | create | 35,525 | |
LDU_FT/autokey/autokey/calendar | LDU_FT | [
"<BEGIN>\n## `save`",
"Called by the parent settings dialog when the user clicks on the Save button.\n Stores the current settings in the ConfigManager.\n<END>",
"<BEGIN>\n## `_settings_str`",
"Returns a human readable settings representation for logging purposes.\n<END>",
"<BEGIN>\n## `_should_trigg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calendar API.
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 calendar API.
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... | Show a calendar dialog
Usage: C{dialog.calendar_dialog(title="Choose a date", format="%Y-%m-%d", date="YYYY-MM-DD", **kwargs)}
Note: the format and date parameters are not currently used
@param title: window title for the dialog
@param format_str: format of date to be returned
... | "Show a calendar dialog\n\n Usage: C{dialog.calendar_dialog(title=\"Choose a date\", format=\"%Y-%m-%d\", date=\"YYYY-MM-DD\", **kwargs)}\n\n Note: the format and date parameters are not currently used\n\n @param title: window title for the dialog\n @param format_str: format of date to be re... | 363 | false | autokey/autokey | calendar | 35,526 | |
LDU_FT/pbrisk/unicum/from_serializable | LDU_FT | [
"<BEGIN>\n## `register_link`",
"creates link from obj.attr to self\n :param obj: object to register link to\n :param attr: attribute name to register link to\n<END>",
"<BEGIN>\n## `update_link`",
"redirects all links to self (the new linked object)\n<END>",
"<BEGIN>\n## `_is_visible`",
"priv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_serializable API.
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 from_serializable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | core class method to create visible objects from a dictionary | "core class method to create visible objects from a dictionary" | 27 | false | pbrisk/unicum | from_serializable | 35,527 | |
LDU_FT/jplusplus/statscraper/_api_path | LDU_FT | [
"<BEGIN>\n## `initiate_browser`",
"The button for expanded detailed options. This\n also happens to be a good indicator as to wheter\n all content is loaded.\n<END>",
"<BEGIN>\n## `_fetch_dimensions`",
"Declaring available dimensions like this is not mandatory,\n but nice, especially if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _api_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _api_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Get the API path for the current cursor position. | "Get the API path for the current cursor position." | 57 | false | jplusplus/statscraper | _api_path | 35,528 | |
LDU_FT/MacHu-GWU/single_file_module-project/flatten_all | LDU_FT | [
"<BEGIN>\n## `use`",
"Change the hash algorithm you gonna use.\n<END>",
"<BEGIN>\n## `of_bytes`",
"Use default hash method to return hash value of bytes.",
" :type py_bytes: binary_type\n :param py_bytes: a binary object\n<END>",
"<BEGIN>\n## `of_text`",
"Use default hash method to return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Flatten arbitrary depth of nesting. Good for unknown nesting structure
iterable object.
Example::
>>> list(flatten_all([[1, 2], "abc", [3, ["x", "y", "z"]], 4]))
[1, 2, "abc", 3, "x", "y", "z", 4]
**中文文档**
将任意维度的列表压平成一维列表。
注: 使用hasattr(i, "__iter__")方法做是否是可循环对象的判断, 性能要高于其他
任... | "Flatten arbitrary depth of nesting. Good for unknown nesting structure\n iterable object.\n\n Example::\n\n >>> list(flatten_all([[1, 2], \"abc\", [3, [\"x\", \"y\", \"z\"]], 4]))\n [1, 2, \"abc\", 3, \"x\", \"y\", \"z\", 4]\n\n **中文文档**\n\n 将任意维度的列表压平成一维列表。\n\n 注: 使用hasattr(i, \"__iter__\... | 297 | false | MacHu-GWU/single_file_module-project | flatten_all | 35,529 | |
LDU_FT/SUSE-Enceladus/ipa/echo_verbose_results | LDU_FT | [
"<BEGIN>\n## `_get_instance_state`",
"Attempt to retrieve the state of the instance.\n Raises:\n EC2CloudException: If the instance cannot be found.\n<END>",
"<BEGIN>\n## `_get_user_data`",
"Return formatted bash script string.",
" The public ssh key is added by cloud init to the i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the echo_verbose_results 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 echo_verbose_results API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Print list of tests and result of each test. | "Print list of tests and result of each test." | 143 | false | SUSE-Enceladus/ipa | echo_verbose_results | 35,530 | |
LDU_FT/tuxu/python-samplerate/main | LDU_FT | [
"<BEGIN>\n## `get_input_callback`",
"Return a function that produces samples of a sine.",
" Parameters\n ----------\n samplerate : float\n The sample rate.\n params : dict\n Parameters for FM generation.\n num_samples : int, optional\n Number of samples to be generated on eac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Setup the resampling and audio output callbacks and start playback. | "Setup the resampling and audio output callbacks and start playback." | 50 | false | tuxu/python-samplerate | main | 35,531 | |
LDU_FT/bitshares/python-bitshares/close_debt_position | LDU_FT | [
"<BEGIN>\n## `decodeRPCErrorMsg`",
"Helper function to decode the raised Exception and give it a\n python Exception class\n<END>",
"<BEGIN>\n## `transfer`",
"Transfer an asset to another account.",
" :param str to: Recipient\n :param float amount: Amount to transfer\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close_debt_position 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 close_debt_position 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... | Close a debt position and reclaim the collateral
:param str symbol: Symbol to close debt position for
:raises ValueError: if symbol has no open call position | "Close a debt position and reclaim the collateral\n\n :param str symbol: Symbol to close debt position for\n :raises ValueError: if symbol has no open call position" | 116 | false | bitshares/python-bitshares | close_debt_position | 35,532 | |
LDU_FT/justinabrahms/imhotep/diff_commit | LDU_FT | [
"<BEGIN>\n## `invoke`",
"Main entrypoint for all plugins.",
" Returns results in the format of:",
" {'filename': {\n 'line_number': [\n 'error1',\n 'error2'\n ]\n }\n }\n<END>",
"<BEGIN>\n## `process_line`",
"Processes a line return a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff_commit API.
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 diff_commit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns a diff as a string from the current HEAD to the given commit. | "Returns a diff as a string from the current HEAD to the given commit." | 29 | false | justinabrahms/imhotep | diff_commit | 35,533 | |
LDU_FT/gophish/api-client-python/execute | LDU_FT | [
"<BEGIN>\n## `get`",
"Gets the details for one or more resources by ID",
" Args:\n cls - gophish.models.Model - The resource class\n resource_id - str - The endpoint (URL path) for the resource\n resource_action - str - An action to perform on the resource\n re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
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 execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Executes a request to a given endpoint, returning the result | "Executes a request to a given endpoint, returning the result" | 21 | false | gophish/api-client-python | execute | 35,534 | |
LDU_FT/PyMySQL/Tornado-MySQL/execute | LDU_FT | [
"<BEGIN>\n## `executemany`",
"Run several data against one query",
" PyMySQL can execute bulkinsert for query like 'INSERT ... VALUES (%s)'.\n In other form of queries, just run :meth:`execute` many times.\n<END>",
"<BEGIN>\n## `fetchall`",
"Fetch all, as per MySQLdb. Pretty useless for large ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
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 execute API.
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... | Execute query in pool.
Returns future yielding closed cursor.
You can get rows, lastrowid, etc from the cursor.
:param cursor: cursor class(Cursor, DictCursor. etc.)
:return: Future of cursor
:rtype: Future | "Execute query in pool.\n\n Returns future yielding closed cursor.\n You can get rows, lastrowid, etc from the cursor.\n :param cursor: cursor class(Cursor, DictCursor. etc.)\n\n :return: Future of cursor\n :rtype: Future" | 56 | false | PyMySQL/Tornado-MySQL | execute | 35,535 | |
LDU_FT/MartinThoma/mpu/str2bool | LDU_FT | [
"<BEGIN>\n## `timing`",
"Measure the execution time of a function call and print the result.\n<END>",
"<BEGIN>\n## `deprecated`",
"Mark functions as deprecated.",
" It will result in a warning being emitted when the function is used.\n<END>",
"<BEGIN>\n## `get_currency`",
"Convert an identifier for a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str2bool API.
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 str2bool API.
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... | Convert a string to a bool.
Parameters
----------
string_ : str
default : {'raise', False}
Default behaviour if none of the "true" strings is detected.
Returns
-------
boolean : bool
Examples
--------
>>> str2bool('True')
True
>>> str2bool('1')
True
>>>... | "Convert a string to a bool.\n\n Parameters\n ----------\n string_ : str\n default : {'raise', False}\n Default behaviour if none of the \"true\" strings is detected.\n\n Returns\n -------\n boolean : bool\n\n Examples\n --------\n >>> str2bool('True')\n True\n >>> str2bool('1... | 255 | false | MartinThoma/mpu | str2bool | 35,536 | |
LDU_FT/APSL/django-kaio/EXTRA_LOGGING | LDU_FT | [
"<BEGIN>\n## `FILER_STORAGES`",
"Filer config to set custom private media path\n http://django-filer.readthedocs.org/en/0.9.4/settings.html#filer-storages\n<END>",
"<BEGIN>\n## `module_to_dict`",
"Converts a module namespace to a Python dictionary. Used by get_settings_diff.\n<END>",
"<BEGIN>\n## `BR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the EXTRA_LOGGING API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the EXTRA_LOGGING API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | lista modulos con los distintos niveles a logear y su
nivel de debug
Por ejemplo:
[Logs]
EXTRA_LOGGING = oscar.paypal:DEBUG, django.db:INFO | "lista modulos con los distintos niveles a logear y su\n nivel de debug\n\n Por ejemplo:\n\n [Logs]\n EXTRA_LOGGING = oscar.paypal:DEBUG, django.db:INFO" | 12 | false | APSL/django-kaio | EXTRA_LOGGING | 35,537 | |
LDU_FT/aptivate/django-sortable-listview/get_querystring | LDU_FT | [
"<BEGIN>\n## `get_querystring`",
"Clean existing query string (GET parameters) by removing\n arguments that we don't want to preserve (sort parameter, 'page')\n<END>",
"<BEGIN>\n## `set_sort`",
"Take the sort parameter from the get parameters and split it into\n the field and the prefix\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_querystring API.
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_querystring API.
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... | Clean existing query string (GET parameters) by removing
arguments that we don't want to preserve (sort parameter, 'page') | "Clean existing query string (GET parameters) by removing\n arguments that we don't want to preserve (sort parameter, 'page')" | 10 | false | aptivate/django-sortable-listview | get_querystring | 35,538 | |
LDU_FT/bitcraft/PyTMX/tiles | LDU_FT | [
"<BEGIN>\n## `default_image_loader`",
"This default image loader just returns filename, rect, and any flags\n<END>",
"<BEGIN>\n## `decode_gid`",
"Decode a GID from TMX data",
" as of 0.7.0 it determines if the tile should be flipped when rendered\n as of 0.8.0 bit 30 determines if GID is rotated",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tiles API.
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 tiles API.
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... | Iterate over tile images of this layer
This is an optimised generator function that returns
(tile_x, tile_y, tile_image) tuples,
:rtype: Generator
:return: (x, y, image) tuples | "Iterate over tile images of this layer\n\n This is an optimised generator function that returns\n (tile_x, tile_y, tile_image) tuples,\n\n :rtype: Generator\n :return: (x, y, image) tuples" | 134 | false | bitcraft/PyTMX | tiles | 35,539 | |
LDU_FT/ternaris/marv/input | LDU_FT | [
"<BEGIN>\n## `encode_setid`",
"Encode uint128 setid as stripped b32encoded string\n<END>",
"<BEGIN>\n## `marvcli_cleanup`",
"Cleanup unused tags and discarded datasets.\n<END>",
"<BEGIN>\n## `marvcli_develop_server`",
"Run development webserver.",
" ATTENTION: By default it is only served on localhos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the input API.
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 input API.
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... | Decorator to declare input for a node.
Plain inputs, that is plain python objects, are directly passed to
the node. Whereas streams generated by other nodes are requested
and once the handles of all input streams are available the node
is instantiated.
Args:
name (str): Name of the node fu... | "Decorator to declare input for a node.\n\n Plain inputs, that is plain python objects, are directly passed to\n the node. Whereas streams generated by other nodes are requested\n and once the handles of all input streams are available the node\n is instantiated.\n\n Args:\n name (str): Name of th... | 76 | false | ternaris/marv | input | 35,540 | |
LDU_FT/cloudbase/python-hnvclient/process_raw_data | LDU_FT | [
"<BEGIN>\n## `register`",
"Register the current options to the global ConfigOpts object.\n<END>",
"<BEGIN>\n## `get_options`",
"Collect all the options info from the other modules.\n<END>",
"<BEGIN>\n## `run_once`",
"A memoization decorator, whose purpose is to cache calls.\n<END>",
"<BEGIN>\n## `get_cl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_raw_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_raw_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create a new model using raw API response. | "Create a new model using raw API response." | 89 | false | cloudbase/python-hnvclient | process_raw_data | 35,541 | |
LDU_FT/ptmcg/littletable/groupby | LDU_FT | [
"<BEGIN>\n## `copy_template`",
"Create empty copy of the current table, with copies of all\n index definitions.\n<END>",
"<BEGIN>\n## `clone`",
"Create full copy of the current table, including table contents\n and index definitions.\n<END>",
"<BEGIN>\n## `create_index`",
"Create a new... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the groupby API.
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 groupby API.
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... | simple prototype of group by, with support for expressions in the group-by clause
and outputs
@param keyexpr: grouping field and optional expression for computing the key value;
if a string is passed
@type keyexpr: string or tuple
@param outexprs: named argum... | "simple prototype of group by, with support for expressions in the group-by clause \n and outputs\n @param keyexpr: grouping field and optional expression for computing the key value;\n if a string is passed\n @type keyexpr: string or tuple\n @param outexprs: named... | 75 | false | ptmcg/littletable | groupby | 35,542 | |
LDU_FT/Netflix-Skunkworks/swag-client/downgrade | LDU_FT | [
"<BEGIN>\n## `create_swag_from_ctx`",
"Creates SWAG client from the current context.\n<END>",
"<BEGIN>\n## `list_service`",
"Retrieve accounts pertaining to named service.\n<END>",
"<BEGIN>\n## `migrate`",
"Transition from one SWAG schema to another.\n<END>",
"<BEGIN>\n## `propagate`",
"Transfers SWAG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the downgrade API.
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 downgrade API.
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... | Transforms data from v2 format to a v1 format | "Transforms data from v2 format to a v1 format" | 48 | false | Netflix-Skunkworks/swag-client | downgrade | 35,543 | |
LDU_FT/dropbox/pyannotate/name_from_type | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Deserialize a JSON file containing runtime collected types.",
" The input JSON is expected to to have a list of RawEntry items.\n<END>",
"<BEGIN>\n## `tokenize`",
"Translate a type comment into a list of tokens.\n<END>",
"<BEGIN>\n## `generate_annotations_json_string`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name_from_type API.
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 name_from_type API.
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... | Helper function to get PEP-484 compatible string representation of our internal types. | "Helper function to get PEP-484 compatible string representation of our internal types." | 93 | false | dropbox/pyannotate | name_from_type | 35,544 | |
LDU_FT/squaresLab/BugZoo/load | LDU_FT | [
"<BEGIN>\n## `is_installed`",
"Determines whether the Docker image for a given bug has been installed\n on the server.\n<END>",
"<BEGIN>\n## `register`",
"Dynamically registers a given bug with the server. Note that the\n registration will not persist beyond the lifetime of the server.\n ... | 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... | Attempts to load all resources (i.e., bugs, tools, and blueprints)
provided by a given source. If the given source has already been
loaded, then that resources for that source are unloaded and
reloaded. | "Attempts to load all resources (i.e., bugs, tools, and blueprints)\n provided by a given source. If the given source has already been\n loaded, then that resources for that source are unloaded and\n reloaded." | 247 | false | squaresLab/BugZoo | load | 35,545 | |
LDU_FT/emory-libraries/eulxml/_remove_predicates | LDU_FT | [
"<BEGIN>\n## `_serialize`",
"Generate token strings which, when joined together, form a valid\n XPath serialization of the AST.\n<END>",
"<BEGIN>\n## `download_schema`",
"Download a schema from a specified URI and save it locally.",
" :param uri: url where the schema should be downloaded\n :param p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_predicates 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 _remove_predicates 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... | Remove any constructible predicates specified in the xpath
relative to the specified node.
:param xast: parsed xpath (xpath abstract syntax tree) from
:mod:`eulxml.xpath`
:param node: lxml element which predicates will be removed from
:param context: any context required for the xpath (e.g.,
name... | "Remove any constructible predicates specified in the xpath\n relative to the specified node.\n\n :param xast: parsed xpath (xpath abstract syntax tree) from\n\t:mod:`eulxml.xpath`\n :param node: lxml element which predicates will be removed from\n :param context: any context required for the xpath (e.g.,\n... | 109 | false | emory-libraries/eulxml | _remove_predicates | 35,546 | |
LDU_FT/ianepperson/telnetsrvlib/_readline_echo | LDU_FT | [
"<BEGIN>\n## `inputcooker_store_queue`",
"Put the cooked data in the input queue (no locking needed)\n<END>",
"<BEGIN>\n## `streamserver_handle`",
"Translate this class for use in a StreamServer\n<END>",
"<BEGIN>\n## `check_channel_shell_request`",
"Request to start a shell on the given channel\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _readline_echo API.
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 _readline_echo API.
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... | Echo a recieved character, move cursor etc... | "Echo a recieved character, move cursor etc..." | 45 | false | ianepperson/telnetsrvlib | _readline_echo | 35,547 | |
LDU_FT/nikcub/floyd/parse_md | LDU_FT | [
"<BEGIN>\n## `get_file_contents`",
"Get the context of the file using full path name\n<END>",
"<BEGIN>\n## `import_model`",
"imports a model of name from path, returning from local model\n cache if it has been previously loaded otherwise importing\n<END>",
"<BEGIN>\n## `parse_md`",
"Takes a post path a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_md API.
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 parse_md API.
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... | Takes a post path and returns a dictionary of variables | "Takes a post path and returns a dictionary of variables" | 71 | false | nikcub/floyd | parse_md | 35,548 | |
LDU_FT/pyvisa/pyvisa-py/find_raw_devices | LDU_FT | [
"<BEGIN>\n## `get_debug_info`",
"Return a list of lines with backend info.\n<END>",
"<BEGIN>\n## `_register`",
"Creates a random but unique session handle for a session object,\n register it in the sessions dictionary and return the value",
" :param obj: a session object.\n :return: ses... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_raw_devices API.
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 find_raw_devices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Find connected USB RAW devices. See usbutil.find_devices for more info. | "Find connected USB RAW devices. See usbutil.find_devices for more info." | 71 | false | pyvisa/pyvisa-py | find_raw_devices | 35,549 | |
LDU_FT/wesleyfr/boxpython/find_id_in_folder | LDU_FT | [
"<BEGIN>\n## `get_access_tokens`",
"From the authorization code, get the \"access token\" and the \"refresh token\" from Box.",
" Args:\n authorization_code (str). Authorisation code emitted by Box at the url provided by the function :func:`get_authorization_url`.",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_id_in_folder API.
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 find_id_in_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Find a folder or a file ID from its name, inside a given folder.
Args:
name (str): Name of the folder or the file to find.
parent_folder_id (int): ID of the folder where to search.
Returns:
int. ID of the file or folder found. None if not found.
Raises:
... | "Find a folder or a file ID from its name, inside a given folder.\n\n Args:\n name (str): Name of the folder or the file to find.\n\n parent_folder_id (int): ID of the folder where to search.\n\n Returns:\n int. ID of the file or folder found. None if not found.\n\n ... | 104 | false | wesleyfr/boxpython | find_id_in_folder | 35,550 | |
LDU_FT/eweast/BencodePy/__read | LDU_FT | [
"<BEGIN>\n## `decode_from_file`",
"Convenience function. Reads file and calls decode().\n<END>",
"<BEGIN>\n## `__read`",
"Returns a set number (i) of bytes from self.data.\n<END>",
"<BEGIN>\n## `__read_to`",
"Returns bytes from self.data starting at index (self.idx) until terminator character.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns a set number (i) of bytes from self.data. | "Returns a set number (i) of bytes from self.data." | 16 | false | eweast/BencodePy | __read | 35,551 | |
LDU_FT/s1s5/django_busybody/get_form_kwargs | LDU_FT | [
"<BEGIN>\n## `get_form`",
"Returns an instance of the form to be used in this view.\n<END>",
"<BEGIN>\n## `get_form_kwargs`",
"Returns the keyword arguments for instantiating the form.\n<END>",
"<BEGIN>\n## `get_form_kwargs`",
"Returns the keyword arguments for instantiating the form.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_form_kwargs API.
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_form_kwargs API.
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... | Returns the keyword arguments for instantiating the form. | "Returns the keyword arguments for instantiating the form." | 14 | false | s1s5/django_busybody | get_form_kwargs | 35,552 | |
LDU_FT/joesecurity/jbxapi/analysis_download | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Extract the version number from the code.\n<END>",
"<BEGIN>\n## `submit_sample`",
"Submit a sample and returns the submission id.",
" Parameters:\n sample: The sample to submit. Needs to be a file-like object or a tuple in\n the shap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analysis_download API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analysis_download API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Download a resource for an analysis. E.g. the full report, binaries, screenshots.
The full list of resources can be found in our API documentation.
When `file` is given, the return value is the filename specified by the server,
otherwise it's a tuple of (filename, bytes).
Parameters:
... | "Download a resource for an analysis. E.g. the full report, binaries, screenshots.\n The full list of resources can be found in our API documentation.\n\n When `file` is given, the return value is the filename specified by the server,\n otherwise it's a tuple of (filename, bytes).\n\n Parame... | 44 | false | joesecurity/jbxapi | analysis_download | 35,553 | |
LDU_FT/aiven/pghoard/check_backup_count_and_state | LDU_FT | [
"<BEGIN>\n## `atomic_create_file`",
"Open a temporary file for writing, rename to final name when done\n<END>",
"<BEGIN>\n## `_stream_blob`",
"Streams contents of given key to given fileobj. Data is read sequentially in chunks\n without any seeks. This requires duplicating some functionality of the Azu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_backup_count_and_state 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 check_backup_count_and_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Look up basebackups from the object store, prune any extra
backups and return the datetime of the latest backup. | "Look up basebackups from the object store, prune any extra\n backups and return the datetime of the latest backup." | 66 | false | aiven/pghoard | check_backup_count_and_state | 35,554 | |
LDU_FT/CZ-NIC/python-rt/edit_ticket_links | LDU_FT | [
"<BEGIN>\n## `__request`",
"General request for :term:`API`.",
" :keyword selector: End part of URL which completes self.url parameter\n set during class initialization.\n E.g.: ``ticket/123456/show``\n :keyword post_data: Dictionary with POST me... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_ticket_links API.
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 edit_ticket_links API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Edit ticket links.
.. warning:: This method is deprecated in favour of edit_link method, because
there exists bug in RT 3.8 REST API causing mapping created links to
ticket/1. The only drawback is that edit_link cannot process multiple
links all at once.
:param ticket_... | "Edit ticket links.\n\n .. warning:: This method is deprecated in favour of edit_link method, because\n there exists bug in RT 3.8 REST API causing mapping created links to\n ticket/1. The only drawback is that edit_link cannot process multiple\n links all at once.\n\n :param... | 143 | false | CZ-NIC/python-rt | edit_ticket_links | 35,555 | |
LDU_FT/mwshinn/paranoidscientist/has_fun_prop | LDU_FT | [
"<BEGIN>\n## `accepts`",
"A function decorator to specify argument types of the function.",
" Types may be specified either in the order that they appear in the\n function or via keyword arguments (just as if you were calling the\n function).",
" Example usage:",
" | @accepts(Positive0)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_fun_prop API.
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 has_fun_prop API.
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... | Test whether function `f` has property `k`.
We define properties as annotations added to a function throughout
the process of defining a function for verification, e.g. the
argument types. If `f` is an unannotated function, this returns
False. If `f` has the property named `k`, it returns True.
O... | "Test whether function `f` has property `k`.\n\n We define properties as annotations added to a function throughout\n the process of defining a function for verification, e.g. the\n argument types. If `f` is an unannotated function, this returns\n False. If `f` has the property named `k`, it returns True.... | 68 | false | mwshinn/paranoidscientist | has_fun_prop | 35,556 | |
LDU_FT/jbarlow83/OCRmyPDF/_fix_toc | LDU_FT | [
"<BEGIN>\n## `re_symlink`",
"Helper function: relinks soft symbolic link if necessary\n<END>",
"<BEGIN>\n## `is_file_writable`",
"Intentionally racy test if target is writable.",
" We intend to write to the output file if and only if we succeed and\n can replace it atomically. Before doing the OCR wor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fix_toc API.
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_toc API.
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... | Repair the table of contents
Whenever we replace a page wholesale, it gets assigned a new objgen number
and other references to it within the PDF become invalid, most notably in
the table of contents (/Outlines in PDF-speak). In weave_layers we collect
pageref_remap, a mapping that describes the new o... | "Repair the table of contents\n\n Whenever we replace a page wholesale, it gets assigned a new objgen number\n and other references to it within the PDF become invalid, most notably in\n the table of contents (/Outlines in PDF-speak). In weave_layers we collect\n pageref_remap, a mapping that describes the... | 195 | false | jbarlow83/OCRmyPDF | _fix_toc | 35,557 | |
LDU_FT/rlabbe/filterpy/update | LDU_FT | [
"<BEGIN>\n## `reset`",
"reset filter back to state at time of construction\n<END>",
"<BEGIN>\n## `update`",
"Update filter with new measurement `z`",
" Returns\n -------",
" x : np.array\n estimate for this time step (same as self.x)\n<END>",
"<BEGIN>\n## `errors`",
"Co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Add a new measurement (z) to the Kalman filter. If z is None, nothing
is changed.
Parameters
----------
z : np.array
measurement for this update.
R : np.array, scalar, or None
Optionally provide R to override the measurement noise for this
o... | "Add a new measurement (z) to the Kalman filter. If z is None, nothing\n is changed.\n\n Parameters\n ----------\n\n z : np.array\n measurement for this update.\n\n R : np.array, scalar, or None\n Optionally provide R to override the measurement noise for this\n ... | 665 | false | rlabbe/filterpy | update | 35,558 | |
LDU_FT/ansible-community/ara/index | LDU_FT | [
"<BEGIN>\n## `index`",
"This is not served anywhere in the web application.\n It is used explicitly in the context of generating static files since\n flask-frozen requires url_for's to crawl content.\n url_for's are not used with result.show_result directly and are instead\n dynamically generated thro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | This is not served anywhere in the web application.
It is used explicitly in the context of generating static files since
flask-frozen requires url_for's to crawl content.
url_for's are not used with host.show_host directly and are instead
dynamically generated through javascript for performance purpose... | "This is not served anywhere in the web application.\n It is used explicitly in the context of generating static files since\n flask-frozen requires url_for's to crawl content.\n url_for's are not used with host.show_host directly and are instead\n dynamically generated through javascript for performance pu... | 29 | false | ansible-community/ara | index | 35,559 | |
LDU_FT/supercoderz/pyzmq-wrapper/start | LDU_FT | [
"<BEGIN>\n## `subscriber`",
"Creates a subscriber binding to the given address and \n subscribe the given topics.\n The callback is invoked for every message received.",
" Args:\n - address: the address to bind the PUB socket to.\n - topics: the topics to subscribe\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Start a thread that consumes the messages and invokes the callback | "Start a thread that consumes the messages and invokes the callback" | 24 | false | supercoderz/pyzmq-wrapper | start | 35,560 | |
LDU_FT/PMEAL/porespy/snow | LDU_FT | [
"<BEGIN>\n## `show_mesh`",
"r\"\"\"\n Visualizes the mesh of a region as obtained by ``get_mesh`` function in\n the ``metrics`` submodule.",
" Parameters\n ----------\n mesh : tuple\n A mesh returned by ``skimage.measure.marching_cubes``",
" Returns\n -------\n fig : Matplotlib ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the snow API.
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 snow API.
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... | r"""
Analyzes an image that has been partitioned into void and solid regions
and extracts the void and solid phase geometry as well as network
connectivity.
Parameters
----------
im : ND-array
Binary image in the Boolean form with True’s as void phase and False’s
as solid phase.... | "r\"\"\"\n Analyzes an image that has been partitioned into void and solid regions\n and extracts the void and solid phase geometry as well as network\n connectivity.\n\n Parameters\n ----------\n im : ND-array\n Binary image in the Boolean form with True’s as void phase and False’s\n as... | 688 | false | PMEAL/porespy | snow | 35,561 | |
LDU_FT/chdzq/ARPAbetAndIPAConvertor/convert_to_american_phonetic_alphabet | LDU_FT | [
"<BEGIN>\n## `convert_to_international_phonetic_alphabet`",
"转换成国际音标\n :param arpabet:\n :return:\n<END>",
"<BEGIN>\n## `convert_to_american_phonetic_alphabet`",
"转换成美音\n :param arpabet:\n :return:\n<END>",
"<BEGIN>\n## `convert_to_english_phonetic_alphabet`",
"转换成英音\n :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_to_american_phonetic_alphabet 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 convert_to_american_phonetic_alphabet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | 转换成美音
:param arpabet:
:return: | "转换成美音\n :param arpabet:\n :return:" | 12 | false | chdzq/ARPAbetAndIPAConvertor | convert_to_american_phonetic_alphabet | 35,562 | |
LDU_FT/devopshq/artifactory/chunks | LDU_FT | [
"<BEGIN>\n## `_create_and_update`",
"Create or update request, re-read object from Artifactory\n :return: None\n<END>",
"<BEGIN>\n## `read`",
"Read object from artifactory. Fill object if exist\n :return:\n True if object exist,\n False else\n<END>",
"<BEGIN>\n## `_create_json`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the chunks API.
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 chunks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Get chink for dict, copy as-is from https://stackoverflow.com/a/8290508/6753144 | "Get chink for dict, copy as-is from https://stackoverflow.com/a/8290508/6753144" | 104 | false | devopshq/artifactory | chunks | 35,563 | |
LDU_FT/philipbergen/popen/expand | LDU_FT | [
"<BEGIN>\n## `env`",
"Allows adding/overriding env vars in the execution context.\n :param kw: Key-value pairs\n :return: self\n<END>",
"<BEGIN>\n## `expand`",
"Turn off argument expansion, useful for 'grep'. Example:",
" Sh('grep .*').expand(False) > 'tango'",
" :param exp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expand API.
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 expand API.
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 ... | Turn off argument expansion, useful for 'grep'. Example:
Sh('grep .*').expand(False) > 'tango'
:param expand: True or False
:return: self | "Turn off argument expansion, useful for 'grep'. Example:\n\n Sh('grep .*').expand(False) > 'tango'\n\n :param expand: True or False\n :return: self" | 21 | false | philipbergen/popen | expand | 35,564 | |
LDU_FT/scikit-learn-contrib/hdbscan/hdbscan | LDU_FT | [
"<BEGIN>\n## `_tree_to_labels`",
"Converts a pretrained tree and cluster size into a\n set of labels and probabilities.\n<END>",
"<BEGIN>\n## `check_precomputed_distance_matrix`",
"Perform check_array(X) after removing infinite values (numpy.inf) from the given distance matrix.\n<END>",
"<BEGIN>\n## `hdb... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hdbscan API.
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 hdbscan API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Perform HDBSCAN clustering from a vector array or distance matrix.
Parameters
----------
X : array or sparse (CSR) matrix of shape (n_samples, n_features), or \
array of shape (n_samples, n_samples)
A feature array, or array of distances between samples if
``metric='precomputed'... | "Perform HDBSCAN clustering from a vector array or distance matrix.\n\n Parameters\n ----------\n X : array or sparse (CSR) matrix of shape (n_samples, n_features), or \\\n array of shape (n_samples, n_samples)\n A feature array, or array of distances between samples if\n ``metric='pre... | 224 | false | scikit-learn-contrib/hdbscan | hdbscan | 35,565 | |
LDU_FT/panzarino/mlbgame/team_stats | LDU_FT | [
"<BEGIN>\n## `setobjattr`",
"Sets an object attribute with the correct data type.\n<END>",
"<BEGIN>\n## `get_scoreboard`",
"Return the game file for a certain day matching certain criteria.\n<END>",
"<BEGIN>\n## `get_box_score`",
"Return the box score file of a game with matching id.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the team_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the team_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return team stats of a game with matching id.
The additional pitching/batting is mostly the same stats. MLB decided
to have two box score files, thus we return the data from both. | "Return team stats of a game with matching id.\n\n The additional pitching/batting is mostly the same stats. MLB decided\n to have two box score files, thus we return the data from both." | 66 | false | panzarino/mlbgame | team_stats | 35,566 | |
LDU_FT/totalgood/twip/gen_file_lines | LDU_FT | [
"<BEGIN>\n## `lsi`",
"Train an LSI model on a \"corpus\" of documnets, like tweets",
" Arguments:\n tokenize (callable): Function that returns a sequence of tokens (str) when passed a document (str)\n ram (float): Portion of RAM to limit the document generator from consuming before StopIter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_file_lines API.
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 gen_file_lines API.
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... | Generate a sequence of "documents" from the lines in a file
Arguments:
path (file or str): path to a file or an open file_obj ready to be read
mode (str): file mode to open a file in
strip_eol (bool): whether to strip the EOL char from lines as they are read/generated/yielded
ascii (bool): ... | "Generate a sequence of \"documents\" from the lines in a file\n\n Arguments:\n path (file or str): path to a file or an open file_obj ready to be read\n mode (str): file mode to open a file in\n strip_eol (bool): whether to strip the EOL char from lines as they are read/generated/yielded\n ascii... | 144 | false | totalgood/twip | gen_file_lines | 35,567 | |
LDU_FT/salesking/salesking_python_sdk/validate_format_iso8601 | LDU_FT | [
"<BEGIN>\n## `get_model_class`",
"Generates the Model Class based on the klass \n loads automatically the corresponding json schema file form schemes folder\n :param klass: json schema filename\n :param use_request_api: if True autoinitializes request class if api is None\n :param api: the transportat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_format_iso8601 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 validate_format_iso8601 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | validates the iso8601 format
raises value error if the value for fieldname does not match the format
is iso8601 eg #"2007-06-20T12:34:40+03:00" | "validates the iso8601 format\n raises value error if the value for fieldname does not match the format\n is iso8601 eg #\"2007-06-20T12:34:40+03:00\"" | 69 | false | salesking/salesking_python_sdk | validate_format_iso8601 | 35,568 | |
LDU_FT/selectel/pyte/resize | LDU_FT | [
"<BEGIN>\n## `default_char`",
"An empty character with default foreground and background colors.\n<END>",
"<BEGIN>\n## `display`",
"A :func:`list` of screen lines as unicode strings.\n<END>",
"<BEGIN>\n## `reset`",
"Reset the terminal to its initial state.",
" * Scrolling margins are reset to scr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resize API.
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 resize API.
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 ... | Resize the screen to the given size.
If the requested screen size has more lines than the existing
screen, lines will be added at the bottom. If the requested
size has less lines than the existing screen lines will be
clipped at the top of the screen. Similarly, if the existing
... | "Resize the screen to the given size.\n\n If the requested screen size has more lines than the existing\n screen, lines will be added at the bottom. If the requested\n size has less lines than the existing screen lines will be\n clipped at the top of the screen. Similarly, if the existing\n ... | 127 | false | selectel/pyte | resize | 35,569 | |
LDU_FT/Xython/Linq.py/TakeWhile | LDU_FT | [
"<BEGIN>\n## `ChunkBy`",
"[\n {\n 'self': [1, 1, 3, 3, 1, 1],\n 'f': lambda x: x%2,\n 'assert': lambda ret: ret == [[1, 1], [3, 3], [1, 1]]\n }\n ]\n<END>",
"<BEGIN>\n## `GroupBy`",
"[\n {\n 'self': [1, 2, 3],\n 'f': lambda x: x%2... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the TakeWhile API.
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 TakeWhile API.
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... | [
{
'self': [1, 2, 3, 4, 5],
'f': lambda x: x < 4,
'assert': lambda ret: list(ret) == [1, 2, 3]
}
] | "[\n {\n 'self': [1, 2, 3, 4, 5],\n 'f': lambda x: x < 4,\n 'assert': lambda ret: list(ret) == [1, 2, 3]\n }\n ]" | 32 | false | Xython/Linq.py | TakeWhile | 35,570 | |
LDU_FT/FactoryBoy/factory_boy/generate | LDU_FT | [
"<BEGIN>\n## `set_random_state`",
"Force-set the state of factory.fuzzy's random generator.\n<END>",
"<BEGIN>\n## `reseed_random`",
"Reseed factory.fuzzy's random generator.\n<END>",
"<BEGIN>\n## `_lazy_load_get_model`",
"Lazy loading of get_model.",
" get_model loads django.conf.settings, which may ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API.
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 generate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Generate a new instance.
The instance will be created with the given strategy (one of
BUILD_STRATEGY, CREATE_STRATEGY, STUB_STRATEGY).
Args:
strategy (str): the strategy to use for generating the instance.
Returns:
object: the generated instance | "Generate a new instance.\n\n The instance will be created with the given strategy (one of\n BUILD_STRATEGY, CREATE_STRATEGY, STUB_STRATEGY).\n\n Args:\n strategy (str): the strategy to use for generating the instance.\n\n Returns:\n object: the generated instance" | 120 | false | FactoryBoy/factory_boy | generate | 35,571 | |
LDU_FT/ratt-ru/PyMORESANE/mp_iuwt_decomposition | LDU_FT | [
"<BEGIN>\n## `iuwt_decomposition`",
"This function serves as a handler for the different implementations of the IUWT decomposition. It allows the\n different methods to be used almost interchangeably.",
" INPUTS:\n in1 (no default): Array on which the decomposition is to be perfor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mp_iuwt_decomposition 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 mp_iuwt_decomposition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | This function calls the a trous algorithm code to decompose the input into its wavelet coefficients. This is
the isotropic undecimated wavelet transform implemented for multiple CPU cores. NOTE: Python is not well suited
to multiprocessing - this may not improve execution speed.
INPUTS:
in1 ... | "This function calls the a trous algorithm code to decompose the input into its wavelet coefficients. This is\n the isotropic undecimated wavelet transform implemented for multiple CPU cores. NOTE: Python is not well suited\n to multiprocessing - this may not improve execution speed.\n\n INPUTS:\n in1 ... | 125 | false | ratt-ru/PyMORESANE | mp_iuwt_decomposition | 35,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.