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/wbond/certbuilder/_get_crl_url | LDU_FT | [
"<BEGIN>\n## `self_signed`",
"A bool - if the certificate should be self-signed.\n<END>",
"<BEGIN>\n## `serial_number`",
"An int representable in 160 bits or less - must uniquely identify\n this certificate when combined with the issuer name.\n<END>",
"<BEGIN>\n## `issuer`",
"An asn1crypto.x509.Cer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_crl_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_crl_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Grabs the first URL out of a asn1crypto.x509.CRLDistributionPoints
object
:param distribution_points:
The x509.CRLDistributionPoints object to pull the URL out of
:return:
A unicode string or None | "Grabs the first URL out of a asn1crypto.x509.CRLDistributionPoints\n object\n\n :param distribution_points:\n The x509.CRLDistributionPoints object to pull the URL out of\n\n :return:\n A unicode string or None" | 28 | false | wbond/certbuilder | _get_crl_url | 17,473 | |
LDU_FT/wroberts/fsed/greedy_replace | LDU_FT | [
"<BEGIN>\n## `open_file`",
"Opens a file for access with the given mode. This function\n transparently wraps gzip and xz files as well as normal files.\n You can also open zip files using syntax like:",
" f = utils.open_file('../semcor-parsed.zip:semcor000.txt')\n<END>",
"<BEGIN>\n## `boundary_trans... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the greedy_replace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the greedy_replace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Greedily matches strings in ``seq``, and replaces them with their
node values.
Arguments:
- `seq`: an iterable of characters to perform search-and-replace on | "Greedily matches strings in ``seq``, and replaces them with their\n node values.\n\n Arguments:\n - `seq`: an iterable of characters to perform search-and-replace on" | 50 | false | wroberts/fsed | greedy_replace | 17,474 | |
LDU_FT/axialmarket/fsq/trigger_pull | LDU_FT | [
"<BEGIN>\n## `barf`",
"Exit with a log message (usually a fatal error)\n<END>",
"<BEGIN>\n## `done_item`",
"Succeed or fail an item based on the return code of a program\n<END>",
"<BEGIN>\n## `setenv`",
"Set environment, based on item. Usually done in a baby fork\n<END>",
"<BEGIN>\n## `shout`",
"Log ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trigger_pull API.
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 trigger_pull API.
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... | Write a non-blocking byte to a trigger fifo, to cause a triggered
scan | "Write a non-blocking byte to a trigger fifo, to cause a triggered\n scan" | 99 | false | axialmarket/fsq | trigger_pull | 17,475 | |
LDU_FT/piotr-rusin/spam-lists/_get_match_and_classification | LDU_FT | [
"<BEGIN>\n## `is_valid_host`",
"Check if given value is a valid host string.",
" :param value: a value to test\n :returns: True if the value is valid\n<END>",
"<BEGIN>\n## `is_valid_url`",
"Check if given value is a valid URL string.",
" :param value: a value to test\n :returns: True if the va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_match_and_classification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_match_and_classification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Get classification for all matching URLs.
:param urls: a sequence of URLs to test
:return: a tuple containing matching URL and classification
string pertaining to it | "Get classification for all matching URLs.\n\n :param urls: a sequence of URLs to test\n :return: a tuple containing matching URL and classification\n string pertaining to it" | 78 | false | piotr-rusin/spam-lists | _get_match_and_classification | 17,476 | |
LDU_FT/infinite-library/ghetto/do_filter | LDU_FT | [
"<BEGIN>\n## `confirm`",
"Console confirmation dialog based on raw_input.\n<END>",
"<BEGIN>\n## `read_file`",
"Read file, convert wildcards into regular expressions, skip empty lines\n and comments.\n<END>",
"<BEGIN>\n## `drop_it`",
"The found torrents should be in filters list and shouldn't be in blac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_filter API.
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... | CLI action "run editor for filters list". | "CLI action \"run editor for filters list\"." | 10 | false | infinite-library/ghetto | do_filter | 17,477 | |
LDU_FT/mattja/nsim/output | LDU_FT | [
"<BEGIN>\n## `merge`",
"Merge several timeseries\n Arguments:\n tup: sequence of Timeseries, with the same shape except for axis 0\n Returns: \n Resulting merged timeseries which can have duplicate time points.\n<END>",
"<BEGIN>\n## `add_analyses`",
"Dynamically add new analysis methods to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output API.
Each 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 output API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Rank 3 array representing output time series. Axis 0 is time,
axis 1 ranges across output variables of a single simulation, axis 2
ranges across different simulation instances. | "Rank 3 array representing output time series. Axis 0 is time, \n axis 1 ranges across output variables of a single simulation, axis 2 \n ranges across different simulation instances." | 427 | false | mattja/nsim | output | 17,478 | |
LDU_FT/Ezhil-Language-Foundation/open-tamil/convert_to_unicode | LDU_FT | [
"<BEGIN>\n## `unicode2encode`",
"charmap : dictionary which has both encode as key, unicode as value\n<END>",
"<BEGIN>\n## `unicode2auto`",
"This function will convert unicode (first argument) text into other\r\n encodes by auto find the encode (from available encodes) by using sample\r\n encode text in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_to_unicode 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 convert_to_unicode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | convert a byte-ASCII encoded string into equivalent Unicode string
in the UTF-8 notation. | "convert a byte-ASCII encoded string into equivalent Unicode string\n in the UTF-8 notation." | 90 | false | Ezhil-Language-Foundation/open-tamil | convert_to_unicode | 17,479 | |
LDU_FT/drericstrong/pyedna/AddAnalogShortIdMsecRecordNoStatus | LDU_FT | [
"<BEGIN>\n## `write_relationships`",
"This module will output the eDNA tags which are used inside each\n calculation.",
" If flat=True, data will be written flat, like:\n ADE1CA01, ADE1PI01, ADE1PI02",
" If flat=False, data will be written in the non-flat way, like:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AddAnalogShortIdMsecRecordNoStatus 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 AddAnalogShortIdMsecRecordNoStatus API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | This function will add an analog value to the specified eDNA service and
tag, without an associated point status.
:param site_service: The site.service where data will be pushed
:param tag: The eDNA tag to push data. Tag only (e.g. ADE1CA01)
:param time_value: The time of the point, which MUST be in UT... | "This function will add an analog value to the specified eDNA service and\n tag, without an associated point status.\n\n :param site_service: The site.service where data will be pushed\n :param tag: The eDNA tag to push data. Tag only (e.g. ADE1CA01)\n :param time_value: The time of the point, which MUST be... | 70 | false | drericstrong/pyedna | AddAnalogShortIdMsecRecordNoStatus | 17,480 | |
LDU_FT/project-rig/rig/update_default_values | LDU_FT | [
"<BEGIN>\n## `minimise`",
"Remove from the routing table any entries which could be replaced by\n default routing.",
" Parameters\n ----------\n routing_table : [:py:class:`~rig.routing_table.RoutingTableEntry`, ...]\n Routing table from which to remove entries which could be handled by\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_default_values 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 update_default_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Replace the default values of specified fields.
Parameters
----------
Parameters are taken as keyword-arguments of `field=new_value`.
Raises
------
KeyError
If a field doesn't exist in the struct. | "Replace the default values of specified fields.\n\n Parameters\n ----------\n Parameters are taken as keyword-arguments of `field=new_value`.\n\n Raises\n ------\n KeyError\n If a field doesn't exist in the struct." | 983 | false | project-rig/rig | update_default_values | 17,481 | |
LDU_FT/pyschool/story/translation | LDU_FT | [
"<BEGIN>\n## `translation`",
"Return a translation object in the default 'django' domain.\n<END>",
"<BEGIN>\n## `gettext`",
"Translate the 'message' string. It uses the current thread to find the\n translation object to use. If no current translation is activated, the\n message will be run through the d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translation API.
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 translation API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return a translation object in the default 'django' domain. | "Return a translation object in the default 'django' domain." | 11 | false | pyschool/story | translation | 17,482 | |
LDU_FT/rocky/python-xdis/get_jump_targets | LDU_FT | [
"<BEGIN>\n## `disco`",
"diassembles and deparses a given code block 'co'\n<END>",
"<BEGIN>\n## `disco_loop`",
"Disassembles a queue of code objects. If we discover\n another code object which will be found in co_consts, we add\n the new code to the list. Note that the order of code discovery\n is in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_jump_targets API.
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_jump_targets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns a list of instruction offsets in the supplied bytecode
which are the targets of some sort of jump instruction. | "Returns a list of instruction offsets in the supplied bytecode\n which are the targets of some sort of jump instruction." | 133 | false | rocky/python-xdis | get_jump_targets | 17,483 | |
LDU_FT/coded-by-hand/mass/path_to_url2 | LDU_FT | [
"<BEGIN>\n## `get_requirement_from_url`",
"Get a requirement from the URL, if possible. This looks for #egg\n in the URL\n<END>",
"<BEGIN>\n## `package_to_requirement`",
"Translate a name like Foo-1.2 to Foo==1.3\n<END>",
"<BEGIN>\n## `get_mirrors`",
"Return the list of mirrors from the last record fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the path_to_url2 API.
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 path_to_url2 API.
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 path to a file: URL. The path will be made absolute and have
quoted path parts. | "Convert a path to a file: URL. The path will be made absolute and have\n quoted path parts." | 105 | false | coded-by-hand/mass | path_to_url2 | 17,484 | |
LDU_FT/mozilla/crontabber/with_subprocess | 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 with_subprocess API.
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 with_subprocess API.
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... | a class decorator for Crontabber Apps. This decorator gives the CronApp
a _run_proxy method that will execute the cron app as a single PG
transaction. Commit and Rollback are automatic. The cron app should do
no transaction management of its own. The cron app should be short so that
the transaction ... | "a class decorator for Crontabber Apps. This decorator gives the CronApp\n a _run_proxy method that will execute the cron app as a single PG\n transaction. Commit and Rollback are automatic. The cron app should do\n no transaction management of its own. The cron app should be short so that\n the transac... | 59 | false | mozilla/crontabber | with_subprocess | 17,485 | |
LDU_FT/daboth/pagan/generate | LDU_FT | [
"<BEGIN>\n## `init_weapon_list`",
"Initialize the possible weapon\n combinations.\n<END>",
"<BEGIN>\n## `grind_hash_for_colors`",
"Extracts information from the hashcode\n to generate different colors. Returns a\n list of colors in (r,g,b) tupels.\n<END>",
"<BEGIN>\n## `split_sequence`",
"Generat... | 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... | Generates an PIL image avatar based on the given
input String. Acts as the main accessor to pagan. | "Generates an PIL image avatar based on the given\n input String. Acts as the main accessor to pagan." | 46 | false | daboth/pagan | generate | 17,486 | |
LDU_FT/google/pyringe/_GetGdbThreadMapping | LDU_FT | [
"<BEGIN>\n## `StartExecServer`",
"Opens a socket in /tmp, execs data from it and writes results back.\n<END>",
"<BEGIN>\n## `ThreadsWithRunningExecServers`",
"Returns a list of tids of inferior threads with open exec servers.\n<END>",
"<BEGIN>\n## `Backtrace`",
"Get a backtrace of the current position.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _GetGdbThreadMapping 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 _GetGdbThreadMapping API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Gets a mapping from python tid to gdb thread num.
There's no way to get the thread ident from a gdb thread. We only get the
"ID of the thread, as assigned by GDB", which is completely useless for
everything except talking to gdb. So in order to translate between these
two, we have to execute 'info th... | "Gets a mapping from python tid to gdb thread num.\n\n There's no way to get the thread ident from a gdb thread. We only get the\n \"ID of the thread, as assigned by GDB\", which is completely useless for\n everything except talking to gdb. So in order to translate between these\n two, we have to execute ... | 142 | false | google/pyringe | _GetGdbThreadMapping | 17,487 | |
LDU_FT/fboender/ansible-cmdb/_push_writer | LDU_FT | [
"<BEGIN>\n## `tokenize`",
"Parse a string expression into a set of tokens that can be used as a path\n into a Python datastructure.\n<END>",
"<BEGIN>\n## `jsonxs`",
"Get, set, delete values in a JSON structure. `expr` is a JSONpath-like\n expression pointing to the desired value. `action` determines the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _push_writer API.
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 _push_writer API.
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... | push a capturing buffer onto this Context and return
the new writer function. | "push a capturing buffer onto this Context and return\n the new writer function." | 271 | false | fboender/ansible-cmdb | _push_writer | 17,488 | |
LDU_FT/spookylukey/django-paypal/express_endpoint_for_token | LDU_FT | [
"<BEGIN>\n## `render_payment_form`",
"Display the DirectPayment for entering payment information.\n<END>",
"<BEGIN>\n## `validate_payment_form`",
"Try to validate and then process the DirectPayment form.\n<END>",
"<BEGIN>\n## `redirect_to_express`",
"First step of ExpressCheckout. Redirect the request to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the express_endpoint_for_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the express_endpoint_for_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Returns the PayPal Express Checkout endpoint for a token.
Pass 'commit=True' if you will not prompt for confirmation when the user
returns to your site. | "Returns the PayPal Express Checkout endpoint for a token.\n Pass 'commit=True' if you will not prompt for confirmation when the user\n returns to your site." | 65 | false | spookylukey/django-paypal | express_endpoint_for_token | 17,489 | |
LDU_FT/prompt-toolkit/ptpython/load_sidebar_bindings | LDU_FT | [
"<BEGIN>\n## `tab_should_insert_whitespace`",
"When the 'tab' key is pressed with only whitespace character before the\n cursor, do autocompletion. Otherwise, insert indentation.",
" Except for the first character at the first line. Then always do a\n completion. It doesn't make sense to start the firs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_sidebar_bindings 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 load_sidebar_bindings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Load bindings for the navigation in the sidebar. | "Load bindings for the navigation in the sidebar." | 81 | false | prompt-toolkit/ptpython | load_sidebar_bindings | 17,490 | |
LDU_FT/ymoch/apyori/dump_as_json | LDU_FT | [
"<BEGIN>\n## `create_next_candidates`",
"Returns the apriori candidates as a list.",
" Arguments:\n prev_candidates -- Previous candidates as a list.\n length -- The lengths of the next candidates.\n<END>",
"<BEGIN>\n## `gen_support_records`",
"Returns a generator of support records with gi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_as_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_as_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Dump an relation record as a json value.
Arguments:
record -- A RelationRecord instance to dump.
output_file -- A file to output. | "Dump an relation record as a json value.\n\n Arguments:\n record -- A RelationRecord instance to dump.\n output_file -- A file to output." | 39 | false | ymoch/apyori | dump_as_json | 17,491 | |
LDU_FT/bpsmith/tia/as_field_error | LDU_FT | [
"<BEGIN>\n## `sma`",
"If n is 0 then return the ltd mean; else return the n day mean\n<END>",
"<BEGIN>\n## `true_range`",
"http://en.wikipedia.org/wiki/Average_true_range\n The greatest of the following:\n - Current High less the current Low\n - Current High less the previous Close (absolute value)\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_field_error API.
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 as_field_error API.
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... | convert a fieldExceptions element to a FieldError or FieldError array | "convert a fieldExceptions element to a FieldError or FieldError array" | 226 | false | bpsmith/tia | as_field_error | 17,492 | |
LDU_FT/taborlab/FlowCal/get_transform | LDU_FT | [
"<BEGIN>\n## `clustering_gmm`",
"Find clusters in an array using a Gaussian Mixture Model.",
" Before clustering, `data` can be automatically rescaled as specified by\n the `scale` argument.",
" Parameters\n ----------\n data : FCSData or array_like\n Data to cluster.\n n_clusters : i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_transform API.
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_transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get a new object to perform the scaling transformation. | "Get a new object to perform the scaling transformation." | 418 | false | taborlab/FlowCal | get_transform | 17,493 | |
LDU_FT/raphaelvallat/pingouin/intraclass_corr | LDU_FT | [
"<BEGIN>\n## `plot_blandaltman`",
"Generate a Bland-Altman plot to compare two sets of measurements.",
" Parameters\n ----------\n x, y : np.array or list\n First and second measurements.\n agreement : float\n Multiple of the standard deviation to plot limit of agreement bounds.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intraclass_corr API.
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 intraclass_corr API.
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... | Intra-class correlation coefficient.
Parameters
----------
data : pd.DataFrame
Dataframe containing the variables
groups : string
Name of column in data containing the groups.
raters : string
Name of column in data containing the raters (scorers).
scores : string
... | "Intra-class correlation coefficient.\n\n Parameters\n ----------\n data : pd.DataFrame\n Dataframe containing the variables\n groups : string\n Name of column in data containing the groups.\n raters : string\n Name of column in data containing the raters (scorers).\n scores : str... | 1,159 | true | raphaelvallat/pingouin | intraclass_corr | 17,494 | |
LDU_FT/NerdWalletOSS/savage/is_modified | LDU_FT | [
"<BEGIN>\n## `delete`",
"Performs a hard delete on a row, which means the row is deleted from the Savage\n table as well as the archive table.",
" :param table: the model class which inherits from\n :class:`~savage.models.user_table.SavageModelMixin` and specifies the model\n of the user tab... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_modified API.
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 is_modified API.
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... | Has the row data been modified?
This method inspects the row, and iterates over all columns looking for changes
to the (processed) data, skipping over unmodified columns.
:param row: SQLAlchemy model instance
:param dialect: :py:class:`~sqlalchemy.engine.interfaces.Dialect`
:return: True if any co... | "Has the row data been modified?\n\n This method inspects the row, and iterates over all columns looking for changes\n to the (processed) data, skipping over unmodified columns.\n\n :param row: SQLAlchemy model instance\n :param dialect: :py:class:`~sqlalchemy.engine.interfaces.Dialect`\n :return: True i... | 60 | false | NerdWalletOSS/savage | is_modified | 17,495 | |
LDU_FT/hover2pi/svo_filters/rsr | LDU_FT | [
"<BEGIN>\n## `color_gen`",
"Color generator for Bokeh plots",
" Parameters\n ----------\n colormap: str, sequence\n The name of the color map",
" Returns\n -------\n generator\n A generator for the color palette\n<END>",
"<BEGIN>\n## `filters`",
"Get a list of the available... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rsr API.
Each 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 rsr API.
Each 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... | A getter for the relative spectral response (rsr) curve | "A getter for the relative spectral response (rsr) curve" | 63 | false | hover2pi/svo_filters | rsr | 17,496 | |
LDU_FT/captin411/ofxclient/_do_post | LDU_FT | [
"<BEGIN>\n## `is_secure_option`",
"Test an option to see if it is secured or not.",
" :param section: section id\n :type section: string\n :param option: option name\n :type option: string\n :rtype: boolean\n otherwise.\n<END>",
"<BEGIN>\n## `items`",
"Get all items... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_post API.
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 _do_post API.
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... | Do a POST to the Institution.
:param query: Body content to POST (OFX Query)
:type query: str
:param extra_headers: Extra headers to send with the request, as a list
of (Name, Value) header 2-tuples.
:type extra_headers: list
:return: 2-tuple of (HTTPResponse, str resp... | "Do a POST to the Institution.\n\n :param query: Body content to POST (OFX Query)\n :type query: str\n :param extra_headers: Extra headers to send with the request, as a list\n of (Name, Value) header 2-tuples.\n :type extra_headers: list\n :return: 2-tuple of (HTTPResponse, ... | 93 | false | captin411/ofxclient | _do_post | 17,497 | |
LDU_FT/cons3rt/pycons3rt/get_property | LDU_FT | [
"<BEGIN>\n## `getdict`",
"Returns a standard python Dict with computed values\n from the DynDict\n :param source: (DynDict) input\n :return: (dict) Containing computed values\n<END>",
"<BEGIN>\n## `get_ec2_client`",
"Gets an EC2 client",
" :return: boto3.client object\n :raises: AWSAPIError\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_property API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_property API.
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... | Gets the name of a specific property
This public method is passed a regular expression and
returns the matching property name. If either the property
is not found or if the passed string matches more than one
property, this function will return None.
:param regex: Regular expre... | "Gets the name of a specific property\n\n This public method is passed a regular expression and\n returns the matching property name. If either the property\n is not found or if the passed string matches more than one\n property, this function will return None.\n\n :param regex: Regul... | 386 | false | cons3rt/pycons3rt | get_property | 17,498 | |
LDU_FT/summanlp/textrank/stem | LDU_FT | [
"<BEGIN>\n## `_cons`",
"cons(i) is TRUE <=> b[i] is a consonant.\n<END>",
"<BEGIN>\n## `_m`",
"m() measures the number of consonant sequences between k0 and j.\n if c is a consonant sequence and v a vowel sequence, and <..>\n indicates arbitrary presence,",
" <c><v> gives 0\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stem API.
Each 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 stem API.
Each 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... | Stem an Hungarian word and return the stemmed form.
:param word: The word that is stemmed.
:type word: str or unicode
:return: The stemmed form.
:rtype: unicode | "Stem an Hungarian word and return the stemmed form.\n\n :param word: The word that is stemmed.\n :type word: str or unicode\n :return: The stemmed form.\n :rtype: unicode" | 126 | false | summanlp/textrank | stem | 17,499 | |
LDU_FT/opencivicdata/pupa/resolve_json_id | LDU_FT | [
"<BEGIN>\n## `items_differ`",
"check whether or not jsonitems and dbitems differ\n<END>",
"<BEGIN>\n## `resolve_json_id`",
"Given an id found in scraped JSON, return a DB id for the object.",
" params:\n json_id: id from json\n allow_no_match: just return None... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_json_id API.
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 resolve_json_id API.
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... | Given an id found in scraped JSON, return a DB id for the object.
params:
json_id: id from json
allow_no_match: just return None if id can't be resolved
returns:
database id
raises:
ValueError if id couldn't be... | "Given an id found in scraped JSON, return a DB id for the object.\n\n params:\n json_id: id from json\n allow_no_match: just return None if id can't be resolved\n\n returns:\n database id\n\n raises:\n ValueError if id ... | 48 | false | opencivicdata/pupa | resolve_json_id | 17,500 | |
LDU_FT/danidee10/Staticfy/staticfy | LDU_FT | [
"<BEGIN>\n## `get_asset_location`",
"Get Asset Location.",
" Remove leading slash e.g '/static/images.jpg' ==> static/images.jpg\n Also, if the url is also prefixed with static, it would be removed.\n e.g static/image.jpg ==> image.jpg\n<END>",
"<BEGIN>\n## `transform`",
"The actual transformat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the staticfy API.
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 staticfy API.
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... | Staticfy method.
Loop through each line of the file and replaces the old links | "Staticfy method.\n\n Loop through each line of the file and replaces the old links" | 14 | false | danidee10/Staticfy | staticfy | 17,501 | |
LDU_FT/viralogic/py-enumerable/order_by_descending | LDU_FT | [
"<BEGIN>\n## `select`",
"Transforms data into different form\n :param func: lambda expression on how to perform transformation\n :return: new Enumerable object containing transformed data\n<END>",
"<BEGIN>\n## `min`",
"Returns the min value of data elements\n :param func: lambda expressio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the order_by_descending 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 order_by_descending API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns new Enumerable sorted in descending order by given key
:param key: key to sort by as lambda expression
:return: new Enumerable object | "Returns new Enumerable sorted in descending order by given key\n :param key: key to sort by as lambda expression\n :return: new Enumerable object" | 65 | false | viralogic/py-enumerable | order_by_descending | 17,502 | |
LDU_FT/stoneworksolutions/stoneredis/multi_rpush | LDU_FT | [
"<BEGIN>\n## `reconnect`",
"Connects to Redis with a exponential waiting (3**n)\n<END>",
"<BEGIN>\n## `_multi_lpop_pipeline`",
"Pops multiple elements from a list in a given pipeline\n<END>",
"<BEGIN>\n## `multi_lpop`",
"Pops multiple elements from a list\r\n This operation will be atomic if tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multi_rpush API.
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 multi_rpush API.
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... | Pushes multiple elements to a list
If bulk_size is set it will execute the pipeline every bulk_size elements
This operation will be atomic if transaction=True is passed | "Pushes multiple elements to a list\r\n If bulk_size is set it will execute the pipeline every bulk_size elements\r\n This operation will be atomic if transaction=True is passed" | 20 | false | stoneworksolutions/stoneredis | multi_rpush | 17,503 | |
LDU_FT/nschloe/matplotlib2tikz/_scale_to_int | LDU_FT | [
"<BEGIN>\n## `_get_ticks`",
"Gets a {'x','y'}, a number of ticks and ticks labels, and returns the\n necessary axis options for the given configuration.\n<END>",
"<BEGIN>\n## `_is_colorbar_heuristic`",
"Find out if the object is in fact a color bar.\n<END>",
"<BEGIN>\n## `_mpl_cmap2pgf_cmap`",
"Convert... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scale_to_int API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scale_to_int API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Scales the array X such that it contains only integers. | "Scales the array X such that it contains only integers." | 81 | false | nschloe/matplotlib2tikz | _scale_to_int | 17,504 | |
LDU_FT/openid/python-openid/seqToKV | LDU_FT | [
"<BEGIN>\n## `queryURL`",
"Build a URL to query the proxy resolver.",
" @param xri: An XRI to resolve.\n @type xri: unicode",
" @param service_type: The service type to resolve, if you desire\n service endpoint selection. A service type is a URI.\n @type service_type: s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the seqToKV API.
Each 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 seqToKV API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Represent a sequence of pairs of strings as newline-terminated
key:value pairs. The pairs are generated in the order given.
@param seq: The pairs
@type seq: [(str, (unicode|str))]
@return: A string representation of the sequence
@rtype: str | "Represent a sequence of pairs of strings as newline-terminated\n key:value pairs. The pairs are generated in the order given.\n\n @param seq: The pairs\n @type seq: [(str, (unicode|str))]\n\n @return: A string representation of the sequence\n @rtype: str" | 828 | false | openid/python-openid | seqToKV | 17,505 | |
LDU_FT/scraperwiki/scraperwiki-python/has_external_dependency | 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 has_external_dependency 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 has_external_dependency API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Check that a non-Python dependency is installed. | "Check that a non-Python dependency is installed." | 22 | false | scraperwiki/scraperwiki-python | has_external_dependency | 17,506 | |
LDU_FT/kevinconway/venvctrl/relocate | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new virtual environment.",
" Args:\n python (str): The name or path of a python interpreter to use while\n creating the virtual environment.\n system_site (bool): Whether or not use use the system site packages\n within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relocate API.
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 relocate API.
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... | Adjust the virtual environment settings and optional move it.
Args:
source (str): Path to the existing virtual environment.
destination (str): Desired path of the virtual environment.
move (bool): Whether or not to actually move the files. Default False. | "Adjust the virtual environment settings and optional move it.\n\n Args:\n source (str): Path to the existing virtual environment.\n destination (str): Desired path of the virtual environment.\n move (bool): Whether or not to actually move the files. Default False." | 51 | false | kevinconway/venvctrl | relocate | 17,507 | |
LDU_FT/csurfer/gitsuggest/__populate_repositories_of_interest | LDU_FT | [
"<BEGIN>\n## `main`",
"Starting point for the program execution.\n<END>",
"<BEGIN>\n## `get_html`",
"Method to convert the repository list to a search results page.\n<END>",
"<BEGIN>\n## `to_html`",
"Method to convert the repository list to a search results page and\n write it to a HTML file.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __populate_repositories_of_interest API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __populate_repositories_of_interest API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | Method to populate repositories which will be used to suggest
repositories for the user. For this purpose we use two kinds of
repositories.
1. Repositories starred by user him/herself.
2. Repositories starred by the users followed by the user.
:param username: Username for the ... | "Method to populate repositories which will be used to suggest\n repositories for the user. For this purpose we use two kinds of\n repositories.\n\n 1. Repositories starred by user him/herself.\n 2. Repositories starred by the users followed by the user.\n\n :param username: Username ... | 38 | false | csurfer/gitsuggest | __populate_repositories_of_interest | 17,508 | |
LDU_FT/hickeroar/simplebayes/tally | LDU_FT | [
"<BEGIN>\n## `train_token`",
"Trains a particular token (increases the weight/count of it)",
" :param word: the token we're going to train\n :type word: str\n :param count: the number of occurances in the sample\n :type count: int\n<END>",
"<BEGIN>\n## `untrain_token`",
"Untrains... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tally API.
Each 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 tally API.
Each 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... | Gets the tally for a requested category
:param category: The category we want a tally for
:type category: str
:return: tally for a given category
:rtype: int | "Gets the tally for a requested category\n\n :param category: The category we want a tally for\n :type category: str\n :return: tally for a given category\n :rtype: int" | 40 | false | hickeroar/simplebayes | tally | 17,509 | |
LDU_FT/divio/django-filer/get_thumbnail_name | LDU_FT | [
"<BEGIN>\n## `get_deleted_objects`",
"Find all objects related to ``objs`` that should also be deleted. ``objs``\n must be a homogeneous iterable of objects (e.g. a QuerySet).\n Returns a nested list of strings suitable for display in the\n template with the ``unordered_list`` filter.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_thumbnail_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_thumbnail_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | A version of ``Thumbnailer.get_thumbnail_name`` that produces a
reproducible thumbnail name that can be converted back to the original
filename. | "A version of ``Thumbnailer.get_thumbnail_name`` that produces a\n reproducible thumbnail name that can be converted back to the original\n filename." | 80 | false | divio/django-filer | get_thumbnail_name | 17,510 | |
LDU_FT/jaredLunde/redis_structures/expire_at | LDU_FT | [
"<BEGIN>\n## `_hashed_key`",
"Returns 16-digit numeric hash of the redis key\n<END>",
"<BEGIN>\n## `expire_at`",
"Sets the expiration time of :prop:key_prefix to @_time\n @_time: absolute Unix timestamp (seconds since January 1, 1970)\n<END>",
"<BEGIN>\n## `pexpire_at`",
"Sets the expiration ti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expire_at API.
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 expire_at API.
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... | Sets the expiration time of :prop:key_prefix to @_time
@_time: absolute Unix timestamp (seconds since January 1, 1970) | "Sets the expiration time of :prop:key_prefix to @_time\n @_time: absolute Unix timestamp (seconds since January 1, 1970)" | 216 | false | jaredLunde/redis_structures | expire_at | 17,511 | |
LDU_FT/orb-framework/orb/expandtree | LDU_FT | [
"<BEGIN>\n## `virtual`",
"Allows for defining virtual columns and collectors on models -- these\n are objects that are defined in code and not directly in a data store.",
" :param cls:\n :param options:\n :return:\n<END>",
"<BEGIN>\n## `dict_factory`",
"Converts the cursor information from a SQL... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expandtree API.
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 expandtree API.
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... | Goes through the expand options associated with this context and
returns a trie of data.
:param model: subclass of <orb.Model> || None
:return: <dict> | "Goes through the expand options associated with this context and\n returns a trie of data.\n\n :param model: subclass of <orb.Model> || None\n\n :return: <dict>" | 608 | false | orb-framework/orb | expandtree | 17,512 | |
LDU_FT/edeposit/edeposit.amqp.ftp/remove_user | LDU_FT | [
"<BEGIN>\n## `load_users`",
"Read passwd file and return dict with users and all their settings.",
" Args:\n path (str, default settings.LOGIN_FILE): path of the file,\n which will be loaded (default :attr:`ftp.settings.LOGIN_FILE`).",
" Returns:\n (dict): username: {pass_hash, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Remove user, his home directory and so on..
Args:
username (str): User's name. | "Remove user, his home directory and so on..\n\n Args:\n username (str): User's name." | 166 | false | edeposit/edeposit.amqp.ftp | remove_user | 17,513 | |
LDU_FT/msoulier/tftpy/sendACK | LDU_FT | [
"<BEGIN>\n## `parse`",
"This method is used to parse an existing datagram into its\n corresponding TftpPacket object. The buffer is the raw bytes off of\n the network.\n<END>",
"<BEGIN>\n## `__create`",
"This method returns the appropriate class object corresponding to\n the passed opcode... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sendACK API.
Each 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 sendACK API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | This method sends an ack packet to the block number specified. If
none is specified, it defaults to the next_block property in the
parent context. | "This method sends an ack packet to the block number specified. If\n none is specified, it defaults to the next_block property in the\n parent context." | 70 | false | msoulier/tftpy | sendACK | 17,514 | |
LDU_FT/craft-ai/craft-ai-client-python/_recreate_list_with_indices | LDU_FT | [
"<BEGIN>\n## `to_dict`",
"Returns the Time instance as a usable dictionary for craftai\n<END>",
"<BEGIN>\n## `create_agent`",
"Create an agent.",
" :param dict configuration: Form given by the craftai documentation.\n :param str agent_id: Optional. The id of the agent to create. It\n must be an str... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recreate_list_with_indices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recreate_list_with_indices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Create a list in the right order.
:param list indices1: contains the list of indices corresponding to
the values in values1.
:param list values1: contains the first list of values.
:param list indices2: contains the list of indices corresponding to
the values in values2.
:param list values2: co... | "Create a list in the right order.\n\n :param list indices1: contains the list of indices corresponding to\n the values in values1.\n :param list values1: contains the first list of values.\n :param list indices2: contains the list of indices corresponding to\n the values in values2.\n :param list val... | 80 | false | craft-ai/craft-ai-client-python | _recreate_list_with_indices | 17,515 | |
LDU_FT/SiLab-Bonn/basil/logical_and | LDU_FT | [
"<BEGIN>\n## `write`",
"Write to dummy memory",
" Parameters\n ----------\n addr : int\n The register address.\n data : list, tuple\n Data (byte array) to be written.",
" Returns\n -------\n nothing\n<END>",
"<BEGIN>\n## `read`",
"Para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logical_and API.
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 logical_and API.
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... | Logical and from functions.
Parameters
----------
f1, f2 : function
Function that takes array and returns true or false for each item in array.
Returns
-------
Function
Examples
--------
filter_func=logical_and(is_data_record, is_data_from_channel(4)) # new f... | "Logical and from functions.\r\n\r\n Parameters\r\n ----------\r\n f1, f2 : function\r\n Function that takes array and returns true or false for each item in array.\r\n\r\n Returns\r\n -------\r\n Function\r\n\r\n Examples\r\n --------\r\n filter_func=logical_and(is_data_record, is_dat... | 147 | false | SiLab-Bonn/basil | logical_and | 17,516 | |
LDU_FT/kpdyer/regex2dfa/_Authenticate | LDU_FT | [
"<BEGIN>\n## `MakeRanges`",
"Turn a list like [1,2,3,7,8,9] into a range list [[1,3], [7,9]]\n<END>",
"<BEGIN>\n## `PrintRanges`",
"Print the ranges as an array of type named name.\n<END>",
"<BEGIN>\n## `PrintGroup`",
"Print the data structures for the group of codes.\n Return a UGroup literal for the gr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _Authenticate API.
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 _Authenticate API.
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... | Authenticates the user.
The authentication process works as follows:
1) We get a username and password from the user
2) We use ClientLogin to obtain an AUTH token for the user
(see http://code.google.com/apis/accounts/AuthForInstalledApps.html).
3) We pass the auth token to /_ah/login on the server to obta... | "Authenticates the user.\n\n\t\tThe authentication process works as follows:\n\t\t1) We get a username and password from the user\n\t\t2) We use ClientLogin to obtain an AUTH token for the user\n\t\t\t\t(see http://code.google.com/apis/accounts/AuthForInstalledApps.html).\n\t\t3) We pass the auth token to /_ah/login on... | 163 | false | kpdyer/regex2dfa | _Authenticate | 17,517 | |
LDU_FT/thautwarm/Redy/const_return | LDU_FT | [
"<BEGIN>\n## `map_by`",
"when pycharm supports type hinting for any implementation of currying,\n map_with and map_on would be deprecated.\n >>> from Redy.Collections import Traversal, Flow\n >>> def double(x: int) -> int: return x * 2\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the const_return API.
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 const_return API.
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... | >>> from Redy.Magic.Classic import const_return
>>> @const_return
>>> def f(x):
>>> return x
>>> r1 = f(1)
>>> assert r1 is 1 and r1 is f(2) | ">>> from Redy.Magic.Classic import const_return\n >>> @const_return\n >>> def f(x):\n >>> return x\n >>> r1 = f(1)\n >>> assert r1 is 1 and r1 is f(2)" | 83 | false | thautwarm/Redy | const_return | 17,518 | |
LDU_FT/alexa/alexa-skills-kit-sdk-for-python/invoke | LDU_FT | [
"<BEGIN>\n## `invoke`",
"Invokes the dispatcher, to handle the request envelope and\n return a response envelope.",
" :param request_envelope: Request Envelope instance containing\n request information\n :type request_envelope: RequestEnvelope\n :param context: Context pas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the invoke API.
Each 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 invoke API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Dispatches a request to an API endpoint described in the
request.
Resolves the method from input request object, converts the
list of header tuples to the required format (dict) for the
`requests` lib call and invokes the method with corresponding
parameters on `requests` librar... | "Dispatches a request to an API endpoint described in the\n request.\n\n Resolves the method from input request object, converts the\n list of header tuples to the required format (dict) for the\n `requests` lib call and invokes the method with corresponding\n parameters on `requests`... | 285 | false | alexa/alexa-skills-kit-sdk-for-python | invoke | 17,519 | |
LDU_FT/great-expectations/great_expectations/expect_file_size_to_be_between | LDU_FT | [
"<BEGIN>\n## `_setup_source_conn`",
"Retrieve connection based on source_conn_id. In case of s3 it also configures the bucket.\n Validates that connection id belongs to supported connection type.\n :param source_conn_id:\n :param source_bucket_name:\n<END>",
"<BEGIN>\n## `_setup_dest_conn`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expect_file_size_to_be_between API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expect_file_size_to_be_between API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Expect file size to be between a user specified maxsize and minsize.
Args:
minsize(integer): minimum expected file size
maxsize(integer): maximum expected file size
Keyword Args:
result_format (str or None): \
Which output mode to use: `BOOLEAN_ONLY... | "Expect file size to be between a user specified maxsize and minsize.\n\n Args:\n minsize(integer): minimum expected file size\n maxsize(integer): maximum expected file size\n\n Keyword Args:\n\n result_format (str or None): \\\n Which output mode to use: `B... | 475 | false | great-expectations/great_expectations | expect_file_size_to_be_between | 17,520 | |
LDU_FT/pantsbuild/pex/unregister_finders | LDU_FT | [
"<BEGIN>\n## `isolated`",
"Returns a chroot for third_party isolated from the ``sys.path``.",
" PEX will typically be installed in site-packages flat alongside many other distributions; as such,\n adding the location of the pex distribution to the ``sys.path`` will typically expose many other\n distributions... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unregister_finders 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 unregister_finders 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... | Unregister finders necessary for PEX to function properly. | "Unregister finders necessary for PEX to function properly." | 385 | false | pantsbuild/pex | unregister_finders | 17,521 | |
LDU_FT/jonathansick/paperweight/bibitems | LDU_FT | [
"<BEGIN>\n## `read_git_blob`",
"Get text from a git blob.",
" Parameters\n ----------\n commit_ref : str\n Any SHA or git tag that can resolve into a commit in the\n git repository.\n path : str\n Path to the document in the git repository, relative to the root\n of the r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bibitems API.
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 bibitems API.
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... | List of bibitem strings appearing in the document. | "List of bibitem strings appearing in the document." | 60 | false | jonathansick/paperweight | bibitems | 17,522 | |
LDU_FT/deschler/django-modeltranslation/patch_related_object_descriptor_caching | LDU_FT | [
"<BEGIN>\n## `autodiscover`",
"Auto-discover INSTALLED_APPS translation.py modules and fail silently when\n not present. This forces an import on them to register.\n Also import explicit modules.\n<END>",
"<BEGIN>\n## `register`",
"Registers the given model(s) with the given translation options.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_related_object_descriptor_caching API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_related_object_descriptor_caching API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | Patch SingleRelatedObjectDescriptor or ReverseSingleRelatedObjectDescriptor to use
language-aware caching. | "Patch SingleRelatedObjectDescriptor or ReverseSingleRelatedObjectDescriptor to use\n language-aware caching." | 122 | false | deschler/django-modeltranslation | patch_related_object_descriptor_caching | 17,523 | |
LDU_FT/djm/python-scrapyd-api/list_spiders | LDU_FT | [
"<BEGIN>\n## `_build_url`",
"Builds the absolute URL using the target and desired endpoint.\n<END>",
"<BEGIN>\n## `add_version`",
"Adds a new project egg to the Scrapyd service. First class, maps to\n Scrapyd's add version endpoint.\n<END>",
"<BEGIN>\n## `cancel`",
"Cancels a job from a specific pr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_spiders API.
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 list_spiders API.
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... | Lists all known spiders for a specific project. First class, maps
to Scrapyd's list spiders endpoint. | "Lists all known spiders for a specific project. First class, maps\n to Scrapyd's list spiders endpoint." | 26 | false | djm/python-scrapyd-api | list_spiders | 17,524 | |
LDU_FT/jilljenn/tryalgo/read | LDU_FT | [
"<BEGIN>\n## `three_partition`",
"partition a set of integers in 3 parts of same total value",
" :param x: table of non negative values\n :returns: triplet of the integers encoding the sets, or None otherwise\n :complexity: :math:`O(2^{2n})`\n<END>",
"<BEGIN>\n## `freivalds`",
"Tests matrix product... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | reads a Horn SAT formula from a text file
:file format:
# comment
A # clause with unique positive literal
:- A # clause with unique negative literal
A :- B, C, D # clause where A is positive and B,C,D negative
# variables are strings without spaces | "reads a Horn SAT formula from a text file\n\n :file format:\n # comment\n A # clause with unique positive literal\n :- A # clause with unique negative literal\n A :- B, C, D # clause where A is positive and B,C,D negative\n # variables are strings without spaces" | 423 | false | jilljenn/tryalgo | read | 17,525 | |
LDU_FT/bradmontgomery/django-redis-metrics/form_valid | LDU_FT | [
"<BEGIN>\n## `categorize_metrics`",
"Called only on a valid form, this method will place the chosen\n metrics in the given catgory.\n<END>",
"<BEGIN>\n## `dedupe`",
"Remove duplicates from a sequence (of hashable items) while maintaining\n order. NOTE: This only works if items in the list are hashab... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the form_valid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the form_valid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Pull the metrics from the submitted form, and store them as a
list of strings in ``self.metric_slugs``. | "Pull the metrics from the submitted form, and store them as a\n list of strings in ``self.metric_slugs``." | 122 | false | bradmontgomery/django-redis-metrics | form_valid | 17,526 | |
LDU_FT/spacetelescope/acstools/fetch | LDU_FT | [
"<BEGIN>\n## `extract_dark`",
"Extract superdark data from ``DARKFILE`` or ``DRKCFILE``.",
" Parameters\n ----------\n prihdr : obj\n FITS primary header HDU.",
" scihdu : obj\n Extension HDU of the science image.\n This is only used to extract subarray data.",
" Returns\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
Each 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 fetch API.
Each 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... | Submit the request to the ACS Zeropoints Calculator.
This method will:
* submit the request
* parse the response
* format the results into a table with the correct units
Returns
-------
tab : `astropy.table.QTable` or `None`
If the request was succe... | "Submit the request to the ACS Zeropoints Calculator.\n\n This method will:\n\n * submit the request\n * parse the response\n * format the results into a table with the correct units\n\n Returns\n -------\n tab : `astropy.table.QTable` or `None`\n If the reque... | 319 | false | spacetelescope/acstools | fetch | 17,527 | |
LDU_FT/spyder-ide/spyder-notebook/click | LDU_FT | [
"<BEGIN>\n## `evaluate`",
"Evaluate script in page frame.",
" :param script: The script to evaluate.\n<END>",
"<BEGIN>\n## `click`",
"Click the targeted element.",
" :param selector: A CSS3 selector to targeted element.\n :param btn: The number of mouse button.\n 0 - left b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the click API.
Each 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 click API.
Each 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... | Click the targeted element.
:param selector: A CSS3 selector to targeted element.
:param btn: The number of mouse button.
0 - left button,
1 - middle button,
2 - right button | "Click the targeted element.\n\n :param selector: A CSS3 selector to targeted element.\n :param btn: The number of mouse button.\n 0 - left button,\n 1 - middle button,\n 2 - right button" | 45 | false | spyder-ide/spyder-notebook | click | 17,528 | |
LDU_FT/postmanlabs/httpbin/image | LDU_FT | [
"<BEGIN>\n## `json_safe`",
"Returns JSON-safe version of `string`.",
" If `string` is a Unicode string or a valid UTF-8, it is returned unmodified,\n as it can safely be encoded to JSON string.",
" If `string` contains raw/binary data, it is Base64-encoded, formatted and\n returned according to \"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns a simple image of the type suggest by the Accept header.
---
tags:
- Images
produces:
- image/webp
- image/svg+xml
- image/jpeg
- image/png
- image/*
responses:
200:
description: An image. | "Returns a simple image of the type suggest by the Accept header.\n ---\n tags:\n - Images\n produces:\n - image/webp\n - image/svg+xml\n - image/jpeg\n - image/png\n - image/*\n responses:\n 200:\n description: An image." | 86 | false | postmanlabs/httpbin | image | 17,529 | |
LDU_FT/drongo-framework/drongo/get_property | LDU_FT | [
"<BEGIN>\n## `set_cookie`",
"Set a cookie.",
" Args:\n key (:obj:`str`): Cookie name\n value (:obj:`str`): Cookie value\n domain (:obj:`str`): Cookie domain\n path (:obj:`str`): Cookie value\n secure (:obj:`bool`): True if secure, False otherwise\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_property API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_property API.
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... | Access nested value using dot separated keys
Args:
prop (:obj:`str`): Property in the form of dot separated keys
Returns:
Property value if exists, else `None` | "Access nested value using dot separated keys\n\n Args:\n prop (:obj:`str`): Property in the form of dot separated keys\n\n Returns:\n Property value if exists, else `None`" | 46 | false | drongo-framework/drongo | get_property | 17,530 | |
LDU_FT/bennylope/pygeocodio/parse | LDU_FT | [
"<BEGIN>\n## `error_response`",
"Raises errors matching the response code\n<END>",
"<BEGIN>\n## `_req`",
"Method to wrap all request building",
" :return: a Response object based on the specified method and request values.\n<END>",
"<BEGIN>\n## `parse`",
"Returns an Address dictionary with the co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns an Address dictionary with the components of the queried
address.
>>> client = GeocodioClient('some_api_key')
>>> client.parse("1600 Pennsylvania Ave, Washington DC")
{
"address_components": {
"number": "1600",
"street": "Pennsylvania"... | "Returns an Address dictionary with the components of the queried\n address.\n\n >>> client = GeocodioClient('some_api_key')\n >>> client.parse(\"1600 Pennsylvania Ave, Washington DC\")\n {\n \"address_components\": {\n \"number\": \"1600\",\n \"stree... | 28 | false | bennylope/pygeocodio | parse | 17,531 | |
LDU_FT/insilichem/pychimera/run_cli_options | LDU_FT | [
"<BEGIN>\n## `launch_ipython`",
"Launch IPython from this interpreter with custom args if needed.\n Chimera magic commands are also enabled automatically.\n<END>",
"<BEGIN>\n## `launch_notebook`",
"Launch a Jupyter Notebook, with custom Untitled filenames and\n a prepopulated first cell with necessary b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_cli_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_cli_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 e... | Quick implementation of Python interpreter's -m, -c and file execution.
The resulting dictionary is imported into global namespace, just in case
someone is using interactive mode.
We try to keep argument order as to pass them correctly to the subcommands. | "Quick implementation of Python interpreter's -m, -c and file execution.\n The resulting dictionary is imported into global namespace, just in case\n someone is using interactive mode.\n\n We try to keep argument order as to pass them correctly to the subcommands." | 35 | false | insilichem/pychimera | run_cli_options | 17,532 | |
LDU_FT/MultipedRobotics/pyxl320/write | LDU_FT | [
"<BEGIN>\n## `makeServoIDPacket`",
"Given the current ID, returns a packet to set the servo to a new ID\n<END>",
"<BEGIN>\n## `packetToDict`",
"Given a packet, this turns it into a dictionary ... is this useful?",
"\tin: packet, array of numbers\n\tout: dictionary (key, value)\n<END>",
"<BEGIN>\n## `sweep... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | This is a simple serial write command. It toggles the RTS pin and formats
all of the data into bytes before it writes. | "This is a simple serial write command. It toggles the RTS pin and formats\n\t\tall of the data into bytes before it writes." | 71 | false | MultipedRobotics/pyxl320 | write | 17,533 | |
LDU_FT/UDST/urbansim/summed_probabilities | LDU_FT | [
"<BEGIN>\n## `log_start_finish`",
"A context manager to log messages with \"start: \" and \"finish: \"\n prefixes before and after a block.",
" Parameters\n ----------\n msg : str\n Will be prefixed with \"start: \" and \"finish: \".\n logger : logging.Logger\n level : int, optional\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the summed_probabilities 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 summed_probabilities API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Calculate total probability associated with each alternative.
Parameters
----------
choosers : pandas.DataFrame
Table describing the agents making choices, e.g. households.
alternatives : pandas.DataFrame
Table describing the things from which agents are choosing... | "Calculate total probability associated with each alternative.\n\n Parameters\n ----------\n choosers : pandas.DataFrame\n Table describing the agents making choices, e.g. households.\n alternatives : pandas.DataFrame\n Table describing the things from which agents are ... | 461 | false | UDST/urbansim | summed_probabilities | 17,534 | |
LDU_FT/danishabdullah/algen/compiled_model | LDU_FT | [
"<BEGIN>\n## `convert_case`",
"Converts name from CamelCase to snake_case\n<END>",
"<BEGIN>\n## `table_name`",
"Pluralises the class_name using utterly simple algo and returns as table_name\n<END>",
"<BEGIN>\n## `types`",
"All the unique types found in user supplied model\n<END>",
"<BEGIN>\n## `basic_ty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compiled_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compiled_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns compile ORM class for the user supplied model | "Returns compile ORM class for the user supplied model" | 26 | false | danishabdullah/algen | compiled_model | 17,535 | |
LDU_FT/ethpm/py-ethpm/validate_package_name | LDU_FT | [
"<BEGIN>\n## `fetch_uri_contents`",
"Return content-addressed URI stored at registry URI.\n<END>",
"<BEGIN>\n## `pin_assets`",
"Return a dict containing the IPFS hash, file name, and size of a file.\n<END>",
"<BEGIN>\n## `create_content_addressed_github_uri`",
"Returns a content-addressed Github \"git_url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_package_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_package_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Raise an exception if the value is not a valid package name
as defined in the EthPM-Spec. | "Raise an exception if the value is not a valid package name\n as defined in the EthPM-Spec." | 133 | false | ethpm/py-ethpm | validate_package_name | 17,536 | |
LDU_FT/zebpalmer/WeatherAlerts/_ts_parse | LDU_FT | [
"<BEGIN>\n## `_ts_parse`",
"Parse alert timestamp, return UTC datetime object to maintain Python 2 compatibility.\n<END>",
"<BEGIN>\n## `_serialized`",
"Provides a sanitized & serializeable dict of the alert mainly for forward & backwards compatibility\n<END>",
"<BEGIN>\n## `_get_feed_cache`",
"If a recen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ts_parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ts_parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Parse alert timestamp, return UTC datetime object to maintain Python 2 compatibility. | "Parse alert timestamp, return UTC datetime object to maintain Python 2 compatibility." | 36 | false | zebpalmer/WeatherAlerts | _ts_parse | 17,537 | |
LDU_FT/quantopian/trading_calendars/previous_close | LDU_FT | [
"<BEGIN>\n## `days_at_time`",
"Create an index of days at time ``t``, interpreted in timezone ``tz``.",
" The returned index is localized to UTC.",
" Parameters\n ----------\n days : DatetimeIndex\n An index of dates (represented as midnight).\n t : datetime.time\n The time to app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the previous_close API.
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 previous_close API.
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... | Given a dt, returns the previous close.
Parameters
----------
dt: pd.Timestamp
The dt for which to get the previous close.
Returns
-------
pd.Timestamp
The UTC timestamp of the previous close. | "Given a dt, returns the previous close.\n\n Parameters\n ----------\n dt: pd.Timestamp\n The dt for which to get the previous close.\n\n Returns\n -------\n pd.Timestamp\n The UTC timestamp of the previous close." | 150 | false | quantopian/trading_calendars | previous_close | 17,538 | |
LDU_FT/AtteqCom/zsl/web_task | LDU_FT | [
"<BEGIN>\n## `_nested_transactional`",
"In a transactional method create a nested transaction.\n<END>",
"<BEGIN>\n## `exec_task`",
"Execute task.",
" :param task_path: task path\n :type task_path: str|Callable\n :param data: task's data\n :type data: Any\n :return:\n<END>",
"<BEGIN>\n## `ap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the web_task API.
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 web_task API.
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... | Checks if the task is called through the web interface.
Task return value should be in format {'data': ...}. | "Checks if the task is called through the web interface.\n Task return value should be in format {'data': ...}." | 292 | false | AtteqCom/zsl | web_task | 17,539 | |
LDU_FT/Robin8Put/pmes/get | LDU_FT | [
"<BEGIN>\n## `create_table`",
"RPC method for creating table with custom name and fields\n :return event id\n<END>",
"<BEGIN>\n## `insert`",
"RPC method for inserting data to the table\n :return: None\n<END>",
"<BEGIN>\n## `select`",
"RPC method for selecting data from the database\n :return sele... | 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... | Accepts:
without parameters
Returns:
list of dictionaries with following fields:
- "description" - str
- "read_access" - int
- "write_access" - int
- "cid" - int
- "owneraddr" - str
- "coinid" - str
Verified: False | "Accepts:\n\t\t\twithout parameters\n\n\t\tReturns:\n\t\t\tlist of dictionaries with following fields:\n\t\t\t\t- \"description\" - str\n\t\t\t\t- \"read_access\" - int\n\t\t\t\t- \"write_access\" - int\n\t\t\t\t- \"cid\" - int\n\t\t\t\t- \"owneraddr\" - str\n\t\t\t\t- \"coinid\" - str\n\n\t\tVerified: False" | 170 | false | Robin8Put/pmes | get | 17,540 | |
LDU_FT/perrygeo/pyimpute/evaluate_clf | LDU_FT | [
"<BEGIN>\n## `load_training_vector`",
"Parameters\n ----------\n response_shapes : Source of vector features for raster_stats;\n can be OGR file path or iterable of geojson-like features\n response_field : Field name containing the known response category (must be numeric)\n expla... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate_clf API.
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 evaluate_clf API.
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... | Evalate the classifier on the FULL training dataset
This takes care of fitting on train/test splits | "Evalate the classifier on the FULL training dataset\n This takes care of fitting on train/test splits" | 17 | false | perrygeo/pyimpute | evaluate_clf | 17,541 | |
LDU_FT/spookylukey/django-paypal/_postback | LDU_FT | [
"<BEGIN>\n## `render_payment_form`",
"Display the DirectPayment for entering payment information.\n<END>",
"<BEGIN>\n## `validate_payment_form`",
"Try to validate and then process the DirectPayment form.\n<END>",
"<BEGIN>\n## `redirect_to_express`",
"First step of ExpressCheckout. Redirect the request to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _postback API.
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 _postback API.
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... | Perform PayPal PDT Postback validation.
Sends the transaction ID and business token to PayPal which responses with
SUCCESS or FAILED. | "Perform PayPal PDT Postback validation.\n Sends the transaction ID and business token to PayPal which responses with\n SUCCESS or FAILED." | 65 | false | spookylukey/django-paypal | _postback | 17,542 | |
LDU_FT/blakev/python-syncthing/show_error | LDU_FT | [
"<BEGIN>\n## `keys_to_datetime`",
"Converts all the keys in an object to DateTime instances.",
" Args:\n obj (dict): the JSON-like ``dict`` object to modify inplace.\n keys (str): keys of the object being converted into DateTime\n instances.",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the show_error API.
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 show_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Send an error message to the active client. The new error will be
displayed on any active GUI clients.
Args:
message (str): Plain-text message to display.
Returns:
None
>>> s = _syncthing()
>>> s.system.show_error('my error m... | "Send an error message to the active client. The new error will be\n displayed on any active GUI clients.\n\n Args:\n message (str): Plain-text message to display.\n\n Returns:\n None\n\n >>> s = _syncthing()\n >>> s.system.show_error(... | 60 | false | blakev/python-syncthing | show_error | 17,543 | |
LDU_FT/WebarchivCZ/WA-KAT/_pick_keywords | LDU_FT | [
"<BEGIN>\n## `_convert_metadata`",
"Convert metadata from WA-KAT to Dublin core dictionary like structure,\n which may be easily converted to xml using :mod:`xmltodict` module.",
" Args:\n data (dict): Nested WA-KAT data. See tests for example.",
" Returns:\n dict: Dict in dublin core f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pick_keywords API.
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 _pick_keywords API.
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... | Go thru downloaded data stored in `db` and filter keywords, which are
parsed and then yielded.
Shows nice progress bar.
Args:
db (obj): Opened database connection.
Yields:
obj: :class:`KeywordInfo` instances for yeach keyword. | "Go thru downloaded data stored in `db` and filter keywords, which are\n parsed and then yielded.\n\n Shows nice progress bar.\n\n Args:\n db (obj): Opened database connection.\n\n Yields:\n obj: :class:`KeywordInfo` instances for yeach keyword." | 401 | false | WebarchivCZ/WA-KAT | _pick_keywords | 17,544 | |
LDU_FT/liampauling/betfair/get_account_statement | LDU_FT | [
"<BEGIN>\n## `streaming_market_filter`",
":param list market_ids: filter market data to data pertaining to specific marketIds.\n :param list event_type_ids: filter market data to data pertaining to specific event_type ids.\n :param list event_ids: filter market data to data pertaining to specific event ids.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_account_statement 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_account_statement API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get account statement.
:param str locale: The language to be used where applicable.
:param int from_record: Specifies the first record that will be returned
:param int record_count: Specifies the maximum number of records to be returned.
:param dict item_date_range: Return items with an... | "Get account statement.\n\n :param str locale: The language to be used where applicable.\n :param int from_record: Specifies the first record that will be returned\n :param int record_count: Specifies the maximum number of records to be returned.\n :param dict item_date_range: Return items w... | 224 | false | liampauling/betfair | get_account_statement | 17,545 | |
LDU_FT/bmuller/kademlia/_handle_found_values | LDU_FT | [
"<BEGIN>\n## `add_node`",
"Add a C{Node} to the C{KBucket}. Return True if successful,\n False if the bucket is full.",
" If the bucket is full, keep track of node in a replacement list,\n per section 4.1 of the paper.\n<END>",
"<BEGIN>\n## `lonely_buckets`",
"Get all of the buckets th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_found_values 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 _handle_found_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | We got some values! Exciting. But let's make sure
they're all the same or freak out a little bit. Also,
make sure we tell the nearest node that *didn't* have
the value to store it. | "We got some values! Exciting. But let's make sure\n they're all the same or freak out a little bit. Also,\n make sure we tell the nearest node that *didn't* have\n the value to store it." | 62 | false | bmuller/kademlia | _handle_found_values | 17,546 | |
LDU_FT/FactoryBoy/factory_boy/evaluate | 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 evaluate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Evaluate the current definition and fill its attributes.
Uses attributes definition in the following order:
- values defined when defining the ParameteredAttribute
- additional values defined when instantiating the containing factory
Args:
instance (builder.Resolver): The o... | "Evaluate the current definition and fill its attributes.\n\n Uses attributes definition in the following order:\n - values defined when defining the ParameteredAttribute\n - additional values defined when instantiating the containing factory\n\n Args:\n instance (builder.Resolver... | 120 | false | FactoryBoy/factory_boy | evaluate | 17,547 | |
LDU_FT/pinax/pinax-teams/create_teams | LDU_FT | [
"<BEGIN>\n## `team_required`",
"Decorator for views that require a team be supplied wither via a slug in the\n url pattern or already set on the request object from the TeamMiddleware\n<END>",
"<BEGIN>\n## `manager_required`",
"Decorator for views that require not only a team but also that a user be\n l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_teams API.
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 create_teams API.
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... | Will create new teams associated with the referenced obj and set the
resulting relation to the correct attribute.
The naming convention for team foreign keys is pluralname_team (for
example, instructors_team).
This function will take the access dictionary and apply the specified
access types as fo... | "Will create new teams associated with the referenced obj and set the\n resulting relation to the correct attribute.\n\n The naming convention for team foreign keys is pluralname_team (for\n example, instructors_team).\n\n This function will take the access dictionary and apply the specified\n access typ... | 15 | false | pinax/pinax-teams | create_teams | 17,548 | |
LDU_FT/pavoni/pyvera/get_strict_value | LDU_FT | [
"<BEGIN>\n## `init_controller`",
"Initialize a controller.",
" Provides a single global controller for applications that can't do this\n themselves\n<END>",
"<BEGIN>\n## `data_request`",
"Perform a data_request and return the result.\n<END>",
"<BEGIN>\n## `get_device_by_name`",
"Search the list of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_strict_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_strict_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get a case-sensitive keys value from the dev_info area. | "Get a case-sensitive keys value from the dev_info area." | 94 | false | pavoni/pyvera | get_strict_value | 17,549 | |
LDU_FT/olivier-m/rafter/filter_transform_response | LDU_FT | [
"<BEGIN>\n## `model_node`",
"Decorates a ``schematics.Model`` class to add it as a field\n of type ``schematic.types.ModelType``.",
" Keyword arguments are passed to ``schematic.types.ModelType``.",
" Example:",
" .. code-block:: python\n :emphasize-lines: 8,13",
" from schematic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_transform_response 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 filter_transform_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | This filter process the returned response. It does 3 things:
- If the response is a ``sanic.response.HTTPResponse`` and not a
:class:`rafter.http.Response`, return it immediately.
- If the response is not a :class:`rafter.http.Response` instance,
turn it to a :class:`rafter.http.Response` instance ... | "This filter process the returned response. It does 3 things:\n\n - If the response is a ``sanic.response.HTTPResponse`` and not a\n :class:`rafter.http.Response`, return it immediately.\n - If the response is not a :class:`rafter.http.Response` instance,\n turn it to a :class:`rafter.http.Response` ins... | 41 | false | olivier-m/rafter | filter_transform_response | 17,550 | |
LDU_FT/openego/ding0/reinforce_lv_branches_overloading | LDU_FT | [
"<BEGIN>\n## `print_upper_triangular_matrix`",
"Prints a CVRP data dict matrix",
" Arguments\n ---------\n matrix : dict\n Description",
" Notes\n -----\n It is assummed that the first row of matrix contains all needed headers.\n<END>",
"<BEGIN>\n## `print_upper_triangular_matrix_as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reinforce_lv_branches_overloading 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 reinforce_lv_branches_overloading API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Choose appropriate cable type for branches with line overloading
Parameters
----------
grid : LVGridDing0
Ding0 LV grid object
crit_branches : :any:`list`
List of critical branches incl. its line loading
Notes
-----
If maximum size cable is not capable to resolve issue due ... | "Choose appropriate cable type for branches with line overloading\n\n Parameters\n ----------\n grid : LVGridDing0\n Ding0 LV grid object\n crit_branches : :any:`list`\n List of critical branches incl. its line loading\n\n Notes\n -----\n If maximum size cable is not capable to resolv... | 932 | false | openego/ding0 | reinforce_lv_branches_overloading | 17,551 | |
LDU_FT/ccubed/PyMoe/character | LDU_FT | [
"<BEGIN>\n## `to_xml`",
"Convert data to XML String.\n :return: Str of valid XML data\n<END>",
"<BEGIN>\n## `search`",
"Search for a user by name.",
" :param str term: What to search for.\n :return: The results as a SearchWrapper iterator or None if no results.\n :rtype: SearchWr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the character API.
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 character API.
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... | Search for a character by term.
Results are paginated by default. Page specifies which page we're on.
Perpage specifies how many per page to request. 3 is just the example from the API docs.
:param term str: Name to search by
:param page int: Which page are we requesting? Starts... | "Search for a character by term.\n Results are paginated by default. Page specifies which page we're on.\n Perpage specifies how many per page to request. 3 is just the example from the API docs.\n \n :param term str: Name to search by\n :param page int: Which page are we requesting? ... | 105 | false | ccubed/PyMoe | character | 17,552 | |
LDU_FT/rlisagor/freshen/find_step_impl | LDU_FT | [
"<BEGIN>\n## `assert_looks_like`",
"Compare two strings if all contiguous whitespace is coalesced.\n<END>",
"<BEGIN>\n## `run_steps`",
"Can be called by the user from within a step definition to execute other steps.\n<END>",
"<BEGIN>\n## `run_steps_from_string`",
"Called from within step definitions to ru... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_step_impl API.
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 find_step_impl API.
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... | Find the implementation of the step for the given match string. Returns the StepImpl object
corresponding to the implementation, and the arguments to the step implementation. If no
implementation is found, raises UndefinedStepImpl. If more than one implementation is
found, raises AmbiguousStepIm... | "Find the implementation of the step for the given match string. Returns the StepImpl object\n corresponding to the implementation, and the arguments to the step implementation. If no\n implementation is found, raises UndefinedStepImpl. If more than one implementation is\n found, raises AmbiguousSt... | 15 | false | rlisagor/freshen | find_step_impl | 17,553 | |
LDU_FT/phac-nml/sistr_cmd/find_centroid_alleles | LDU_FT | [
"<BEGIN>\n## `parse_cgmlst_alleles`",
"Parse cgMLST alleles from fasta file\n cgMLST FASTA file must have a header format of \">{marker name}|{allele name}\"",
" Args:\n cgmlst_fasta (str): cgMLST fasta file path",
" Returns:\n dict of list: Marker name to list of allele sequences\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_centroid_alleles 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 find_centroid_alleles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Reduce list of alleles to set of centroid alleles based on size grouping, ends matching and hierarchical clustering
Workflow for finding centroid alleles:
- grouping by size (e.g. 100bp, 101bp, 103bp, etc)
- then grouped by `bp` nucleotides at ends matching
- size and ends grouped alleles hierarchical... | "Reduce list of alleles to set of centroid alleles based on size grouping, ends matching and hierarchical clustering\n\n Workflow for finding centroid alleles:\n\n - grouping by size (e.g. 100bp, 101bp, 103bp, etc)\n - then grouped by `bp` nucleotides at ends matching\n - size and ends grouped alleles hiera... | 148 | false | phac-nml/sistr_cmd | find_centroid_alleles | 17,554 | |
LDU_FT/dsoprea/PySchedules/_startXTVDNode | LDU_FT | [
"<BEGIN>\n## `_startXTVDNode`",
"Process the start of the top-level xtvd node\n<END>",
"<BEGIN>\n## `_startStationsNode`",
"Process the start of a node under xtvd/stations\n<END>",
"<BEGIN>\n## `_endStationsNode`",
"Process the end of a node under xtvd/stations\n<END>",
"<BEGIN>\n## `_startLineupsNode`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _startXTVDNode API.
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 _startXTVDNode API.
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... | Process the start of the top-level xtvd node | "Process the start of the top-level xtvd node" | 50 | false | dsoprea/PySchedules | _startXTVDNode | 17,555 | |
LDU_FT/rmed/flask-waffleconf/_file_notifier | LDU_FT | [
"<BEGIN>\n## `parse_conf`",
"Parse configuration values from the database.",
" The extension must have been previously initialized.",
" If a key is not found in the database, it will be created with the\n default value specified.",
" Arguments:\n keys (list[str]): list... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _file_notifier API.
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 _file_notifier API.
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... | Notify of configuration update through file.
Arguments:
state (_WaffleState): Object that contains reference to app and its
configstore. | "Notify of configuration update through file.\n\n Arguments:\n state (_WaffleState): Object that contains reference to app and its\n configstore." | 30 | false | rmed/flask-waffleconf | _file_notifier | 17,556 | |
LDU_FT/rigetti/rpcq/_recv_reply | LDU_FT | [
"<BEGIN>\n## `call_async`",
"Send JSON RPC request to a backend socket and receive reply (asynchronously)",
" :param method_name: Method name\n :param args: Args that will be passed to the remote function\n :param float rpc_timeout: Timeout in seconds for Server response, set to None to dis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recv_reply API.
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 _recv_reply API.
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... | Helper task to recieve a reply store the result and trigger the associated event. | "Helper task to recieve a reply store the result and trigger the associated event." | 63 | false | rigetti/rpcq | _recv_reply | 17,557 | |
LDU_FT/cstatz/maui/pow | LDU_FT | [
"<BEGIN>\n## `slice_local_to_global`",
"Calculate start and stop index for mapping sliced index",
" :param index_slice: sliced index?\n :param axis: current axis to calculate\n :return: slice object as calculated\n<END>",
"<BEGIN>\n## `local_to_global`",
"Calculate local index from glob... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pow API.
Each 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 pow API.
Each 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... | Function to power 3D View with vector or 2D array (type = numpy.ndarray or 2D Field or 2D View) or 2D View with vector (type = numpy.ndarray)
:param x: array(1D, 2D) or field (2D) or View(2D)
:param axis: specifies axis, eg. axis = (1,2) plane lies in yz-plane, axis=0 vector along x axis
:return... | "Function to power 3D View with vector or 2D array (type = numpy.ndarray or 2D Field or 2D View) or 2D View with vector (type = numpy.ndarray)\n :param x: array(1D, 2D) or field (2D) or View(2D)\n :param axis: specifies axis, eg. axis = (1,2) plane lies in yz-plane, axis=0 vector along x axis\n :re... | 54 | false | cstatz/maui | pow | 17,558 | |
LDU_FT/UpCloudLtd/upcloud-python-api/configure_firewall | LDU_FT | [
"<BEGIN>\n## `get_storages`",
"Return a list of Storage objects from the API.",
" Storage types: public, private, normal, backup, cdrom, template, favorite\n<END>",
"<BEGIN>\n## `create_storage`",
"Create a Storage object. Returns an object based on the API's response.\n<END>",
"<BEGIN>\n## `modify... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_firewall 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 configure_firewall 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... | Helper function for automatically adding several FirewallRules in series. | "Helper function for automatically adding several FirewallRules in series." | 153 | false | UpCloudLtd/upcloud-python-api | configure_firewall | 17,559 | |
LDU_FT/SmileyChris/easy-thumbnails/background | LDU_FT | [
"<BEGIN>\n## `default`",
"Easy-thumbnails' default name processor.",
" For example: ``source.jpg.100x100_q80_crop_upscale.jpg``\n<END>",
"<BEGIN>\n## `alias`",
"Generate filename based on thumbnail alias name (option ``THUMBNAIL_ALIASES``).",
" For example: ``source.jpg.medium_large.jpg``\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the background API.
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 background API.
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... | Add borders of a certain color to make the resized image fit exactly within
the dimensions given.
background
Background color to use | "Add borders of a certain color to make the resized image fit exactly within\n the dimensions given.\n\n background\n Background color to use" | 218 | false | SmileyChris/easy-thumbnails | background | 17,560 | |
LDU_FT/saulpw/visidata/unselect | LDU_FT | [
"<BEGIN>\n## `expand_cols_deep`",
"expand all visible columns of containers to the given depth (0=fully)\n<END>",
"<BEGIN>\n## `load_pyobj`",
"Return Sheet object of appropriate type for given sources in `args`.\n<END>",
"<BEGIN>\n## `getPublicAttrs`",
"Return all public attributes (not methods or `_`-pre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unselect API.
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 unselect API.
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... | Unselect given rows. Don't show progress if progress=False; don't show status if status=False. | "Unselect given rows. Don't show progress if progress=False; don't show status if status=False." | 249 | false | saulpw/visidata | unselect | 17,561 | |
LDU_FT/mdickinson/bigfloat/remainder | LDU_FT | [
"<BEGIN>\n## `build`",
"Build the bigfloat library for in-place testing.\n<END>",
"<BEGIN>\n## `_quotient_exponent`",
"Given two positive finite MPFR instances x and y,\n find the exponent of x / y; that is, the unique\n integer e such that 2**(e-1) <= x / y < 2**e.\n<END>",
"<BEGIN>\n## `mpfr_floordi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remainder API.
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 remainder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return x reduced modulo y.
Returns the value of x - n * y, where n is the integer quotient of x
divided by y, rounded to the nearest integer (ties rounded to even).
Special values are handled as described in Section F.9.7.1 of the ISO C99
standard: If x is infinite or y is zero, the result is NaN. If ... | "Return x reduced modulo y.\n\n Returns the value of x - n * y, where n is the integer quotient of x\n divided by y, rounded to the nearest integer (ties rounded to even).\n\n Special values are handled as described in Section F.9.7.1 of the ISO C99\n standard: If x is infinite or y is zero, the result is N... | 273 | false | mdickinson/bigfloat | remainder | 17,562 | |
LDU_FT/senseobservationsystems/commonsense-python-lib/MetatagDistinctValuesGet | LDU_FT | [
"<BEGIN>\n## `MD5Hash`",
"Returns md5 hash of a string.\r",
" @param password (string) - String to be hashed.\r",
" @return (string) - Md5 hash of password.\n<END>",
"<BEGIN>\n## `setVerbosity`",
"Set verbosity of the SenseApi object.\r",
" @param verbose (boolean) - True of Fal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MetatagDistinctValuesGet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MetatagDistinctValuesGet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Find the distinct value of a metatag name in a certain namespace
@param metatag_name (string) - Name of the metatag for which to find the distinct values
@param namespace (stirng) - Namespace in which to find the distinct values
@return (bool) - Boolean... | "Find the distinct value of a metatag name in a certain namespace\r\n \r\n @param metatag_name (string) - Name of the metatag for which to find the distinct values\r\n @param namespace (stirng) - Namespace in which to find the distinct values\r\n \r\n @return (bool... | 243 | false | senseobservationsystems/commonsense-python-lib | MetatagDistinctValuesGet | 17,563 | |
LDU_FT/richq/cmake-lint/CheckStyle | LDU_FT | [
"<BEGIN>\n## `DefaultRC`",
"Check XDG_CONFIG_DIR before ~/.cmakelintrc\n<END>",
"<BEGIN>\n## `CleanComments`",
"quote means 'was in a quote starting this line' so that\n quoted lines can be eaten/removed.\n<END>",
"<BEGIN>\n## `CheckLineLength`",
"Check for lines longer than the recommended length\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CheckStyle API.
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 CheckStyle API.
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... | Check style issues. These are:
No extra spaces between command and parenthesis
Matching spaces between parenthesis and arguments
No repeated logic in else(), endif(), endmacro() | "Check style issues. These are:\n No extra spaces between command and parenthesis\n Matching spaces between parenthesis and arguments\n No repeated logic in else(), endif(), endmacro()" | 14 | false | richq/cmake-lint | CheckStyle | 17,564 | |
LDU_FT/Microsoft/ApplicationInsights-Python/parent_id | LDU_FT | [
"<BEGIN>\n## `track_pageview`",
"Send information about the page viewed in the application (a web page for instance).",
" Args:\n name (str). the name of the page that was viewed.\\n\n url (str). the URL of the page that was viewed.\\n\n duration (int). the duration of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parent_id API.
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 parent_id API.
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... | The parent_id property.
Args:
value (string). the property value. | "The parent_id property.\n \n Args:\n value (string). the property value." | 268 | false | Microsoft/ApplicationInsights-Python | parent_id | 17,565 | |
LDU_FT/cosven/feeluown-core/playlist_detail | LDU_FT | [
"<BEGIN>\n## `handle`",
"NOTE: use tcp instead of udp because some operations need ack\n<END>",
"<BEGIN>\n## `url`",
"We will always check if this song file exists in local library,\n if true, we return the url of the local file.",
" .. note::",
" As netease song url will be expir... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the playlist_detail API.
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 playlist_detail API.
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... | 获取歌单详情
如果歌单歌曲数超过 100 时,该接口的 songs 字段不会包含所有歌曲,
但是它有个 allSongs 字段,会包含所有歌曲的 ID。 | "获取歌单详情\n\n 如果歌单歌曲数超过 100 时,该接口的 songs 字段不会包含所有歌曲,\n 但是它有个 allSongs 字段,会包含所有歌曲的 ID。" | 74 | false | cosven/feeluown-core | playlist_detail | 17,566 | |
LDU_FT/devopshq/artifactory/_read_response | 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 _read_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | JSON Documentation: https://www.jfrog.com/confluence/display/RTF/Security+Configuration+JSON | "JSON Documentation: https://www.jfrog.com/confluence/display/RTF/Security+Configuration+JSON" | 104 | false | devopshq/artifactory | _read_response | 17,567 | |
LDU_FT/pesaply/sarafu/sync | LDU_FT | [
"<BEGIN>\n## `get_account_details`",
"This method can be used in a number of scenarios:\n 1. When it is necessary to very account information\n 2. When there's a need to filter transactions by an account id\n 3. When account details (e.g. name of account) are needed\n<END>",
"<BEGIN>\n## `g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync API.
Each 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 sync API.
Each 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... | Overwrite local customer profile data with remote data | "Overwrite local customer profile data with remote data" | 30 | false | pesaply/sarafu | sync | 17,568 | |
LDU_FT/yhat/ggpy/extract_version | LDU_FT | [
"<BEGIN>\n## `extract_version`",
"Return ggplot.__version__ without importing ggplot.",
" Extracts version from ggplot/__init__.py\n without importing ggplot, which requires dependencies to be installed.\n<END>",
"<BEGIN>\n## `desaturate`",
"Decrease the saturation channel of a color by some percent."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return ggplot.__version__ without importing ggplot.
Extracts version from ggplot/__init__.py
without importing ggplot, which requires dependencies to be installed. | "Return ggplot.__version__ without importing ggplot.\n \n Extracts version from ggplot/__init__.py\n without importing ggplot, which requires dependencies to be installed." | 44 | false | yhat/ggpy | extract_version | 17,569 | |
LDU_FT/johntruckenbrodt/spatialist/finder | LDU_FT | [
"<BEGIN>\n## `hdr`",
"write ENVI header files",
" Parameters\n ----------\n data: str or dict\n the file or dictionary to get the info from\n filename: str\n the HDR file to write",
" Returns\n -------\n<END>",
"<BEGIN>\n## `__hdr2dict`",
"read a HDR file into a dictionary\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finder API.
Each 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 finder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | function for finding files/folders in folders and their subdirectories
Parameters
----------
target: str or list of str
a directory, zip- or tar-archive or a list of them to be searched
matchlist: list
a list of search patterns
foldermode: int
* 0: only files
* 1: fi... | "function for finding files/folders in folders and their subdirectories\n\n Parameters\n ----------\n target: str or list of str\n a directory, zip- or tar-archive or a list of them to be searched\n matchlist: list\n a list of search patterns\n foldermode: int\n * 0: only files\n ... | 227 | false | johntruckenbrodt/spatialist | finder | 17,570 | |
LDU_FT/bmihelac/django-cruds/crud_for_app | LDU_FT | [
"<BEGIN>\n## `crud_url_name`",
"Returns url name for given model and action.\n<END>",
"<BEGIN>\n## `get_fields`",
"Returns ordered dict in format 'field': 'verbose_name'\n<END>",
"<BEGIN>\n## `crud_url`",
"Shortcut function returns URL for instance or model and action.",
" Example::",
" crud... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crud_for_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crud_for_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns list of ``url`` items to CRUD an app. | "Returns list of ``url`` items to CRUD an app." | 34 | false | bmihelac/django-cruds | crud_for_app | 17,571 | |
LDU_FT/gboeing/osmnx/overpass_json_from_file | LDU_FT | [
"<BEGIN>\n## `config`",
"Configure osmnx by setting the default global vars to desired values.",
" Parameters\n ---------\n data_folder : string\n where to save and load data files\n logs_folder : string\n where to write the log files\n imgs_folder : string\n where to save fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overpass_json_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overpass_json_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Read OSM XML from input filename and return Overpass-like JSON.
Parameters
----------
filename : string
name of file containing OSM XML data
Returns
-------
OSMContentHandler object | "Read OSM XML from input filename and return Overpass-like JSON.\n\n Parameters\n ----------\n filename : string\n name of file containing OSM XML data\n\n Returns\n -------\n OSMContentHandler object" | 479 | false | gboeing/osmnx | overpass_json_from_file | 17,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.