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/django-fluent/django-fluent-contents/set_cached_output | LDU_FT | [
"<BEGIN>\n## `type_id`",
"Shortcut to retrieving the ContentType id of the model.\n<END>",
"<BEGIN>\n## `get_output_cache_key`",
".. versionadded:: 0.9\n Return the default cache key which is used to store a rendered item.\n By default, this function generates the cache key using :func:`ge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cached_output API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cached_output API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | .. versionadded:: 0.9
Store the cached output for a rendered item.
This method can be overwritten to implement custom caching mechanisms.
By default, this function generates the cache key using :func:`~fluent_contents.cache.get_rendering_cache_key`
and stores the results in ... | ".. versionadded:: 0.9\n Store the cached output for a rendered item.\n\n This method can be overwritten to implement custom caching mechanisms.\n By default, this function generates the cache key using :func:`~fluent_contents.cache.get_rendering_cache_key`\n and stores the resul... | 227 | false | django-fluent/django-fluent-contents | set_cached_output | 141,573 | |
LDU_FT/opengridcc/opengrid/_prune | LDU_FT | [
"<BEGIN>\n## `add`",
"Add the path of a data set to the list of available sets",
" NOTE: a data set is assumed to be a pickled\n and gzip compressed Pandas DataFrame",
" Parameters\n ----------\n path : str\n<END>",
"<BEGIN>\n## `unpack`",
"Unpacks a data set to a Pandas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prune API.
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 _prune API.
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 ... | If the fit contains statistically insignificant parameters, remove them.
Returns a pruned fit where all parameters have p-values of the t-statistic below p_max
Parameters
----------
fit: fm.ols fit object
Can contain insignificant parameters
p_max : float
... | "If the fit contains statistically insignificant parameters, remove them.\n Returns a pruned fit where all parameters have p-values of the t-statistic below p_max\n\n Parameters\n ----------\n fit: fm.ols fit object\n Can contain insignificant parameters\n p_max : float\n ... | 84 | false | opengridcc/opengrid | _prune | 141,574 | |
LDU_FT/eleme/meepo/_pk | LDU_FT | [
"<BEGIN>\n## `zmq_sub`",
"0mq fanout sub.",
" This sub will use zeromq to fanout the events.",
" :param bind: the zmq pub socket or zmq device socket.\n :param tables: the events of tables to follow.\n :param forwarder: set to True if zmq pub to a forwarder device.\n :param green: weather to us... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pk API.
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 _pk API.
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 pk values from object
:param obj: sqlalchemy object | "Get pk values from object\n\n :param obj: sqlalchemy object" | 110 | false | eleme/meepo | _pk | 141,575 | |
LDU_FT/ofir123/py-printer/_get_pretty_table | LDU_FT | [
"<BEGIN>\n## `get_printer`",
"Returns an already initialized instance of the printer.",
" :param colors: If False, no colors will be printed.\n :param width_limit: If True, printing width will be limited by console width.\n :param disabled: If True, nothing will be printed.\n<END>",
"<BEGIN>\n## `_ge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_pretty_table API.
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_pretty_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Returns the table format of the scheme, i.e.:
<table name>
+----------------+----------------
| <field1> | <field2>...
+----------------+----------------
| value1(field1) | value1(field2)
| value2(field1) | value2(field2)
| value3(field1) | value3(... | "Returns the table format of the scheme, i.e.:\n\n <table name>\n +----------------+----------------\n | <field1> | <field2>...\n +----------------+----------------\n | value1(field1) | value1(field2)\n | value2(field1) | value2(field2)\n | value3(field1) |... | 46 | false | ofir123/py-printer | _get_pretty_table | 141,576 | |
LDU_FT/nccgroup/opinel/delete_virtual_mfa_device | LDU_FT | [
"<BEGIN>\n## `read_default_args`",
"Read default argument values for a given tool",
" :param tool_name: Name of the script to read the default arguments for\n :return: Dictionary of default arguments (shared + tool-specific)\n<END>",
"<BEGIN>\n## `prompt`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_virtual_mfa_device API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_virtual_mfa_device API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Delete a vritual MFA device given its serial number
:param iam_client:
:param mfa_serial:
:return: | "Delete a vritual MFA device given its serial number\n\n :param iam_client:\n :param mfa_serial:\n :return:" | 132 | false | nccgroup/opinel | delete_virtual_mfa_device | 141,577 | |
LDU_FT/manahl/arctic/update_one | LDU_FT | [
"<BEGIN>\n## `delete`",
"Delete all chunks for a symbol.",
" Which are, for the moment, fully contained in the passed in\n date_range.",
" Parameters\n ----------\n symbol : `str`\n symbol name for the item\n date_range : `date.DateRange`\n DateR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_one API.
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 update_one API.
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... | See http://api.mongodb.com/python/current/api/pymongo/collection.html#pymongo.collection.Collection.update_one | "See http://api.mongodb.com/python/current/api/pymongo/collection.html#pymongo.collection.Collection.update_one" | 429 | false | manahl/arctic | update_one | 141,578 | |
LDU_FT/FNNDSC/med2image/verbosity | LDU_FT | [
"<BEGIN>\n## `verbosity`",
"get/set the verbosity level.",
" The verbosity level filters messages that are output\n to the console. Only messages tagged with a verbosity\n less-than-or-equal-to the class verbosity are output.",
" This does not affect output to non-console devices\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verbosity API.
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 verbosity API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | get/set the verbosity level.
The verbosity level filters messages that are output
to the console. Only messages tagged with a verbosity
less-than-or-equal-to the class verbosity are output.
This does not affect output to non-console devices
such as files or remote sockets.
... | "get/set the verbosity level.\n\n The verbosity level filters messages that are output\n to the console. Only messages tagged with a verbosity\n less-than-or-equal-to the class verbosity are output.\n\n This does not affect output to non-console devices\n such as files or remote socke... | 131 | false | FNNDSC/med2image | verbosity | 141,579 | |
LDU_FT/pmorissette/ffn/scale | LDU_FT | [
"<BEGIN>\n## `memoize`",
"Memoize decorator. The refresh keyword is the keyword\n used to bypass the cache (in the function call).\n<END>",
"<BEGIN>\n## `parse_arg`",
"Parses arguments for convenience. Argument can be a\n csv list ('a,b,c'), a string, a list, a tuple.",
" Returns a list.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scale API.
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 scale API.
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... | Scale value from src range to dst range.
If value outside bounds, it is clipped and set to
the low or high bound of dst.
Ex:
scale(0, (0.0, 99.0), (-1.0, 1.0)) == -1.0
scale(-5, (0.0, 99.0), (-1.0, 1.0)) == -1.0 | "Scale value from src range to dst range.\n If value outside bounds, it is clipped and set to\n the low or high bound of dst.\n\n Ex:\n scale(0, (0.0, 99.0), (-1.0, 1.0)) == -1.0\n scale(-5, (0.0, 99.0), (-1.0, 1.0)) == -1.0" | 176 | false | pmorissette/ffn | scale | 141,580 | |
LDU_FT/callowayproject/Transmogrify/convert_to_rgb | LDU_FT | [
"<BEGIN>\n## `list_from_env`",
"Splits a string in the format \"a,b,c,d,e,f\" into\n ['a', 'b', 'c', 'd', 'e', 'f', ]\n<END>",
"<BEGIN>\n## `lists_from_env`",
"Splits a string in the format \"a,b:c,d,e:f\" into\n [('a', 'b'), ('c', 'd', 'e'), ('f', )]\n<END>",
"<BEGIN>\n## `get_crop_size`",
"Determi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_to_rgb API.
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 convert_to_rgb API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Convert an image to RGB if it isn't already RGB or grayscale | "Convert an image to RGB if it isn't already RGB or grayscale" | 110 | false | callowayproject/Transmogrify | convert_to_rgb | 141,581 | |
LDU_FT/aio-libs/aiohttp-cors/_on_response_prepare | LDU_FT | [
"<BEGIN>\n## `_parse_config_options`",
"Parse CORS configuration (default or per-route)",
" :param config:\n Mapping from Origin to Resource configuration (allowed headers etc)\n defined either as mapping or `ResourceOptions` instance.",
" Raises `ValueError` if configuration is not correc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_response_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_response_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.
... | Non-preflight CORS request response processor.
If request is done on CORS-enabled route, process request parameters
and set appropriate CORS response headers. | "Non-preflight CORS request response processor.\n\n If request is done on CORS-enabled route, process request parameters\n and set appropriate CORS response headers." | 38 | false | aio-libs/aiohttp-cors | _on_response_prepare | 141,582 | |
LDU_FT/WhyNotHugo/django-afip/validate | LDU_FT | [
"<BEGIN>\n## `catch_errors`",
"Catches specific errors in admin actions and shows a friendly error.\n<END>",
"<BEGIN>\n## `numbers`",
"Returns the barcode's number without the verification digit.",
" :return: list(int)\n<END>",
"<BEGIN>\n## `verification_digit`",
"Returns the verification digit f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Validates this receipt.
This is a shortcut to :class:`~.ReceiptQuerySet`'s method of the same
name. Calling this validates only this instance.
:param AuthTicket ticket: Use this ticket. If None, one will be loaded
or created automatically.
:param bool raise_: If True, an ex... | "Validates this receipt.\n\n This is a shortcut to :class:`~.ReceiptQuerySet`'s method of the same\n name. Calling this validates only this instance.\n\n :param AuthTicket ticket: Use this ticket. If None, one will be loaded\n or created automatically.\n :param bool raise_: If Tru... | 96 | false | WhyNotHugo/django-afip | validate | 141,583 | |
LDU_FT/benmack/eo-box/windows_df | LDU_FT | [
"<BEGIN>\n## `buildvrt`",
"Build a VRT",
" See also: https://www.gdal.org/gdalbuildvrt.html",
" You can find the possible BuildVRTOptions (**kwargs**) here:\n https://github.com/nextgis/pygdal/blob/78a793057d2162c292af4f6b240e19da5d5e52e2/2.1.0/osgeo/gdal.py#L1051",
" Arguments:\n input_f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the windows_df API.
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 windows_df API.
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... | Get Windows (W) W-row, W-col and W-index of windows e.g. loaded with :meth:`block_windows` as a dataframe.
Returns:
[dataframe] -- A dataframe with the window information and indices (row, col, index). | "Get Windows (W) W-row, W-col and W-index of windows e.g. loaded with :meth:`block_windows` as a dataframe.\n\n Returns:\n [dataframe] -- A dataframe with the window information and indices (row, col, index)." | 98 | false | benmack/eo-box | windows_df | 141,584 | |
LDU_FT/MultipedRobotics/pyxl320/read | LDU_FT | [
"<BEGIN>\n## `makeServoIDPacket`",
"Given the current ID, returns a packet to set the servo to a new ID\n<END>",
"<BEGIN>\n## `packetToDict`",
"Given a packet, this turns it into a dictionary ... is this useful?",
"\tin: packet, array of numbers\n\tout: dictionary (key, value)\n<END>",
"<BEGIN>\n## `sweep... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | This toggles the RTS pin and reads in data. It also converts the buffer
back into a list of bytes and searches through the list to find valid
packets of info. If there is more than one packet, this returns an
array of valid packets. | "This toggles the RTS pin and reads in data. It also converts the buffer\n\t\tback into a list of bytes and searches through the list to find valid\n\t\tpackets of info. If there is more than one packet, this returns an\n\t\tarray of valid packets." | 71 | false | MultipedRobotics/pyxl320 | read | 141,585 | |
LDU_FT/kevinconway/venvctrl/files | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new virtual environment.",
" Args:\n python (str): The name or path of a python interpreter to use while\n creating the virtual environment.\n system_site (bool): Whether or not use use the system site packages\n within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Get an iter of VenvFiles within the directory. | "Get an iter of VenvFiles within the directory." | 51 | false | kevinconway/venvctrl | files | 141,586 | |
LDU_FT/bootphon/h5features/_eq_dicts | LDU_FT | [
"<BEGIN>\n## `init_group`",
"Initializes a HDF5 group compliant with the stored data.",
" This method creates the datasets 'items', 'labels', 'features'\n and 'index' and leaves them empty.",
" :param h5py.Group group: The group to initializes.\n :param float chunk_size: The size o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _eq_dicts API.
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 _eq_dicts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns True if d1 == d2, False otherwise | "Returns True if d1 == d2, False otherwise" | 119 | false | bootphon/h5features | _eq_dicts | 141,587 | |
LDU_FT/inspirehep/inspire-query-parser/unconsume_and_reconstruct_input | LDU_FT | [
"<BEGIN>\n## `_restructure_if_volume_follows_journal`",
"Remove volume node if it follows a journal logically in the tree hierarchy.",
" Args:\n left (ast.ASTElement): The journal KeywordOp node.\n right (ast.ASTElement): The rest of the tree to be restructured.",
" Return:\n (ast.A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unconsume_and_reconstruct_input API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unconsume_and_reconstruct_input API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Reconstruct input in case of consuming a keyword query or a value query with ComplexValue as value.
Un-consuming at most 3 elements and specifically (Keyword,) Whitespace and ComplexValue, while also
reconstructing parser's input text.
Example:
Given this query "author foo t 'bar'"... | "Reconstruct input in case of consuming a keyword query or a value query with ComplexValue as value.\n\n Un-consuming at most 3 elements and specifically (Keyword,) Whitespace and ComplexValue, while also\n reconstructing parser's input text.\n\n Example:\n Given this query \"author foo ... | 142 | false | inspirehep/inspire-query-parser | unconsume_and_reconstruct_input | 141,588 | |
LDU_FT/PythonOptimizers/cygenja/add_unique_element | LDU_FT | [
"<BEGIN>\n## `set_parent`",
"Attach node to its parent.",
" Args:\n node: Parent node.",
" Note:\n ``node`` can be ``None``. In that case, the node is detached from its previous parent.\n<END>",
"<BEGIN>\n## `set_child_node`",
"Add one child node to this node.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_unique_element 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 add_unique_element 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... | Create an entry located at ``location``.
Args:
location: String or :class:`LocationDescriptor` to describe a "separator location" (i.e. dir1/dir2/dir3 for
instance).
element: Element to store.
Returns:
The created node with the elemen... | "Create an entry located at ``location``.\n \n Args:\n location: String or :class:`LocationDescriptor` to describe a \"separator location\" (i.e. dir1/dir2/dir3 for\n instance).\n element: Element to store.\n \n Returns:\n The created node with... | 132 | false | PythonOptimizers/cygenja | add_unique_element | 141,589 | |
LDU_FT/amicks/Speculator/get_json_shift | LDU_FT | [
"<BEGIN>\n## `set_targets`",
"Sets target market trend for a date",
" Args:\n x: Pandas DataFrame of market features\n delta: Positive number defining a price buffer between what is\n classified as a bullish/bearish market for the training set.\n delta is equivalent to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_json_shift API.
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 get_json_shift API.
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... | Gets JSON from shifted date by the Poloniex API
Args:
year: Int between 1 and 9999.
month: Int between 1 and 12.
day: Int between 1 and 31.
unit: String of time period unit for count argument.
How far back to check historical market data.
Valid values: 'hour'... | "Gets JSON from shifted date by the Poloniex API\n\n Args:\n year: Int between 1 and 9999.\n month: Int between 1 and 12.\n day: Int between 1 and 31.\n unit: String of time period unit for count argument.\n How far back to check historical market data.\n Valid value... | 104 | false | amicks/Speculator | get_json_shift | 141,590 | |
LDU_FT/scalative/haas/add_result | LDU_FT | [
"<BEGIN>\n## `run`",
"Run the haas test runner.",
" This will load and configure the selected plugins, set up the\n environment and begin test discovery, loading and running.",
" Parameters\n ----------\n plugin_manager : haas.plugin_manager.PluginManager\n [Optio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_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 extrac... | Add an already-constructed :class:`~.TestResult` to this
:class:`~.ResultCollector`.
This may be used when collecting results created by other
ResultCollectors (e.g. in subprocesses). | "Add an already-constructed :class:`~.TestResult` to this\n :class:`~.ResultCollector`.\n\n This may be used when collecting results created by other\n ResultCollectors (e.g. in subprocesses)." | 66 | false | scalative/haas | add_result | 141,591 | |
LDU_FT/python-beaver/python-beaver/callback | LDU_FT | [
"<BEGIN>\n## `open`",
"Opens the file with the appropriate call\n<END>",
"<BEGIN>\n## `_buffer_extract`",
"Extract takes an arbitrary string of input data and returns an array of\n tokenized entities, provided there were any available to extract. This\n makes for easy processing of datagrams us... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the callback API.
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 callback API.
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... | publishes lines one by one to the given topic | "publishes lines one by one to the given topic" | 58 | false | python-beaver/python-beaver | callback | 141,592 | |
LDU_FT/huggingface/pytorch-pretrained-BERT/_is_chinese_char | LDU_FT | [
"<BEGIN>\n## `from_json_file`",
"Constructs a `GPT2Config` from a json file of parameters.\n<END>",
"<BEGIN>\n## `from_pretrained`",
"Instantiate a GPT2PreTrainedModel from a pre-trained model file or a pytorch state dict.\n Download and cache the pre-trained model file if needed.",
" Params:\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_chinese_char API.
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 _is_chinese_char API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Checks whether CP is the codepoint of a CJK character. | "Checks whether CP is the codepoint of a CJK character." | 115 | false | huggingface/pytorch-pretrained-BERT | _is_chinese_char | 141,593 | |
LDU_FT/pavelsof/ipatok/load_replacements | LDU_FT | [
"<BEGIN>\n## `normalise`",
"Convert each character of the string to the normal form in which it was\n\tdefined in the IPA spec. This would be normal form D, except for the\n\tvoiceless palatar fricative (ç) which should be in normal form C.",
"\tHelper for tokenise_word(string, ..).\n<END>",
"<BEGIN>\n## `gro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_replacements API.
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 load_replacements API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Populate self.replacements using the specified file. | "Populate self.replacements using the specified file." | 47 | false | pavelsof/ipatok | load_replacements | 141,594 | |
LDU_FT/cgearhart/Resound/_extract_peaks | LDU_FT | [
"<BEGIN>\n## `main`",
"Calculate the fingerprint hashses of the referenced audio file and save\n to disk as a pickle file\n<END>",
"<BEGIN>\n## `hashes`",
"Generator function for successive hashes calculated from a mono-channel\n time-domain audio signal as a set of tuples, (<long>, <int>). The <long>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_peaks API.
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 _extract_peaks API.
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... | Partition the spectrogram into subcells and extract peaks from each
cell if the peak is sufficiently energetic compared to the neighborhood. | "Partition the spectrogram into subcells and extract peaks from each\n cell if the peak is sufficiently energetic compared to the neighborhood." | 15 | false | cgearhart/Resound | _extract_peaks | 141,595 | |
LDU_FT/nanoporetech/ont_fast5_api/set_event_data | LDU_FT | [
"<BEGIN>\n## `_clean`",
"Convert numpy numeric types to their python equivalents.\n<END>",
"<BEGIN>\n## `get_prior_alignment`",
"Return the prior alignment that was used for 2D basecalling.",
" :return: Alignment data table.\n<END>",
"<BEGIN>\n## `get_2d_call_alignment`",
"Return the alignment an... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_event_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_event_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Set event data with the specied attributes.
:param data: Event data table.
:param read_attrs: Attributes to put on the read group. This must include
the read_number, which must refer to a read present in the object. The
attributes should not include the standard read att... | "Set event data with the specied attributes.\n \n :param data: Event data table.\n :param read_attrs: Attributes to put on the read group. This must include\n the read_number, which must refer to a read present in the object. The\n attributes should not include the standard re... | 159 | false | nanoporetech/ont_fast5_api | set_event_data | 141,596 | |
LDU_FT/mardix/ses-mailer/_get_sender | LDU_FT | [
"<BEGIN>\n## `_get_template`",
"Retrieve the cached version of the template\n<END>",
"<BEGIN>\n## `render_blocks`",
"To render all the blocks\n :param template_name: The template file name\n :param context: **kwargs context to render\n :retuns dict: of all the blocks with block_name as ke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_sender API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_sender API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return a tuple of 3 elements
0: the email signature "Me <email@me.com>"
1: the name "Me"
2: the email address "email@me.com"
if sender is an email string, all 3 elements will be the email address | "Return a tuple of 3 elements\n 0: the email signature \"Me <email@me.com>\"\n 1: the name \"Me\"\n 2: the email address \"email@me.com\"\n\n if sender is an email string, all 3 elements will be the email address" | 28 | false | mardix/ses-mailer | _get_sender | 141,597 | |
LDU_FT/AlecAivazis/graphql-over-kafka/publish | LDU_FT | [
"<BEGIN>\n## `roll_call_handler`",
"This action handler responds to the \"roll call\" emitted by the api\n gateway when it is brought up with the normal summary produced by\n the service.\n<END>",
"<BEGIN>\n## `flexible_api_handler`",
"This query handler builds the dynamic picture of availible s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish API.
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 publish API.
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... | Publish a message with the specified action_type and payload over the
event system. Useful for debugging. | "Publish a message with the specified action_type and payload over the\n event system. Useful for debugging." | 145 | false | AlecAivazis/graphql-over-kafka | publish | 141,598 | |
LDU_FT/JoelBender/bacpypes/process_task | LDU_FT | [
"<BEGIN>\n## `decode_packet`",
"decode the data, return some kind of PDU.\n<END>",
"<BEGIN>\n## `decode_file`",
"Given the name of a pcap file, open it, decode the contents and yield each packet.\n<END>",
"<BEGIN>\n## `stop`",
"Call to stop running, may be called with a signum and frame\n parameter if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_task API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | This function is called when something has taken too long. | "This function is called when something has taken too long." | 376 | false | JoelBender/bacpypes | process_task | 141,599 | |
LDU_FT/pyvisa/pyvisa/move_in | LDU_FT | [
"<BEGIN>\n## `pass_control`",
"Tell the GPIB device at the specified address to become controller in charge (CIC).",
" Corresponds to viGpibPassControl function of the VISA library.",
" :param primary_address: Primary address of the GPIB device to which you want to pass control.\n :param ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_in API.
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 move_in API.
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... | Moves a block of data to local memory from the specified address space and offset.
Corresponds to viMoveIn* functions of the VISA library.
:param session: Unique logical identifier to a session.
:param space: Specifies the address space. (Constants.*SPACE*)
:param offset: Offset (in by... | "Moves a block of data to local memory from the specified address space and offset.\n\n Corresponds to viMoveIn* functions of the VISA library.\n\n :param session: Unique logical identifier to a session.\n :param space: Specifies the address space. (Constants.*SPACE*)\n :param offset: Offset... | 529 | false | pyvisa/pyvisa | move_in | 141,600 | |
LDU_FT/DataONEorg/d1_python/_next_page | LDU_FT | [
"<BEGIN>\n## `wrap`",
"Work with the AccessPolicy in a SystemMetadata PyXB object.",
" Args:\n access_pyxb : AccessPolicy PyXB object\n The AccessPolicy to modify.",
" read_only: bool\n Do not update the wrapped AccessPolicy.",
" When only a single AccessPolicy operation is nee... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _next_page API.
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 _next_page API.
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... | Retrieves the next set of results from the service. | "Retrieves the next set of results from the service." | 1,937 | true | DataONEorg/d1_python | _next_page | 141,601 | |
LDU_FT/iblancasa/GitHubCity/getCityUsers | LDU_FT | [
"<BEGIN>\n## `export`",
"Export all attributes of the user to a dict.",
" :return: attributes of the user.\n :rtype: dict.\n<END>",
"<BEGIN>\n## `__getContributions`",
"Scrap the contributions from a GitHub profile.",
" :param web: parsed web.\n :type web: BeautifulSoup node.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getCityUsers API.
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 getCityUsers API.
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 all the users from the city.
:param numberOfThreads: number of threads to run.
:type numberOfThreads: int. | "Get all the users from the city.\n\n :param numberOfThreads: number of threads to run.\n :type numberOfThreads: int." | 97 | false | iblancasa/GitHubCity | getCityUsers | 141,602 | |
LDU_FT/saltstack/salt/_string_put_transform | LDU_FT | [
"<BEGIN>\n## `_config`",
"Return a value for 'name' from command line args then config file options.\n Specify 'key' if the config file option is not the same as 'name'.\n<END>",
"<BEGIN>\n## `add_host`",
"Add, replace, or update the A and PTR (reverse) records for a host.",
" CLI Example:",
" ..... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _string_put_transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _string_put_transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | transfrom for a REG_SZ to properly handle "Not Defined" | "transfrom for a REG_SZ to properly handle \"Not Defined\"" | 61,937 | true | saltstack/salt | _string_put_transform | 141,603 | |
LDU_FT/royi1000/py-libhdate/havdalah | LDU_FT | [
"<BEGIN>\n## `gdate_to_jdn`",
"Compute Julian day from Gregorian day, month and year.",
" Algorithm from wikipedia's julian_day article.\n Return: The julian day number\n<END>",
"<BEGIN>\n## `hdate_to_jdn`",
"Compute Julian day from Hebrew day, month and year.",
" Return: julian day number,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the havdalah API.
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 havdalah API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return the time for havdalah, or None if not applicable.
If havdalah_offset is 0, uses the time for three_stars. Otherwise,
adds the offset to the time of sunset and uses that.
If it's currently a multi-day YomTov, and the end of the stretch is
after today, the havdalah value is defined... | "Return the time for havdalah, or None if not applicable.\n\n If havdalah_offset is 0, uses the time for three_stars. Otherwise,\n adds the offset to the time of sunset and uses that.\n If it's currently a multi-day YomTov, and the end of the stretch is\n after today, the havdalah value is d... | 70 | false | royi1000/py-libhdate | havdalah | 141,604 | |
LDU_FT/GuyAllard/markov_clustering/iterate | LDU_FT | [
"<BEGIN>\n## `is_undirected`",
"Determine if the matrix reprensents a directed graph",
" :param matrix: The matrix to tested\n :returns: boolean\n<END>",
"<BEGIN>\n## `convert_to_adjacency_matrix`",
"Converts transition matrix into adjacency matrix",
" :param matrix: The matrix to be converted\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterate API.
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 iterate API.
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... | Run a single iteration (expansion + inflation) of the mcl algorithm
:param matrix: The matrix to perform the iteration on
:param expansion: Cluster expansion factor
:param inflation: Cluster inflation factor | "Run a single iteration (expansion + inflation) of the mcl algorithm\n \n :param matrix: The matrix to perform the iteration on\n :param expansion: Cluster expansion factor\n :param inflation: Cluster inflation factor" | 41 | false | GuyAllard/markov_clustering | iterate | 141,605 | |
LDU_FT/ECRL/ecabc/__update | LDU_FT | [
"<BEGIN>\n## `add_argument`",
"Add an additional argument to be passed to the fitness function\n via additional arguments dictionary; this argument/value is not tuned",
" Args:\n arg_name (string): name/dictionary key of argument\n arg_value (any): dictionary value of argumen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Update the best score and values if the given score is better than
the current best score
Args:
score (float): new score to evaluate
values (list): new value ranges to evaluate
error (float): new fitness function return value to evaluate
Returns:
... | "Update the best score and values if the given score is better than\n the current best score\n\n Args:\n score (float): new score to evaluate\n values (list): new value ranges to evaluate\n error (float): new fitness function return value to evaluate\n\n Returns:\n ... | 67 | false | ECRL/ecabc | __update | 141,606 | |
LDU_FT/santosjorge/cufflinks/subplots | LDU_FT | [
"<BEGIN>\n## `to_df`",
"Extracts the data from a Plotly Figure",
" Parameters\n ----------\n figure : plotly_figure\n Figure from which data will be \n extracted",
" Returns a DataFrame or list of DataFrame\n<END>",
"<BEGIN>\n## `to_rgba`",
"Converts from hex|rgb ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subplots API.
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 subplots API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Generates a subplot view for a set of figures
This is a wrapper for plotly.tools.make_subplots
Parameters:
-----------
figures : [Figures]
List of Plotly Figures
shape : (rows,cols)
Tuple indicating the size of rows and columns
If omitted then the layout is automatically set
shared_xaxes : bool
As... | "Generates a subplot view for a set of figures\n\tThis is a wrapper for plotly.tools.make_subplots\n\n\tParameters:\n\t-----------\n\t\tfigures : [Figures]\n\t\t\tList of Plotly Figures\n\t\tshape : (rows,cols)\n\t\t\tTuple indicating the size of rows and columns\n\t\t\tIf omitted then the layout is automatically set\n... | 328 | false | santosjorge/cufflinks | subplots | 141,607 | |
LDU_FT/ECRL/ecabc/get_score | LDU_FT | [
"<BEGIN>\n## `add_argument`",
"Add an additional argument to be passed to the fitness function\n via additional arguments dictionary; this argument/value is not tuned",
" Args:\n arg_name (string): name/dictionary key of argument\n arg_value (any): dictionary value of argumen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_score API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_score API.
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... | Calculate bee's fitness score given a value returned by the fitness
function
Args:
error (float): value returned by the fitness function
Returns:
float: derived fitness score | "Calculate bee's fitness score given a value returned by the fitness\n function\n\n Args:\n error (float): value returned by the fitness function\n\n Returns:\n float: derived fitness score" | 67 | false | ECRL/ecabc | get_score | 141,608 | |
LDU_FT/Guake/guake/accel_quit | LDU_FT | [
"<BEGIN>\n## `mk_tab_context_menu`",
"Create the context menu for a notebook tab\n<END>",
"<BEGIN>\n## `mk_notebook_context_menu`",
"Create the context menu for the notebook\n<END>",
"<BEGIN>\n## `trayicon_toggled`",
"If the gconf var use_trayicon be changed, this method will\n be called and will s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the accel_quit API.
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 accel_quit API.
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... | Callback to prompt the user whether to quit Guake or not. | "Callback to prompt the user whether to quit Guake or not." | 184 | false | Guake/guake | accel_quit | 141,609 | |
LDU_FT/RockFeng0/rtsf-web/is_runnnig | LDU_FT | [
"<BEGIN>\n## `get_remote_executors`",
"Get remote hosts from Selenium Grid Hub Console\r\n @param hub_ip: hub ip of selenium grid hub\r\n @param port: hub port of selenium grid hub\n<END>",
"<BEGIN>\n## `gen_remote_driver`",
"Generate remote drivers with desired capabilities(self.__caps) and com... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_runnnig API.
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_runnnig API.
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... | Determine whether hub server is running
:return:True or False | "Determine whether hub server is running\r\n :return:True or False" | 37 | false | RockFeng0/rtsf-web | is_runnnig | 141,610 | |
LDU_FT/BDNYC/astrodbkit/_explicit_query | LDU_FT | [
"<BEGIN>\n## `dict_tovot`",
"Converts dictionary table **tabdata** to a VOTable with name **tabname**",
" Parameters\n ----------\n tabdata: list\n SQL query dictionary list from running query_dict.execute()\n tabname: str\n The name of the VOTable to be created\n phot: bool\n Para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _explicit_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _explicit_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Sorts the column names so they are returned in the same order they are queried. Also turns
ambiguous SELECT statements into explicit SQLite language in case column names are not unique.
HERE BE DRAGONS!!! Bad bad bad. This method needs to be reworked.
Parameters
----------
SQL:... | "Sorts the column names so they are returned in the same order they are queried. Also turns\n ambiguous SELECT statements into explicit SQLite language in case column names are not unique.\n\n HERE BE DRAGONS!!! Bad bad bad. This method needs to be reworked.\n\n Parameters\n ----------\n ... | 166 | false | BDNYC/astrodbkit | _explicit_query | 141,611 | |
LDU_FT/michal-stuglik/django-blastplus/check_allowed_letters | LDU_FT | [
"<BEGIN>\n## `blast`",
"Process blastn/tblastn (blast+) query or set up initial blast form.\n<END>",
"<BEGIN>\n## `chop_sequence`",
"Input sequence is divided on smaller non-overlapping sequences with set length.\n<END>",
"<BEGIN>\n## `best_identities`",
"Returns identities of the best HSP in alignment.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_allowed_letters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_allowed_letters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Validate sequence: Rise an error if sequence contains undesirable letters. | "Validate sequence: Rise an error if sequence contains undesirable letters." | 18 | false | michal-stuglik/django-blastplus | check_allowed_letters | 141,612 | |
LDU_FT/Capitains/MyCapytain/prev | LDU_FT | [
"<BEGIN>\n## `call`",
"Call an endpoint given the parameters",
" :param parameters: Dictionary of parameters\n :type parameters: dict\n :rtype: text\n<END>",
"<BEGIN>\n## `getValidReff`",
"Retrieve valid urn-references for a text",
" :param urn: URN identifying the text\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prev API.
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 prev API.
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... | Previous CapitainsCtsPassage (Interactive CapitainsCtsPassage) | "Previous CapitainsCtsPassage (Interactive CapitainsCtsPassage)" | 473 | false | Capitains/MyCapytain | prev | 141,613 | |
LDU_FT/pmelchior/proxmin/bpgm | LDU_FT | [
"<BEGIN>\n## `prox_gradf_lim`",
"Forward-backward step: gradient, followed by projection\n<END>",
"<BEGIN>\n## `prox_lim12`",
"if boundary == \"circle\":\n if j == 0:\n xy = np.array([x[0], Xs[1][0]])\n if j == 1:\n xy = np.array([Xs[0][0], x[0]])\n return [prox_circ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bpgm API.
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 bpgm API.
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... | Block Proximal Gradient Method.
Also know as Alternating Proximal Gradient Method, it performs Proximal
gradient (forward-backward) updates on each block in alternating fashion.
Args:
X: list of initial Xs, will be updated
proxs_f: proxed function f
Signature prox(X,step, j=Non... | "Block Proximal Gradient Method.\n\n Also know as Alternating Proximal Gradient Method, it performs Proximal\n gradient (forward-backward) updates on each block in alternating fashion.\n\n Args:\n X: list of initial Xs, will be updated\n proxs_f: proxed function f\n Signature prox(X,st... | 91 | false | pmelchior/proxmin | bpgm | 141,614 | |
LDU_FT/EVEprosper/ProsperCommon/configure_slack_logger | LDU_FT | [
"<BEGIN>\n## `render_secrets`",
"combine a jinja template with a secret .ini file",
" Args:\n config_path (str): path to .cfg file with jinja templating\n secret_path (str): path to .ini-like secrets file",
" Returns:\n ProsperConfig: rendered configuration object\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_slack_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_slack_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | logger for sending messages to Slack. Easy way to alert humans of issues
Note:
Will try to overwrite minimum log level to enable requested log_level
Will warn and not attach hipchat logger if missing webhook key
Learn more about webhooks: https://api.slack.com/docs/message-... | "logger for sending messages to Slack. Easy way to alert humans of issues\n\n Note:\n Will try to overwrite minimum log level to enable requested log_level\n Will warn and not attach hipchat logger if missing webhook key\n Learn more about webhooks: https://api.slack.com/docs/me... | 115 | false | EVEprosper/ProsperCommon | configure_slack_logger | 141,615 | |
LDU_FT/xtream1101/web-wrapper/scroll_to_bottom | LDU_FT | [
"<BEGIN>\n## `get_image_dimension`",
"Return a tuple that contains (width, height)\n Pass in a url to an image and find out its size without loading the whole file\n If the image wxh could not be found, the tuple will contain `None` values\n<END>",
"<BEGIN>\n## `screenshot`",
"This can be used n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scroll_to_bottom API.
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 scroll_to_bottom API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Scoll to the very bottom of the page
TODO: add increment & delay options to scoll slowly down the whole page to let each section load in | "Scoll to the very bottom of the page\n TODO: add increment & delay options to scoll slowly down the whole page to let each section load in" | 39 | false | xtream1101/web-wrapper | scroll_to_bottom | 141,616 | |
LDU_FT/ael-code/pyFsdb/to_json_format | LDU_FT | [
"<BEGIN>\n## `copy_content`",
"copy the content of `origin` to `dstPath` in a safe manner.",
" this function will first copy the content to a temporary file\n and then move it atomically to the requested destination.",
" if some error occurred during content copy or file movement\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_json_format API.
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 to_json_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Convert fields of a python dictionary to be dumped in json format | "Convert fields of a python dictionary to be dumped in json format" | 42 | false | ael-code/pyFsdb | to_json_format | 141,617 | |
LDU_FT/droope/droopescan/result_anything_found | LDU_FT | [
"<BEGIN>\n## `_convert_to_folder`",
"Silverstripe's page contains a list of composer packages. This\n function converts those to folder names. These may be different due\n to installer-name.",
" Implemented exponential backoff in order to prevent packager from\n being... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the result_anything_found 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 result_anything_found API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Interim solution for the fact that sometimes determine_scanning_method can
legitimately return a valid scanning method, but it results that the site
does not belong to a particular CMS.
@param result: the result as passed to Output.result()
@return: whether anything was found. | "Interim solution for the fact that sometimes determine_scanning_method can\n legitimately return a valid scanning method, but it results that the site\n does not belong to a particular CMS.\n @param result: the result as passed to Output.result()\n @return: whether anything was found." | 84 | false | droope/droopescan | result_anything_found | 141,618 | |
LDU_FT/whiteclover/dbpy/find_by_username | LDU_FT | [
"<BEGIN>\n## `compile`",
"Building the sql expression",
" :param db: the database instance\n<END>",
"<BEGIN>\n## `find`",
"Find and load the user from database by uid(user id)\n<END>",
"<BEGIN>\n## `find_by_username`",
"Return user by username if find in database otherwise None\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_username API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_username API.
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 user by username if find in database otherwise None | "Return user by username if find in database otherwise None" | 41 | false | whiteclover/dbpy | find_by_username | 141,619 | |
LDU_FT/bunq/sdk_python/_fetch_attribute_specs_from_doc | LDU_FT | [
"<BEGIN>\n## `post`",
":type uri_relative: str\n :type request_bytes: bytes\n :type custom_headers: dict[str, str]",
" :return: BunqResponseRaw\n<END>",
"<BEGIN>\n## `_request`",
":type method: str\n :type uri_relative: str\n :type request_bytes: bytes\n :type param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fetch_attribute_specs_from_doc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fetch_attribute_specs_from_doc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | :type cls_in: type
:type attribute_name: str
:rtype: ValueSpecs | ":type cls_in: type\n :type attribute_name: str\n\n :rtype: ValueSpecs" | 458 | false | bunq/sdk_python | _fetch_attribute_specs_from_doc | 141,620 | |
LDU_FT/carlosp420/dataset-creator/split_data | LDU_FT | [
"<BEGIN>\n## `split_data`",
"Splits the list of SeqRecordExpanded objects into lists, which are\n kept into a bigger list.",
" If the file_format is Nexus, then it is only partitioned by gene. If it\n is FASTA, then it needs partitioning by codon positions if required.",
" Example:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Splits the list of SeqRecordExpanded objects into lists, which are
kept into a bigger list.
If the file_format is Nexus, then it is only partitioned by gene. If it
is FASTA, then it needs partitioning by codon positions if required.
Example:
>>> blocks = [
... ... | "Splits the list of SeqRecordExpanded objects into lists, which are\n kept into a bigger list.\n\n If the file_format is Nexus, then it is only partitioned by gene. If it\n is FASTA, then it needs partitioning by codon positions if required.\n\n Example:\n\n >>> blocks = [\n ... | 54 | false | carlosp420/dataset-creator | split_data | 141,621 | |
LDU_FT/miquelo/resort/read | LDU_FT | [
"<BEGIN>\n## `insert`",
"Build the project.",
"\t\t:param resort.engine.execution.Context context:\n\t\t Current execution context.\n<END>",
"<BEGIN>\n## `load`",
"Load the profile with the given name.",
"\t\t:param str prof_name:\n\t\t Profile name.\n\t\t:rtype:\n\t\t ProfileStub\n\t\t:return:\n\t\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Execute Vagrant read command on instance placed into configuration
directory.
:param resort.engine.execution.Context context:
Current execution context.
:param list cmd_args:
Command argument list. | "Execute Vagrant read command on instance placed into configuration\n\t\tdirectory.\n\t\t\n\t\t:param resort.engine.execution.Context context:\n\t\t Current execution context.\n\t\t:param list cmd_args:\n\t\t Command argument list." | 125 | false | miquelo/resort | read | 141,622 | |
LDU_FT/apache/spark/_getJavaStorageLevel | LDU_FT | [
"<BEGIN>\n## `_parse_datatype_string`",
"Parses the given data type string to a :class:`DataType`. The data type string format equals\n to :class:`DataType.simpleString`, except that top level struct type can omit\n the ``struct<>`` and atomic types use ``typeName()`` as their format, e.g. use ``byte`` inst... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _getJavaStorageLevel 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 _getJavaStorageLevel 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 Java StorageLevel based on a pyspark.StorageLevel. | "Returns a Java StorageLevel based on a pyspark.StorageLevel." | 2,386 | true | apache/spark | _getJavaStorageLevel | 141,623 | |
LDU_FT/simpleai-team/simpleai/beam_best_first | LDU_FT | [
"<BEGIN>\n## `_all_expander`",
"Expander that expands all nodes on the fringe.\n<END>",
"<BEGIN>\n## `beam`",
"Beam search.",
" beam_size is the size of the beam.\n If iterations_limit is specified, the algorithm will end after that\n number of iterations. Else, it will continue until it can't find... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the beam_best_first API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the beam_best_first API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Beam search best first.
beam_size is the size of the beam.
If iterations_limit is specified, the algorithm will end after that
number of iterations. Else, it will continue until it can't find a
better node than the current one.
Requires: SearchProblem.actions, SearchProblem.result, and
SearchPr... | "Beam search best first.\n\n beam_size is the size of the beam.\n If iterations_limit is specified, the algorithm will end after that\n number of iterations. Else, it will continue until it can't find a\n better node than the current one.\n Requires: SearchProblem.actions, SearchProblem.result, and\n ... | 130 | false | simpleai-team/simpleai | beam_best_first | 141,624 | |
LDU_FT/etcher-be/emiz/_extract | LDU_FT | [
"<BEGIN>\n## `unit_pos_to_spot`",
"Translates a unit position to a known parking spot",
" Args:\n unit_pos: unit position as Vec2",
" Returns: ParkingSpot object\n<END>",
"<BEGIN>\n## `_tdec`",
"Translates a 4-digit decimal temperature representation",
" Ex: 1045 -> -4.5°C 0237 -> 23.... | 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 extracte... | 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 extracte... | Extracts the raw_report element from XML response | "Extracts the raw_report element from XML response" | 297 | false | etcher-be/emiz | _extract | 141,625 | |
LDU_FT/ml31415/numpy-groupies/callable | LDU_FT | [
"<BEGIN>\n## `aggregate_group_loop`",
"wraps func in lambda which prevents aggregate_numpy from\n recognising and optimising it. Instead it groups and loops.\n<END>",
"<BEGIN>\n## `step_count`",
"Return the amount of index changes within group_idx.\n<END>",
"<BEGIN>\n## `step_indices`",
"Return the edg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the callable API.
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 callable API.
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... | Compile a jitted function and loop it over the sorted data. | "Compile a jitted function and loop it over the sorted data." | 56 | false | ml31415/numpy-groupies | callable | 141,626 | |
LDU_FT/KenLauLab/NVR/min_conn_k | LDU_FT | [
"<BEGIN>\n## `parseNoise`",
"Function returns indices that contain non-noisy genes as an integer array\n :param rawArray: numpy ndarray of data set\n :return nnGenes : numpy ndarray of non-noise gene indices\n<END>",
"<BEGIN>\n## `mkIndexedArr`",
"Function returns ndarray of gene expression values from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the min_conn_k API.
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 min_conn_k API.
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... | Function returns the minimum number of connections, k, that are required to form a fully connected graph based gene expression data
:param traj_exp: ndarray representing gene expression
:return k: int of the minimum number of connections needed for a minimally connected graph | "Function returns the minimum number of connections, k, that are required to form a fully connected graph based gene expression data\n :param traj_exp: ndarray representing gene expression\n :return k: int of the minimum number of connections needed for a minimally connected graph" | 22 | false | KenLauLab/NVR | min_conn_k | 141,627 | |
LDU_FT/lk-geimfari/mimesis/timestamp | LDU_FT | [
"<BEGIN>\n## `content_type`",
"Get a random HTTP content type.",
" :return: Content type.",
" :Example:\n Content-Type: application/json\n<END>",
"<BEGIN>\n## `ip_v4`",
"Generate a random IPv4 address.",
" :param with_port: Add port to IP.\n :return: Random IPv4 ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timestamp API.
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 timestamp API.
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... | Generate random timestamp.
:param posix: POSIX time.
:param kwargs: Kwargs for :meth:`~Datetime.datetime()`.
:return: Timestamp. | "Generate random timestamp.\n\n :param posix: POSIX time.\n :param kwargs: Kwargs for :meth:`~Datetime.datetime()`.\n :return: Timestamp." | 559 | false | lk-geimfari/mimesis | timestamp | 141,628 | |
LDU_FT/erdewit/ib_insync/cancelHistoricalData | LDU_FT | [
"<BEGIN>\n## `connect`",
"Connect to a running TWS or IB gateway application.\n After the connection is made the client is fully synchronized\n and ready to serve requests.",
" This method is blocking.",
" Args:\n host: Host name or IP address.\n port: Port nu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancelHistoricalData 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 cancelHistoricalData API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Cancel the update subscription for the historical bars.
Args:
bars: The bar list that was obtained from ``reqHistoricalData``
with a keepUpToDate subscription. | "Cancel the update subscription for the historical bars.\n\n Args:\n bars: The bar list that was obtained from ``reqHistoricalData``\n with a keepUpToDate subscription." | 287 | false | erdewit/ib_insync | cancelHistoricalData | 141,629 | |
LDU_FT/has2k1/plydata/subset | LDU_FT | [
"<BEGIN>\n## `set_option`",
"Set plydata option",
" Parameters\n ----------\n name : str\n Name of the option\n value : object\n New value of the option",
" Returns\n -------\n old : object\n Old value of the option",
" See also\n --------\n :class:`options... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subset API.
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 subset API.
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 a new, flat EvalEnvironment that contains only
the variables specified. | "Creates a new, flat EvalEnvironment that contains only\n the variables specified." | 119 | false | has2k1/plydata | subset | 141,630 | |
LDU_FT/ribozz/sphinx-argparse/finalizeSection | LDU_FT | [
"<BEGIN>\n## `customWalker`",
"A convenience function to ease debugging. It will print the node structure that's returned from CommonMark",
" The usage would be something like:",
" >>> content = Parser().parse('Some big text block\\n===================\\n\\nwith content\\n')\n >>> customWalker(conten... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finalizeSection API.
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 finalizeSection API.
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... | Correct the nxt and parent for each child | "Correct the nxt and parent for each child" | 37 | false | ribozz/sphinx-argparse | finalizeSection | 141,631 | |
LDU_FT/bwengals/ccsnmultivar/_make_summary_tables | LDU_FT | [
"<BEGIN>\n## `_inner_product`",
"Compute inner product between two time domain waveforms, weighted by noisecurve.\n<END>",
"<BEGIN>\n## `_overlap`",
"returns the detector noise weighted inner product\n<END>",
"<BEGIN>\n## `_run_arguement_object_fits`",
"This function fits objects passed to Multivar, guara... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_summary_tables 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 _make_summary_tables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | prints the summary of the regression. It shows
the waveform metadata, diagnostics of the fit, and results of the
hypothesis tests for each comparison encoded in the design matrix | "prints the summary of the regression. It shows\n the waveform metadata, diagnostics of the fit, and results of the\n hypothesis tests for each comparison encoded in the design matrix" | 82 | false | bwengals/ccsnmultivar | _make_summary_tables | 141,632 | |
LDU_FT/AllTheWayDown/turgles/new | LDU_FT | [
"<BEGIN>\n## `shape`",
"We need to shift buffers in order to change shape\n<END>",
"<BEGIN>\n## `new`",
"Return the last currently unused chunk, resizing if needed.",
" If init is passed, chunk will be initialised to that data\n<END>",
"<BEGIN>\n## `resize`",
"Create a new larger array, and copy ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Return the last currently unused chunk, resizing if needed.
If init is passed, chunk will be initialised to that data | "Return the last currently unused chunk, resizing if needed.\n\n If init is passed, chunk will be initialised to that data" | 22 | false | AllTheWayDown/turgles | new | 141,633 | |
LDU_FT/django-fluent/django-fluent-dashboard/get_application_modules | LDU_FT | [
"<BEGIN>\n## `init_with_context`",
"Find the current URL based on the context.\n It uses :func:`get_edited_object` to find the model,\n and calls ``get_absolute_url()`` to get the frontend URL.\n<END>",
"<BEGIN>\n## `get_edited_object`",
"Return the object which is currently being edited.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_application_modules 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_application_modules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Instantiate all application modules (i.e.
:class:`~admin_tools.dashboard.modules.AppList`,
:class:`~fluent_dashboard.modules.AppIconList` and
:class:`~fluent_dashboard.modules.CmsAppIconList`)
for use in the dashboard. | "Instantiate all application modules (i.e.\n :class:`~admin_tools.dashboard.modules.AppList`,\n :class:`~fluent_dashboard.modules.AppIconList` and\n :class:`~fluent_dashboard.modules.CmsAppIconList`)\n for use in the dashboard." | 28 | false | django-fluent/django-fluent-dashboard | get_application_modules | 141,634 | |
LDU_FT/mozilla/mozilla-django-oidc/exempt_urls | LDU_FT | [
"<BEGIN>\n## `get_next_url`",
"Retrieves next url from request",
" Note: This verifies that the url is safe before returning it. If the url\n is not safe, this returns None.",
" :arg HttpRequest request: the http request\n :arg str redirect_field_name: the name of the field holding the next url",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exempt_urls API.
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 exempt_urls API.
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... | Generate and return a set of url paths to exempt from SessionRefresh
This takes the value of ``settings.OIDC_EXEMPT_URLS`` and appends three
urls that mozilla-django-oidc uses. These values can be view names or
absolute url paths.
:returns: list of url paths (for example "/oidc/callbac... | "Generate and return a set of url paths to exempt from SessionRefresh\n\n This takes the value of ``settings.OIDC_EXEMPT_URLS`` and appends three\n urls that mozilla-django-oidc uses. These values can be view names or\n absolute url paths.\n\n :returns: list of url paths (for example \"/oidc... | 49 | false | mozilla/mozilla-django-oidc | exempt_urls | 141,635 | |
LDU_FT/openspending/babbage/facts | LDU_FT | [
"<BEGIN>\n## `count_results`",
"Get the count of records matching the query.\n<END>",
"<BEGIN>\n## `generate_results`",
"Generate the resulting records for this query, applying pagination.\n Values will be returned by their reference.\n<END>",
"<BEGIN>\n## `apply`",
"Sort on a set of field specificatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the facts API.
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 facts API.
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... | List the fact table entries in the current cube. This is the full
materialized dataset. | "List the fact table entries in the current cube. This is the full\n materialized dataset." | 66 | false | openspending/babbage | facts | 141,636 | |
LDU_FT/pyroscope/pyrocore/_interval_sum | LDU_FT | [
"<BEGIN>\n## `resolve_slashed`",
"Resolve symlinked directories if they end in a '/',\n remove trailing '/' otherwise.\n<END>",
"<BEGIN>\n## `guarded`",
"Catch exceptions thrown by filesystem calls, and don't really\n execute them in dry-run mode.\n<END>",
"<BEGIN>\n## `_make_it_so`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _interval_sum API.
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 _interval_sum API.
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 sum of intervals between "R"esume and "P"aused events
in C{interval}, optionally limited by a time window defined
by C{start} and C{end}. Return ``None`` if there's no sensible
information.
C{interval} is a series of event types and timestamps,
e.g. "R1283008245P128300826... | "Return sum of intervals between \"R\"esume and \"P\"aused events\n in C{interval}, optionally limited by a time window defined\n by C{start} and C{end}. Return ``None`` if there's no sensible\n information.\n\n C{interval} is a series of event types and timestamps,\n e.g. \"R12830082... | 247 | false | pyroscope/pyrocore | _interval_sum | 141,637 | |
LDU_FT/priestc/moneywagon/get_block_adjustments | LDU_FT | [
"<BEGIN>\n## `supported_currencies`",
"Returns a list of all currencies that are supported by the passed in project.\n and support level. Support level can be: \"block\", \"transaction\", \"address\"\n or \"full\".\n<END>",
"<BEGIN>\n## `not_supported_currencies`",
"Returns a list of all currenc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_block_adjustments 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_block_adjustments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | This utility is used to determine the actual block rate. The output can be
directly copied to the `blocktime_adjustments` setting. | "This utility is used to determine the actual block rate. The output can be\n directly copied to the `blocktime_adjustments` setting." | 135 | false | priestc/moneywagon | get_block_adjustments | 141,638 | |
LDU_FT/xguse/table_enforcer/choice | LDU_FT | [
"<BEGIN>\n## `minmax`",
"Test that the data items fall within range: low <= x <= high.\n<END>",
"<BEGIN>\n## `choice`",
"Test that the data items are members of the set `choices`.\n<END>",
"<BEGIN>\n## `bounded_length`",
"Test that the length of the data items fall within range: low <= x <= high.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the choice API.
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 choice API.
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 ... | Test that the data items are members of the set `choices`. | "Test that the data items are members of the set `choices`." | 42 | false | xguse/table_enforcer | choice | 141,639 | |
LDU_FT/XML-Security/signxml/raw_p_sha1 | LDU_FT | [
"<BEGIN>\n## `bytes_to_long`",
"bytes_to_long(string) : long\n Convert a byte string to a long integer.",
" This is (essentially) the inverse of long_to_bytes().\n<END>",
"<BEGIN>\n## `long_to_bytes`",
"long_to_bytes(n:long, blocksize:int) : string\n Convert a long integer to a byte string.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw_p_sha1 API.
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 raw_p_sha1 API.
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... | Derive one or more keys from secret and seed.
(See specs part 6, 6.7.5 and RFC 2246 - TLS v1.0)
Lengths of keys will match sizes argument
Source: https://github.com/FreeOpcUa/python-opcua
key_sizes = (signature_key_size, symmetric_key_size, 16)
(sigkey, key, init_vec) = p_sha1(nonce2, nonce1, key_s... | "Derive one or more keys from secret and seed.\n (See specs part 6, 6.7.5 and RFC 2246 - TLS v1.0)\n Lengths of keys will match sizes argument\n\n Source: https://github.com/FreeOpcUa/python-opcua\n key_sizes = (signature_key_size, symmetric_key_size, 16)\n (sigkey, key, init_vec) = p_sha1(nonce2, nonce1... | 36 | false | XML-Security/signxml | raw_p_sha1 | 141,640 | |
LDU_FT/BeyondTheClouds/enoslib/is_in_current_deployment | LDU_FT | [
"<BEGIN>\n## `_build_g5k_conf`",
"Build the conf of the g5k provider from the vmong5k conf.\n<END>",
"<BEGIN>\n## `cached`",
"Decorator for caching/retrieving api calls request.",
" Many calls to the API are getter on static parts (e.g site of a given\n cluster name won't change). By caching some resp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_in_current_deployment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_in_current_deployment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Check if an existing server in the system take part to
the current deployment | "Check if an existing server in the system take part to\n the current deployment" | 229 | false | BeyondTheClouds/enoslib | is_in_current_deployment | 141,641 | |
LDU_FT/Robpol86/etaprogress/set_numerator | LDU_FT | [
"<BEGIN>\n## `terminal_width`",
"Returns the terminal's width (number of character columns).\n<END>",
"<BEGIN>\n## `get_remaining_width`",
"Returns the number of characters available if sample string were to be printed in the terminal.",
" Positional arguments:\n sample_string -- gets the length of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_numerator API.
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 set_numerator API.
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... | Sets the new numerator (number of items done).
Positional arguments:
numerator -- the new numerator to add to the timing data.
Keyword arguments:
calculate -- calculate the ETA and rate by default. | "Sets the new numerator (number of items done).\n\n Positional arguments:\n numerator -- the new numerator to add to the timing data.\n\n Keyword arguments:\n calculate -- calculate the ETA and rate by default." | 76 | false | Robpol86/etaprogress | set_numerator | 141,642 | |
LDU_FT/edx/bok-choy/_decorator | LDU_FT | [
"<BEGIN>\n## `wait_for_js`",
"Method decorator that waits for JavaScript dependencies before executing `function`.\n If the function is not a method, the decorator has no effect.",
" Args:\n function (callable): Method to decorate.",
" Returns:\n Decorated method\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decorator API.
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 _decorator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return a class decorator that:
1) Defines a new class method, `wait_for_js`
2) Defines a new class list variable, `store_name` and adds
`store_values` to the list. | "Return a class decorator that:\n\n 1) Defines a new class method, `wait_for_js`\n 2) Defines a new class list variable, `store_name` and adds\n `store_values` to the list." | 254 | false | edx/bok-choy | _decorator | 141,643 | |
LDU_FT/isambard-uob/ampal/centroid | LDU_FT | [
"<BEGIN>\n## `write_pdb`",
"Writes a pdb file for a list of residues.",
" Parameters\n ----------\n residues : list\n List of Residue objects.\n chain_id : str\n String of the chain id, defaults to ' '.\n alt_states : bool, optional\n If true, include all occupancy states of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the centroid API.
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 centroid API.
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... | Calculates the centroid of the residue.
Returns
-------
centroid : numpy.array or None
Returns a 3D coordinate for the residue unless a CB
atom is not available, in which case `None` is
returned.
Notes
-----
Uses the definition of the... | "Calculates the centroid of the residue.\n\n Returns\n -------\n centroid : numpy.array or None\n Returns a 3D coordinate for the residue unless a CB\n atom is not available, in which case `None` is\n returned.\n\n Notes\n -----\n Uses the defin... | 84 | false | isambard-uob/ampal | centroid | 141,644 | |
LDU_FT/kislyuk/aegea/iter_comments_on_commit | LDU_FT | [
"<BEGIN>\n## `update`",
"Update this authorization.",
" :param list scopes: (optional), replaces the authorization scopes with\n these\n :param list add_scopes: (optional), scopes to be added\n :param list rm_scopes: (optional), scopes to be removed\n :param str note: (opt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_comments_on_commit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_comments_on_commit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Iterate over comments for a single commit.
:param sha: (required), sha of the commit to list comments on
:type sha: str
:param int number: (optional), number of comments to return. Default:
-1 returns all comments
:param str etag: (optional), ETag from a previous request to ... | "Iterate over comments for a single commit.\n\n :param sha: (required), sha of the commit to list comments on\n :type sha: str\n :param int number: (optional), number of comments to return. Default:\n -1 returns all comments\n :param str etag: (optional), ETag from a previous requ... | 834 | false | kislyuk/aegea | iter_comments_on_commit | 141,645 | |
LDU_FT/hyperledger/sawtooth-core/_get_config | LDU_FT | [
"<BEGIN>\n## `run_callback`",
"Calls the callback_func, passing in the two positional arguments,\n conditionally waiting if the callback function hasn't been set yet.\n Meant to be run in a threadpool owned by the FutureCollection.",
" Returns:\n None\n<END>",
"<BEGIN>\n## `add... | 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 extra... | 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 extra... | Determines if there is a log config in the config directory
and returns it. If it does not exist, return None.
Returns:
log_config (dict): The dictionary to pass to logging.config.dictConfig | "Determines if there is a log config in the config directory\n and returns it. If it does not exist, return None.\n\n Returns:\n log_config (dict): The dictionary to pass to logging.config.dictConfig" | 876 | false | hyperledger/sawtooth-core | _get_config | 141,646 | |
LDU_FT/kislyuk/aegea/pull_request | LDU_FT | [
"<BEGIN>\n## `update`",
"Update this authorization.",
" :param list scopes: (optional), replaces the authorization scopes with\n these\n :param list add_scopes: (optional), scopes to be added\n :param list rm_scopes: (optional), scopes to be removed\n :param str note: (opt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pull_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pull_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Fetch pull_request #:number: from :owner:/:repository
:param str owner: (required), owner of the repository
:param str repository: (required), name of the repository
:param int number: (required), issue number
:return: :class:`Issue <github3.issues.Issue>` | "Fetch pull_request #:number: from :owner:/:repository\n\n :param str owner: (required), owner of the repository\n :param str repository: (required), name of the repository\n :param int number: (required), issue number\n :return: :class:`Issue <github3.issues.Issue>`" | 834 | false | kislyuk/aegea | pull_request | 141,647 | |
LDU_FT/spookey/photon/shell_notify | LDU_FT | [
"<BEGIN>\n## `__signal`",
"Helper class preventing code duplication..",
" :param sig:\n Signal to use (e.g. \"HUP\", \"ALRM\")\n :param verbose:\n Overwrite :func:`photon.Photon.m`'s `verbose`\n :returns:\n |kill_return| with specified `pid`",
" .. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shell_notify API.
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 shell_notify API.
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... | A pretty long wrapper for a :py:func:`print` function.
But this :py:func:`print` is the only one in Photon.
.. note:: |use_photon_m|
:param msg:
The message to show
:param state:
The message will be prefixed with [`state`]
* If ``False`` (default): Prefixed with ~
* I... | "A pretty long wrapper for a :py:func:`print` function.\n But this :py:func:`print` is the only one in Photon.\n\n .. note:: |use_photon_m|\n\n :param msg:\n The message to show\n :param state:\n The message will be prefixed with [`state`]\n\n * If ``False`` (default): Prefixed with ~\n... | 199 | false | spookey/photon | shell_notify | 141,648 | |
LDU_FT/EpistasisLab/penn-ml-benchmarks/fetch_data | LDU_FT | [
"<BEGIN>\n## `fetch_data`",
"Download a data set from the PMLB, (optionally) store it locally, and return the data set.",
" You must be connected to the internet if you are fetching a data set that is not cached locally.",
" Parameters\n ----------\n dataset_name: str\n The name of the data... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Download a data set from the PMLB, (optionally) store it locally, and return the data set.
You must be connected to the internet if you are fetching a data set that is not cached locally.
Parameters
----------
dataset_name: str
The name of the data set to load from PMLB.
return_X_y: bool (... | "Download a data set from the PMLB, (optionally) store it locally, and return the data set.\n\n You must be connected to the internet if you are fetching a data set that is not cached locally.\n\n Parameters\n ----------\n dataset_name: str\n The name of the data set to load from PMLB.\n return_X_... | 16 | false | EpistasisLab/penn-ml-benchmarks | fetch_data | 141,649 | |
LDU_FT/mgedmin/findimports/packageOf | LDU_FT | [
"<BEGIN>\n## `adjust_lineno`",
"Adjust the line number of an import.",
" Needed because import statements can span multiple lines, and our lineno\n is always the first line number.\n<END>",
"<BEGIN>\n## `find_imports`",
"Find all imported names in a given file.",
" Returns a list of ImportInfo ob... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the packageOf API.
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 packageOf API.
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... | Determine the package that contains ``dotted_name``. | "Determine the package that contains ``dotted_name``." | 29 | false | mgedmin/findimports | packageOf | 141,650 | |
LDU_FT/genomoncology/related/str_to_uuid | LDU_FT | [
"<BEGIN>\n## `init_default`",
"Returns optional default if field is not required and\n default was not provided.",
" :param bool required: whether the field is required in a given model.\n :param default: default provided by creator of field.\n :param optional_default: default for the data type if n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str_to_uuid API.
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 str_to_uuid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns a UUID(value) if the value provided is a str.
:param value: str or UUID object
:return: UUID object | "Returns a UUID(value) if the value provided is a str.\n\n :param value: str or UUID object\n :return: UUID object" | 95 | false | genomoncology/related | str_to_uuid | 141,651 | |
LDU_FT/anomaly/prestans/as_dict | LDU_FT | [
"<BEGIN>\n## `_setup_serializers`",
"Auto set the return serializer based on Accept headers\n http://docs.webob.org/en/latest/reference.html#header-getters",
" Intersection of requested types and supported types tells us if we\n can in fact respond in one of the request formats\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | turns attribute filter object into python dictionary | "turns attribute filter object into python dictionary" | 99 | false | anomaly/prestans | as_dict | 141,652 | |
LDU_FT/drj11/pypng/texttoraster | LDU_FT | [
"<BEGIN>\n## `adam7_generate`",
"Generate the coordinates for the reduced scanlines\n of an Adam7 interlaced image\n of size `width` by `height` pixels.",
" Yields a generator for each pass,\n and each pass generator yields a series of (x, y, xstep) triples,\n each one identifying a reduced scanl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the texttoraster API.
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 texttoraster API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Convert the string *m* to a raster image. Any newlines
in *m* will cause more than one line of output. The
resulting raster will be taller. Prior to rendering each
line, it is padded on the right with enough spaces to make
all lines the same length. | "Convert the string *m* to a raster image. Any newlines\n in *m* will cause more than one line of output. The\n resulting raster will be taller. Prior to rendering each\n line, it is padded on the right with enough spaces to make\n all lines the same length." | 153 | false | drj11/pypng | texttoraster | 141,653 | |
LDU_FT/nlppln/nlppln/save | LDU_FT | [
"<BEGIN>\n## `parse_frog`",
"Interpret the output of the frog parser.\n Input should be an iterable of lines (i.e. the output of call_frog)\n Result is a sequence of dicts representing the tokens\n<END>",
"<BEGIN>\n## `frog_to_saf`",
"Convert frog tokens into a new SAF document\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
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 save API.
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... | Save workflow to file
For nlppln, the default is to save workflows with relative paths. | "Save workflow to file\n\n For nlppln, the default is to save workflows with relative paths." | 23 | false | nlppln/nlppln | save | 141,654 | |
LDU_FT/linode/linode_api4-python/ssh_key_upload | LDU_FT | [
"<BEGIN>\n## `nodes`",
"This is a special derived_class relationship because NodeBalancerNode is the\n only api object that requires two parent_ids\n<END>",
"<BEGIN>\n## `load_ssl_data`",
"A convenience method that loads a cert and a key from files and sets them\n on this object. This can make ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ssh_key_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ssh_key_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 ex... | Uploads a new SSH Public Key to your profile This key can be used in
later Linode deployments.
:param key: The ssh key, or a path to the ssh key. If a path is provided,
the file at the path must exist and be readable or an exception
will be thrown.
:typ... | "Uploads a new SSH Public Key to your profile This key can be used in\n later Linode deployments.\n\n :param key: The ssh key, or a path to the ssh key. If a path is provided,\n the file at the path must exist and be readable or an exception\n will be thrown.\n ... | 232 | false | linode/linode_api4-python | ssh_key_upload | 141,655 | |
LDU_FT/hubo1016/namedstruct/extend | LDU_FT | [
"<BEGIN>\n## `ip_frag`",
"Not fragments:\n ip_frag(packet) == 0\n not ip_frag(packet)",
" First packet of fragments:\n ip_frag(packet) == IP_FRAG_ANY",
" Not first packet of fragments:\n ip_frag(packet) & IP_FRAG_LATER",
" All fragments:\n ip_frag(packet) & IP_FRA... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extend API.
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 extend API.
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 new enumerate with current values merged with new enumerate values
:param namespace: same as __init__
:param name: same as __init__
:param kwargs: same as __init__
:returns: a new enumerate type | "Create a new enumerate with current values merged with new enumerate values\n :param namespace: same as __init__\n :param name: same as __init__\n :param kwargs: same as __init__\n :returns: a new enumerate type" | 149 | false | hubo1016/namedstruct | extend | 141,656 | |
LDU_FT/pymupdf/PyMuPDF/transform | LDU_FT | [
"<BEGIN>\n## `_Widget_fontdict`",
"Turns the above font definitions into a dictionary. Assumes certain line breaks and spaces.\n<END>",
"<BEGIN>\n## `getTextlength`",
"Calculate length of a string for a given built-in font.",
" Args:\n fontname: name of the font.\n fontsize: size of font in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Replace point by its transformation with matrix-like m. | "Replace point by its transformation with matrix-like m." | 282 | false | pymupdf/PyMuPDF | transform | 141,657 | |
LDU_FT/ethpm/py-ethpm/contract_type | LDU_FT | [
"<BEGIN>\n## `fetch_uri_contents`",
"Return content-addressed URI stored at registry URI.\n<END>",
"<BEGIN>\n## `pin_assets`",
"Return a dict containing the IPFS hash, file name, and size of a file.\n<END>",
"<BEGIN>\n## `create_content_addressed_github_uri`",
"Returns a content-addressed Github \"git_url... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contract_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contract_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns a copy of manifest with added contract_data field as specified by kwargs.
If no kwargs are present, all available contract_data found in the compiler output
will be included.
To include specific contract_data fields, add kwarg set to True (i.e. `abi=True`)
To alias a contract_type, include a kw... | "Returns a copy of manifest with added contract_data field as specified by kwargs.\n If no kwargs are present, all available contract_data found in the compiler output\n will be included.\n\n To include specific contract_data fields, add kwarg set to True (i.e. `abi=True`)\n To alias a contract_type, includ... | 133 | false | ethpm/py-ethpm | contract_type | 141,658 | |
LDU_FT/stevearc/dynamo3/batch_write | LDU_FT | [
"<BEGIN>\n## `build_kwargs`",
"Construct the kwargs to pass to batch_get_item\n<END>",
"<BEGIN>\n## `set_request_args`",
"Set the Limit parameter into the request args\n<END>",
"<BEGIN>\n## `complete`",
"Return True if the limit has been reached\n<END>",
"<BEGIN>\n## `accept`",
"Apply the filter and i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the batch_write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the batch_write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Perform a batch write on a table
Parameters
----------
tablename : str
Name of the table to write to
return_capacity : {NONE, INDEXES, TOTAL}, optional
INDEXES will return the consumed capacity for indexes, TOTAL will
return the consumed capacity for ... | "Perform a batch write on a table\n\n Parameters\n ----------\n tablename : str\n Name of the table to write to\n return_capacity : {NONE, INDEXES, TOTAL}, optional\n INDEXES will return the consumed capacity for indexes, TOTAL will\n return the consumed capa... | 164 | false | stevearc/dynamo3 | batch_write | 141,659 | |
LDU_FT/brutus/wdiffhtml/wrap_paragraphs | LDU_FT | [
"<BEGIN>\n## `load_from_resource`",
"Returns the contents of a file resource.",
" If the resource exists in the users data directory, it is used instead\n of the default resource.\n<END>",
"<BEGIN>\n## `wdiff`",
"Returns the results of `wdiff` in a HTML compatible format.",
" Needs a :cls:`settings.Set... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_paragraphs API.
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 wrap_paragraphs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Returns *content* with all paragraphs wrapped in `<p>` tags.
If *hard_breaks* is set, line breaks are converted to `<br />` tags. | "Returns *content* with all paragraphs wrapped in `<p>` tags.\n\n If *hard_breaks* is set, line breaks are converted to `<br />` tags." | 42 | false | brutus/wdiffhtml | wrap_paragraphs | 141,660 | |
LDU_FT/secdev/scapy/auth_encrypt | LDU_FT | [
"<BEGIN>\n## `_get_npcap_config`",
"Get a Npcap parameter matching key in the registry.",
" List:\n AdminOnly, DefaultFilterSettings, DltNull, Dot11Adapters, Dot11Support\n LoopbackAdapter, LoopbackSupport, NdisImPlatformBindingOptions, VlanSupport\n WinPcapCompatible\n<END>",
"<BEGIN>\n## `_exec_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auth_encrypt API.
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 auth_encrypt API.
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... | Encrypt the data, and append the computed authentication code.
TLS 1.3 does not use additional data, but we leave this option to the
user nonetheless.
Note that the cipher's authentication tag must be None when encrypting. | "Encrypt the data, and append the computed authentication code.\n TLS 1.3 does not use additional data, but we leave this option to the\n user nonetheless.\n\n Note that the cipher's authentication tag must be None when encrypting." | 1,329 | true | secdev/scapy | auth_encrypt | 141,661 | |
LDU_FT/cole/aiosmtplib/_ehlo_or_helo_if_needed | LDU_FT | [
"<BEGIN>\n## `connection_made`",
"Modified ``connection_made`` that supports upgrading our transport in\n place using STARTTLS.",
" We set the _transport directly on the StreamReader, rather than calling\n set_transport (which will raise an AssertionError on upgrade).\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ehlo_or_helo_if_needed 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 _ehlo_or_helo_if_needed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Call self.ehlo() and/or self.helo() if needed.
If there has been no previous EHLO or HELO command this session, this
method tries ESMTP EHLO first. | "Call self.ehlo() and/or self.helo() if needed.\n\n If there has been no previous EHLO or HELO command this session, this\n method tries ESMTP EHLO first." | 142 | false | cole/aiosmtplib | _ehlo_or_helo_if_needed | 141,662 | |
LDU_FT/benoitkugler/abstractDataLibrary/placeholders | LDU_FT | [
"<BEGIN>\n## `recherche`",
"abstractSearch in fields of collection and reset rendering.\n Returns number of results.\n If in_all is True, call get_all before doing the search.\n<END>",
"<BEGIN>\n## `launch_background_job`",
"Launch the callable job in background thread.\n Succes or failur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the placeholders API.
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 placeholders API.
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... | Placeholders for fields names and value binds | "Placeholders for fields names and value binds" | 131 | false | benoitkugler/abstractDataLibrary | placeholders | 141,663 | |
LDU_FT/projectatomic/atomic-reactor/get_worker_digests | LDU_FT | [
"<BEGIN>\n## `_build`",
"build image from provided build_args",
" :return: BuildResults\n<END>",
"<BEGIN>\n## `_load_results`",
"load results from recent build",
" :return: BuildResults\n<END>",
"<BEGIN>\n## `commit_buildroot`",
"create image from buildroot",
" :return:\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_worker_digests API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_worker_digests 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... | If we are being called from an orchestrator build, collect the worker
node data and recreate the data locally. | "If we are being called from an orchestrator build, collect the worker\n node data and recreate the data locally." | 440 | false | projectatomic/atomic-reactor | get_worker_digests | 141,664 | |
LDU_FT/fracpete/python-weka-wrapper3/do_execute | LDU_FT | [
"<BEGIN>\n## `main`",
"Runs a clusterer from the command-line. Calls JVM start/stop automatically.\n Use -h to see all options.\n<END>",
"<BEGIN>\n## `update_clusterer`",
"Updates the clusterer with the instance.",
" :param inst: the Instance to update the clusterer with\n :type inst: Insta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | The actual execution of the actor.
:return: None if successful, otherwise error message
:rtype: str | "The actual execution of the actor.\n\n :return: None if successful, otherwise error message\n :rtype: str" | 856 | false | fracpete/python-weka-wrapper3 | do_execute | 141,665 | |
LDU_FT/Tygs/ww/multireplace | LDU_FT | [
"<BEGIN>\n## `join`",
"Join values and convert to string",
" Example:",
" >>> from ww import l\n >>> lst = l('012')\n >>> lst.join(',')\n u'0,1,2'\n >>> lst.join(',', template=\"{}#\")\n u'0#,1#,2#'\n >>> string = lst.join(','... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multireplace API.
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 multireplace API.
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... | Like unicode.replace() but accept several substitutions and regexes
Args:
string: the string to split on.
patterns: a string, or an iterable of strings to be replaced.
substitutions: a string or an iterable of string to use as a
replacement. You ca... | "Like unicode.replace() but accept several substitutions and regexes\n\n Args:\n string: the string to split on.\n patterns: a string, or an iterable of strings to be replaced.\n substitutions: a string or an iterable of string to use as a\n replacement.... | 104 | false | Tygs/ww | multireplace | 141,666 | |
LDU_FT/pantsbuild/pex/filter | LDU_FT | [
"<BEGIN>\n## `isolated`",
"Returns a chroot for third_party isolated from the ``sys.path``.",
" PEX will typically be installed in site-packages flat alongside many other distributions; as such,\n adding the location of the pex distribution to the ``sys.path`` will typically expose many other\n distributions... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Given a map of python interpreters in the format provided by PythonInterpreter.find(),
filter out duplicate versions and versions we would prefer not to use.
Returns a map in the same format as find. | "Given a map of python interpreters in the format provided by PythonInterpreter.find(),\n filter out duplicate versions and versions we would prefer not to use.\n\n Returns a map in the same format as find." | 385 | false | pantsbuild/pex | filter | 141,667 | |
LDU_FT/taddeus/wspy/queue_send | LDU_FT | [
"<BEGIN>\n## `conflicts`",
"Check if the extension conflicts with an already accepted extension.\n This may be the case when the two extensions use the same reserved\n bits, or have the same name (when the same extension is negotiated\n multiple times with different parameters).\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queue_send API.
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 queue_send API.
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... | Enqueue `frame` to the send buffer so that it is send on the next
`do_async_send`. `callback` is an optional callable to call when the
frame has been fully written. `recv_callback` is an optional callable
to quickly set the `recv_callback` attribute to. | "Enqueue `frame` to the send buffer so that it is send on the next\n `do_async_send`. `callback` is an optional callable to call when the\n frame has been fully written. `recv_callback` is an optional callable\n to quickly set the `recv_callback` attribute to." | 72 | false | taddeus/wspy | queue_send | 141,668 | |
LDU_FT/DataBiosphere/toil/getUpdatedBatchJob | LDU_FT | [
"<BEGIN>\n## `html_page_context`",
"Event handler for the html-page-context signal.\n Modifies the context directly.\n - Replaces the 'toc' value created by the HTML builder with one\n that shows all document titles and the local table of contents.\n - Sets display_toc to True so the table of con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getUpdatedBatchJob 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 getUpdatedBatchJob 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... | Returns a map of the run jobs and the return value of their processes. | "Returns a map of the run jobs and the return value of their processes." | 1,322 | true | DataBiosphere/toil | getUpdatedBatchJob | 141,669 | |
LDU_FT/johnnoone/json-spec/check | LDU_FT | [
"<BEGIN>\n## `check`",
"Check if value exists into object.",
" :param doc: the document base\n :param pointer: the path to search in\n :param expected: the expected value\n :param raise_onerror: should raise on error?\n :return: boolean\n<END>",
"<BEGIN>\n## `add`",
"Add element to sequence, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Check if value exists into object.
:param pointer: the path to search in
:param expected: the expected value
:param raise_onerror: should raise on error?
:return: boolean | "Check if value exists into object.\n\n :param pointer: the path to search in\n :param expected: the expected value\n :param raise_onerror: should raise on error?\n :return: boolean" | 113 | false | johnnoone/json-spec | check | 141,670 | |
LDU_FT/veeti/decent/List | LDU_FT | [
"<BEGIN>\n## `as_dict`",
"Returns the error as a path to message dictionary. Paths are joined\n with the ``join`` string.\n<END>",
"<BEGIN>\n## `as_dict`",
"Returns all the errors in this collection as a path to message\n dictionary. Paths are joined with the ``join`` string.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the List API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the List API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Creates a validator that runs the given validator on every item in a list
or other collection. The validator can mutate the values.
Any raised errors will be collected into a single ``Invalid`` error. Their
paths will be replaced with the index of the item. Will raise an error if
the input value is not... | "Creates a validator that runs the given validator on every item in a list\n or other collection. The validator can mutate the values.\n\n Any raised errors will be collected into a single ``Invalid`` error. Their\n paths will be replaced with the index of the item. Will raise an error if\n the input value ... | 47 | false | veeti/decent | List | 141,671 | |
LDU_FT/instaloader/instaloader/load_session_from_file | LDU_FT | [
"<BEGIN>\n## `save_structure_to_file`",
"Saves a :class:`Post`, :class:`Profile` or :class:`StoryItem` to a '.json' or '.json.xz' file such that it can\n later be loaded by :func:`load_structure_from_file`.",
" If the specified filename ends in '.xz', the file will be LZMA compressed. Otherwise, a pretty-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_session_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_session_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Internally stores :class:`requests.Session` object loaded from file.
If filename is None, the file with the default session path is loaded.
:raises FileNotFoundError: If the file does not exist. | "Internally stores :class:`requests.Session` object loaded from file.\n\n If filename is None, the file with the default session path is loaded.\n\n :raises FileNotFoundError: If the file does not exist." | 227 | false | instaloader/instaloader | load_session_from_file | 141,672 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.