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/kbr/fritzconnection/get_action_arguments | LDU_FT | [
"<BEGIN>\n## `set_fraction`",
"Set the meter indicator. Value should be between 0 and 1.\n<END>",
"<BEGIN>\n## `update_status`",
"Update status informations in tkinter window.\n<END>",
"<BEGIN>\n## `format_num`",
"Returns a human readable string of a byte-value.\n If 'num' is bits, set unit='bits'.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_action_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_action_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a list of tuples with all known arguments for the given
service- and action-name combination. The tuples contain the
argument-name, direction and data_type. | "Returns a list of tuples with all known arguments for the given\n service- and action-name combination. The tuples contain the\n argument-name, direction and data_type." | 38 | false | kbr/fritzconnection | get_action_arguments | 27,473 | |
LDU_FT/Mapkin/osmgraph/nwise | LDU_FT | [
"<BEGIN>\n## `nwise`",
"Iterate through a sequence with a defined length window",
" >>> list(nwise(range(8), 3))\n [(0, 1, 2), (1, 2, 3), (2, 3, 4), (3, 4, 5), (5, 6, 7)]",
" >>> list(nwise(range(3), 5))\n []",
" Parameters\n ----------\n iterable\n n : length of each sequence",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nwise API.
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 nwise API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Iterate through a sequence with a defined length window
>>> list(nwise(range(8), 3))
[(0, 1, 2), (1, 2, 3), (2, 3, 4), (3, 4, 5), (5, 6, 7)]
>>> list(nwise(range(3), 5))
[]
Parameters
----------
iterable
n : length of each sequence
Yields
------
Tuples of length n | "Iterate through a sequence with a defined length window\n\n >>> list(nwise(range(8), 3))\n [(0, 1, 2), (1, 2, 3), (2, 3, 4), (3, 4, 5), (5, 6, 7)]\n\n >>> list(nwise(range(3), 5))\n []\n\n\n Parameters\n ----------\n iterable\n n : length of each sequence\n\n Yields\n ------\n Tuples o... | 53 | false | Mapkin/osmgraph | nwise | 27,474 | |
LDU_FT/webrecorder/warcio/parse | LDU_FT | [
"<BEGIN>\n## `_raise_invalid_gzip_err`",
"A gzip file with multiple ARC/WARC records, non-chunked\n has been detected. This is not valid for replay, so notify user\n<END>",
"<BEGIN>\n## `_consume_blanklines`",
"Consume blank lines that are between records\n - For warcs, there are usually 2\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | parse stream for status line and headers
return a StatusAndHeaders object
support continuation headers starting with space or tab | "parse stream for status line and headers\n return a StatusAndHeaders object\n\n support continuation headers starting with space or tab" | 91 | false | webrecorder/warcio | parse | 27,475 | |
LDU_FT/Tivix/django-common/skip_redundant | LDU_FT | [
"<BEGIN>\n## `ssl_required`",
"Views decorated with this will always get redirected to https\n except when allow_non_ssl is set to true.\n<END>",
"<BEGIN>\n## `anonymous_required`",
"Only allow if user is NOT authenticated.\n<END>",
"<BEGIN>\n## `generic_var`",
"Stores generic variables in the session ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skip_redundant API.
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 skip_redundant API.
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... | Redundant items are repeated items or items in the original skipset. | "Redundant items are repeated items or items in the original skipset." | 28 | false | Tivix/django-common | skip_redundant | 27,476 | |
LDU_FT/onelogin/python-saml/get_response | LDU_FT | [
"<BEGIN>\n## `is_valid`",
"Validates the response object.",
" :param request_data: Request Data\n :type request_data: dict",
" :param request_id: Optional argument. The ID of the AuthNRequest sent by this SP to the IdP\n :type request_id: string",
" :param raise_exceptions... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns the Logout Response defated, base64encoded
:param deflate: It makes the deflate process optional
:type: bool
:return: Logout Response maybe deflated and base64 encoded
:rtype: string | "Returns the Logout Response defated, base64encoded\n :param deflate: It makes the deflate process optional\n :type: bool\n :return: Logout Response maybe deflated and base64 encoded\n :rtype: string" | 229 | false | onelogin/python-saml | get_response | 27,477 | |
LDU_FT/kamikaze/webdav/get_property | LDU_FT | [
"<BEGIN>\n## `listdir`",
"Returns list of nested files and directories for local directory by path",
" :param directory: absolute or relative path to local directory\n :return: list nested of file or directory names\n<END>",
"<BEGIN>\n## `get_options`",
"Extract options for specified option type from ... | 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 metadata property of remote resource on WebDAV server.
More information you can find by link http://webdav.org/specs/rfc4918.html#METHOD_PROPFIND
:param remote_path: the path to remote resource.
:param option: the property attribute as dictionary with following keys:
... | "Gets metadata property of remote resource on WebDAV server.\n More information you can find by link http://webdav.org/specs/rfc4918.html#METHOD_PROPFIND\n\n :param remote_path: the path to remote resource.\n :param option: the property attribute as dictionary with following keys:\n ... | 120 | false | kamikaze/webdav | get_property | 27,478 | |
LDU_FT/wonambi-python/wonambi/_urlretrieve | LDU_FT | [
"<BEGIN>\n## `write_mnefiff`",
"Export data to MNE using FIFF format.",
" Parameters\n ----------\n data : instance of ChanTime\n data with only one trial\n filename : path to file\n file to export to (include '.mat')",
" Notes\n -----\n It cannot store data larger than 2 GB... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _urlretrieve API.
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 _urlretrieve API.
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... | urlretrive, but it ignores ssl errors (due to https://portal.g-node.org) | "urlretrive, but it ignores ssl errors (due to https://portal.g-node.org)" | 1,345 | true | wonambi-python/wonambi | _urlretrieve | 27,479 | |
LDU_FT/shaunduncan/smokesignal/disconnect_from | LDU_FT | [
"<BEGIN>\n## `install_twisted`",
"If twisted is available, make `emit' return a DeferredList",
" This has been successfully tested with Twisted 14.0 and later.\n<END>",
"<BEGIN>\n## `emit`",
"Emits a single signal to call callbacks registered to respond to that signal.\n Optionally accepts args and kw... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disconnect_from API.
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 disconnect_from API.
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... | Removes a callback from specified signal registries and prevents it from responding
to any emitted signal.
:param callback: A callable registered with smokesignal
:param signals: A single signal or list/tuple of signals | "Removes a callback from specified signal registries and prevents it from responding\n to any emitted signal.\n\n :param callback: A callable registered with smokesignal\n :param signals: A single signal or list/tuple of signals" | 24 | false | shaunduncan/smokesignal | disconnect_from | 27,480 | |
LDU_FT/cosven/feeluown-core/artist_infos | 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 artist_infos API.
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 artist_infos API.
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... | :param artist_id: artist_id
:return: {
code: int,
artist: {artist},
more: boolean,
hotSongs: [songs]
} | ":param artist_id: artist_id\n :return: {\n code: int,\n artist: {artist},\n more: boolean,\n hotSongs: [songs]\n }" | 74 | false | cosven/feeluown-core | artist_infos | 27,481 | |
LDU_FT/panosl/django-currencies/get_currency | LDU_FT | [
"<BEGIN>\n## `get_imports`",
"See if we have been passed a set of currencies or a setting variable\n or look for settings CURRENCIES or SHOP_CURRENCIES.\n<END>",
"<BEGIN>\n## `log`",
"Both prints to stdout/stderr and the django.currencies logger\n<END>",
"<BEGIN>\n## `check_rates`",
"Local helper f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_currency API.
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_currency API.
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 an iterable of currency elements matching the code:
<CtryNm>UNITED STATES MINOR OUTLYING ISLANDS (THE)</CtryNm>
<CcyNm>US Dollar</CcyNm>
<Ccy>USD</Ccy>
<CcyNbr>840</CcyNbr>
<CcyMnrUnts>2</CcyMnrUnts>
NOTE: the currency is repeated for each country name | "Returns an iterable of currency elements matching the code:\n <CtryNm>UNITED STATES MINOR OUTLYING ISLANDS (THE)</CtryNm>\n <CcyNm>US Dollar</CcyNm>\n <Ccy>USD</Ccy>\n <CcyNbr>840</CcyNbr>\n <CcyMnrUnts>2</CcyMnrUnts>\n NOTE: the currency is repeated for each country name" | 57 | false | panosl/django-currencies | get_currency | 27,482 | |
LDU_FT/xapple/plumbing/add_by_steps | LDU_FT | [
"<BEGIN>\n## `plot_and_save`",
"Used when the plot method defined does not create a figure nor calls save_plot\n Then the plot method has to use self.fig\n<END>",
"<BEGIN>\n## `plot`",
"An example plot function. You have to subclass this method.\n<END>",
"<BEGIN>\n## `count_processors`",
"How many ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_by_steps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_by_steps API.
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... | Add entries to the main table.
The *entries* variable should be an iterable yielding iterables. | "Add entries to the main table.\n The *entries* variable should be an iterable yielding iterables." | 150 | false | xapple/plumbing | add_by_steps | 27,483 | |
LDU_FT/robertmartin8/PyPortfolioOpt/semicovariance | LDU_FT | [
"<BEGIN>\n## `negative_sharpe`",
"Calculate the negative Sharpe ratio of a portfolio",
" :param weights: asset weights of the portfolio\n :type weights: np.ndarray\n :param expected_returns: expected return of each asset\n :type expected_returns: pd.Series\n :param cov_matrix: the covariance matr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the semicovariance API.
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 semicovariance API.
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... | Estimate the semicovariance matrix, i.e the covariance given that
the returns are less than the benchmark.
.. semicov = E([min(r_i - B, 0)] . [min(r_j - B, 0)])
:param prices: adjusted closing prices of the asset, each row is a date
and each column is a ticker/id.
:type prices: pd.D... | "Estimate the semicovariance matrix, i.e the covariance given that\n the returns are less than the benchmark.\n\n .. semicov = E([min(r_i - B, 0)] . [min(r_j - B, 0)])\n\n :param prices: adjusted closing prices of the asset, each row is a date\n and each column is a ticker/id.\n :type pric... | 90 | false | robertmartin8/PyPortfolioOpt | semicovariance | 27,484 | |
LDU_FT/napalm-automation/napalm-ios/get_config | LDU_FT | [
"<BEGIN>\n## `_create_tmp_file`",
"Write temp file and for use with inline config and SCP.\n<END>",
"<BEGIN>\n## `_load_candidate_wrapper`",
"Transfer file to remote device for either merge or replace operations",
" Returns (return_status, msg)\n<END>",
"<BEGIN>\n## `load_replace_candidate`",
"SC... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Implementation of get_config for IOS.
Returns the startup or/and running configuration as dictionary.
The keys of the dictionary represent the type of configuration
(startup or running). The candidate is always empty string,
since IOS does not support candidate configuration. | "Implementation of get_config for IOS.\n\n Returns the startup or/and running configuration as dictionary.\n The keys of the dictionary represent the type of configuration\n (startup or running). The candidate is always empty string,\n since IOS does not support candidate configuration." | 84 | false | napalm-automation/napalm-ios | get_config | 27,485 | |
LDU_FT/hvac/hvac/create_or_update_role | LDU_FT | [
"<BEGIN>\n## `read_init_status`",
"Read the initialization status of Vault.",
" Supported methods:\n GET: /sys/init. Produces: 200 application/json",
" :return: The JSON response of the request.\n :rtype: dict\n<END>",
"<BEGIN>\n## `initialize`",
"Initialize a new Vault.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_or_update_role API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_or_update_role API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Create or update the role with the given name.
If a role with the name does not exist, it will be created. If the role exists, it will be updated with the new
attributes.
Supported methods:
POST: /{mount_point}/roles/{name}. Produces: 204 (empty body)
:param name: Specifie... | "Create or update the role with the given name.\n\n If a role with the name does not exist, it will be created. If the role exists, it will be updated with the new\n attributes.\n\n Supported methods:\n POST: /{mount_point}/roles/{name}. Produces: 204 (empty body)\n\n :param name:... | 856 | false | hvac/hvac | create_or_update_role | 27,486 | |
LDU_FT/lsst-sqre/lander/upload | LDU_FT | [
"<BEGIN>\n## `upload`",
"Upload the build documentation site to LSST the Docs.",
" Parameters\n ----------\n config : `lander.config.Configuration`\n Site configuration, which includes upload information and credentials.\n<END>",
"<BEGIN>\n## `get_keeper_token`",
"Get a temporary auth token ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload API.
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 upload API.
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 ... | Upload the build documentation site to LSST the Docs.
Parameters
----------
config : `lander.config.Configuration`
Site configuration, which includes upload information and credentials. | "Upload the build documentation site to LSST the Docs.\n\n Parameters\n ----------\n config : `lander.config.Configuration`\n Site configuration, which includes upload information and credentials." | 30 | false | lsst-sqre/lander | upload | 27,487 | |
LDU_FT/maxfischer2781/chainlet/result | LDU_FT | [
"<BEGIN>\n## `skip_pickle_inject`",
"skip global wrapper._raw_slave names used only for pickle support\n<END>",
"<BEGIN>\n## `wraplet_signature`",
"have wrapplets use the signature of the slave\n<END>",
"<BEGIN>\n## `_chain_forks`",
"Detect whether a sequence of elements leads to a fork of streams\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | The result from realising the future
If the result is not available, block until done.
:return: result of the future
:raises: any exception encountered during realising the future | "The result from realising the future\n\n If the result is not available, block until done.\n\n :return: result of the future\n :raises: any exception encountered during realising the future" | 95 | false | maxfischer2781/chainlet | result | 27,488 | |
LDU_FT/hyperledger/indy-node/_scheduleRestart | LDU_FT | [
"<BEGIN>\n## `init_domain_ledger`",
"This is usually an implementation of Ledger\n<END>",
"<BEGIN>\n## `update_txn_with_extra_data`",
"All the data of the transaction might not be stored in ledger so the\n extra data that is omitted from ledger needs to be fetched from the\n appropriate data sto... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scheduleRestart API.
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 _scheduleRestart API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Schedules node restart to a newer version
:param version: version to restart to
:param when: restart time | "Schedules node restart to a newer version\n\n :param version: version to restart to\n :param when: restart time" | 109 | false | hyperledger/indy-node | _scheduleRestart | 27,489 | |
LDU_FT/inveniosoftware/invenio-userprofiles/register_form_factory | LDU_FT | [
"<BEGIN>\n## `register_form_factory`",
"Factory for creating an extended user registration form.\n<END>",
"<BEGIN>\n## `confirm_register_form_factory`",
"Factory for creating a confirm register form.\n<END>",
"<BEGIN>\n## `_update_with_csrf_disabled`",
"Update the input dict with CSRF disabled depending o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_form_factory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_form_factory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Factory for creating an extended user registration form. | "Factory for creating an extended user registration form." | 20 | false | inveniosoftware/invenio-userprofiles | register_form_factory | 27,490 | |
LDU_FT/Koed00/django-q/count_group_cached | LDU_FT | [
"<BEGIN>\n## `loads`",
"Reverse of dumps(), raise BadSignature if signature fails.",
" The serializer is expected to accept a bytestring.\n<END>",
"<BEGIN>\n## `unsign`",
"Retrieve original value and check it wasn't signed more\n than max_age seconds ago.\n<END>",
"<BEGIN>\n## `get_broker`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_group_cached 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 count_group_cached 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... | Count the results in a group in the cache backend | "Count the results in a group in the cache backend" | 96 | false | Koed00/django-q | count_group_cached | 27,491 | |
LDU_FT/cqlengine/cqlengine/_delete_null_columns | LDU_FT | [
"<BEGIN>\n## `create_keyspace`",
"creates a keyspace",
" :param name: name of keyspace to create\n :param strategy_class: keyspace replication strategy class\n :param replication_factor: keyspace replication factor\n :param durable_writes: 1.2 only, write log is bypassed if set to False\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_null_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_null_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | executes a delete query to remove columns that have changed to null | "executes a delete query to remove columns that have changed to null" | 65 | false | cqlengine/cqlengine | _delete_null_columns | 27,492 | |
LDU_FT/riga/law/makedirs_perm | LDU_FT | [
"<BEGIN>\n## `full_parser`",
"Returns the full *ArgumentParser* used by the luigi ``CmdlineParser``. The returned instance is\n cached.\n<END>",
"<BEGIN>\n## `root_task_parser`",
"Returns a new *ArgumentParser* instance that only contains paremeter actions of the root task.\n The returned instance is ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the makedirs_perm API.
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 makedirs_perm API.
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... | Recursively creates directory up to *path*. If *perm* is set, the permissions of all newly
created directories are set to its value. | "Recursively creates directory up to *path*. If *perm* is set, the permissions of all newly\n created directories are set to its value." | 279 | false | riga/law | makedirs_perm | 27,493 | |
LDU_FT/bcbio/bcbio-nextgen/cleanup_transcripts | LDU_FT | [
"<BEGIN>\n## `groom`",
"Grooms a FASTQ file from Illumina 1.3/1.5 quality scores into\n sanger format, if it is not already in that format.\n<END>",
"<BEGIN>\n## `filter_single_reads_by_length`",
"removes reads from a fastq file which are shorter than a minimum\n length\n<END>",
"<BEGIN>\n## `filter_r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleanup_transcripts 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 cleanup_transcripts 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... | Clean up a GTF file of assembled transcripts
1) if a known gene is known to code for a protein, remove any *novel*
isoforms of the that do not also code for a protein.
2) if a new gene has been annotated and none of its isoforms are protein
coding and it is > 200 bp, mark it as a lincRNA. < 200 bp mark ... | "Clean up a GTF file of assembled transcripts\n 1) if a known gene is known to code for a protein, remove any *novel*\n isoforms of the that do not also code for a protein.\n 2) if a new gene has been annotated and none of its isoforms are protein\n coding and it is > 200 bp, mark it as a lincRNA. < 200 bp ... | 3,670 | true | bcbio/bcbio-nextgen | cleanup_transcripts | 27,494 | |
LDU_FT/cloud9ers/pylxc/destroy | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new container\r\n raises ContainerAlreadyExists exception if the container name is reserved already.\r",
" :param template_options: Options passed to the specified template\r\n :type template_options: list or None\n<END>",
"<BEGIN>\n## `all_as_dict`",
"returns a di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the destroy API.
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 destroy API.
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... | removes a container [stops a container if it's running and]
raises ContainerNotExists exception if the specified name is not created | "removes a container [stops a container if it's running and]\r\n raises ContainerNotExists exception if the specified name is not created" | 20 | false | cloud9ers/pylxc | destroy | 27,495 | |
LDU_FT/alexpearce/jobmonitor/serialize_job | LDU_FT | [
"<BEGIN>\n## `serialize_job`",
"Return a dictionary representing the job.\n<END>",
"<BEGIN>\n## `default_child_path`",
"Return the default child of the parent path ,if it exists, else path.",
" As an example, if the path `parent` show show the page `parent/child` by\n default, this method will return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_job API.
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 serialize_job API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return a dictionary representing the job. | "Return a dictionary representing the job." | 16 | false | alexpearce/jobmonitor | serialize_job | 27,496 | |
LDU_FT/jaywink/federation/retrieve_and_parse_profile | LDU_FT | [
"<BEGIN>\n## `check_sender_and_entity_handle_match`",
"Ensure that sender and entity handles match.",
" Basically we've already verified the sender is who they say when receiving the payload. However, the sender might\n be trying to set another author in the payload itself, since Diaspora has the sender i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_and_parse_profile 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 retrieve_and_parse_profile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Retrieve the remote user and return a Profile object.
:arg handle: User handle in username@domain.tld format
:returns: ``federation.entities.Profile`` instance or None | "Retrieve the remote user and return a Profile object.\n\n :arg handle: User handle in username@domain.tld format\n :returns: ``federation.entities.Profile`` instance or None" | 230 | false | jaywink/federation | retrieve_and_parse_profile | 27,497 | |
LDU_FT/matrix-org/matrix-python-sdk/register_with_password | LDU_FT | [
"<BEGIN>\n## `set_user_profile`",
"Set user profile within a room.",
" This sets displayname and avatar_url for the logged in user only in a\n specific room. It does not change the user's global user profile.\n<END>",
"<BEGIN>\n## `send_html`",
"Send an html formatted message.",
" Arg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_with_password 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 register_with_password API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Register for a new account on this HS.
Args:
username (str): Account username
password (str): Account password
Returns:
str: Access Token
Raises:
MatrixRequestError | "Register for a new account on this HS.\n\n Args:\n username (str): Account username\n password (str): Account password\n\n Returns:\n str: Access Token\n\n Raises:\n MatrixRequestError" | 304 | false | matrix-org/matrix-python-sdk | register_with_password | 27,498 | |
LDU_FT/thomwiggers/httpserver/_get_request_uri | LDU_FT | [
"<BEGIN>\n## `_get_response`",
"Get a template response",
" Use kwargs to add things to the dictionary\n<END>",
"<BEGIN>\n## `_write_transport`",
"Convenience function to write to the transport\n<END>",
"<BEGIN>\n## `_write_response`",
"Write the response back to the client",
" Arguments:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_request_uri API.
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_request_uri API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Parse the request URI into something useful
Server MUST accept full URIs (5.1.2) | "Parse the request URI into something useful\n\n Server MUST accept full URIs (5.1.2)" | 25 | false | thomwiggers/httpserver | _get_request_uri | 27,499 | |
LDU_FT/ella/ella/collect_related | LDU_FT | [
"<BEGIN>\n## `thumb`",
"Generates html and thumbnails for admin site.\n<END>",
"<BEGIN>\n## `clean`",
"Validation function that checks the dimensions of the crop whether it fits into the original and the format.\n<END>",
"<BEGIN>\n## `clean`",
"Check format name uniqueness for sites",
" :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_related API.
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 collect_related API.
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... | Collects objects related to ``obj`` using a list of ``finder_funcs``.
Stops when required count is collected or the function list is
exhausted. | "Collects objects related to ``obj`` using a list of ``finder_funcs``.\n Stops when required count is collected or the function list is\n exhausted." | 180 | false | ella/ella | collect_related | 27,500 | |
LDU_FT/sloria/environs/parser_for | LDU_FT | [
"<BEGIN>\n## `_dict2schema`",
"Generate a `marshmallow.Schema` class given a dictionary of\n `Fields <marshmallow.fields.Field>`.\n<END>",
"<BEGIN>\n## `read_env`",
"Read a .env file into os.environ.",
" If .env is not found in the directory from which this method is called,\n the default b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parser_for API.
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 parser_for API.
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... | Decorator that registers a new parser method with the name ``name``.
The decorated function must receive the input value for an environment variable. | "Decorator that registers a new parser method with the name ``name``.\n The decorated function must receive the input value for an environment variable." | 17 | false | sloria/environs | parser_for | 27,501 | |
LDU_FT/lambdalisue/maidenhair/median | LDU_FT | [
"<BEGIN>\n## `load`",
"Load data from file matched with given glob pattern.",
" Return value will be a list of data unless :attr:`unite` is `True`.\n If :attr:`unite` is `True` then all data will be united into a single data.",
" Parameters\n ----------\n pathname : string or list\n A gl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the median API.
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 median API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return a numpy array of column median.
It does not affect if the array is one dimension
Parameters
----------
x : ndarray
A numpy array instance
Returns
-------
ndarray
A 1 x n numpy array instance of column median
Examples
--------
>>> a = np.array([[1, 2, 3],... | "Return a numpy array of column median.\n It does not affect if the array is one dimension\n\n Parameters\n ----------\n x : ndarray\n A numpy array instance\n\n Returns\n -------\n ndarray\n A 1 x n numpy array instance of column median\n\n Examples\n --------\n >>> a = np.a... | 128 | false | lambdalisue/maidenhair | median | 27,502 | |
LDU_FT/artefactual-labs/mets-reader-writer/serialize | LDU_FT | [
"<BEGIN>\n## `register_id`",
"Register a manually assigned id as used, to avoid collisions.\n<END>",
"<BEGIN>\n## `parse`",
"Create a new AMDSec by parsing root.",
" :param root: Element or ElementTree to be parsed into an object.\n<END>",
"<BEGIN>\n## `serialize`",
"Serialize this amdSec and all... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Serialize this amdSec and all children to lxml Element and return it.
:param str now: Default value for CREATED in children if none set
:return: amdSec Element with all children | "Serialize this amdSec and all children to lxml Element and return it.\n\n :param str now: Default value for CREATED in children if none set\n :return: amdSec Element with all children" | 179 | false | artefactual-labs/mets-reader-writer | serialize | 27,503 | |
LDU_FT/jjjake/internetarchive/get_metadata | LDU_FT | [
"<BEGIN>\n## `prepare_metadata`",
"Prepare a metadata dict for an\n :class:`S3PreparedRequest <S3PreparedRequest>` or\n :class:`MetadataPreparedRequest <MetadataPreparedRequest>` object.",
" :type metadata: dict\n :param metadata: The metadata dict to be prepared.",
" :type source_metadata: dic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_metadata API.
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_metadata API.
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... | Get an item's metadata from the `Metadata API
<http://blog.archive.org/2013/07/04/metadata-api/>`__
:type identifier: str
:param identifier: Globally unique Archive.org identifier.
:rtype: dict
:returns: Metadat API response. | "Get an item's metadata from the `Metadata API\n <http://blog.archive.org/2013/07/04/metadata-api/>`__\n\n :type identifier: str\n :param identifier: Globally unique Archive.org identifier.\n\n :rtype: dict\n :returns: Metadat API response." | 281 | false | jjjake/internetarchive | get_metadata | 27,504 | |
LDU_FT/cokelaer/fitter/load_all_distributions | LDU_FT | [
"<BEGIN>\n## `load_all_distributions`",
"Replace the :attr:`distributions` attribute with all scipy distributions\n<END>",
"<BEGIN>\n## `hist`",
"Draw normed histogram of the data using :attr:`bins`",
" .. plot::",
" >>> from scipy import stats\n >>> data = stats.gamma.rvs(2, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_all_distributions 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_all_distributions 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 :attr:`distributions` attribute with all scipy distributions | "Replace the :attr:`distributions` attribute with all scipy distributions" | 22 | false | cokelaer/fitter | load_all_distributions | 27,505 | |
LDU_FT/rdo-management/python-rdomanager-oscplugin/get_hiera_key | LDU_FT | [
"<BEGIN>\n## `_csv_to_nodes_dict`",
"Convert CSV to a list of dicts formatted for os_cloud_config",
" Given a CSV file in the format below, convert it into the\n structure expected by os_could_config JSON files.",
" pm_type, pm_addr, pm_user, pm_password, mac\n<END>",
"<BEGIN>\n## `build_option_par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_hiera_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_hiera_key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Retrieve a key from the hiera store
:param password_name: Name of the key to retrieve
:type password_name: type | "Retrieve a key from the hiera store\n\n :param password_name: Name of the key to retrieve\n :type password_name: type" | 85 | false | rdo-management/python-rdomanager-oscplugin | get_hiera_key | 27,506 | |
LDU_FT/wooyek/django-powerbank/value_to_string | LDU_FT | [
"<BEGIN>\n## `to_python`",
"Convert the input JSON value into python structures, raises\n django.core.exceptions.ValidationError if the data can't be converted.\n<END>",
"<BEGIN>\n## `validate`",
"Check value is a valid JSON string, raise ValidationError on\n error.\n<END>",
"<BEGIN>\n## `get_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value_to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the value_to_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return value from object converted to string properly | "Return value from object converted to string properly" | 13 | false | wooyek/django-powerbank | value_to_string | 27,507 | |
LDU_FT/jcrist/skein/application_report | LDU_FT | [
"<BEGIN>\n## `add_page`",
"Add a new proxied page to the Web UI.",
" Parameters\n ----------\n route : str\n The route for the proxied page. Must be a valid path *segment* in a\n url (e.g. ``foo`` in ``/foo/bar/baz``). Routes must be unique\n across the appl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the application_report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the application_report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Get a report on the status of a skein application.
Parameters
----------
app_id : str
The id of the application.
Returns
-------
report : ApplicationReport
Examples
--------
>>> client.application_report('application_1526134340424_00... | "Get a report on the status of a skein application.\n\n Parameters\n ----------\n app_id : str\n The id of the application.\n\n Returns\n -------\n report : ApplicationReport\n\n Examples\n --------\n >>> client.application_report('application_15... | 153 | false | jcrist/skein | application_report | 27,508 | |
LDU_FT/zsimic/runez/touch | LDU_FT | [
"<BEGIN>\n## `same_type`",
":return bool: True if 't1' and 't2' are of equivalent types\n<END>",
"<BEGIN>\n## `read_json`",
":param str|None path: Path to file to deserialize\n :param dict|list|None default: Default if file is not present, or if it's not json\n :param bool|None fatal: Abort execution on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the touch API.
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 touch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | :param str|None path: Path to file to touch
:param bool|None fatal: Abort execution on failure if True
:param callable|None logger: Logger to use | ":param str|None path: Path to file to touch\n :param bool|None fatal: Abort execution on failure if True\n :param callable|None logger: Logger to use" | 256 | false | zsimic/runez | touch | 27,509 | |
LDU_FT/LuminosoInsight/langcodes/parse_subtags | LDU_FT | [
"<BEGIN>\n## `parse_tag`",
"Parse the syntax of a language tag, without looking up anything in the\n registry, yet. Returns a list of (type, value) tuples indicating what\n information will need to be looked up.\n<END>",
"<BEGIN>\n## `parse_subtags`",
"Parse everything that comes after the language tag:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_subtags API.
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 parse_subtags API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Parse everything that comes after the language tag: scripts, regions,
variants, and assorted extensions. | "Parse everything that comes after the language tag: scripts, regions,\n variants, and assorted extensions." | 236 | false | LuminosoInsight/langcodes | parse_subtags | 27,510 | |
LDU_FT/awslabs/aws-greengrass-group-setup/clean_all | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a Greengrass group in the given region.",
" :param group_type: the type of group to create. Must match a `key` in\n the `group_types` dict\n :param config_file: config file of the group to create\n :param group_name: the name of the group. If no na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Clean all provisioned artifacts from both the local file and the AWS
Greengrass service.
:param config_file: config file containing the group to clean
:param region: the region in which the group should be cleaned.
[default: us-west-2]
:param profile_name: the name of the `a... | "Clean all provisioned artifacts from both the local file and the AWS\n Greengrass service.\n\n :param config_file: config file containing the group to clean\n :param region: the region in which the group should be cleaned.\n [default: us-west-2]\n :param profile_name: the name of... | 31 | false | awslabs/aws-greengrass-group-setup | clean_all | 27,511 | |
LDU_FT/ianmiell/shutit/whoarewe | LDU_FT | [
"<BEGIN>\n## `parse_shutitfile_args`",
"Parse shutitfile args (eg in the line 'RUN some args', the passed-in args_str would be 'some args').\n\tIf the string is bounded by square brackets, then it's treated in the form: ['arg1','arg2'], and the returned list looks the same.\n\tIf the string composed entirely of n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the whoarewe API.
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 whoarewe API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the current group.
@param shutit_pexpect_child: See send()
@param note: See send()
@return: the first group found
@rtype: string | "Returns the current group.\n\n\t\t@param shutit_pexpect_child: See send()\n\t\t@param note: See send()\n\n\t\t@return: the first group found\n\t\t@rtype: string" | 498 | false | ianmiell/shutit | whoarewe | 27,512 | |
LDU_FT/etingof/pysnmp/withNamedBits | LDU_FT | [
"<BEGIN>\n## `getMibSymbol`",
"Returns MIB variable symbolic identification.",
" Returns\n -------\n str\n MIB module name\n str\n MIB variable symbolic name\n : :py:class:`~pysnmp.proto.rfc1902.ObjectName`\n class instance representing MIB ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the withNamedBits API.
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 withNamedBits API.
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... | Creates a subclass with discreet named bits constraint.
Reduce fully duplicate enumerations along the way. | "Creates a subclass with discreet named bits constraint.\n\n Reduce fully duplicate enumerations along the way." | 708 | false | etingof/pysnmp | withNamedBits | 27,513 | |
LDU_FT/RudolfCardinal/pythonlib/daytime | LDU_FT | [
"<BEGIN>\n## `pdb_run`",
"Calls ``func(*args, **kwargs)``; if it raises an exception, break into\n the ``pdb`` debugger.\n<END>",
"<BEGIN>\n## `get_class_name_from_frame`",
"A frame contains information about a specific call in the Python call\n stack; see https://docs.python.org/3/library/inspect.html.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the daytime API.
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 daytime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns an :class:`Interval` representing daytime on the date given. | "Returns an :class:`Interval` representing daytime on the date given." | 2,517 | true | RudolfCardinal/pythonlib | daytime | 27,514 | |
LDU_FT/turbidsoul/tsutil/get_location_from_sina | LDU_FT | [
"<BEGIN>\n## `wrap_object`",
"before/after call will encapsulate callable object\n<END>",
"<BEGIN>\n## `quick_sorted`",
">>> l = [2,3,1,0,6,4,7,8,5,9]\n >>> quick_sorted(l)\n [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\n >>> quick_sorted(l, func=lambda a, b: cmp(b, a))\n [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]\n >>>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_location_from_sina 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_location_from_sina API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | {
"ret":1,
"start":"58.18.0.0",
"end":"58.18.15.255",
"country":"中国",
"province":"内蒙古",
"city":"兴安",
"district":"",
"isp":"联通",
"type":"",
"desc":""
} | "{\n \"ret\":1,\n \"start\":\"58.18.0.0\",\n \"end\":\"58.18.15.255\",\n \"country\":\"中国\",\n \"province\":\"内蒙古\",\n \"city\":\"兴安\",\n \"district\":\"\",\n \"isp\":\"联通\",\n \"type\":\"\",\n \"desc\":\"\"\n ... | 12 | false | turbidsoul/tsutil | get_location_from_sina | 27,515 | |
LDU_FT/classam/silly/paragraph | LDU_FT | [
"<BEGIN>\n## `_slugify`",
"This is not as good as a proper slugification function, but the input space is limited",
" >>> _slugify(\"beets\")\n 'beets'\n >>> _slugify(\"Toaster Strudel\")\n 'toaster-strudel'",
" Here's why: It handles very little. It doesn't handle esoteric whitespace or symbol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paragraph API.
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 paragraph API.
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... | Produces a paragraph of text.
>>> mock_random.seed(0)
>>> paragraph(random=mock_random, length=2)
"Agatha Incrediblebritches can't wait to smell two chimps in Boatbencheston. Wonderfulsecretsound is in Gallifrey."
>>> mock_random.seed(2)
>>> paragraph(random=mock_random, length=2, slugify=True)
... | "Produces a paragraph of text.\n\n >>> mock_random.seed(0)\n >>> paragraph(random=mock_random, length=2)\n \"Agatha Incrediblebritches can't wait to smell two chimps in Boatbencheston. Wonderfulsecretsound is in Gallifrey.\"\n\n >>> mock_random.seed(2)\n >>> paragraph(random=mock_random, length=2, slugif... | 80 | false | classam/silly | paragraph | 27,516 | |
LDU_FT/NLeSC/scriptcwl/sort_loading_order | LDU_FT | [
"<BEGIN>\n## `load_steps`",
"Return a dictionary containing Steps read from file.",
" Args:\n steps_dir (str, optional): path to directory containing CWL files.\n step_file (str, optional): path or http(s) url to a single CWL file.\n step_list (list, optional): a list of directories, url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_loading_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_loading_order API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Sort step files into correct loading order.
The correct loading order is first tools, then workflows without
subworkflows, and then workflows with subworkflows. This order is
required to avoid error messages when a working directory is used. | "Sort step files into correct loading order.\n\n The correct loading order is first tools, then workflows without\n subworkflows, and then workflows with subworkflows. This order is\n required to avoid error messages when a working directory is used." | 85 | false | NLeSC/scriptcwl | sort_loading_order | 27,517 | |
LDU_FT/night-crawler/django-docker-helpers/load_parser_options_from_env | LDU_FT | [
"<BEGIN>\n## `get`",
":param variable_path: a delimiter-separated path to a nested value\n :param default: default value if there's no object by specified path\n :param coerce_type: cast a type of a value to a specified one\n :param coercer: perform a type casting with specified callback\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_parser_options_from_env API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_parser_options_from_env API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Extracts arguments from ``parser_class.__init__`` and populates them from environment variables.
Uses ``__init__`` argument type annotations for correct type casting.
.. note::
Environment variables should be prefixed with ``<UPPERCASEPARSERCLASSNAME>__``.
:param parser_class: a ... | "Extracts arguments from ``parser_class.__init__`` and populates them from environment variables.\n\n Uses ``__init__`` argument type annotations for correct type casting.\n\n .. note::\n\n Environment variables should be prefixed with ``<UPPERCASEPARSERCLASSNAME>__``.\n\n :param parser_... | 141 | false | night-crawler/django-docker-helpers | load_parser_options_from_env | 27,518 | |
LDU_FT/Azure/azure-event-hubs-python/is_expired | LDU_FT | [
"<BEGIN>\n## `parse_sas_token`",
"Parse a SAS token into its components.",
" :param sas_token: The SAS token.\n :type sas_token: str\n :rtype: dict[str, str]\n<END>",
"<BEGIN>\n## `offset`",
"The offset of the event data object.",
" :rtype: ~azure.eventhub.common.Offset\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_expired API.
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 is_expired API.
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 and return Azure Blob Lease state using Storage API. | "Check and return Azure Blob Lease state using Storage API." | 260 | false | Azure/azure-event-hubs-python | is_expired | 27,519 | |
LDU_FT/tylertreat/BigQuery-Python/get_table_schema | LDU_FT | [
"<BEGIN>\n## `get_client`",
"Return a singleton instance of BigQueryClient. Either\n AssertionCredentials or a service account and private key combination need\n to be provided in order to authenticate requests to BigQuery.",
" Parameters\n ----------\n project_id : str, optional\n The Big... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return the table schema.
Parameters
----------
dataset : str
The dataset containing the `table`.
table : str
The table to get the schema for
project_id: str, optional
The project of the dataset.
Returns
-------
list
... | "Return the table schema.\n\n Parameters\n ----------\n dataset : str\n The dataset containing the `table`.\n table : str\n The table to get the schema for\n project_id: str, optional\n The project of the dataset.\n\n Returns\n -------\n ... | 227 | false | tylertreat/BigQuery-Python | get_table_schema | 27,520 | |
LDU_FT/micropython/micropython/gen_rst | LDU_FT | [
"<BEGIN>\n## `ptr`",
"Returns the numbered function (i.e. USART6) for this AF.\n<END>",
"<BEGIN>\n## `run_loop`",
"Start the loop.",
" :param `leds`: Which LEDs to light up upon switch press.\n :type `leds`: sequence of LED objects\n<END>",
"<BEGIN>\n## `find_c_file`",
"Search vpaths for the c fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_rst API.
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 gen_rst API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | creates restructured text documents to display tests | "creates restructured text documents to display tests" | 54 | false | micropython/micropython | gen_rst | 27,521 | |
LDU_FT/wdecoster/nanoplotter/overlay_histogram | LDU_FT | [
"<BEGIN>\n## `check_valid_color`",
"Check if the color provided by the user is valid.",
" If color is invalid the default is returned.\n<END>",
"<BEGIN>\n## `check_valid_format`",
"Check if the specified figure format is valid.",
" If format is invalid the default is returned.\n Probably installa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlay_histogram API.
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 overlay_histogram API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Use plotly to create an overlay of length histograms
Return html code, but also save as png
Only has 10 colors, which get recycled up to 5 times. | "Use plotly to create an overlay of length histograms\n Return html code, but also save as png\n\n Only has 10 colors, which get recycled up to 5 times." | 36 | false | wdecoster/nanoplotter | overlay_histogram | 27,522 | |
LDU_FT/jpgxs/pyopsview/encode | LDU_FT | [
"<BEGIN>\n## `_get_schema_loader`",
"Gets a closure for schema.load_schema with the correct/current\n Opsview version\n<END>",
"<BEGIN>\n## `_resolve_definitions`",
"Interpolates definitions from the top-level definitions key into the\n schema. This is performed in a cut-down way similar to JSON... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encode API.
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 encode API.
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 ... | The encoder for this schema.
Tries each encoder in order of the types specified for this schema. | "The encoder for this schema.\n Tries each encoder in order of the types specified for this schema." | 26 | false | jpgxs/pyopsview | encode | 27,523 | |
LDU_FT/ryan-roemer/django-cloud-browser/parse_bool | LDU_FT | [
"<BEGIN>\n## `is_key`",
"Return ``True`` if result is a key object.\n<END>",
"<BEGIN>\n## `parse_bool`",
"Convert ``string`` or ``bool`` to ``bool``.\n<END>",
"<BEGIN>\n## `container_permitted`",
"Return whether or not a container is permitted.",
" :param name: Container name.\n :return: `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_bool API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_bool API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Convert ``string`` or ``bool`` to ``bool``. | "Convert ``string`` or ``bool`` to ``bool``." | 96 | false | ryan-roemer/django-cloud-browser | parse_bool | 27,524 | |
LDU_FT/securestate/termineter/stop | LDU_FT | [
"<BEGIN>\n## `format_ltime`",
"Return data formatted into a human readable time stamp.",
"\t:param str endianess: The endianess to use when packing values ('>' or '<')\n\t:param int tm_format: The format that the data is packed in, this typically\n\t corresponds with the value in the GEN_CONFIG_TBL (table #0) ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Send a terminate request.
:param bool force: ignore the remote devices response | "Send a terminate request.\n\n\t\t:param bool force: ignore the remote devices response" | 68 | false | securestate/termineter | stop | 27,525 | |
LDU_FT/django-fluent/django-fluent-comments/on_comment_posted | LDU_FT | [
"<BEGIN>\n## `moderate_model`",
"Register a parent model (e.g. ``Blog`` or ``Article``) that should receive comment moderation.",
" :param ParentModel: The parent model, e.g. a ``Blog`` or ``Article`` model.\n :param publication_date_field: The field name of a :class:`~django.db.models.DateTimeField` in t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_comment_posted API.
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 on_comment_posted API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Send email notification of a new comment to site staff when email notifications have been requested. | "Send email notification of a new comment to site staff when email notifications have been requested." | 39 | false | django-fluent/django-fluent-comments | on_comment_posted | 27,526 | |
LDU_FT/gunthercox/ChatterBot/extract | LDU_FT | [
"<BEGIN>\n## `get_response`",
"Return the bot's response based on the input.",
" :param statement: An statement object or string.\n :returns: A response to the input.\n :rtype: Statement",
" :param additional_response_selection_parameters: Parameters to pass to the\n cha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract API.
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 extract API.
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... | Extract a tar file at the specified file path. | "Extract a tar file at the specified file path." | 158 | false | gunthercox/ChatterBot | extract | 27,527 | |
LDU_FT/srsudar/eg/get_expanded_path | LDU_FT | [
"<BEGIN>\n## `inform_if_paths_invalid`",
"If egrc_path, examples_dir, or custom_dir is truthy and debug is True,\n informs the user that a path is not set.",
" This should be used to verify input arguments from the command line.\n<END>",
"<BEGIN>\n## `get_egrc_config`",
"Return a Config namedtuple bas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_expanded_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_expanded_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Expand ~ and variables in a path. If path is not truthy, return None. | "Expand ~ and variables in a path. If path is not truthy, return None." | 77 | false | srsudar/eg | get_expanded_path | 27,528 | |
LDU_FT/pydron/twistit/_yielddefer | LDU_FT | [
"<BEGIN>\n## `yieldefer`",
"Replacement for :func:`defer.inlineCallbacks` that supports cancellation.\n<END>",
"<BEGIN>\n## `_yielddefer`",
"Called if a function decorated with :func:`yieldefer` is invoked.\n<END>",
"<BEGIN>\n## `on_error_close`",
"Decorator for callback methods that implement `IProtocol`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _yielddefer API.
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 _yielddefer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Called if a function decorated with :func:`yieldefer` is invoked. | "Called if a function decorated with :func:`yieldefer` is invoked." | 22 | false | pydron/twistit | _yielddefer | 27,529 | |
LDU_FT/marrow/schema/_clean | LDU_FT | [
"<BEGIN>\n## `_validators`",
"Iterate across the complete set of child validators.\n<END>",
"<BEGIN>\n## `_process_arguments`",
"Map positional to keyword arguments, identify invalid assignments, and return the result.",
"\t\tThis is likely generic enough to be useful as a standalone utility function, and g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _clean API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Perform a standardized pipline of operations across an iterable. | "Perform a standardized pipline of operations across an iterable." | 28 | false | marrow/schema | _clean | 27,530 | |
LDU_FT/standage/tag/accession | LDU_FT | [
"<BEGIN>\n## `accession`",
"Parse accession number from commonly supported formats.",
" If the defline does not match one of the following formats, the entire\n description (sans leading caret) will be returned.",
" * >gi|572257426|ref|XP_006607122.1|\n * >gnl|Tcas|XP_008191512.1\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accession API.
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 accession API.
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 accession number from commonly supported formats.
If the defline does not match one of the following formats, the entire
description (sans leading caret) will be returned.
* >gi|572257426|ref|XP_006607122.1|
* >gnl|Tcas|XP_008191512.1
* >lcl|PdomMRNAr1.2-10981.1 | "Parse accession number from commonly supported formats.\n\n If the defline does not match one of the following formats, the entire\n description (sans leading caret) will be returned.\n\n * >gi|572257426|ref|XP_006607122.1|\n * >gnl|Tcas|XP_008191512.1\n * >lcl|PdomMRNAr1.2-10981.1" | 114 | false | standage/tag | accession | 27,531 | |
LDU_FT/pennlabs/penn-sdk-python/search | LDU_FT | [
"<BEGIN>\n## `get_meals`",
"Extract meals into old format from a DiningV2 JSON response\n<END>",
"<BEGIN>\n## `menu`",
"Get the menu for the venue corresponding to venue_id,\n on date.",
" :param venue_id:\n A string representing the id of a venue, e.g. \"abc\".\n :param date:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return all buildings related to the provided query.
:param keyword:
The keyword for your map search
>>> results = n.search('Harrison') | "Return all buildings related to the provided query.\n\n :param keyword:\n The keyword for your map search\n\n >>> results = n.search('Harrison')" | 115 | false | pennlabs/penn-sdk-python | search | 27,532 | |
LDU_FT/keunwoochoi/kapre/filterbank_log | LDU_FT | [
"<BEGIN>\n## `_spectrogram_mono`",
"x.shape : (None, 1, len_src),\n returns 2D batch of a mono power-spectrogram\n<END>",
"<BEGIN>\n## `mel`",
"[np] create a filterbank matrix to combine stft bins into mel-frequency bins\n use Slaney (said Librosa)",
" n_mels: numbre of mel bands\n fmin : lo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filterbank_log API.
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 filterbank_log API.
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... | [np] Approximate a constant-Q filter bank for a fixed-window STFT.
Each filter is a log-normal window centered at the corresponding frequency.
Note: `logfrequency` in librosa 0.4 (deprecated), so copy-and-pasted,
`tuning` was removed, `n_freq` instead of `n_fft`.
Parameters
----------
sr ... | "[np] Approximate a constant-Q filter bank for a fixed-window STFT.\n\n Each filter is a log-normal window centered at the corresponding frequency.\n\n Note: `logfrequency` in librosa 0.4 (deprecated), so copy-and-pasted,\n `tuning` was removed, `n_freq` instead of `n_fft`.\n\n Parameters\n ---------... | 26 | false | keunwoochoi/kapre | filterbank_log | 27,533 | |
LDU_FT/VIVelev/PyDojoML/calculate_between_class_scatter_matrix | LDU_FT | [
"<BEGIN>\n## `accuracy_score`",
"Calculates the fraction of the correctly\n classified samples over all.",
" Parameters:\n -----------\n y : vector, shape (n_samples,)\n The target labels.",
" y_pred : vector, shape (n_samples,)\n The predicted labels.",
" Returns:\n --------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_between_class_scatter_matrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_between_class_scatter_matrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | Calculates the Between-Class Scatter matrix
Parameters:
-----------
X : array-like, shape (m, n) - the samples
y : array-like, shape (m, ) - the class labels
Returns:
--------
between_class_scatter_matrix : array-like, shape (n, n) | "Calculates the Between-Class Scatter matrix\n \n Parameters:\n -----------\n X : array-like, shape (m, n) - the samples\n y : array-like, shape (m, ) - the class labels\n\n Returns:\n --------\n between_class_scatter_matrix : array-like, shape (n, n)" | 170 | false | VIVelev/PyDojoML | calculate_between_class_scatter_matrix | 27,534 | |
LDU_FT/jamieleshaw/lurklib/banlist | LDU_FT | [
"<BEGIN>\n## `find`",
"Finds needle in haystack.\n If needle is found return True, if not return False.\n Required arguments:\n * haystack - Text to search in.\n * needle - Text to search for.\n<END>",
"<BEGIN>\n## `send`",
"Send a raw string with the CR-LF appended to it.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the banlist API.
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 banlist API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Get the channel banlist.
Required arguments:
* channel - Channel of which to get the banlist for. | "Get the channel banlist.\n Required arguments:\n * channel - Channel of which to get the banlist for." | 112 | false | jamieleshaw/lurklib | banlist | 27,535 | |
LDU_FT/tapilab/brandelion/fetch_tweets | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Yield screen_name, text tuples from a json file.\n<END>",
"<BEGIN>\n## `extract_tweets`",
"Yield screen_name, string tuples, where the string is the\n concatenation of all tweets of this user.\n<END>",
"<BEGIN>\n## `preprocess`",
">>> preprocess('#hi there http://www.foo.co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_tweets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_tweets API.
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... | Fetch up to limit tweets for each account in account_file and write to
outfile. | "Fetch up to limit tweets for each account in account_file and write to\n outfile." | 47 | false | tapilab/brandelion | fetch_tweets | 27,536 | |
LDU_FT/great-expectations/great_expectations/expect_column_values_to_match_regex_list | 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_column_values_to_match_regex_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expect_column_values_to_match_regex_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat... | Expect the column entries to be strings that can be matched to either any of or all of a list of regular expressions.
Matches can be anywhere in the string.
expect_column_values_to_match_regex_list is a :func:`column_map_expectation <great_expectations.data_asset.dataset.Dataset.column_map_expectation>... | "Expect the column entries to be strings that can be matched to either any of or all of a list of regular expressions.\n Matches can be anywhere in the string.\n\n expect_column_values_to_match_regex_list is a :func:`column_map_expectation <great_expectations.data_asset.dataset.Dataset.column_map_expectat... | 475 | false | great-expectations/great_expectations | expect_column_values_to_match_regex_list | 27,537 | |
LDU_FT/rackerlabs/lambda-uploader/install_dependencies | LDU_FT | [
"<BEGIN>\n## `package_meta`",
"Read __init__.py for global package metadata.\n Do this without importing the package.\n<END>",
"<BEGIN>\n## `subscribe`",
"Subscribes the lambda to the Kinesis stream\n<END>",
"<BEGIN>\n## `_format_vpc_config`",
"Returns {} if the VPC config is set to None by Config,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_dependencies 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 install_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates a virtualenv and installs requirements | "Creates a virtualenv and installs requirements" | 28 | false | rackerlabs/lambda-uploader | install_dependencies | 27,538 | |
LDU_FT/kstaniek/condoor/reload | LDU_FT | [
"<BEGIN>\n## `_prepare_patterns`",
"Return two dictionaries: compiled and text prompts.\n<END>",
"<BEGIN>\n## `_platform_patterns`",
"Return all the patterns for specific platform.\n<END>",
"<BEGIN>\n## `pattern`",
"Return the pattern defined by the key string specific to the platform.",
" :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload API.
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 reload API.
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 ... | Reload the device.
!!!WARNING! there is unsaved configuration!!!
This command will reboot the system. (y/n)? [n] | "Reload the device.\n\n !!!WARNING! there is unsaved configuration!!!\n This command will reboot the system. (y/n)? [n]" | 229 | false | kstaniek/condoor | reload | 27,539 | |
LDU_FT/taxpon/pymesh/translate_z | LDU_FT | [
"<BEGIN>\n## `set_initial_values`",
"Set initial values form existing self.data value\n :return: None\n<END>",
"<BEGIN>\n## `rotate_x`",
"Rotate mesh around x-axis",
" :param float deg: Rotation angle (degree)\n :return:\n<END>",
"<BEGIN>\n## `translate_x`",
"Translate mesh for x-di... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate_z API.
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 translate_z API.
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... | Translate mesh for z-direction
:param float d: Amount to translate | "Translate mesh for z-direction\n\n :param float d: Amount to translate" | 28 | false | taxpon/pymesh | translate_z | 27,540 | |
LDU_FT/avirshup/DockerMake/human_readable_size | LDU_FT | [
"<BEGIN>\n## `write_dockerfile`",
"Used only to write a Dockerfile that will NOT be built by docker-make\n<END>",
"<BEGIN>\n## `build`",
"Drives the build of the final image - get the list of steps and execute them.",
" Args:\n client (docker.Client): docker client object that will build t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the human_readable_size 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 human_readable_size 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... | FROM http://stackoverflow.com/a/1094933/1958900 | "FROM http://stackoverflow.com/a/1094933/1958900" | 36 | false | avirshup/DockerMake | human_readable_size | 27,541 | |
LDU_FT/dlintott/gns3-converter/add_info_from_hv | LDU_FT | [
"<BEGIN>\n## `setup_argparse`",
"Setup the argparse argument parser",
" :return: instance of argparse\n :rtype: ArgumentParser\n<END>",
"<BEGIN>\n## `do_conversion`",
"Convert the topology",
" :param dict topology_def: Dict containing topology file and snapshot bool.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_info_from_hv API.
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 add_info_from_hv API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Add the information we need from the old hypervisor section | "Add the information we need from the old hypervisor section" | 140 | false | dlintott/gns3-converter | add_info_from_hv | 27,542 | |
LDU_FT/awickert/gFlex/outputDeflections | LDU_FT | [
"<BEGIN>\n## `elasprep`",
"dx4, dy4, dx2dy2, D = elasprep(dx,dy,Te,E=1E11,nu=0.25)",
" Defines the variables that are required to create the 2D finite \n difference solution coefficient matrix\n<END>",
"<BEGIN>\n## `BC_selector_and_coeff_matrix_creator`",
"Selects the boundary conditions\n E-W is f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the outputDeflections API.
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 outputDeflections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Outputs a grid of deflections if an output directory is defined in the
configuration file
If the filename given in the configuration file ends in ".npy", then a binary
numpy grid will be exported.
Otherwise, an ASCII grid will be exported. | "Outputs a grid of deflections if an output directory is defined in the \n configuration file\n \n If the filename given in the configuration file ends in \".npy\", then a binary \n numpy grid will be exported.\n \n Otherwise, an ASCII grid will be exported." | 78 | false | awickert/gFlex | outputDeflections | 27,543 | |
LDU_FT/last-partizan/pytils/rl_cleanspaces | LDU_FT | [
"<BEGIN>\n## `choose_plural`",
"Choose proper form for plural.",
" Value is a amount, parameters are forms of noun.\n Forms are variants for 1, 2, 5 nouns. It may be tuple\n of elements, or string where variants separates each other\n by comma.",
" Examples::\n {{ some_int|choose_plural:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rl_cleanspaces API.
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 rl_cleanspaces API.
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... | Clean double spaces, trailing spaces, heading spaces,
spaces before punctuations | "Clean double spaces, trailing spaces, heading spaces,\n spaces before punctuations" | 134 | false | last-partizan/pytils | rl_cleanspaces | 27,544 | |
LDU_FT/MagicStack/asyncpg/prepare | LDU_FT | [
"<BEGIN>\n## `fetch`",
"r\"\"\"Return the next *n* rows as a list of :class:`Record` objects.",
" :param float timeout: Optional timeout value in seconds.",
" :return: A list of :class:`Record` instances.\n<END>",
"<BEGIN>\n## `fetchrow`",
"r\"\"\"Return the next row.",
" :param flo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
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 prepare API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Create a *prepared statement* for the specified query.
:param str query: Text of the query to create a prepared statement for.
:param float timeout: Optional timeout value in seconds.
:return: A :class:`~prepared_stmt.PreparedStatement` instance. | "Create a *prepared statement* for the specified query.\n\n :param str query: Text of the query to create a prepared statement for.\n :param float timeout: Optional timeout value in seconds.\n\n :return: A :class:`~prepared_stmt.PreparedStatement` instance." | 284 | false | MagicStack/asyncpg | prepare | 27,545 | |
LDU_FT/ISA-tools/biopy-isatab/_parse_keyvals | LDU_FT | [
"<BEGIN>\n## `parse`",
"Entry point to parse an ISA-Tab directory.\n isatab_ref can point to a directory of ISA-Tab data, in which case we\n search for the investigator file, or be a reference to the high level\n investigation file.\n<END>",
"<BEGIN>\n## `_parse_region`",
"Parse a section of an ISA-T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_keyvals API.
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 _parse_keyvals API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Generate dictionary from key/value pairs. | "Generate dictionary from key/value pairs." | 24 | false | ISA-tools/biopy-isatab | _parse_keyvals | 27,546 | |
LDU_FT/ternaris/marv/filesizes | LDU_FT | [
"<BEGIN>\n## `encode_setid`",
"Encode uint128 setid as stripped b32encoded string\n<END>",
"<BEGIN>\n## `marvcli_cleanup`",
"Cleanup unused tags and discarded datasets.\n<END>",
"<BEGIN>\n## `marvcli_develop_server`",
"Run development webserver.",
" ATTENTION: By default it is only served on localhos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filesizes API.
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 filesizes API.
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... | Stat filesize of files.
Args:
images: stream of marv image files
Returns:
Stream of filesizes | "Stat filesize of files.\n\n Args:\n images: stream of marv image files\n\n Returns:\n Stream of filesizes" | 76 | false | ternaris/marv | filesizes | 27,547 | |
LDU_FT/justquick/django-activity-stream/user | LDU_FT | [
"<BEGIN>\n## `timesince`",
"Shortcut for the ``django.utils.timesince.timesince`` function of the\n current timestamp.\n<END>",
"<BEGIN>\n## `respond`",
"Responds to the request with the given response code.\n If ``next`` is in the form, it will redirect instead.\n<END>",
"<BEGIN>\n## `follow_unfo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Create a stream of the most recent actions by objects that the user is following. | "Create a stream of the most recent actions by objects that the user is following." | 105 | false | justquick/django-activity-stream | user | 27,548 | |
LDU_FT/erinxocon/requests-xml/xpath | LDU_FT | [
"<BEGIN>\n## `raw_xml`",
"Bytes representation of the XML content.\n (`learn more <http://www.diveintopython3.net/strings.html>`_).\n<END>",
"<BEGIN>\n## `xml`",
"Unicode representation of the XML content\n (`learn more <http://www.diveintopython3.net/strings.html>`_).\n<END>",
"<BEGIN>\n## `p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xpath API.
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 xpath API.
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... | Given an XPath selector, returns a list of
:class:`Element <Element>` objects or a single one.
:param selector: XPath Selector to use.
:param first: Whether or not to return just the first result.
:param _encoding: The encoding format.
If a sub-selector is specified (e.g. ``//a... | "Given an XPath selector, returns a list of\n :class:`Element <Element>` objects or a single one.\n\n :param selector: XPath Selector to use.\n :param first: Whether or not to return just the first result.\n :param _encoding: The encoding format.\n\n If a sub-selector is specified (e.... | 33 | false | erinxocon/requests-xml | xpath | 27,549 | |
LDU_FT/celliern/triflow/_generate_sympify_namespace | LDU_FT | [
"<BEGIN>\n## `_compute_one_step`",
"Compute one step of the simulation, then update the timers.\n<END>",
"<BEGIN>\n## `compute`",
"Generator which yield the actual state of the system every dt.",
" Yields\n ------\n tuple : t, fields\n Actual time and updated fields container... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_sympify_namespace 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 _generate_sympify_namespace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Generate the link between the symbols of the derivatives and the
sympy Derivative operation.
Parameters
----------
independent_variable : str
name of the independant variable ("x")
dependent_variables : iterable of str
names of the dependent variables
helper_func... | "Generate the link between the symbols of the derivatives and the\n sympy Derivative operation.\n\n Parameters\n ----------\n independent_variable : str\n name of the independant variable (\"x\")\n dependent_variables : iterable of str\n names of the dependent variables\n ... | 42 | false | celliern/triflow | _generate_sympify_namespace | 27,550 | |
LDU_FT/FujiMakoto/IPS-Vagrant/get | LDU_FT | [
"<BEGIN>\n## `dev_tools_installer`",
"Installer factory\n @param cv: Current version (The version of Developer Tools we are installing)\n @type cv: ips_vagrant.common.version.Version\n @return: Installer instance\n @rtype: ips_vagrant.installer.dev_tools.latest.DevToolsInstaller\n<END>",
"... | 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... | Get the requested site entry
@param domain: Domain name
@type domain: Domain
@param name: Site name
@type name: str
@rtype: Domain | "Get the requested site entry\n @param domain: Domain name\n @type domain: Domain\n @param name: Site name\n @type name: str\n @rtype: Domain" | 87 | false | FujiMakoto/IPS-Vagrant | get | 27,551 | |
LDU_FT/commontk/ctk-cli/parseValue | LDU_FT | [
"<BEGIN>\n## `_tag`",
"Return element.tag with xmlns stripped away.\n<END>",
"<BEGIN>\n## `_uriPrefix`",
"Return xmlns prefix of the given element.\n<END>",
"<BEGIN>\n## `_parseElements`",
"Read REQUIRED_ELEMENTS and OPTIONAL_ELEMENTS and returns\n the rest of the children. Every read child element's ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseValue API.
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 parseValue API.
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... | Parse the given value and return result. | "Parse the given value and return result." | 23 | false | commontk/ctk-cli | parseValue | 27,552 | |
LDU_FT/gitenberg-dev/gitberg/remote_path | LDU_FT | [
"<BEGIN>\n## `remote_path`",
"turns an ebook_id into a path on PG's server(s)\n 4443 -> 4/4/4/4443/\n<END>",
"<BEGIN>\n## `make`",
"turn fetched files into a local repo, make auxiliary files\n<END>",
"<BEGIN>\n## `push`",
"create a github repo and push the local repo into it\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remote_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remote_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | turns an ebook_id into a path on PG's server(s)
4443 -> 4/4/4/4443/ | "turns an ebook_id into a path on PG's server(s)\n 4443 -> 4/4/4/4443/" | 51 | false | gitenberg-dev/gitberg | remote_path | 27,553 | |
LDU_FT/kalefranz/auxlib/with_metaclass | LDU_FT | [
"<BEGIN>\n## `import_and_wrap_deprecated`",
"Usage:\n import_and_wrap_deprecated('conda.common.connection', locals())\n # looks for conda.common.connection.__all__\n<END>",
"<BEGIN>\n## `deprecate_module_with_proxy`",
"Usage:\n deprecate_module_with_proxy(__name__, locals()) # at bottom ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_metaclass API.
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 with_metaclass API.
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... | Class decorator to set metaclass.
Works with both Python 2 and Python 3 and it does not add
an extra class in the lookup order like ``six.with_metaclass`` does
(that is -- it copies the original class instead of using inheritance). | "Class decorator to set metaclass.\n\n Works with both Python 2 and Python 3 and it does not add\n an extra class in the lookup order like ``six.with_metaclass`` does\n (that is -- it copies the original class instead of using inheritance)." | 107 | false | kalefranz/auxlib | with_metaclass | 27,554 | |
LDU_FT/twisted/vertex/requestCertificateForAddress | LDU_FT | [
"<BEGIN>\n## `enregister`",
"Register a new account and return a Deferred that fires if it worked.",
" @param svc: a Q2QService",
" @param newAddress: a Q2QAddress object",
" @param password: a shared secret (str)\n<END>",
"<BEGIN>\n## `connectCached`",
"See module docstring",
" @param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requestCertificateForAddress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requestCertificateForAddress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Connect to the authoritative server for the domain part of the given
address and obtain a certificate signed by the root certificate for
that domain, then store that certificate in my local certificate
storage.
@param fromAddress: an address that this service is authorized to use,
... | "Connect to the authoritative server for the domain part of the given\n address and obtain a certificate signed by the root certificate for\n that domain, then store that certificate in my local certificate\n storage.\n\n @param fromAddress: an address that this service is authorized to use,... | 191 | false | twisted/vertex | requestCertificateForAddress | 27,555 | |
LDU_FT/rq/Flask-RQ2/queue | LDU_FT | [
"<BEGIN>\n## `shared_options`",
"Default class options to pass to the CLI commands.\n<END>",
"<BEGIN>\n## `queue`",
"A function to queue a RQ job, e.g.::",
" @rq.job(timeout=60)\n def add(x, y):\n return x + y",
" add.queue(1, 2, timeout=30)",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queue API.
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 queue API.
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... | A function to queue a RQ job, e.g.::
@rq.job(timeout=60)
def add(x, y):
return x + y
add.queue(1, 2, timeout=30)
:param \\*args: The positional arguments to pass to the queued job.
:param \\*\\*kwargs: The keyword arguments to pass to the queued jo... | "A function to queue a RQ job, e.g.::\n\n @rq.job(timeout=60)\n def add(x, y):\n return x + y\n\n add.queue(1, 2, timeout=30)\n\n :param \\\\*args: The positional arguments to pass to the queued job.\n\n :param \\\\*\\\\*kwargs: The keyword arguments to pass... | 80 | false | rq/Flask-RQ2 | queue | 27,556 | |
LDU_FT/clement-alexandre/TotemBionet/active_multiplex | LDU_FT | [
"<BEGIN>\n## `pick_a_model_randomly`",
"Naive picking function, return one of the models chosen randomly.\n<END>",
"<BEGIN>\n## `as_data_frame`",
"Create a panda DataFrame representation of the resource table.\n<END>",
"<BEGIN>\n## `is_active`",
"Return True if the multiplex is active in the given state, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the active_multiplex API.
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 active_multiplex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return a tuple of all the active multiplex in the given state. | "Return a tuple of all the active multiplex in the given state." | 49 | false | clement-alexandre/TotemBionet | active_multiplex | 27,557 | |
LDU_FT/consbio/parserutils/parts_to_url | LDU_FT | [
"<BEGIN>\n## `create_element_tree`",
"Creates an ElementTree from elem_or_name, updated it with text and attributes.\n If elem_or_name is None, a permanently empty ElementTree is returned.\n :param elem_or_name: an Element or the name of the root element tag\n :param text: optional text with which to upd... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parts_to_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 parts_to_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... | Build url urlunsplit style, but optionally handle path as a list and/or query as a dict | "Build url urlunsplit style, but optionally handle path as a list and/or query as a dict" | 127 | false | consbio/parserutils | parts_to_url | 27,558 | |
LDU_FT/tmux-python/libtmux/select_window | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Return tmux version.",
" If tmux is built from git master, the version returned will be the latest\n version appended with -master, e.g. ``2.4-master``.",
" If using OpenBSD's base system tmux, the version will have ``-openbsd``\n appended to the latest version, e.g. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select_window API.
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 select_window API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return :class:`Window` selected via ``$ tmux select-window``.
Parameters
----------
window : str
``target_window`` also 'last-window' (``-l``), 'next-window'
(``-n``), or 'previous-window' (``-p``)
Returns
-------
:class:`Window`
Notes
... | "Return :class:`Window` selected via ``$ tmux select-window``.\n\n Parameters\n ----------\n window : str\n ``target_window`` also 'last-window' (``-l``), 'next-window'\n (``-n``), or 'previous-window' (``-p``)\n\n Returns\n -------\n :class:`Window`\n\n ... | 224 | false | tmux-python/libtmux | select_window | 27,559 | |
LDU_FT/sdispater/backpack/map | LDU_FT | [
"<BEGIN>\n## `avg`",
"Get the average value of a given key.",
" :param key: The key to get the average for\n :type key: mixed",
" :rtype: float or int\n<END>",
"<BEGIN>\n## `chunk`",
"Chunk the underlying collection.",
" :param size: The chunk size\n :type size: int",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run a map over each of the item.
:param callback: The map function
:type callback: callable
:rtype: Collection | "Run a map over each of the item.\n\n :param callback: The map function\n :type callback: callable\n\n :rtype: Collection" | 137 | false | sdispater/backpack | map | 27,560 | |
LDU_FT/materialsvirtuallab/monty/install_excepthook | LDU_FT | [
"<BEGIN>\n## `zopen`",
"This function wraps around the bz2, gzip and standard python's open\n function to deal intelligently with bzipped, gzipped or standard text\n files.",
" Args:\n filename (str/Path): filename or pathlib.Path.\n \\*args: Standard args for python open(..). E.g., 'r' f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_excepthook 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 install_excepthook 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... | This function replaces the original python traceback with an improved
version from Ipython. Use `color` for colourful traceback formatting,
`verbose` for Ka-Ping Yee's "cgitb.py" version kwargs are the keyword
arguments passed to the constructor. See IPython.core.ultratb.py for more
info.
Return:
... | "This function replaces the original python traceback with an improved\n version from Ipython. Use `color` for colourful traceback formatting,\n `verbose` for Ka-Ping Yee's \"cgitb.py\" version kwargs are the keyword\n arguments passed to the constructor. See IPython.core.ultratb.py for more\n info.\n\n ... | 238 | false | materialsvirtuallab/monty | install_excepthook | 27,561 | |
LDU_FT/jmvrbanac/Specter/skip_if | LDU_FT | [
"<BEGIN>\n## `print_error`",
"A crude way of output the errors for now. This needs to be\n cleaned up into something better.\n<END>",
"<BEGIN>\n## `combine_coverage_reports`",
"Method to force the combination of parallel coverage reports.\n<END>",
"<BEGIN>\n## `serialize`",
"Serializes the CaseWrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the skip_if API.
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 skip_if API.
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... | The skip_if decorator allows for you to bypass a test on conditions
:param condition: Expects a boolean
:param reason: Expects a string | "The skip_if decorator allows for you to bypass a test on conditions\n\n :param condition: Expects a boolean\n :param reason: Expects a string" | 47 | false | jmvrbanac/Specter | skip_if | 27,562 | |
LDU_FT/JohnVinyard/zounds/_hz_to_semitones | LDU_FT | [
"<BEGIN>\n## `validate`",
"Ensure that the size of the dimension matches the number of bands in the\n scale",
" Raises:\n ValueError: when the dimension size and number of bands don't match\n<END>",
"<BEGIN>\n## `resampled`",
"Create a basic processing pipeline that can resample al... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _hz_to_semitones API.
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 _hz_to_semitones API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Convert hertz into a number of semitones above or below some reference
value, in this case, A440 | "Convert hertz into a number of semitones above or below some reference\n value, in this case, A440" | 97 | false | JohnVinyard/zounds | _hz_to_semitones | 27,563 | |
LDU_FT/mbr/tinyrpc/dispatch | LDU_FT | [
"<BEGIN>\n## `error_respond`",
"Converts the error to an error response object.",
" :return: An error response object ready to be serialized and sent to the client.\n :rtype: :py:class:`JSONRPCErrorResponse`\n<END>",
"<BEGIN>\n## `error_respond`",
"Create an error response to this request.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dispatch API.
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 dispatch API.
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... | Fully handle request.
The dispatch method determines which method to call, calls it and
returns a response containing a result.
No exceptions will be thrown, rather, every exception will be turned
into a response using :py:func:`~tinyrpc.RPCRequest.error_respond`.
If a method ... | "Fully handle request.\n\n The dispatch method determines which method to call, calls it and\n returns a response containing a result.\n\n No exceptions will be thrown, rather, every exception will be turned\n into a response using :py:func:`~tinyrpc.RPCRequest.error_respond`.\n\n If ... | 120 | false | mbr/tinyrpc | dispatch | 27,564 | |
LDU_FT/CodyKochmann/strict_functions/get_locals | LDU_FT | [
"<BEGIN>\n## `has_args`",
"returns true if the decorator invocation\n had arguments passed to it before being\n sent a function to decorate\n<END>",
"<BEGIN>\n## `identify`",
"returns a tuple that is used to match\n functions to their neighbors in their\n resident n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_locals API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_locals API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | returns a formatted view of the local variables in a frame | "returns a formatted view of the local variables in a frame" | 48 | false | CodyKochmann/strict_functions | get_locals | 27,565 | |
LDU_FT/PSPC-SPAC-buyandsell/von_anchor/close | LDU_FT | [
"<BEGIN>\n## `least_role`",
"Return the TRUSTEE indy-sdk role for an anchor acting in an AnchorSmith capacity.",
" :return: TRUSTEE role\n<END>",
"<BEGIN>\n## `send_nym`",
"Send input anchor's cryptonym (including DID, verification key, plus optional alias and role)\n to the distributed ledger... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d... | Explicit exit. If so configured, populate cache to prove for any creds on schemata,
cred defs, and rev regs marked of interest in configuration at initialization,
archive cache, and purge prior cache archives.
:return: current object | "Explicit exit. If so configured, populate cache to prove for any creds on schemata,\n cred defs, and rev regs marked of interest in configuration at initialization,\n archive cache, and purge prior cache archives.\n\n :return: current object" | 734 | false | PSPC-SPAC-buyandsell/von_anchor | close | 27,566 | |
LDU_FT/crunchyroll/ef-open/handle_args_and_set_context | LDU_FT | [
"<BEGIN>\n## `services`",
"Args:\n service_group: optional name of service group\n Returns:\n if service_group is omitted or None, flattened dict of all service records in the service registry\n if service_group is present, dict of service records in that group\n<END>",
"<BEGIN>\n## `iter_serv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_args_and_set_context 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 handle_args_and_set_context API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Args:
args: the command line args, probably passed from main() as sys.argv[1:]
Returns:
a populated EFPWContext object
Raises:
RuntimeError: if repo or branch isn't as spec'd in ef_config.EF_REPO and ef_config.EF_REPO_BRANCH
ValueError: if a parameter is invalid | "Args:\n args: the command line args, probably passed from main() as sys.argv[1:]\n Returns:\n a populated EFPWContext object\n Raises:\n RuntimeError: if repo or branch isn't as spec'd in ef_config.EF_REPO and ef_config.EF_REPO_BRANCH\n ValueError: if a parameter is invalid" | 231 | false | crunchyroll/ef-open | handle_args_and_set_context | 27,567 | |
LDU_FT/aloetesting/aloe_django/mail_sent_count | LDU_FT | [
"<BEGIN>\n## `run_from_argv`",
"Set the default Gherkin test runner for its options to be parsed.\n<END>",
"<BEGIN>\n## `django_url`",
"The URL for a page from the test server.",
" :param step: A Gherkin step\n :param url: If specified, the relative URL to append.\n<END>",
"<BEGIN>\n## `_models_gene... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mail_sent_count API.
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 mail_sent_count API.
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... | Test that `count` mails have been sent.
Syntax:
I have sent `count` emails
Example:
.. code-block:: gherkin
Then I have sent 2 emails | "Test that `count` mails have been sent.\n\n Syntax:\n\n I have sent `count` emails\n\n Example:\n\n .. code-block:: gherkin\n\n Then I have sent 2 emails" | 58 | false | aloetesting/aloe_django | mail_sent_count | 27,568 | |
LDU_FT/arogozhnikov/einops/rearrange | LDU_FT | [
"<BEGIN>\n## `parse_expression`",
"Parses an indexing expression (for a single tensor).\n Checks uniqueness of names, checks usage of '...' (allowed only once)\n Returns set of all used identifiers and a list of axis groups\n<END>",
"<BEGIN>\n## `_check_elementary_axis_name`",
"Valid elementary axes con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rearrange API.
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 rearrange API.
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... | einops.rearrange is a reader-friendly smart element reordering for multidimensional tensors.
This operation includes functionality of transpose (axes permutation), reshape (view), squeeze, unsqueeze,
stack, concatenate and other operations.
Examples for rearrange operation:
>>> # suppose we have a set... | "einops.rearrange is a reader-friendly smart element reordering for multidimensional tensors.\n This operation includes functionality of transpose (axes permutation), reshape (view), squeeze, unsqueeze,\n stack, concatenate and other operations.\n\n Examples for rearrange operation:\n\n >>> # suppose we hav... | 32 | false | arogozhnikov/einops | rearrange | 27,569 | |
LDU_FT/dfm/celerite/log_likelihood | LDU_FT | [
"<BEGIN>\n## `compute`",
"Compute the extended form of the covariance matrix and factorize",
" Args:\n x (array[n]): The independent coordinates of the data points.\n This array must be _sorted_ in ascending order.\n yerr (Optional[float or array[n]]): The measurement... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_likelihood API.
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 log_likelihood API.
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... | Compute the marginalized likelihood of the GP model
The factorized matrix from the previous call to :func:`GP.compute` is
used so ``compute`` must be called first.
Args:
y (array[n]): The observations at coordinates ``x`` from
:func:`GP.compute`.
quiet (... | "Compute the marginalized likelihood of the GP model\n\n The factorized matrix from the previous call to :func:`GP.compute` is\n used so ``compute`` must be called first.\n\n Args:\n y (array[n]): The observations at coordinates ``x`` from\n :func:`GP.compute`.\n ... | 64 | false | dfm/celerite | log_likelihood | 27,570 | |
LDU_FT/erikrose/more-itertools/unique_to_each | LDU_FT | [
"<BEGIN>\n## `first`",
"Return the first item of *iterable*, or *default* if *iterable* is\n empty.",
" >>> first([0, 1, 2, 3])\n 0\n >>> first([], 'some default')\n 'some default'",
" If *default* is not provided and there are no items in the iterable,\n raise ``ValueErro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique_to_each API.
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 unique_to_each API.
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... | Return the elements from each of the input iterables that aren't in the
other input iterables.
For example, suppose you have a set of packages, each with a set of
dependencies::
{'pkg_1': {'A', 'B'}, 'pkg_2': {'B', 'C'}, 'pkg_3': {'B', 'D'}}
If you remove one package, which dependencies can a... | "Return the elements from each of the input iterables that aren't in the\n other input iterables.\n\n For example, suppose you have a set of packages, each with a set of\n dependencies::\n\n {'pkg_1': {'A', 'B'}, 'pkg_2': {'B', 'C'}, 'pkg_3': {'B', 'D'}}\n\n If you remove one package, which dependenc... | 342 | false | erikrose/more-itertools | unique_to_each | 27,571 | |
LDU_FT/sholsapp/py509/load_x509_certificates | LDU_FT | [
"<BEGIN>\n## `tree`",
"Print a tree.",
" Sometimes it's useful to print datastructures as a tree. This function prints\n out a pretty tree with root `node`. A tree is represented as a :class:`dict`,\n whose keys are node names and values are :class:`dict` objects for sub-trees\n and :class:`None` for termin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_x509_certificates 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_x509_certificates 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 one or multiple X.509 certificates from a buffer.
:param str buf: A buffer is an instance of `basestring` and can contain multiple
certificates.
:return: An iterator that iterates over certificates in a buffer.
:rtype: list[:class:`OpenSSL.crypto.X509`] | "Load one or multiple X.509 certificates from a buffer.\n\n :param str buf: A buffer is an instance of `basestring` and can contain multiple\n certificates.\n :return: An iterator that iterates over certificates in a buffer.\n :rtype: list[:class:`OpenSSL.crypto.X509`]" | 37 | false | sholsapp/py509 | load_x509_certificates | 27,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.