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/ReFirmLabs/binwalk/_get_node | LDU_FT | [
"<BEGIN>\n## `process_kwargs`",
"Convenience wrapper around binwalk.core.module.Modules.kwargs.",
" @obj - The class object (an instance of a sub-class of binwalk.core.module.Module).\n @kwargs - The kwargs provided to the object's __init__ method.",
" Returns None.\n<END>",
"<BEGIN>\n## `show_h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_node API.
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_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Reads a chunk of meta data from file and returns a PFSNode. | "Reads a chunk of meta data from file and returns a PFSNode." | 211 | false | ReFirmLabs/binwalk | _get_node | 19,373 | |
LDU_FT/perrygeo/simanneal/save | LDU_FT | [
"<BEGIN>\n## `distance`",
"Calculates distance between two latitude-longitude coordinates.\n<END>",
"<BEGIN>\n## `round_figures`",
"Returns x rounded to n significant figures.\n<END>",
"<BEGIN>\n## `set_schedule`",
"Takes the output from `auto` and sets the attributes\n<END>",
"<BEGIN>\n## `copy_state`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 the shapefile data to three files or
three file-like objects. SHP and DBF files can also
be written exclusively using saveShp, saveShx, and saveDbf respectively. | "Save the shapefile data to three files or\r\n three file-like objects. SHP and DBF files can also\r\n be written exclusively using saveShp, saveShx, and saveDbf respectively." | 67 | false | perrygeo/simanneal | save | 19,374 | |
LDU_FT/asphalt-framework/asphalt/wait_event | LDU_FT | [
"<BEGIN>\n## `run_application`",
"Configure logging and start the given root component in the default asyncio event loop.",
" Assuming the root component was started successfully, the event loop will continue running\n until the process is terminated.",
" Initializes the logging system first based on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_event API.
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 wait_event API.
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... | Shortcut for calling :func:`wait_event` with this signal in the first argument. | "Shortcut for calling :func:`wait_event` with this signal in the first argument." | 143 | false | asphalt-framework/asphalt | wait_event | 19,375 | |
LDU_FT/volafiled/python-volapi/listen | LDU_FT | [
"<BEGIN>\n## `register_callback`",
"Register callback that we will have to wait for\n<END>",
"<BEGIN>\n## `_handle_callback`",
"Handle lain's callback. Only used with getFileinfo so far\n<END>",
"<BEGIN>\n## `_handle_config`",
"Handle initial config push and config changes\n<END>",
"<BEGIN>\n## `find_ve... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listen API.
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 listen API.
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 ... | Open a volafile room and start listening to it | "Open a volafile room and start listening to it" | 78 | false | volafiled/python-volapi | listen | 19,376 | |
LDU_FT/aerogear/digger-build-cli/from_url | LDU_FT | [
"<BEGIN>\n## `jarsign`",
"Uses Jarsign to sign an apk target file using the provided keystore information.",
" :param storepass(str) - keystore storepass\n :param keypass(str) - keystore keypass\n :param keystore(str) - keystore file path\n :param source(str) - apk path\n :param alias(str) - keystore alias... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Downloads a zipped app source code from an url.
:param url: url to download the app source from
Returns
A project instance. | "Downloads a zipped app source code from an url.\n\n :param url: url to download the app source from\n\n Returns\n A project instance." | 100 | false | aerogear/digger-build-cli | from_url | 19,377 | |
LDU_FT/wummel/linkchecker/is_absolute_path | LDU_FT | [
"<BEGIN>\n## `start_output`",
"Write start of checking info as gml comment.\n<END>",
"<BEGIN>\n## `getaddresses`",
"Return list of email addresses from given field value.\n<END>",
"<BEGIN>\n## `build_url`",
"Call super.build_url(), extract list of mail addresses from URL,\n and check their syntax.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_absolute_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_absolute_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Check if given path is absolute. On Windows absolute paths start
with a drive letter. On all other systems absolute paths start with
a slash. | "Check if given path is absolute. On Windows absolute paths start\n with a drive letter. On all other systems absolute paths start with\n a slash." | 1,377 | true | wummel/linkchecker | is_absolute_path | 19,378 | |
LDU_FT/xgfs/NetLSD/check_1d | LDU_FT | [
"<BEGIN>\n## `check_1d`",
"Check input to be a vector. Converts lists to np.ndarray.",
" Parameters\n ----------\n inp : obj\n Input vector",
" Returns\n -------\n numpy.ndarray or None\n Input vector or None",
" Examples\n --------\n >>> check_1d([0, 1, 2, 3])\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_1d API.
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 check_1d API.
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... | Check input to be a vector. Converts lists to np.ndarray.
Parameters
----------
inp : obj
Input vector
Returns
-------
numpy.ndarray or None
Input vector or None
Examples
--------
>>> check_1d([0, 1, 2, 3])
[0, 1, 2, 3]
>>> check_1d('test')
None | "Check input to be a vector. Converts lists to np.ndarray.\n\n Parameters\n ----------\n inp : obj\n Input vector\n\n Returns\n -------\n numpy.ndarray or None\n Input vector or None\n\n Examples\n --------\n >>> check_1d([0, 1, 2, 3])\n [0, 1, 2, 3]\n\n >>> check_1d('test... | 63 | false | xgfs/NetLSD | check_1d | 19,379 | |
LDU_FT/jamescooke/flake8-aaa/check_all | LDU_FT | [
"<BEGIN>\n## `do_command_line`",
"Currently a small stub to create an instance of Checker for the passed\n ``infile`` and run its test functions through linting.",
" Args:\n infile",
" Returns:\n int: Number of flake8 errors raised.\n<END>",
"<BEGIN>\n## `run`",
"Yields:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_all API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Run everything required for checking this function.
Returns:
A generator of errors.
Raises:
ValidationError: A non-recoverable linting error is found. | "Run everything required for checking this function.\n\n Returns:\n A generator of errors.\n\n Raises:\n ValidationError: A non-recoverable linting error is found." | 66 | false | jamescooke/flake8-aaa | check_all | 19,380 | |
LDU_FT/Netflix-Skunkworks/historical/handler | LDU_FT | [
"<BEGIN>\n## `handler`",
"Historical security group event differ.",
" Listens to the Historical current table and determines if there are differences that need to be persisted in the\n historical record.\n<END>",
"<BEGIN>\n## `serialize`",
"Serializes the JSON for the Polling Event Model.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handler API.
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 handler API.
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... | Historical vpc event collector.
This collector is responsible for processing Cloudwatch events and polling events. | "Historical vpc event collector.\n This collector is responsible for processing Cloudwatch events and polling events." | 146 | false | Netflix-Skunkworks/historical | handler | 19,381 | |
LDU_FT/lord63/v2ex_daily_mission/get_last | LDU_FT | [
"<BEGIN>\n## `login`",
"Login v2ex, otherwise we can't complete the mission.\n<END>",
"<BEGIN>\n## `_get_hashed_params`",
"Get hashed params which will be used when you login, see issue#10\n<END>",
"<BEGIN>\n## `_get_once`",
"Get once which will be used when you login.\n<END>",
"<BEGIN>\n## `get_money`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get to know how long you have kept signing in. | "Get to know how long you have kept signing in." | 14 | false | lord63/v2ex_daily_mission | get_last | 19,382 | |
LDU_FT/LettError/MutatorMath/_copyFontInfo | LDU_FT | [
"<BEGIN>\n## `makeUnicodeMapFromSources`",
"Create a dict with glyphName -> unicode value pairs\n using the data in the sources. \n If all master glyphs have the same unicode value\n this value will be used in the map.\n If master glyphs have conflicting value, a warnin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _copyFontInfo API.
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 _copyFontInfo API.
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... | Copy the non-calculating fields from the source info. | "Copy the non-calculating fields from the source info." | 169 | false | LettError/MutatorMath | _copyFontInfo | 19,383 | |
LDU_FT/onelogin/python3-saml/get_sp_cert | LDU_FT | [
"<BEGIN>\n## `get_issuer`",
"Gets the Issuer of the Logout Response Message\n :return: The Issuer\n :rtype: string\n<END>",
"<BEGIN>\n## `get_status`",
"Gets the Status\n :return: The Status\n :rtype: string\n<END>",
"<BEGIN>\n## `is_valid`",
"Determines if the SAML LogoutRespo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sp_cert API.
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_sp_cert API.
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 the x509 public cert of the SP.
:returns: SP public cert
:rtype: string or None | "Returns the x509 public cert of the SP.\n :returns: SP public cert\n :rtype: string or None" | 302 | false | onelogin/python3-saml | get_sp_cert | 19,384 | |
LDU_FT/makyo/prose-wc/wc | LDU_FT | [
"<BEGIN>\n## `setup`",
"Sets up the ArgumentParser.",
" Args:\n argv: an array of arguments\n<END>",
"<BEGIN>\n## `prose_wc`",
"Processes data provided to print a count object, or update a file.",
" Args:\n args: an ArgumentParser object returned by setup()\n<END>",
"<BEGIN>\n## `mar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wc API.
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 docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wc API.
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 docu... | Count the words, characters, and paragraphs in a string.
Args:
contents: the original string to count
filename (optional): the filename as provided to the CLI
parsed (optional): a parsed string, expected to be plaintext only
is_jekyll: whether the original contents were from a Jekyl... | "Count the words, characters, and paragraphs in a string.\n\n Args:\n contents: the original string to count\n filename (optional): the filename as provided to the CLI\n parsed (optional): a parsed string, expected to be plaintext only\n is_jekyll: whether the original contents were from ... | 18 | false | makyo/prose-wc | wc | 19,385 | |
LDU_FT/OpenHydrology/floodestimation/parse | LDU_FT | [
"<BEGIN>\n## `valid_flows_array`",
"Return array of valid flows (i.e. excluding rejected years etc)",
" :param catchment: gauged catchment with amax_records set\n :type catchment: :class:`floodestimation.entities.Catchment`\n :return: 1D array of flow values\n :rtype: :class:`numpy.ndarray`\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Parse entire file and return a :class:`Catchment` object.
:param file_name: File path
:type file_name: str
:return: Parsed object
:rtype: :class:`Catchment` | "Parse entire file and return a :class:`Catchment` object.\n\n :param file_name: File path\n :type file_name: str\n :return: Parsed object\n :rtype: :class:`Catchment`" | 194 | false | OpenHydrology/floodestimation | parse | 19,386 | |
LDU_FT/mila/pyoo/__set_value | LDU_FT | [
"<BEGIN>\n## `str_repr`",
"Implements string conversion methods for the given class.",
" The given class must implement the __str__ method. This decorat\n will add __repr__ and __unicode__ (for Python 2).\n<END>",
"<BEGIN>\n## `_clean_slice`",
"Validates and normalizes a cell range slice.",
" >>>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __set_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Sets cell value to a string or number based on the given value. | "Sets cell value to a string or number based on the given value." | 70 | false | mila/pyoo | __set_value | 19,387 | |
LDU_FT/ninuxorg/nodeshot/put | LDU_FT | [
"<BEGIN>\n## `get_formset`",
"Load Synchronizer schema to display specific fields in admin\n<END>",
"<BEGIN>\n## `public_broadcaster`",
"Thread which runs in parallel and constantly checks for new messages\n in the public pipe and broadcasts them publicly to all connected clients.\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | custom put method to support django-reversion | "custom put method to support django-reversion" | 261 | false | ninuxorg/nodeshot | put | 19,388 | |
LDU_FT/gpennington/PyMarvel/get_creators | LDU_FT | [
"<BEGIN>\n## `get_comics`",
"Returns a full ComicDataWrapper object for this creator.",
" /creators/{creatorId}/comics",
" :returns: ComicDataWrapper -- A new request to API. Contains full results set.\n<END>",
"<BEGIN>\n## `get_events`",
"Returns a full EventDataWrapper object for this cre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_creators API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_creators API.
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... | Fetches lists of creators.
get /v1/public/creators
:returns: CreatorDataWrapper
>>> m = Marvel(public_key, private_key)
>>> cdw = m.get_creators(lastName="Lee", orderBy="firstName,-modified", limit="5", offset="15")
>>> print cdw.data.total
25
... | "Fetches lists of creators.\n \n get /v1/public/creators\n \n :returns: CreatorDataWrapper\n\n >>> m = Marvel(public_key, private_key)\n >>> cdw = m.get_creators(lastName=\"Lee\", orderBy=\"firstName,-modified\", limit=\"5\", offset=\"15\")\n >>> print cdw.data.total\n ... | 109 | false | gpennington/PyMarvel | get_creators | 19,389 | |
LDU_FT/wdbm/datavision/normalize_to_range | LDU_FT | [
"<BEGIN>\n## `normalize_to_range`",
"This function normalizes values of a list to a specified range and returns\n the original object if the values are not of the types integer or float.\n<END>",
"<BEGIN>\n## `list_element_combinations_variadic`",
"This function accepts a specification of lists of elements... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_to_range API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_to_range API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | This function normalizes values of a list to a specified range and returns
the original object if the values are not of the types integer or float. | "This function normalizes values of a list to a specified range and returns\n the original object if the values are not of the types integer or float." | 29 | false | wdbm/datavision | normalize_to_range | 19,390 | |
LDU_FT/dancsalo/TensorBase/maxpool | LDU_FT | [
"<BEGIN>\n## `compute_samples`",
"Sample from a Normal distribution with inferred mu and std\n<END>",
"<BEGIN>\n## `neg_log_likelihood`",
"Calculate Log Likelihood with particular mean and std\n x must be 2D. [batch_size * eqsamples* iwsamples, num_latent]\n<END>",
"<BEGIN>\n## `compute_samples`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maxpool API.
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 maxpool API.
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... | Takes max value over a k x k area in each input map, or over the entire map (global = True)
:param k: int
:param globe: int, whether to pool over each feature map in its entirety | "Takes max value over a k x k area in each input map, or over the entire map (global = True)\n :param k: int\n :param globe: int, whether to pool over each feature map in its entirety" | 94 | false | dancsalo/TensorBase | maxpool | 19,391 | |
LDU_FT/woolfson-group/isambard/make_energy_funnel_data | LDU_FT | [
"<BEGIN>\n## `covalent_bonds`",
"Returns all the covalent bonds in a list of `Atom` pairs.",
" Notes\n -----\n Uses information `element_data`, which can be accessed directly\n through this module i.e. `isambard.ampal.interactions.element_data`.",
" Parameters\n ----------\n atoms : [(`At... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_energy_funnel_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_energy_funnel_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... | Compares models created during the minimisation to the best model.
Returns
-------
energy_rmsd_gen: [(float, float, int)]
A list of triples containing the BUFF score, RMSD to the
top model and generation of a model generated during the
minimisation. | "Compares models created during the minimisation to the best model.\n\n Returns\n -------\n energy_rmsd_gen: [(float, float, int)]\n A list of triples containing the BUFF score, RMSD to the\n top model and generation of a model generated during the\n minimisation." | 880 | false | woolfson-group/isambard | make_energy_funnel_data | 19,392 | |
LDU_FT/openvax/varcode/read_vcf_into_dataframe | LDU_FT | [
"<BEGIN>\n## `translate_codon`",
"Translate a single codon into a single amino acid or stop '*'",
" Parameters\n ----------\n codon : str\n Expected to be of length 3\n aa_pos : int\n Codon/amino acid offset into the protein (starting from 0)\n<END>",
"<BEGIN>\n## `translate`",
"Tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_vcf_into_dataframe 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 read_vcf_into_dataframe API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Load the data of a VCF into a pandas dataframe. All headers are ignored.
Parameters
----------
path : str
Path to local file. HTTP and other protocols are not implemented.
include_info : boolean, default False
If true, the INFO field is not parsed, but is included as a string in
... | "Load the data of a VCF into a pandas dataframe. All headers are ignored.\n\n Parameters\n ----------\n path : str\n Path to local file. HTTP and other protocols are not implemented.\n\n include_info : boolean, default False\n If true, the INFO field is not parsed, but is included as a string ... | 344 | false | openvax/varcode | read_vcf_into_dataframe | 19,393 | |
LDU_FT/getfleety/coralillo/key | LDU_FT | [
"<BEGIN>\n## `snake_case`",
"Takes a string that represents for example a class name and returns\n the snake case version of it. It is used for model-to-key conversion\n<END>",
"<BEGIN>\n## `value_or_default`",
"Returns the given value or the specified default value for this\n field\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the key API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Returns the redis key to access this object's values | "Returns the redis key to access this object's values" | 62 | false | getfleety/coralillo | key | 19,394 | |
LDU_FT/un33k/django-ipware/get_ip_info | LDU_FT | [
"<BEGIN>\n## `get_ip`",
"Returns client's best-matched ip-address, or None\n @deprecated - Do not edit\n<END>",
"<BEGIN>\n## `get_real_ip`",
"Returns client's best-matched `real` `externally-routable` ip-address, or None\n @deprecated - Do not edit\n<END>",
"<BEGIN>\n## `get_trusted_ip`",
"Returns c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ip_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ip_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Given a string, it returns a tuple of (IP, Routable). | "Given a string, it returns a tuple of (IP, Routable)." | 14 | false | un33k/django-ipware | get_ip_info | 19,395 | |
LDU_FT/arthurk/django-disqus/disqus_num_replies | LDU_FT | [
"<BEGIN>\n## `get_config`",
"Return the formatted javascript for any disqus config variables.\n<END>",
"<BEGIN>\n## `disqus_dev`",
"Return the HTML/js code to enable DISQUS comments on a local\n development server if settings.DEBUG is True.\n<END>",
"<BEGIN>\n## `disqus_sso`",
"Return the HTML/js code ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the disqus_num_replies 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 disqus_num_replies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Return the HTML/js code which transforms links that end with an
#disqus_thread anchor into the threads comment count. | "Return the HTML/js code which transforms links that end with an\n #disqus_thread anchor into the threads comment count." | 26 | false | arthurk/django-disqus | disqus_num_replies | 19,396 | |
LDU_FT/marvin-ai/marvin-python-toolbox/parse_response | LDU_FT | [
"<BEGIN>\n## `get_logger`",
"Build a logger that outputs to a file and to the console,\n<END>",
"<BEGIN>\n## `get`",
"Retrieves a config value from dict.\n If not found twrows an InvalidScanbooconfigException.\n<END>",
"<BEGIN>\n## `_get_version`",
"Return the project version from VERSION file.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Parse the response and build a `scanboo_common.http_client.HttpResponse` object.
For successful responses, convert the json data into a dict.
:param response: the `requests` response
:return: [HttpResponse] response object | "Parse the response and build a `scanboo_common.http_client.HttpResponse` object.\n For successful responses, convert the json data into a dict.\n\n :param response: the `requests` response\n\n :return: [HttpResponse] response object" | 37 | false | marvin-ai/marvin-python-toolbox | parse_response | 19,397 | |
LDU_FT/jpablo128/simplystatic/make_site_obj | LDU_FT | [
"<BEGIN>\n## `make_site_obj`",
"Instantiate and return the site. This will be used for all commands\n<END>",
"<BEGIN>\n## `random_md_page`",
"Generate random markdown page content..",
" If the parameters are zero, instead of a fixed number of elements \n it uses a random number.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_site_obj API.
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 make_site_obj API.
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... | Instantiate and return the site. This will be used for all commands | "Instantiate and return the site. This will be used for all commands" | 85 | false | jpablo128/simplystatic | make_site_obj | 19,398 | |
LDU_FT/hayd/ctox/safe_shell_out | LDU_FT | [
"<BEGIN>\n## `expand_curlys`",
"Takes string and returns list of options:",
" Example\n -------\n >>> expand_curlys(\"py{26, 27}\")\n [\"py26\", \"py27\"]\n<END>",
"<BEGIN>\n## `_split_out_of_braces`",
"Generator to split comma seperated string, but not split commas inside\n curly braces.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safe_shell_out API.
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 safe_shell_out API.
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... | run cmd and return True if it went ok, False if something went wrong.
Suppress all output. | "run cmd and return True if it went ok, False if something went wrong.\n\n Suppress all output." | 40 | false | hayd/ctox | safe_shell_out | 19,399 | |
LDU_FT/inspirehep/refextract/find_reference_section_no_title_generic | LDU_FT | [
"<BEGIN>\n## `process_reference_line`",
"After the phase of identifying and tagging citation instances\n in a reference line, this function is called to go through the\n line and the collected information about the recognised citations,\n and to transform the line into a string of MARC XML in wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_reference_section_no_title_generic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_reference_section_no_title_generic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicate... | This function would generally be used when it was not possible to locate
the start of a document's reference section by means of its title.
Instead, this function will look for reference lines that have numeric
markers of the format [1], [2], {1}, {2}, etc.
@param docbody: (list) of strings ... | "This function would generally be used when it was not possible to locate\n the start of a document's reference section by means of its title.\n Instead, this function will look for reference lines that have numeric\n markers of the format [1], [2], {1}, {2}, etc.\n @param docbody: (list) of str... | 301 | false | inspirehep/refextract | find_reference_section_no_title_generic | 19,400 | |
LDU_FT/adafruit/Adafruit_Python_PlatformDetect/id | LDU_FT | [
"<BEGIN>\n## `id`",
"Return a unique id for the detected chip, if any.\n<END>",
"<BEGIN>\n## `_linux_id`",
"Attempt to detect the CPU on a computer running the Linux kernel.\n<END>",
"<BEGIN>\n## `id`",
"Return a unique id for the detected board, if any.\n<END>",
"<BEGIN>\n## `_pi_rev_code`",
"Attempt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | Return a unique id for the detected board, if any. | "Return a unique id for the detected board, if any." | 14 | false | adafruit/Adafruit_Python_PlatformDetect | id | 19,401 | |
LDU_FT/openai/universe/get_client | LDU_FT | [
"<BEGIN>\n## `send_KeyEvent`",
"For most ordinary keys, the \"keysym\" is the same as the\n corresponding ASCII value. Other common keys are shown in the\n KEY_ constants.\n<END>",
"<BEGIN>\n## `send_PointerEvent`",
"Indicates either pointer movement or a pointer button press or\n rel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_client API.
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... | Set DOCKER_HOST (and probably DOCKER_TLS_VERIFY and DOCKER_CERT_PATH) to connect to a docker instance through TCP.
Leave DOCKER_HOST unset and it will use the default, typically unix:/var/run/docker.sock
It also needs to know how to connect to ports on the docker container after creating it.
Set DOCKER_NET... | "Set DOCKER_HOST (and probably DOCKER_TLS_VERIFY and DOCKER_CERT_PATH) to connect to a docker instance through TCP.\n Leave DOCKER_HOST unset and it will use the default, typically unix:/var/run/docker.sock\n\n It also needs to know how to connect to ports on the docker container after creating it.\n Set DOCKE... | 126 | false | openai/universe | get_client | 19,402 | |
LDU_FT/JoelBender/bacpypes/bind | 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 bind API.
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 bind API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Create a network adapter object and bind. | "Create a network adapter object and bind." | 376 | false | JoelBender/bacpypes | bind | 19,403 | |
LDU_FT/AliLozano/django-messages-extends/persistant_error | LDU_FT | [
"<BEGIN>\n## `_get`",
"Gets a single list of messages from all storage backends.\n<END>",
"<BEGIN>\n## `_store`",
"Stores the messages, returning any unstored messages after trying all\n backends.",
" For each storage backend, any messages not stored are passed on to the\n next backend.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the persistant_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the persistant_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Adds a persistant message with the ``ERROR`` level. | "Adds a persistant message with the ``ERROR`` level." | 28 | false | AliLozano/django-messages-extends | persistant_error | 19,404 | |
LDU_FT/HydrelioxGitHub/pyiss/current_location | LDU_FT | [
"<BEGIN>\n## `people_in_space`",
"Number of people in space.\n Be aware that does not mean these people are inside the ISS (it does\n most of the time), They can be travelling to and from the station.",
" :return: Return a dict with number of people in space right now and\n their nam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the current_location API.
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 current_location API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Current location of the ISS.
:return: A dict with latitude and longitude of ISS
:rtype: dict | "Current location of the ISS.\n\n :return: A dict with latitude and longitude of ISS\n :rtype: dict" | 15 | false | HydrelioxGitHub/pyiss | current_location | 19,405 | |
LDU_FT/marshmallow-code/flask-marshmallow/init_app | LDU_FT | [
"<BEGIN>\n## `_get_value`",
"Slightly-modified version of marshmallow.utils.get_value.\n If a dot-delimited ``key`` is passed and any attribute in the\n path is `None`, return `None`.\n<END>",
"<BEGIN>\n## `_rapply`",
"Apply a function to all values in a dictionary or list of dictionaries, recursively.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Initializes the application with the extension.
:param Flask app: The Flask application object. | "Initializes the application with the extension.\n\n :param Flask app: The Flask application object." | 18 | false | marshmallow-code/flask-marshmallow | init_app | 19,406 | |
LDU_FT/SectorLabs/django-localized-fields/formfield | LDU_FT | [
"<BEGIN>\n## `save`",
"Saves this model instance to the database.\n<END>",
"<BEGIN>\n## `to_python`",
"Converts the value from a database value into a Python value.\n<END>",
"<BEGIN>\n## `get_prep_value`",
"Gets the value in a format to store into the database.\n<END>",
"<BEGIN>\n## `formfield`",
"Get... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the formfield API.
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 formfield API.
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... | Gets the form field associated with this field.
Because this is a slug field which is automatically
populated, it should be hidden from the form. | "Gets the form field associated with this field.\n\n Because this is a slug field which is automatically\n populated, it should be hidden from the form." | 117 | false | SectorLabs/django-localized-fields | formfield | 19,407 | |
LDU_FT/paulovn/sparql-kernel/render_graph | LDU_FT | [
"<BEGIN>\n## `token_at_cursor`",
"Find the token present at the passed position in the code buffer\n :return (tuple): a pair (token, start_position)\n<END>",
"<BEGIN>\n## `_send`",
"Send a response to the frontend and return an execute message\n @param data: response to send\n @param msg_t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_graph API.
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 render_graph API.
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... | Render to output a result that can be parsed as an RDF graph | "Render to output a result that can be parsed as an RDF graph" | 55 | false | paulovn/sparql-kernel | render_graph | 19,408 | |
LDU_FT/pmorissette/ffn/calc_mean_var_weights | 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 calc_mean_var_weights 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 calc_mean_var_weights API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Calculates the mean-variance weights given a DataFrame of returns.
Args:
* returns (DataFrame): Returns for multiple securities.
* weight_bounds ((low, high)): Weigh limits for optimization.
* rf (float): `Risk-free rate <https://www.investopedia.com/terms/r/risk-freerate.asp>`_ used in uti... | "Calculates the mean-variance weights given a DataFrame of returns.\n\n Args:\n * returns (DataFrame): Returns for multiple securities.\n * weight_bounds ((low, high)): Weigh limits for optimization.\n * rf (float): `Risk-free rate <https://www.investopedia.com/terms/r/risk-freerate.asp>`_ used ... | 176 | false | pmorissette/ffn | calc_mean_var_weights | 19,409 | |
LDU_FT/CTPUG/wafer/get_form | LDU_FT | [
"<BEGIN>\n## `build_object`",
"Override django-bakery to skip profiles that raise 404\n<END>",
"<BEGIN>\n## `generate_schedule`",
"Helper function which creates an ordered list of schedule days\n<END>",
"<BEGIN>\n## `get_context_data`",
"Allow adding a 'render_description' parameter\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_form API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_form API.
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... | Change the form depending on whether we're adding or
editing the slot. | "Change the form depending on whether we're adding or\n editing the slot." | 72 | false | CTPUG/wafer | get_form | 19,410 | |
LDU_FT/globus/globus-cli/create_proxy_credentials | LDU_FT | [
"<BEGIN>\n## `role_show`",
"Executor for `globus endpoint role show`\n<END>",
"<BEGIN>\n## `outformat_is_json`",
"Only safe to call within a click context.\n<END>",
"<BEGIN>\n## `outformat_is_unix`",
"Only safe to call within a click context.\n<END>",
"<BEGIN>\n## `outformat_is_text`",
"Only safe to c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_proxy_credentials 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 create_proxy_credentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Given an issuer credentials PEM file in the form of a string, a public_key
string from an activation requirements document, and an int for the
proxy lifetime, returns credentials as a unicode string in PEM format
containing a new proxy certificate and an extended proxy chain. | "Given an issuer credentials PEM file in the form of a string, a public_key\n string from an activation requirements document, and an int for the\n proxy lifetime, returns credentials as a unicode string in PEM format\n containing a new proxy certificate and an extended proxy chain." | 186 | false | globus/globus-cli | create_proxy_credentials | 19,411 | |
LDU_FT/pypa/bandersnatch/_filter_packages | LDU_FT | [
"<BEGIN>\n## `_determine_unfiltered_package_names`",
"Return a list of package names to be filtered base on the configuration\n file.\n<END>",
"<BEGIN>\n## `check_match`",
"Check if the package name matches against a project that is blacklisted\n in the configuration.",
" Parameters\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _filter_packages API.
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 _filter_packages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Run the package filtering plugins and remove any packages from the
packages_to_sync that match any filters.
- Logging of action will be done within the check_match methods | "Run the package filtering plugins and remove any packages from the\n packages_to_sync that match any filters.\n - Logging of action will be done within the check_match methods" | 70 | false | pypa/bandersnatch | _filter_packages | 19,412 | |
LDU_FT/gijzelaerr/python-snap7/destroy | LDU_FT | [
"<BEGIN>\n## `check_error`",
"check if the error code is set. If so, a Python log message is generated\n and an error is raised.\n<END>",
"<BEGIN>\n## `error_text`",
"Returns a textual explanation of a given error number",
" :param error: an error integer\n :param context: server, client or partner... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the destroy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the destroy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Destroy a Partner of given handle.
Before destruction the Partner is stopped, all clients disconnected and
all shared memory blocks released. | "Destroy a Partner of given handle.\n Before destruction the Partner is stopped, all clients disconnected and\n all shared memory blocks released." | 150 | false | gijzelaerr/python-snap7 | destroy | 19,413 | |
LDU_FT/JasonKessler/scattertext/set_last_row_idx | LDU_FT | [
"<BEGIN>\n## `coarse_tag_str`",
"Convert POS sequence to our coarse system, formatted as a string.\n<END>",
"<BEGIN>\n## `extract_finditer`",
"The \"GreedyFSA\" method in Handler et al. 2016.\n\tReturns token position spans of valid ngrams.\n<END>",
"<BEGIN>\n## `extract_ngram_filter`",
"The \"FilterFSA\"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_last_row_idx API.
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_last_row_idx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Parameters
----------
param last_row_idx : int
number of rows | "Parameters\n\t\t----------\n\t\tparam last_row_idx : int\n\t\t\tnumber of rows" | 419 | false | JasonKessler/scattertext | set_last_row_idx | 19,414 | |
LDU_FT/wharris/dougrain/from_object | LDU_FT | [
"<BEGIN>\n## `add_curie`",
"Adds a CURIE definition.",
" A CURIE link with the given ``name`` and ``href`` is added to the\n document.",
" This method returns self, allowing it to be chained with additional\n method calls.\n<END>",
"<BEGIN>\n## `add_link`",
"Adds a link to the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_object API.
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 from_object API.
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 new ``Link`` based on a JSON object or array.
Arguments:
- ``o``: a dictionary holding the deserializated JSON for the new
``Link``, or a ``list`` of such documents.
- ``base_uri``: optional URL used as the basis when expanding
relative... | "Returns a new ``Link`` based on a JSON object or array.\n\n Arguments:\n\n - ``o``: a dictionary holding the deserializated JSON for the new\n ``Link``, or a ``list`` of such documents.\n - ``base_uri``: optional URL used as the basis when expanding\n ... | 94 | false | wharris/dougrain | from_object | 19,415 | |
LDU_FT/MacHu-GWU/single_file_module-project/cycle_dist | LDU_FT | [
"<BEGIN>\n## `use`",
"Change the hash algorithm you gonna use.\n<END>",
"<BEGIN>\n## `of_bytes`",
"Use default hash method to return hash value of bytes.",
" :type py_bytes: binary_type\n :param py_bytes: a binary object\n<END>",
"<BEGIN>\n## `of_text`",
"Use default hash method to return ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cycle_dist API.
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 cycle_dist API.
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... | Find Distance between x, y by means of a n-length cycle.
:param x:
:param y:
:param perimeter:
Example:
>>> cycle_dist(1, 23, 24) = 2
>>> cycle_dist(5, 13, 24) = 8
>>> cycle_dist(0.0, 2.4, 1.0) = 0.4
>>> cycle_dist(0.0, 2.6, 1.0) = 0.4
**中文文档**
假设坐标轴是一个环, 计算两... | "Find Distance between x, y by means of a n-length cycle.\n\n :param x:\n :param y:\n :param perimeter:\n\n Example:\n\n >>> cycle_dist(1, 23, 24) = 2\n >>> cycle_dist(5, 13, 24) = 8\n >>> cycle_dist(0.0, 2.4, 1.0) = 0.4\n >>> cycle_dist(0.0, 2.6, 1.0) = 0.4\n\n **中文文档**\n\n ... | 297 | false | MacHu-GWU/single_file_module-project | cycle_dist | 19,416 | |
LDU_FT/rraadd88/rohan/dqueries2queriessam | LDU_FT | [
"<BEGIN>\n## `dqueries2queriessam`",
"Aligns queries to genome and gets SAM file\n step#1",
" :param cfg: configuration dict\n :param dqueries: dataframe of queries\n<END>",
"<BEGIN>\n## `queriessam2dalignbed`",
"Processes SAM file to get the genomic coordinates in BED format\n step#2",
" :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dqueries2queriessam API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dqueries2queriessam API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Aligns queries to genome and gets SAM file
step#1
:param cfg: configuration dict
:param dqueries: dataframe of queries | "Aligns queries to genome and gets SAM file\n step#1\n\n :param cfg: configuration dict\n :param dqueries: dataframe of queries" | 124 | false | rraadd88/rohan | dqueries2queriessam | 19,417 | |
LDU_FT/andrewramsay/sk8-drivers/scan_devices | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the device name and/or RSSI.",
" During an ongoing scan, multiple records from the same device can be \n received during the scan. Each time that happens this method is \n called to update the :attr:`name` and/or :attr:`rssi` attributes.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_devices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_devices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Run a BLE scan for a defined interval and return results.
Alternative to :meth:`begin_scan/:meth:`end_scan`.
Args:
timeout (float): time in seconds to run the scanning process for
interval (int): BLE scan interval, in units of 625us
window (int): BLE scan w... | "Run a BLE scan for a defined interval and return results.\n \n Alternative to :meth:`begin_scan/:meth:`end_scan`. \n\n Args:\n timeout (float): time in seconds to run the scanning process for\n interval (int): BLE scan interval, in units of 625us\n window (int): BL... | 193 | false | andrewramsay/sk8-drivers | scan_devices | 19,418 | |
LDU_FT/henzk/ape/_check_position | LDU_FT | [
"<BEGIN>\n## `is_valid`",
"Checks the feature list product spec against.\n Checks if all mandartory features are contained;\n Checks that all \"never\" features are not contained\n :return: boolean\n<END>",
"<BEGIN>\n## `_read`",
"Reads the spec files and extracts the concrete product spe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_position API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Takes the featur and the info dict and checks for the forced position
:param feature:
:param info:
:return: | "Takes the featur and the info dict and checks for the forced position\n :param feature:\n :param info:\n :return:" | 106 | false | henzk/ape | _check_position | 19,419 | |
LDU_FT/secdev/scapy/get_long_description | 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 get_long_description 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_long_description API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Extract description from README.md, for PyPI's usage | "Extract description from README.md, for PyPI's usage" | 1,329 | true | secdev/scapy | get_long_description | 19,420 | |
LDU_FT/textX/textX/sm_to_dot | LDU_FT | [
"<BEGIN>\n## `needs_to_be_resolved`",
"This function determines, if a reference (CrossReference) needs to be\n resolved or not (while creating the model, while resolving references).",
" Args:\n parent_obj: the object containing the attribute to be resolved.\n attr_name: the attribute identi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sm_to_dot API.
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 sm_to_dot API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Transforms given state machine model to dot str. | "Transforms given state machine model to dot str." | 140 | false | textX/textX | sm_to_dot | 19,421 | |
LDU_FT/IdentityPython/SATOSA/run | LDU_FT | [
"<BEGIN>\n## `handle_authn_response`",
"See super class method satosa.frontends.base.FrontendModule#handle_authn_response\n :type context: satosa.context.Context\n :type internal_response: satosa.internal.InternalData\n :rtype satosa.response.Response\n<END>",
"<BEGIN>\n## `handle_authn_req... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Runs the satosa proxy with the given context.
:type context: satosa.context.Context
:rtype: satosa.response.Response
:param context: The request context
:return: response | "Runs the satosa proxy with the given context.\n\n :type context: satosa.context.Context\n :rtype: satosa.response.Response\n\n :param context: The request context\n :return: response" | 435 | false | IdentityPython/SATOSA | run | 19,422 | |
LDU_FT/expfactory/expfactory/load_experiment | LDU_FT | [
"<BEGIN>\n## `get_experiments`",
"get_experiments will return loaded json for all valid experiments from an experiment folder\n :param base: full path to the base folder with experiments inside\n :param load: if True, returns a list of loaded config.json objects. If False (default) returns the paths to the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_experiment API.
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 load_experiment API.
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... | load_experiment:
reads in the config.json for a folder, returns None if not found.
:param folder: full path to experiment folder
:param return_path: if True, don't load the config.json, but return it | "load_experiment:\n reads in the config.json for a folder, returns None if not found.\n :param folder: full path to experiment folder\n :param return_path: if True, don't load the config.json, but return it" | 128 | false | expfactory/expfactory | load_experiment | 19,423 | |
LDU_FT/soasme/rio/emit_event | LDU_FT | [
"<BEGIN>\n## `urlopen`",
"A slightly safer version of ``urlib2.urlopen`` which prevents redirection\n and ensures the URL isn't attempting to hit a blacklisted IP range.\n<END>",
"<BEGIN>\n## `extract_response`",
"Extract requests response object.",
" only extract those status_code in [200, 300).",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit_event API.
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 emit_event API.
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... | Emit Event.
:param project_slug: the slug of the project
:param action_slug: the slug of the action
:param payload: the payload that emit with action
:param sender_name: name that identified the sender
:parma sender_secret: secret string
:return: dict with task_id and event_uuid
raise Miss... | "Emit Event.\n\n :param project_slug: the slug of the project\n :param action_slug: the slug of the action\n :param payload: the payload that emit with action\n :param sender_name: name that identified the sender\n :parma sender_secret: secret string\n :return: dict with task_id and event_uuid\n\n ... | 88 | false | soasme/rio | emit_event | 19,424 | |
LDU_FT/googleapis/google-cloud-python/_update_from_pb | LDU_FT | [
"<BEGIN>\n## `_verify_params`",
"Verifies the parameters don't use any reserved parameter.",
" Raises:\n ValueError: If a reserved parameter is used.\n<END>",
"<BEGIN>\n## `_next_page`",
"Get the next page in the iterator.",
" Returns:\n Optional[Page]: The next page in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_from_pb API.
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 _update_from_pb API.
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... | Refresh self from the server-provided protobuf.
Helper for :meth:`from_pb` and :meth:`reload`. | "Refresh self from the server-provided protobuf.\n Helper for :meth:`from_pb` and :meth:`reload`." | 7,029 | true | googleapis/google-cloud-python | _update_from_pb | 19,425 | |
LDU_FT/JNRowe/jnrbase/_colourise | LDU_FT | [
"<BEGIN>\n## `parse_requires`",
"Parse ``pip``-style requirements files.",
" This is a *very* naïve parser, but very few packages make use of the more\n advanced features. Support for other features will be added only when\n packages in the wild depend on them.",
" Args:\n __fname: Base fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _colourise API.
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 _colourise API.
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... | Colour text, if possible.
Args:
text: Text to colourise
colour: Colour to display text in
Returns:
Colourised text, if possible | "Colour text, if possible.\n\n Args:\n text: Text to colourise\n colour: Colour to display text in\n Returns:\n Colourised text, if possible" | 112 | false | JNRowe/jnrbase | _colourise | 19,426 | |
LDU_FT/twitterdev/tweet_parser/get_geo_coordinates | LDU_FT | [
"<BEGIN>\n## `get_entities`",
"Helper function to simply grabbing the entities. \\n\n Caveat: In the case of Retweets, a Retweet is stored as\n \"RT @someone: Some awesome status\". In the case where pre-appending\n the string \"RT @someone:\" causes the Tweet to exceed 140 characters,\n entites (hash... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_geo_coordinates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_geo_coordinates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Get the user's geo coordinates, if they are included in the payload
(otherwise return None)
Args:
tweet (Tweet or dict): A Tweet object or dictionary
Returns:
dict: dictionary with the keys "latitude" and "longitude"
or, if unavaiable, None
Example:
>>> from twee... | "Get the user's geo coordinates, if they are included in the payload\n (otherwise return None)\n\n Args:\n tweet (Tweet or dict): A Tweet object or dictionary\n\n Returns:\n dict: dictionary with the keys \"latitude\" and \"longitude\"\n or, if unavaiable, None\n\n Example:\n ... | 170 | false | twitterdev/tweet_parser | get_geo_coordinates | 19,427 | |
LDU_FT/raghakot/keras-vis/visualize_activation_with_losses | LDU_FT | [
"<BEGIN>\n## `visualize_activation_with_losses`",
"Generates the `input_tensor` that minimizes the weighted `losses`. This function is intended for advanced\n use cases where a custom loss is desired.",
" Args:\n input_tensor: An input tensor of shape: `(samples, channels, image_dims...)` if `image... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visualize_activation_with_losses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visualize_activation_with_losses API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Generates the `input_tensor` that minimizes the weighted `losses`. This function is intended for advanced
use cases where a custom loss is desired.
Args:
input_tensor: An input tensor of shape: `(samples, channels, image_dims...)` if `image_data_format=
channels_first` or `(samples, image_d... | "Generates the `input_tensor` that minimizes the weighted `losses`. This function is intended for advanced\n use cases where a custom loss is desired.\n\n Args:\n input_tensor: An input tensor of shape: `(samples, channels, image_dims...)` if `image_data_format=\n channels_first` or `(samples, i... | 138 | false | raghakot/keras-vis | visualize_activation_with_losses | 19,428 | |
LDU_FT/ansible/ansible-runner/configure | LDU_FT | [
"<BEGIN>\n## `get_contents`",
"Loads the contents of the file specified by path",
" Args:\n path (string): The relative or absolute path to the file to\n be loaded. If the path is relative, then it is combined\n with the base_path to generate a full path string",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
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 configure API.
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... | Configures the logging facility
This function will setup an initial logging facility for handling display
and debug outputs. The default facility will send display messages to
stdout and the default debug facility will do nothing.
:returns: None | "Configures the logging facility\n\n This function will setup an initial logging facility for handling display\n and debug outputs. The default facility will send display messages to\n stdout and the default debug facility will do nothing.\n\n :returns: None" | 83 | false | ansible/ansible-runner | configure | 19,429 | |
LDU_FT/bblfsh/client-python/filter_float | LDU_FT | [
"<BEGIN>\n## `parse`",
"Queries the Babelfish server and receives the UAST response for the specified\n file.",
" :param filename: The path to the file. Can be arbitrary if contents \\\n is not None.\n :param language: The programming language of the file. Refer to \... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_float API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_float API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Filter and ensure that the returned value is of type int. | "Filter and ensure that the returned value is of type int." | 25 | false | bblfsh/client-python | filter_float | 19,430 | |
LDU_FT/pavelsof/ipalint/report | LDU_FT | [
"<BEGIN>\n## `_save_stdin`",
"Creates a temporary dir (self.temp_dir) and saves the given input\n\t\tstream to a file within that dir. Returns the path to the file. The dir\n\t\tis removed in the __del__ method.\n<END>",
"<BEGIN>\n## `_open`",
"Opens the file specified by the given path. Raises ValueError if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Adds the problems that have been found so far to the given Reporter
instance. The two keyword args can be used to restrict the error types
to be reported. | "Adds the problems that have been found so far to the given Reporter\n\t\tinstance. The two keyword args can be used to restrict the error types\n\t\tto be reported." | 53 | false | pavelsof/ipalint | report | 19,431 | |
LDU_FT/chrismattmann/tika-python/parseAndSave | LDU_FT | [
"<BEGIN>\n## `from_file`",
"Parses a file for metadata and content\n :param filename: path to file which needs to be parsed\n :param serverEndpoint: Server endpoint url\n :param xmlContent: Whether or not XML content be requested.\n Default is 'False', which results in text content.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parseAndSave API.
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 parseAndSave API.
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... | Parse the objects and write extracted metadata and/or text in JSON format to matching
filename with an extension of '_meta.json'.
:param option:
:param urlOrPaths:
:param outDir:
:param serverEndpoint:
:param verbose:
:param tikaServerJar:
:param responseMimeType:
:param metaExtensio... | "Parse the objects and write extracted metadata and/or text in JSON format to matching\n filename with an extension of '_meta.json'.\n :param option:\n :param urlOrPaths:\n :param outDir:\n :param serverEndpoint:\n :param verbose:\n :param tikaServerJar:\n :param responseMimeType:\n :param me... | 54 | false | chrismattmann/tika-python | parseAndSave | 19,432 | |
LDU_FT/requests/requests-kerberos/handle_other | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Simple function to extract the current version using regular expressions.\n<END>",
"<BEGIN>\n## `_negotiate_value`",
"Extracts the gssapi authentication token from the appropriate header\n<END>",
"<BEGIN>\n## `_get_channel_bindings_application_data`",
"https://tools.ietf.org/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_other API.
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 handle_other API.
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... | Handles all responses with the exception of 401s.
This is necessary so that we can authenticate responses if requested | "Handles all responses with the exception of 401s.\n\n This is necessary so that we can authenticate responses if requested" | 23 | false | requests/requests-kerberos | handle_other | 19,433 | |
LDU_FT/LCAV/pylocus/relaxedEMDS | LDU_FT | [
"<BEGIN>\n## `optspace`",
"Complete and denoise EDM using OptSpace algorithm.",
" Uses OptSpace algorithm to complete and denoise EDM. The problem being solved is\n X,S,Y = argmin_(X,S,Y) || W ° (D - XSY') ||_F^2",
" :param edm_missing: EDM with 0 where no measurement was taken.\n :param rank: exp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relaxedEMDS API.
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 relaxedEMDS API.
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... | Find the set of points from an edge kernel with geometric constraints, using convex rank relaxation. | "Find the set of points from an edge kernel with geometric constraints, using convex rank relaxation." | 130 | false | LCAV/pylocus | relaxedEMDS | 19,434 | |
LDU_FT/bmweiner/skillful/sender | LDU_FT | [
"<BEGIN>\n## `timestamp`",
"Validate timestamp specified by request.",
" See `validate.request` for additional info.",
" Args:\n stamp: str. Time request was made as ISO 8601 timestamp.\n tolerance: int. Number of seconds request remains valid from timestamp.",
" Returns\n bool... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted ... | Validate request is from Alexa.
Verifying that the Request was Sent by Alexa: https://goo.gl/AcrzB5.
Checking the Signature of the Request: https://goo.gl/FDkjBN.
Checking the Timestamp of the Request: https://goo.gl/Z5JhqZ
Args:
body: str. HTTPS request body.
s... | "Validate request is from Alexa.\n\n Verifying that the Request was Sent by Alexa: https://goo.gl/AcrzB5.\n Checking the Signature of the Request: https://goo.gl/FDkjBN.\n Checking the Timestamp of the Request: https://goo.gl/Z5JhqZ\n\n Args:\n body: str. HTTPS request body.\n ... | 94 | false | bmweiner/skillful | sender | 19,435 | |
LDU_FT/dsandersAzure/python_digits/random | LDU_FT | [
"<BEGIN>\n## `word`",
"Property of the DigitWord returning (or setting) the DigitWord as a list of integers (or\n string representations) of DigitModel. The property is called during instantiation as the\n property validates the value passed and ensures that all digits are valid.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random API.
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 random API.
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 ... | Method to randomize the DigitWord to a given length; for example obj.random(length=4) would
produce a DigitWord containing of four random Digits or HexDigits. The type of digit created
is set by the wordtype. | "Method to randomize the DigitWord to a given length; for example obj.random(length=4) would\n produce a DigitWord containing of four random Digits or HexDigits. The type of digit created\n is set by the wordtype." | 10 | false | dsandersAzure/python_digits | random | 19,436 | |
LDU_FT/nion-software/nionswift/parse_zip | LDU_FT | [
"<BEGIN>\n## `get_string`",
"Return a string value that the user enters. Raises exception for cancel.\n<END>",
"<BEGIN>\n## `__accept_reject`",
"Return a boolean value for accept/reject.\n<END>",
"<BEGIN>\n## `item_transaction`",
"Begin transaction state for item.",
" A transaction state is exist... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_zip API.
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 parse_zip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Parse the zip file headers at fp
:param fp: the file pointer from which to parse the zip file
:return: A tuple of local files, directory headers, and end of central directory
The local files are dictionary where the keys are the local file offset and the
values are each a tuple consist... | "Parse the zip file headers at fp\n\n :param fp: the file pointer from which to parse the zip file\n :return: A tuple of local files, directory headers, and end of central directory\n\n The local files are dictionary where the keys are the local file offset and the\n values are each a tuple ... | 690 | false | nion-software/nionswift | parse_zip | 19,437 | |
LDU_FT/zengbin93/zb/LR_train | LDU_FT | [
"<BEGIN>\n## `layer_sizes`",
"Arguments:\n X -- input dataset of shape (input size, number of examples)\n Y -- labels of shape (output size, number of examples)",
" Returns:\n n_x -- the size of the input layer\n n_h -- the size of the hidden layer\n n_y -- the size of the output layer\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the LR_train API.
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 LR_train API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | This function optimizes w and b by running a gradient descent algorithm
Arguments:
w weights, a numpy array of size (dim, 1)
b bias, a scalar
X data of shape (dim, number of examples)
Y true "label" vector, of shape (1, number of examples)
num_iterations number of i... | "This function optimizes w and b by running a gradient descent algorithm\n\n Arguments:\n w weights, a numpy array of size (dim, 1)\n b bias, a scalar\n X data of shape (dim, number of examples)\n Y true \"label\" vector, of shape (1, number of examples)\n num_iterations n... | 101 | false | zengbin93/zb | LR_train | 19,438 | |
LDU_FT/suurjaak/InputScope/stats_keyboard | LDU_FT | [
"<BEGIN>\n## `start`",
"Starts the listener with incoming and outgoing queues.\n<END>",
"<BEGIN>\n## `fetch`",
"Convenience wrapper for database SELECT and fetch all.\n<END>",
"<BEGIN>\n## `fetchone`",
"Convenience wrapper for database SELECT and fetch one.\n<END>",
"<BEGIN>\n## `insert`",
"Convenienc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stats_keyboard API.
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 stats_keyboard API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return statistics and collated events for keyboard events. | "Return statistics and collated events for keyboard events." | 38 | false | suurjaak/InputScope | stats_keyboard | 19,439 | |
LDU_FT/abe-winter/pg13-py/apply_sql | LDU_FT | [
"<BEGIN>\n## `names_from_exp`",
"Return a list of AttrX and NameX from the expression.\n<END>",
"<BEGIN>\n## `classify_wherex`",
"helper for wherex_to_rowlist. returns [SingleTableCond,...], [CartesianCond,...]\n<END>",
"<BEGIN>\n## `table_to_rowlist`",
"helper for wherex_to_rowlist. (table.Table, [exp, .... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_sql API.
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 apply_sql API.
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... | call the stmt in tree with values subbed on the tables in t_d.
ex is a parsed statement returned by parse_expression.
values is the tuple of %s replacements.
lockref can be anything as long as it stays the same; it's used for assigning tranaction ownership.
(safest is to make it a pgmock_dbapi2.Co... | "call the stmt in tree with values subbed on the tables in t_d.\r\n ex is a parsed statement returned by parse_expression.\r\n values is the tuple of %s replacements.\r\n lockref can be anything as long as it stays the same; it's used for assigning tranaction ownership.\r\n (safest is to make it a pgmock_... | 182 | false | abe-winter/pg13-py | apply_sql | 19,440 | |
LDU_FT/CalebBell/ht/Cavallini_Smith_Zecchin | LDU_FT | [
"<BEGIN>\n## `blackbody_spectral_radiance`",
"r'''Returns the spectral radiance, in units of W/m^2/sr/µm.",
" .. math::\n I_{\\lambda,blackbody,e}(\\lambda,T)=\\frac{2hc_o^2}\n {\\lambda^5[\\exp(hc_o/\\lambda k T)-1]}",
" Parameters\n ----------\n T : float\n Temperature of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Cavallini_Smith_Zecchin 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 Cavallini_Smith_Zecchin API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | r'''Calculates heat transfer coefficient for condensation
of a fluid inside a tube, as presented in
[1]_, also given in [2]_ and [3]_.
.. math::
Nu = \frac{hD_i}{k_l} = 0.05 Re_e^{0.8} Pr_l^{0.33}
Re_{eq} = Re_g(\mu_g/\mu_l)(\rho_l/\rho_g)^{0.5} + Re_l
v_{gs} = \frac{mx}{\... | "r'''Calculates heat transfer coefficient for condensation\n of a fluid inside a tube, as presented in\n [1]_, also given in [2]_ and [3]_.\n\n .. math::\n Nu = \\frac{hD_i}{k_l} = 0.05 Re_e^{0.8} Pr_l^{0.33}\n \n Re_{eq} = Re_g(\\mu_g/\\mu_l)(\\rho_l/\\rho_g)^{0.5} + Re_l\n\n v_{gs... | 2,013 | true | CalebBell/ht | Cavallini_Smith_Zecchin | 19,441 | |
LDU_FT/pytroll/pyspectral/blackbody_wn_rad2temp | LDU_FT | [
"<BEGIN>\n## `radiance2tb`",
"Get the Tb from the radiance using the Planck function",
" rad:\n Radiance in SI units\n wavelength:\n Wavelength in SI units (meter)\n<END>",
"<BEGIN>\n## `_get_rsr`",
"Get the relative spectral responses from file, find the bandname, and\n convert t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the blackbody_wn_rad2temp 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 blackbody_wn_rad2temp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Derive brightness temperatures from radiance using the Planck
function. Wavenumber space | "Derive brightness temperatures from radiance using the Planck \n function. Wavenumber space" | 129 | false | pytroll/pyspectral | blackbody_wn_rad2temp | 19,442 | |
LDU_FT/dropbox/stone/_check_field_names_unique | LDU_FT | [
"<BEGIN>\n## `generic_type_name`",
"Return a descriptive type name that isn't Python specific. For example, an\n int type will return 'integer' rather than 'int'.\n<END>",
"<BEGIN>\n## `doc_unwrap`",
"Applies two transformations to raw_doc:\n 1. N consecutive newlines are converted into N-1 newlines.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_field_names_unique 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 _check_field_names_unique API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Enforces that patched fields don't already exist. | "Enforces that patched fields don't already exist." | 613 | false | dropbox/stone | _check_field_names_unique | 19,443 | |
LDU_FT/pixelogik/NearPy/collect_all_bucket_keys | LDU_FT | [
"<BEGIN>\n## `store_vector`",
"Stores vector and JSON-serializable data in bucket with specified key.\n<END>",
"<BEGIN>\n## `store_many_vectors`",
"Store a batch of vectors.\n Stores vector and JSON-serializable data in bucket with specified key.\n<END>",
"<BEGIN>\n## `delete_vector`",
"Deletes vec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the collect_all_bucket_keys 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 collect_all_bucket_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Just collects all buckets keys from subtree | "Just collects all buckets keys from subtree" | 103 | false | pixelogik/NearPy | collect_all_bucket_keys | 19,444 | |
LDU_FT/bharadwajyarlagadda/bingmaps/lane_info | LDU_FT | [
"<BEGIN>\n## `build_url`",
"This method occurs after dumping the data into the class.",
" Args:\n data (dict): dictionary of all the query values",
" Returns:\n data (dict): ordered dict of all the values\n<END>",
"<BEGIN>\n## `build_query_string`",
"This method occurs ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lane_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lane_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Retrieves the lane info of the incident/incidents from the
output response
Returns:
lane_info(namedtuple): List of named tuples of lane info of the
incident/incidents | "Retrieves the lane info of the incident/incidents from the\n output response\n\n Returns:\n lane_info(namedtuple): List of named tuples of lane info of the\n incident/incidents" | 75 | false | bharadwajyarlagadda/bingmaps | lane_info | 19,445 | |
LDU_FT/berkerpeksag/astor/wrap_line | LDU_FT | [
"<BEGIN>\n## `convert`",
"Walk the srctree, and convert/copy all python files\n into the dsttree\n<END>",
"<BEGIN>\n## `split_lines`",
"Split inputs according to lines.\n If a line is short enough, just yield it.\n Otherwise, fix it.\n<END>",
"<BEGIN>\n## `wrap_line`",
"We have a line that ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap_line API.
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 wrap_line API.
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... | We have a line that is too long,
so we're going to try to wrap it. | "We have a line that is too long,\n so we're going to try to wrap it." | 63 | false | berkerpeksag/astor | wrap_line | 19,446 | |
LDU_FT/GaretJax/lancet/_commands | LDU_FT | [
"<BEGIN>\n## `load_config`",
"Loads and parses an INI style configuration file using Python's built-in\n configparser module. If path is specified, load it.\n If ``defaults`` (a list of strings) is given, try to load each entry as a\n file, without throwing any error if the operation fails.\n If ``def... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _commands API.
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 _commands API.
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... | Prints a list of commands for shell completion hooks. | "Prints a list of commands for shell completion hooks." | 50 | false | GaretJax/lancet | _commands | 19,447 | |
LDU_FT/datadesk/django-bakery/copyfile_and_gzip | LDU_FT | [
"<BEGIN>\n## `serve`",
"Serve static files below a given point in the directory structure.",
" To use, put a URL pattern such as::",
" (r'^(?P<path>.*)$', 'django.views.static.serve',\n {'document_root' : '/path/to/my/files/'})",
" in your URLconf. You must provide the ``document_roo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copyfile_and_gzip API.
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 copyfile_and_gzip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Copies the provided file to the provided target directory.
Gzips JavaScript, CSS and HTML and other files along the way. | "Copies the provided file to the provided target directory.\n\n Gzips JavaScript, CSS and HTML and other files along the way." | 104 | false | datadesk/django-bakery | copyfile_and_gzip | 19,448 | |
LDU_FT/jwplayer/jwplatform-py/list_conversions | LDU_FT | [
"<BEGIN>\n## `insert_into_channel`",
"Function which inserts video into a channel/playlist.",
" :param api_key: <string> JWPlatform api-key\n :param api_secret: <string> JWPlatform shared-secret\n :param channel_key: <string> Key of the channel to which add a video.\n :param video_key: <string> Key ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_conversions API.
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 list_conversions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Function which retrieves a list of a video object's conversions.
:param api_key: <string> JWPlatform api-key
:param api_secret: <string> JWPlatform shared-secret
:param video_key: <string> Video's object ID. Can be found within JWPlayer Dashboard.
:param kwargs: Arguments conforming to standards found ... | "Function which retrieves a list of a video object's conversions.\n\n :param api_key: <string> JWPlatform api-key\n :param api_secret: <string> JWPlatform shared-secret\n :param video_key: <string> Video's object ID. Can be found within JWPlayer Dashboard.\n :param kwargs: Arguments conforming to standards ... | 35 | false | jwplayer/jwplatform-py | list_conversions | 19,449 | |
LDU_FT/lacava/DistanceClassifier/fit_predict | LDU_FT | [
"<BEGIN>\n## `main`",
"Main function that is called when DistanceClassifier is run on the command line\n<END>",
"<BEGIN>\n## `fit`",
"Constructs the DistanceClassifier from the provided training data",
" Parameters\n ----------\n features: array-like {n_samples, n_features}\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_predict API.
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 fit_predict API.
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... | Convenience function that fits the provided data then predicts the class labels
Parameters
----------
features: array-like {n_samples, n_features}
Feature matrix
classes: array-like {n_samples}
List of true class labels
Returns
----------
... | "Convenience function that fits the provided data then predicts the class labels\n Parameters\n ----------\n features: array-like {n_samples, n_features}\n Feature matrix\n classes: array-like {n_samples}\n List of true class labels\n\n Returns\n ---------... | 15 | false | lacava/DistanceClassifier | fit_predict | 19,450 | |
LDU_FT/delfick/nose-of-yeti/make_extractor | LDU_FT | [
"<BEGIN>\n## `normalise_key`",
"Make sure key is a valid python attribute\n<END>",
"<BEGIN>\n## `use_options`",
"If extractor isn't specified, then just update self.values with options.",
" Otherwise update values with whatever the result of calling extractor with\n our template and th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_extractor API.
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 make_extractor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return us a function to extract options
Anything not in non_default is wrapped in a "Default" object | "Return us a function to extract options\n Anything not in non_default is wrapped in a \"Default\" object" | 59 | false | delfick/nose-of-yeti | make_extractor | 19,451 | |
LDU_FT/brbsix/python-batchpath/_sorter | LDU_FT | [
"<BEGIN>\n## `_fixpath`",
"Return absolute, normalized, joined paths\n<END>",
"<BEGIN>\n## `_sorter`",
"Return a list of paths sorted by dirname & basename.\n<END>",
"<BEGIN>\n## `_walk`",
"Returns a recursive or non-recursive directory walker\n<END>",
"<BEGIN>\n## `isvalid`",
"Check whether file meet... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sorter API.
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 _sorter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Return a list of paths sorted by dirname & basename. | "Return a list of paths sorted by dirname & basename." | 16 | false | brbsix/python-batchpath | _sorter | 19,452 | |
LDU_FT/pydsigner/pygu/remove | LDU_FT | [
"<BEGIN>\n## `draw`",
"Draw all widgets and sub-containers to @surf.\n<END>",
"<BEGIN>\n## `kill`",
"Remove the class from its container, contained items and sub-widgets. \n Runs automatically when the class is garbage collected.\n<END>",
"<BEGIN>\n## `add`",
"Place @widgets under the blitting hand... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Remove @widgets from the blitting hand of the Container(). Each arg
must be a Widget(), a fellow Container(), or an iterable. Else, things
get ugly... | "Remove @widgets from the blitting hand of the Container(). Each arg \n must be a Widget(), a fellow Container(), or an iterable. Else, things \n get ugly..." | 68 | false | pydsigner/pygu | remove | 19,453 | |
LDU_FT/ptmcg/littletable/join | LDU_FT | [
"<BEGIN>\n## `copy_template`",
"Create empty copy of the current table, with copies of all\n index definitions.\n<END>",
"<BEGIN>\n## `clone`",
"Create full copy of the current table, including table contents\n and index definitions.\n<END>",
"<BEGIN>\n## `create_index`",
"Create a new... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join API.
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 join API.
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... | Join the objects of one table with the objects of another, based on the given
matching attributes in the named arguments. The attrlist specifies the attributes to
be copied from the source tables - if omitted, all attributes will be copied. Entries
in the attrlist may be single attribute na... | "Join the objects of one table with the objects of another, based on the given \n matching attributes in the named arguments. The attrlist specifies the attributes to \n be copied from the source tables - if omitted, all attributes will be copied. Entries \n in the attrlist may be single attribut... | 75 | false | ptmcg/littletable | join | 19,454 | |
LDU_FT/BD2KOnFHIR/i2b2model/generate_conf_file | LDU_FT | [
"<BEGIN>\n## `change_column_length`",
"Change the column length in the supplied table\n<END>",
"<BEGIN>\n## `_db_urls`",
"Return the crc and ontology db urls\n :param opts: options\n :return: Tuple w/ crc and ontology url\n<END>",
"<BEGIN>\n## `_tables`",
"Return a list of all known tables a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_conf_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_conf_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.
Th... | Convert a set of FHIR resources into their corresponding i2b2 counterparts.
:param argv: Command line arguments. See: create_parser for details
:return: | "Convert a set of FHIR resources into their corresponding i2b2 counterparts.\n\n :param argv: Command line arguments. See: create_parser for details\n :return:" | 64 | false | BD2KOnFHIR/i2b2model | generate_conf_file | 19,455 | |
LDU_FT/UDST/osmnet/parse_network_osm_query | LDU_FT | [
"<BEGIN>\n## `format_check`",
"Check the format of a osmnet_config object.",
" Parameters\n ----------\n settings : dict\n osmnet_config as a dictionary\n Returns\n -------\n Nothing\n<END>",
"<BEGIN>\n## `to_dict`",
"Return a dict representation of an osmnet osmnet_config instance.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_network_osm_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_network_osm_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... | Convert OSM query data to DataFrames of ways and way-nodes.
Parameters
----------
data : dict
Result of an OSM query.
Returns
-------
nodes, ways, waynodes : pandas.DataFrame | "Convert OSM query data to DataFrames of ways and way-nodes.\n\n Parameters\n ----------\n data : dict\n Result of an OSM query.\n\n Returns\n -------\n nodes, ways, waynodes : pandas.DataFrame" | 69 | false | UDST/osmnet | parse_network_osm_query | 19,456 | |
LDU_FT/galactics/beyond/create_station | LDU_FT | [
"<BEGIN>\n## `create_station`",
"Create a ground station instance",
" Args:\n name (str): Name of the station",
" latlonalt (tuple of float): coordinates of the station, as follow:",
" * Latitude in degrees\n * Longitude in degrees\n * Altitude to sea level ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_station API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_station API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Create a ground station instance
Args:
name (str): Name of the station
latlonalt (tuple of float): coordinates of the station, as follow:
* Latitude in degrees
* Longitude in degrees
* Altitude to sea level in meters
parent_frame (Frame): Planetocentri... | "Create a ground station instance\n\n Args:\n name (str): Name of the station\n\n latlonalt (tuple of float): coordinates of the station, as follow:\n\n * Latitude in degrees\n * Longitude in degrees\n * Altitude to sea level in meters\n\n parent_frame (Frame): P... | 297 | false | galactics/beyond | create_station | 19,457 | |
LDU_FT/contentful/contentful-management.py/calls | LDU_FT | [
"<BEGIN>\n## `create`",
"Creates an entry with a given ID (optional) and attributes.\n<END>",
"<BEGIN>\n## `create`",
"Creates a webhook with given attributes.\n<END>",
"<BEGIN>\n## `camel_case`",
"Returns a camel-cased version of a string.",
" :param a_string: any :class:`str` object.",
" Usage... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calls API.
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 calls API.
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... | Provides access to call overview for the given webhook.
API reference: https://www.contentful.com/developers/docs/references/content-management-api/#/reference/webhook-calls
:return: :class:`WebhookWebhooksCallProxy <contentful_management.webhook_webhooks_call_proxy.WebhookWebhooksCallProxy>` object.
... | "Provides access to call overview for the given webhook.\n\n API reference: https://www.contentful.com/developers/docs/references/content-management-api/#/reference/webhook-calls\n\n :return: :class:`WebhookWebhooksCallProxy <contentful_management.webhook_webhooks_call_proxy.WebhookWebhooksCallProxy>` obj... | 161 | false | contentful/contentful-management.py | calls | 19,458 | |
LDU_FT/daknuett/py_register_machine2/argument_run | LDU_FT | [
"<BEGIN>\n## `int_to_bytes`",
".. _int_to_bytes:",
"\tConverts the ``int`` ``int_`` to a ``bytes`` object.\n\t``len(result) == width``.",
"\tIf ``width`` is None, a number of bytes that is able to hold the\n\tnumber is choosen, depending on ``int_.bit_length()``.",
"\tSee also: bytes_to_int_\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the argument_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the argument_run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | .. _argument_run:
Converts Arguments according to ``to_int`` | ".. _argument_run:\n\n\t\tConverts Arguments according to ``to_int``" | 154 | false | daknuett/py_register_machine2 | argument_run | 19,459 | |
LDU_FT/victorlei/smop/p_if_stmt | LDU_FT | [
"<BEGIN>\n## `callgraph`",
"Build callgraph of func_list, ignoring\n built-in functions\n<END>",
"<BEGIN>\n## `recordtype`",
"Returns a new class with named fields.",
" @keyword field_defaults: A mapping from (a subset of) field names to default \n values.\n @keyword default: If provided, th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_if_stmt API.
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 p_if_stmt API.
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... | if_stmt : IF expr sep stmt_list_opt elseif_stmt END_STMT
| IF LPAREN expr RPAREN stmt_list_opt elseif_stmt END_STMT | "if_stmt : IF expr sep stmt_list_opt elseif_stmt END_STMT\n | IF LPAREN expr RPAREN stmt_list_opt elseif_stmt END_STMT" | 69 | false | victorlei/smop | p_if_stmt | 19,460 | |
LDU_FT/treethought/flask-assistant/set_state | LDU_FT | [
"<BEGIN>\n## `build_item`",
"Builds an item that may be added to List or Carousel\n<END>",
"<BEGIN>\n## `suggest`",
"Use suggestion chips to hint at responses to continue or pivot the conversation\n<END>",
"<BEGIN>\n## `link_out`",
"Presents a chip similar to suggestion, but instead links to a url\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Updates or creates the current state of an entity. | "Updates or creates the current state of an entity." | 65 | false | treethought/flask-assistant | set_state | 19,461 | |
LDU_FT/MJL85/natlas/get_arp_table | LDU_FT | [
"<BEGIN>\n## `get_ipaddr`",
"Return the best IP address for this device.\n Returns the first matching IP:\n - Lowest Loopback interface\n - Lowest SVI address/known IP\n<END>",
"<BEGIN>\n## `__get_vpc_info`",
"If VPC is enabled,\n Return the VPC domain and interface name of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_arp_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_arp_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 ext... | Get the ARP table from a switch.
Args:
switch_ip IP address of the device
ip Filter results by IP (regex)
mac Filter results by MAC (regex)
interf Filter results by INTERFACE (regex)
arp_type ... | "Get the ARP table from a switch.\n\n Args:\n switch_ip IP address of the device\n ip Filter results by IP (regex)\n mac Filter results by MAC (regex)\n interf Filter results by INTERFACE (regex)\n arp_... | 40 | false | MJL85/natlas | get_arp_table | 19,462 | |
LDU_FT/mingchen/django-cas-ng/retrieve_pt | LDU_FT | [
"<BEGIN>\n## `permission_required`",
"Replacement for django.contrib.auth.decorators.permission_required that\n returns 403 Forbidden if the user is already logged in.\n<END>",
"<BEGIN>\n## `authenticate`",
"Verifies CAS ticket and gets or creates User object\n<END>",
"<BEGIN>\n## `get_user_id`",
"For ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the retrieve_pt API.
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 retrieve_pt API.
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... | `request` should be the current HttpRequest object
`service` a string representing the service for witch we want to
retrieve a ticket.
The function return a Proxy Ticket or raise `ProxyError` | "`request` should be the current HttpRequest object\n `service` a string representing the service for witch we want to\n retrieve a ticket.\n The function return a Proxy Ticket or raise `ProxyError`" | 25 | false | mingchen/django-cas-ng | retrieve_pt | 19,463 | |
LDU_FT/emory-libraries/eulfedora/save | LDU_FT | [
"<BEGIN>\n## `file_md5sum`",
"Calculate and returns an MD5 checksum for the specified file. Any file\n errors (non-existent file, read error, etc.) are not handled here but should\n be caught where this method is called.",
" :param filename: full path to the file for which a checksum should be calcula... | 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 to Fedora any parts of this object that have been
modified (including object profile attributes such as
:attr:`label`, :attr:`owner`, or :attr:`state`, and any
changes to datastream content or datastream properties). If a
failure occurs at any point on saving any of the parts of th... | "Save to Fedora any parts of this object that have been\n modified (including object profile attributes such as\n :attr:`label`, :attr:`owner`, or :attr:`state`, and any\n changes to datastream content or datastream properties). If a\n failure occurs at any point on saving any of the parts ... | 312 | false | emory-libraries/eulfedora | save | 19,464 | |
LDU_FT/rbuffat/pyepw/wb004 | LDU_FT | [
"<BEGIN>\n## `read`",
"Read values.",
" Args:\n vals (list): list of strings representing values\n<END>",
"<BEGIN>\n## `city`",
"Corresponds to IDD Field `city`",
" Args:\n value (str): value for IDD Field `city`\n if `value` is None it will not be checke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wb004 API.
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 wb004 API.
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... | Corresponds to IDD Field `wb004`
Wet-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence
Args:
value (float): value for IDD Field `wb004`
Unit: C
if `value` is None it will not be checked against the
specification ... | "Corresponds to IDD Field `wb004`\n Wet-bulb temperature corresponding to 0.4% annual cumulative frequency of occurrence\n\n Args:\n value (float): value for IDD Field `wb004`\n Unit: C\n if `value` is None it will not be checked against the\n specif... | 675 | false | rbuffat/pyepw | wb004 | 19,465 | |
LDU_FT/ml4ai/delphi/to_dict | LDU_FT | [
"<BEGIN>\n## `all_subs`",
"given a list of tuples specifying the bounds of an array, all_subs()\n returns a list of all the tuples of subscripts for that array.\n<END>",
"<BEGIN>\n## `idx2subs`",
"Given a list idx_list of index values for each dimension of an array, \n idx2subs() returns a list of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Export the CAG to a dict that can be serialized to JSON. | "Export the CAG to a dict that can be serialized to JSON." | 336 | false | ml4ai/delphi | to_dict | 19,466 | |
LDU_FT/smarie/python-parsyfiles/single_row_or_col_df_to_dict | LDU_FT | [
"<BEGIN>\n## `read_dict_or_list_from_json`",
"Helper method to read a dictionary from a .json file using json library\n :param file_object:\n :return:\n<END>",
"<BEGIN>\n## `get_default_collection_parsers`",
"Utility method to return the default parsers able to parse a dictionary from a file.\n :retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the single_row_or_col_df_to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the single_row_or_col_df_to_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Helper method to convert a dataframe with one row or one or two columns into a dictionary
:param desired_type:
:param single_rowcol_df:
:param logger:
:param kwargs:
:return: | "Helper method to convert a dataframe with one row or one or two columns into a dictionary\n\n :param desired_type:\n :param single_rowcol_df:\n :param logger:\n :param kwargs:\n :return:" | 504 | false | smarie/python-parsyfiles | single_row_or_col_df_to_dict | 19,467 | |
LDU_FT/Kortemme-Lab/pull_into_place/find_validation_workspaces | LDU_FT | [
"<BEGIN>\n## `make_command_table`",
"Return a nicely formatted table of all the PIP commands installed on this \n system to incorporate into the help text. The table will have two columns. \n The first will list the commands that comprise the main pipeline and the \n second will list all the other misc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_validation_workspaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_validation_workspaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Find all the workspaces containing validated designs. | "Find all the workspaces containing validated designs." | 75 | false | Kortemme-Lab/pull_into_place | find_validation_workspaces | 19,468 | |
LDU_FT/nephila/djangocms-helper/run | LDU_FT | [
"<BEGIN>\n## `run`",
"Run commands in a plain django environment",
" :param app: application\n :param argv: arguments (default to sys.argv)\n :param extra_args: list of extra arguments\n<END>",
"<BEGIN>\n## `cms`",
"Run commands in a django cMS environment",
" :param app: application\n :par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run commands in a plain django environment
:param app: application
:param argv: arguments (default to sys.argv)
:param extra_args: list of extra arguments | "Run commands in a plain django environment\n\n :param app: application\n :param argv: arguments (default to sys.argv)\n :param extra_args: list of extra arguments" | 25 | false | nephila/djangocms-helper | run | 19,469 | |
LDU_FT/google/google-visualization-python/LoadData | LDU_FT | [
"<BEGIN>\n## `CoerceValue`",
"Coerces a single value into the type expected for its column.",
" Internal helper method.",
" Args:\n value: The value which should be converted\n value_type: One of \"string\", \"number\", \"boolean\", \"date\", \"datetime\" or\n \"timeofday\".",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the LoadData API.
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 LoadData API.
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... | Loads new rows to the data table, clearing existing rows.
May also set the custom_properties for the added rows. The given custom
properties dictionary specifies the dictionary that will be used for *all*
given rows.
Args:
data: The rows that the table will contain.
custom_properties: A di... | "Loads new rows to the data table, clearing existing rows.\n\n May also set the custom_properties for the added rows. The given custom\n properties dictionary specifies the dictionary that will be used for *all*\n given rows.\n\n Args:\n data: The rows that the table will contain.\n custom_propert... | 87 | false | google/google-visualization-python | LoadData | 19,470 | |
LDU_FT/riquito/richinput/load_terminfo | LDU_FT | [
"<BEGIN>\n## `get_rich_char`",
"Iterator that returns the next meaningful input given to a terminal,\n whenever a key is pressed.\n `term` is an instance of terminfo.Term, needed to understand what the\n escape sequences mean.",
" The yielded value will be one of\n - PrintableChar\n - ControlK... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_terminfo API.
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 load_terminfo API.
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... | If the environment variable TERM is unset try with `fallback` if not empty.
vt100 is a popular terminal supporting ANSI X3.64. | "If the environment variable TERM is unset try with `fallback` if not empty.\n vt100 is a popular terminal supporting ANSI X3.64." | 17 | false | riquito/richinput | load_terminfo | 19,471 | |
LDU_FT/svinota/mdns/get_service_info | LDU_FT | [
"<BEGIN>\n## `to_string`",
"String representation with additional information\n<END>",
"<BEGIN>\n## `answered_by`",
"Returns true if the question is answered by the record\n<END>",
"<BEGIN>\n## `reset_ttl`",
"Sets this record's TTL and created time to that of\n another record.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_service_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_service_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns network's service information for a particular
name and type, or None if no service matches by the timeout,
which defaults to 3 seconds. | "Returns network's service information for a particular\n name and type, or None if no service matches by the timeout,\n which defaults to 3 seconds." | 67 | false | svinota/mdns | get_service_info | 19,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.