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/underworldcode/stripy/interpolate | LDU_FT | [
"<BEGIN>\n## `install_documentation`",
"Install the example notebooks for litho1pt0 in the given location",
" WARNING: If the path exists, the Notebook files will be written into the path\n and will overwrite any existing files with which they collide. The default\n path (\"./Litho1pt0-Notebooks\") is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpolate API.
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 interpolate API.
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... | Base class to handle nearest neighbour, linear, and cubic interpolation.
Given a triangulation of a set of nodes and values at the nodes,
this method interpolates the value at the given xi,yi coordinates.
Parameters
----------
xi : float / array of floats, shape (l,)
... | "Base class to handle nearest neighbour, linear, and cubic interpolation.\n Given a triangulation of a set of nodes and values at the nodes,\n this method interpolates the value at the given xi,yi coordinates.\n\n Parameters\n ----------\n xi : float / array of floats, shape (l,)\... | 224 | false | underworldcode/stripy | interpolate | 12,273 | |
LDU_FT/SethMMorton/natsort/_construct_regex | LDU_FT | [
"<BEGIN>\n## `fast_float`",
"Convert a string to a float quickly, return input as-is if not possible.",
" We don't need to accept all input that the real fast_int accepts because\n natsort is controlling what is passed to this function.",
" Parameters\n ----------\n x : str\n String to a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _construct_regex API.
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 _construct_regex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Given a format string, construct the regex with class attributes. | "Given a format string, construct the regex with class attributes." | 190 | false | SethMMorton/natsort | _construct_regex | 12,274 | |
LDU_FT/EconForge/dolo/gauss_hermite_nodes | LDU_FT | [
"<BEGIN>\n## `multidot_old`",
"Implements tensor operation : tensor-times-matrices.\n If last dimensions of ten represent multilinear operations of the type : [X1,...,Xk]->B[X1,...,Xk]\n and mats contains matrices or vectors [A1,...Ak] the function returns an array representing operators :\n [X1,...,Xk]-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gauss_hermite_nodes 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 gauss_hermite_nodes 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... | Computes the weights and nodes for Gauss Hermite quadrature.
Parameters
----------
orders : int, list, array
The order of integration used in the quadrature routine
sigma : array-like
If one dimensional, the variance of the normal distribution being
approximated. If multidimensi... | "Computes the weights and nodes for Gauss Hermite quadrature.\n\n Parameters\n ----------\n orders : int, list, array\n The order of integration used in the quadrature routine\n sigma : array-like\n If one dimensional, the variance of the normal distribution being\n approximated. If mul... | 221 | false | EconForge/dolo | gauss_hermite_nodes | 12,275 | |
LDU_FT/kkroening/ffmpeg-python/drawtext | LDU_FT | [
"<BEGIN>\n## `get_args`",
"Build command-line arguments to be passed to ffmpeg.\n<END>",
"<BEGIN>\n## `compile`",
"Build command-line for invoking ffmpeg.",
" The :meth:`run` function uses this to build the commnad line\n arguments and should work in most cases, but calling this function\n directly... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drawtext API.
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 drawtext API.
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... | Draw a text string or text from a specified file on top of a video, using the libfreetype library.
To enable compilation of this filter, you need to configure FFmpeg with ``--enable-libfreetype``. To enable default
font fallback and the font option you need to configure FFmpeg with ``--enable-libfontconfig``. ... | "Draw a text string or text from a specified file on top of a video, using the libfreetype library.\n\n To enable compilation of this filter, you need to configure FFmpeg with ``--enable-libfreetype``. To enable default\n font fallback and the font option you need to configure FFmpeg with ``--enable-libfontconfig... | 149 | false | kkroening/ffmpeg-python | drawtext | 12,276 | |
LDU_FT/byt3bl33d3r/CrackMapExec/options | LDU_FT | [
"<BEGIN>\n## `add_computer`",
"Check if this host has already been added to the database, if not add it in.\n<END>",
"<BEGIN>\n## `remove_credentials`",
"Removes a credential ID from the database\n<END>",
"<BEGIN>\n## `options`",
"SERVER IP of the SMB server\n NAME LNK file name\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | LHOST IP hosting the handler
LPORT Handler port
PAYLOAD Payload to inject: reverse_http or reverse_https (default: reverse_https)
PROCID Process ID to inject into (default: current powershell process) | "LHOST IP hosting the handler\n LPORT Handler port\n PAYLOAD Payload to inject: reverse_http or reverse_https (default: reverse_https)\n PROCID Process ID to inject into (default: current powershell process)" | 77 | false | byt3bl33d3r/CrackMapExec | options | 12,277 | |
LDU_FT/smarie/python-parsyfiles/get_default_yaml_parsers | 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 get_default_yaml_parsers 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 get_default_yaml_parsers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Utility method to return the default parsers able to parse an object from a file.
Note that MultifileObjectParser is not provided in this list, as it is already added in a hardcoded way in
RootParser
:return: | "Utility method to return the default parsers able to parse an object from a file.\n Note that MultifileObjectParser is not provided in this list, as it is already added in a hardcoded way in\n RootParser\n :return:" | 504 | false | smarie/python-parsyfiles | get_default_yaml_parsers | 12,278 | |
LDU_FT/Fantomas42/mots-vides/get_collection_filename | LDU_FT | [
"<BEGIN>\n## `cmdline`",
"Script for merging different collections of stop words.\n<END>",
"<BEGIN>\n## `get_stop_words`",
"Returns a StopWord object initialized with the stop words collection\n requested by ``language``.\n If the requested language is not available a StopWordError is raised.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collection_filename 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_collection_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Returns the filename containing the stop words collection
for a specific language. | "Returns the filename containing the stop words collection\n for a specific language." | 14 | false | Fantomas42/mots-vides | get_collection_filename | 12,279 | |
LDU_FT/bionikspoon/pureyaml/t_B_SEQUENCE_COMPACT_START | LDU_FT | [
"<BEGIN>\n## `_gt_from_lt`",
"Return a > b. Computed by @total_ordering from (not a < b) and (a != b).\n<END>",
"<BEGIN>\n## `_le_from_lt`",
"Return a <= b. Computed by @total_ordering from (a < b) or (a == b).\n<END>",
"<BEGIN>\n## `_ge_from_lt`",
"Return a >= b. Computed by @total_ordering from (not ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the t_B_SEQUENCE_COMPACT_START 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 t_B_SEQUENCE_COMPACT_START API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | r"""
\-\ + (?= -\ )
# ^ ^ sequence indicator
| \-\ + (?= [\{\[]\ | [^:\n]*:\s )
# ^ ^ ^^^ map indicator
# ^ ^ flow indicator | "r\"\"\"\n \\-\\ + (?= -\\ )\n # ^ ^ sequence indicator\n | \\-\\ + (?= [\\{\\[]\\ | [^:\\n]*:\\s )\n # ^ ^ ^^^ map indicator\n # ^ ^ flow indicator" | 70 | false | bionikspoon/pureyaml | t_B_SEQUENCE_COMPACT_START | 12,280 | |
LDU_FT/jtauber/sebastian/append | LDU_FT | [
"<BEGIN>\n## `zip`",
"zips two sequences unifying the corresponding points.\n<END>",
"<BEGIN>\n## `display`",
"Return an object that can be used to display this sequence.\n This is used for IPython Notebook.",
" :param format: \"png\" or \"svg\"\n<END>",
"<BEGIN>\n## `append`",
"appends a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API.
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 append API.
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 ... | appends a copy of the given point to this sequence | "appends a copy of the given point to this sequence" | 29 | false | jtauber/sebastian | append | 12,281 | |
LDU_FT/shidenggui/easyquotation/fundb | LDU_FT | [
"<BEGIN>\n## `real`",
"return specific stocks real quotation\n :param stock_codes: stock code or list of stock code,\n when prefix is True, stock code must start with sh/sz\n :param prefix: if prefix i True, stock_codes must contain sh/sz market\n flag. If prefix is False, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fundb API.
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 fundb API.
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... | 以字典形式返回分级B数据
:param fields:利率范围,形如['+3.0%', '6.0%']
:param min_volume:最小交易量,单位万元
:param min_discount:最小折价率, 单位%
:param forever: 是否选择永续品种,默认 False | "以字典形式返回分级B数据\n :param fields:利率范围,形如['+3.0%', '6.0%']\n :param min_volume:最小交易量,单位万元\n :param min_discount:最小折价率, 单位%\n :param forever: 是否选择永续品种,默认 False" | 16 | false | shidenggui/easyquotation | fundb | 12,282 | |
LDU_FT/linkedin/asciietch/_assign_ascii_character | LDU_FT | [
"<BEGIN>\n## `_scale_x_values_timestamps`",
"Scale X values to new width based on timestamps\n<END>",
"<BEGIN>\n## `_scale_y_values`",
"Take values and transmute them into a new range\n<END>",
"<BEGIN>\n## `_get_ascii_field`",
"Create a representation of an ascii graph using two lists in this format: fiel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _assign_ascii_character API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _assign_ascii_character API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Assign the character to be placed into the graph | "Assign the character to be placed into the graph" | 12 | false | linkedin/asciietch | _assign_ascii_character | 12,283 | |
LDU_FT/janpipek/physt/merge_bins | LDU_FT | [
"<BEGIN>\n## `register`",
"Decorator to wrap common plotting functionality.",
" Parameters\n ----------\n dim : Dimensionality of histogram for which it is applicable\n use_3d : If True, the figure will be 3D.\n use_polar : If True, the figure will be in polar coordinates.\n collection : Wheth... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge_bins API.
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 merge_bins API.
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... | Reduce the number of bins and add their content:
Parameters
----------
amount: How many adjacent bins to join together.
min_frequency: Try to have at least this value in each bin
(this is not enforce e.g. for minima between high bins)
axis: int or None
On... | "Reduce the number of bins and add their content:\n\n Parameters\n ----------\n amount: How many adjacent bins to join together.\n min_frequency: Try to have at least this value in each bin\n (this is not enforce e.g. for minima between high bins)\n axis: int or None\n ... | 460 | false | janpipek/physt | merge_bins | 12,284 | |
LDU_FT/decryptus/httpdis/register | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a command\n @handler: function to execute when the command is received\n @op: http method(s)\n @safe_init: called by the safe_init() function of this module\n @at_start: called once just before the server starts\n @at_stop: called once just before the server stop... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
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 register API.
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... | Register a command
@handler: function to execute when the command is received
@op: http method(s)
@safe_init: called by the safe_init() function of this module
@at_start: called once just before the server starts
@at_stop: called once just before the server stops
@name: name of the command (if n... | "Register a command\n @handler: function to execute when the command is received\n @op: http method(s)\n @safe_init: called by the safe_init() function of this module\n @at_start: called once just before the server starts\n @at_stop: called once just before the server stops\n @name: name of the comman... | 25 | false | decryptus/httpdis | register | 12,285 | |
LDU_FT/artisanofcode/python-broadway/add_blueprint | LDU_FT | [
"<BEGIN>\n## `add_blueprint`",
"Specify a blueprint to be registered with the application.",
" Additional options will be passed to :meth:`~Flask.register_blueprint`\n when the application is created.",
" .. code-block:: python",
" factory = Factory()",
" factory... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_blueprint API.
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 add_blueprint API.
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... | Specify a blueprint to be registered with the application.
Additional options will be passed to :meth:`~Flask.register_blueprint`
when the application is created.
.. code-block:: python
factory = Factory()
factory.add_blueprint('myapp.views:blueprint', url_prefix='/fo... | "Specify a blueprint to be registered with the application.\n\n Additional options will be passed to :meth:`~Flask.register_blueprint`\n when the application is created.\n\n .. code-block:: python\n\n factory = Factory()\n\n factory.add_blueprint('myapp.views:blueprint', url_p... | 26 | false | artisanofcode/python-broadway | add_blueprint | 12,286 | |
LDU_FT/moonso/loqusdb/profile_stats | LDU_FT | [
"<BEGIN>\n## `update_database`",
"Update a case in the database",
" Args:\n adapter: Connection to database\n variant_file(str): Path to variant file\n sv_file(str): Path to sv variant file\n family_file(str): Path to family file\n family_type(str): Format of fami... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the profile_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the profile_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Compares the pairwise hamming distances for all the sample profiles in
the database. Returns a table of the number of distances within given
ranges.
Args:
adapter (MongoAdapter): Adapter to mongodb
threshold (float): If any distance is found above this threshold
... | "Compares the pairwise hamming distances for all the sample profiles in\n the database. Returns a table of the number of distances within given\n ranges.\n\n Args:\n adapter (MongoAdapter): Adapter to mongodb\n threshold (float): If any distance is found above this threshold\n... | 216 | false | moonso/loqusdb | profile_stats | 12,287 | |
LDU_FT/ryanmcgrath/twython/get_lastfunction_header | LDU_FT | [
"<BEGIN>\n## `update_status_with_media`",
"Updates the authenticating user's current status and attaches media\n for upload. In other words, it creates a Tweet with a picture attached.",
" Docs:\n https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-updat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_lastfunction_header 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_lastfunction_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Returns a specific header from the last API call
This will return None if the header is not present
:param header: (required) The name of the header you want to get
the value of
Most useful for the following header information:
x-rate-limit-limit,
... | "Returns a specific header from the last API call\n This will return None if the header is not present\n\n :param header: (required) The name of the header you want to get\n the value of\n\n Most useful for the following header information:\n x-rate-limit-limit,\n ... | 80 | false | ryanmcgrath/twython | get_lastfunction_header | 12,288 | |
LDU_FT/mrcagney/kml2geojson/gx_coords | LDU_FT | [
"<BEGIN>\n## `k2g`",
"Given a path to a KML file, convert it to a a GeoJSON FeatureCollection file and save it to the given output directory.",
" If ``--separate_folders``, then create several GeoJSON files, one for each folder in the KML file that contains geodata or that has a descendant node that contains... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gx_coords API.
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 gx_coords API.
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... | Given a KML DOM node, grab its <gx:coord> and <gx:timestamp><when>subnodes, and convert them into a dictionary with the keys and values
- ``'coordinates'``: list of lists of float coordinates
- ``'times'``: list of timestamps corresponding to the coordinates | "Given a KML DOM node, grab its <gx:coord> and <gx:timestamp><when>subnodes, and convert them into a dictionary with the keys and values\n\n - ``'coordinates'``: list of lists of float coordinates\n - ``'times'``: list of timestamps corresponding to the coordinates" | 41 | false | mrcagney/kml2geojson | gx_coords | 12,289 | |
LDU_FT/scailer/django-social-publisher/check | LDU_FT | [
"<BEGIN>\n## `get_api_publisher`",
"message: <str>\n image: <file> as object_attachment\n owner_id: <str>\n<END>",
"<BEGIN>\n## `get_api_publisher`",
"owner_id - VK user or group\n from_group - 1 by group, 0 by user\n message - text\n attachments - comma ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | user - django User or UserSocialAuth instance
provider - name of publisher provider
permission - if backend maintains check permissions
vk - binary mask in int format
facebook - scope string | "user - django User or UserSocialAuth instance\n provider - name of publisher provider\n permission - if backend maintains check permissions\n vk - binary mask in int format\n facebook - scope string" | 12 | false | scailer/django-social-publisher | check | 12,290 | |
LDU_FT/GoogleCloudPlatform/cloud-debug-python/Read | LDU_FT | [
"<BEGIN>\n## `InitializeDebuggeeLabels`",
"Initialize debuggee labels from environment variables and flags.",
" The caller passes all the flags that the the debuglet got. This function\n will only use the flags used to label the debuggee. Flags take precedence\n over environment variables.",
" Deb... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Reads and returns Config data from a yaml file.
Args:
f: Yaml file to parse.
Returns:
Config object as defined in this file.
Raises:
Error (some subclass): If there is a problem loading or parsing the file. | "Reads and returns Config data from a yaml file.\n\n Args:\n f: Yaml file to parse.\n\n Returns:\n Config object as defined in this file.\n\n Raises:\n Error (some subclass): If there is a problem loading or parsing the file." | 276 | false | GoogleCloudPlatform/cloud-debug-python | Read | 12,291 | |
LDU_FT/swimlane/swimlane-python/target_app | LDU_FT | [
"<BEGIN>\n## `add_record_references`",
"Bulk operation to directly add record references without making any additional requests",
" Warnings:\n Does not perform any app, record, or target app/record validation",
" Args:\n app_id (str): Full App ID string\n record... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the target_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the target_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 extrac... | Defer target app retrieval until requested | "Defer target app retrieval until requested" | 273 | false | swimlane/swimlane-python | target_app | 12,292 | |
LDU_FT/gregreen/dustmaps/query_equ | LDU_FT | [
"<BEGIN>\n## `ascii2h5`",
"Converts from the original ASCII format of the Chen+ (2014) 3D dust map to\n the HDF5 format.",
" Args:\n dat_fname (:obj:`str`): Filename of the original ASCII .dat file.\n h5_fname (:obj:`str`): Output filename to write the resulting HDF5 file to.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_equ API.
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 query_equ API.
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... | Query using Equatorial coordinates. By default, the ICRS frame is used,
although other frames implemented by :obj:`astropy.coordinates` may also be
specified.
Args:
ra (:obj:`float`, scalar or array-like): Galactic longitude, in degrees,
or as an :obj:`astropy.unit.Q... | "Query using Equatorial coordinates. By default, the ICRS frame is used,\n although other frames implemented by :obj:`astropy.coordinates` may also be\n specified.\n\n Args:\n ra (:obj:`float`, scalar or array-like): Galactic longitude, in degrees,\n or as an :obj:`astropy... | 220 | false | gregreen/dustmaps | query_equ | 12,293 | |
LDU_FT/abingham/spor/update | LDU_FT | [
"<BEGIN>\n## `_open_repo`",
"Open and return the repository containing the specified file.",
" The file is specified by looking up `path_key` in `args`. This value or\n `None` is passed to `open_repository`.",
" Returns: A `Repository` instance.",
" Raises:\n ExitError: If there is a prob... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Update an anchor based on the current contents of its source file.
Args:
anchor: The `Anchor` to be updated.
handle: File-like object containing contents of the anchor's file. If
`None`, then this function will open the file and read it.
Returns: A new `Anchor`, possibly identical ... | "Update an anchor based on the current contents of its source file.\n\n Args:\n anchor: The `Anchor` to be updated.\n handle: File-like object containing contents of the anchor's file. If\n `None`, then this function will open the file and read it.\n\n Returns: A new `Anchor`, possibly id... | 85 | false | abingham/spor | update | 12,294 | |
LDU_FT/bennylope/pygeocodio/_req | LDU_FT | [
"<BEGIN>\n## `error_response`",
"Raises errors matching the response code\n<END>",
"<BEGIN>\n## `_req`",
"Method to wrap all request building",
" :return: a Response object based on the specified method and request values.\n<END>",
"<BEGIN>\n## `parse`",
"Returns an Address dictionary with the co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _req API.
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 _req API.
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... | Method to wrap all request building
:return: a Response object based on the specified method and request values. | "Method to wrap all request building\n\n :return: a Response object based on the specified method and request values." | 28 | false | bennylope/pygeocodio | _req | 12,295 | |
LDU_FT/miLibris/flask-rest-jsonapi/route | LDU_FT | [
"<BEGIN>\n## `_get_key_values`",
"Return a dict containing key / values items for a given key, used for items like filters, page, etc.",
" :param str name: name of the querystring parameter\n :return dict: a dict of key / values items\n<END>",
"<BEGIN>\n## `querystring`",
"Return original quer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the route API.
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 route API.
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... | Create an api view.
:param Resource resource: a resource class inherited from flask_rest_jsonapi.resource.Resource
:param str view: the view name
:param list urls: the urls of the view
:param dict kwargs: additional options of the route | "Create an api view.\n\n :param Resource resource: a resource class inherited from flask_rest_jsonapi.resource.Resource\n :param str view: the view name\n :param list urls: the urls of the view\n :param dict kwargs: additional options of the route" | 149 | false | miLibris/flask-rest-jsonapi | route | 12,296 | |
LDU_FT/MacHu-GWU/angora-project/rename | LDU_FT | [
"<BEGIN>\n## `run_backup`",
"The backup utility method.",
" :param root_dir: the directory you want to backup\n :param ignore: file or directory defined in this list will be ignored.\n :param ignore_ext: file with extensions defined in this list will be ignored.\n :param ignore_pattern: any file or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename API.
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 rename API.
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 ... | Rename the dirname, fname, extension or their combinations.
**中文文档**
对文件的父目录名, 纯文件名, 扩展名, 或它们的组合进行修改。 | "Rename the dirname, fname, extension or their combinations.\n \n **中文文档**\n \n 对文件的父目录名, 纯文件名, 扩展名, 或它们的组合进行修改。" | 616 | false | MacHu-GWU/angora-project | rename | 12,297 | |
LDU_FT/ambitioninc/django-entity/delete_for_obj | LDU_FT | [
"<BEGIN>\n## `remove_duplicates`",
"Remove any duplicates from the entity relationship table\n :param apps:\n :param schema_editor:\n :return:\n<END>",
"<BEGIN>\n## `transaction_atomic_with_retry`",
"This is a decorator that will wrap the decorated method in an atomic transaction and\n retry the t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_for_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_for_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 ex... | Delete the entities associated with a model object. | "Delete the entities associated with a model object." | 83 | false | ambitioninc/django-entity | delete_for_obj | 12,298 | |
LDU_FT/fabric-bolt/fabric-bolt/get_value | LDU_FT | [
"<BEGIN>\n## `form_valid`",
"After the form is valid lets let people know\n<END>",
"<BEGIN>\n## `form_valid`",
"First call the parent's form valid then let the user know it worked.\n<END>",
"<BEGIN>\n## `post`",
"Create the SSH file & then return the normal get method...\n<END>",
"<BEGIN>\n## `web_hooks... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extract... | Determine the proper value based on the data_type | "Determine the proper value based on the data_type" | 65 | false | fabric-bolt/fabric-bolt | get_value | 12,299 | |
LDU_FT/NaPs/Kolekto/parse_pattern | LDU_FT | [
"<BEGIN>\n## `itermovieshash`",
"Iterate over movies hash stored in the database.\n<END>",
"<BEGIN>\n## `get_hash`",
"Return the hash of the movie depending on the input string.",
" If the input string looks like a symbolic link to a movie in a Kolekto\n tree, return its movies hash, else, return the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_pattern API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_pattern API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Parse the format_string and return prepared data according to the env.
Pick each field found in the format_string from the env(ironment), apply
the wrapper on each data and return a mapping between field-to-replace and
values for each. | "Parse the format_string and return prepared data according to the env.\n\n Pick each field found in the format_string from the env(ironment), apply\n the wrapper on each data and return a mapping between field-to-replace and\n values for each." | 37 | false | NaPs/Kolekto | parse_pattern | 12,300 | |
LDU_FT/jwodder/doapi/rebuild | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Fetch & return a new `Action` object representing the action's current\n state",
" :rtype: Action\n :raises DOAPIError: if the API endpoint replies with an error\n<END>",
"<BEGIN>\n## `fetch_resource`",
"Fetch & return the resource that the action operated on, or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rebuild API.
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 rebuild API.
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... | Rebuild the droplet with the specified image
A rebuild action functions just like a new create. [APIDocs]_
:param image: an image ID, an image slug, or an `Image` object
representing the image the droplet should use as a base
:type image: integer, string, or `Image`
:re... | "Rebuild the droplet with the specified image\n\n A rebuild action functions just like a new create. [APIDocs]_\n\n :param image: an image ID, an image slug, or an `Image` object\n representing the image the droplet should use as a base\n :type image: integer, string, or `Image`\n ... | 176 | false | jwodder/doapi | rebuild | 12,301 | |
LDU_FT/ministryofjustice/money-to-prisoners-common/authenticate | LDU_FT | [
"<BEGIN>\n## `get_form_errors`",
"Django form errors do not obey natural field order,\n this template tag returns non-field and field-specific errors\n :param form: the form instance\n<END>",
"<BEGIN>\n## `sub_nav`",
"Sub-nav displayed below proposition header\n - creates alternate language links if ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns a valid `MojUser` if the authentication is successful
or None if the credentials were wrong. | "Returns a valid `MojUser` if the authentication is successful\n or None if the credentials were wrong." | 84 | false | ministryofjustice/money-to-prisoners-common | authenticate | 12,302 | |
LDU_FT/cslarsen/crianza/isconstant | LDU_FT | [
"<BEGIN>\n## `xcompile`",
"Parses Crianza source code and returns a native Python function.",
" Args:\n args: The resulting function's number of input parameters.",
" Returns:\n A callable Python function.\n<END>",
"<BEGIN>\n## `xeval`",
"Compiles to native Python bytecode and runs pro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isconstant API.
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 isconstant API.
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... | Checks if value is a boolean, number or string. | "Checks if value is a boolean, number or string." | 106 | false | cslarsen/crianza | isconstant | 12,303 | |
LDU_FT/RaRe-Technologies/gensim-simserver/index | LDU_FT | [
"<BEGIN>\n## `merge_sims`",
"Merge two precomputed similarity lists, truncating the result to `clip` most similar items.\n<END>",
"<BEGIN>\n## `terminate`",
"Delete all files created by this index, invalidating `self`. Use with care.\n<END>",
"<BEGIN>\n## `index_documents`",
"Update fresh index with new d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Permanently index all documents previously added via `buffer`, or
directly index documents from `corpus`, if specified.
The indexing model must already exist (see `train`) before this function
is called. | "Permanently index all documents previously added via `buffer`, or\n directly index documents from `corpus`, if specified.\n\n The indexing model must already exist (see `train`) before this function\n is called." | 74 | false | RaRe-Technologies/gensim-simserver | index | 12,304 | |
LDU_FT/linkedin/pyexchange/move_to | LDU_FT | [
"<BEGIN>\n## `add_attendees`",
"Adds new attendees to the event.",
" *attendees* can be a list of email addresses or :class:`ExchangeEventAttendee` objects.\n<END>",
"<BEGIN>\n## `remove_attendees`",
"Removes attendees from the event.",
" *attendees* can be a list of email addresses or :class:`Excha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_to API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_to API.
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... | :param str folder_id: The Folder ID of what will be the new parent folder, of this folder.
Move folder to a different location, specified by folder_id::
folder = service.folder().get_folder(id)
folder.move_to(folder_id="ID of new location's folder") | ":param str folder_id: The Folder ID of what will be the new parent folder, of this folder.\n Move folder to a different location, specified by folder_id::\n\n folder = service.folder().get_folder(id)\n folder.move_to(folder_id=\"ID of new location's folder\")" | 102 | false | linkedin/pyexchange | move_to | 12,305 | |
LDU_FT/Lilykos/pyphonetics/hamming_distance | LDU_FT | [
"<BEGIN>\n## `sounds_like`",
"Compare the phonetic representations of 2 words, and return a boolean value.\n<END>",
"<BEGIN>\n## `distance`",
"Get the similarity of the words, using the supported distance metrics.\n<END>",
"<BEGIN>\n## `levenshtein_distance`",
"Computes the Levenshtein distance.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hamming_distance API.
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 hamming_distance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Computes the Hamming distance.
[Reference]: https://en.wikipedia.org/wiki/Hamming_distance
[Article]: Hamming, Richard W. (1950), "Error detecting and error correcting codes",
Bell System Technical Journal 29 (2): 147–160 | "Computes the Hamming distance.\n\n [Reference]: https://en.wikipedia.org/wiki/Hamming_distance\n [Article]: Hamming, Richard W. (1950), \"Error detecting and error correcting codes\",\n Bell System Technical Journal 29 (2): 147–160" | 12 | false | Lilykos/pyphonetics | hamming_distance | 12,306 | |
LDU_FT/phalt/beckett/_parse_url_and_validate | LDU_FT | [
"<BEGIN>\n## `set_attributes`",
"Set the resource attributes from the kwargs.\n Only sets items in the `self.Meta.attributes` white list.",
" Subclass this method to customise attributes.",
" Args:\n kwargs: Keyword arguements passed into the init of this class\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_url_and_validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_url_and_validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Recieves a URL string and validates it using urlparse.
Args:
url: A URL string
Returns:
parsed_url: A validated URL
Raises:
BadURLException | "Recieves a URL string and validates it using urlparse.\n\n Args:\n url: A URL string\n Returns:\n parsed_url: A validated URL\n Raises:\n BadURLException" | 53 | false | phalt/beckett | _parse_url_and_validate | 12,307 | |
LDU_FT/jbeluch/xbmcswift2/_listitemify | LDU_FT | [
"<BEGIN>\n## `display_listitems`",
"Displays a list of items along with the index to enable a user\n to select an item.\n<END>",
"<BEGIN>\n## `display_video`",
"Prints a message for a playing video and displays the parent\n listitem.\n<END>",
"<BEGIN>\n## `get_user_choice`",
"Returns the selected it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _listitemify API.
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 _listitemify API.
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... | Creates an xbmcswift2.ListItem if the provided value for item is a
dict. If item is already a valid xbmcswift2.ListItem, the item is
returned unmodified. | "Creates an xbmcswift2.ListItem if the provided value for item is a\n dict. If item is already a valid xbmcswift2.ListItem, the item is\n returned unmodified." | 164 | false | jbeluch/xbmcswift2 | _listitemify | 12,308 | |
LDU_FT/JukeboxPipeline/jukeboxmaya/get_scenenode | LDU_FT | [
"<BEGIN>\n## `main_func`",
"Main funcion when executing this module as script",
" :param args: commandline arguments\n :type args: list\n :returns: None\n :rtype: None\n :raises: None\n<END>",
"<BEGIN>\n## `setup_launch_parser`",
"Setup the given parser for the launch command",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scenenode API.
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_scenenode API.
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 scenenode in the given nodes
There should only be one scenenode in nodes!
:param nodes:
:type nodes:
:returns: None
:rtype: None
:raises: AssertionError | "Get the scenenode in the given nodes\n\n There should only be one scenenode in nodes!\n\n :param nodes:\n :type nodes:\n :returns: None\n :rtype: None\n :raises: AssertionError" | 241 | false | JukeboxPipeline/jukeboxmaya | get_scenenode | 12,309 | |
LDU_FT/marcotcr/lime/visualize_instance_html | LDU_FT | [
"<BEGIN>\n## `generate_lars_path`",
"Generates the lars path for weighted data.",
" Args:\n weighted_data: data that has been weighted by kernel\n weighted_label: labels, weighted by kernel",
" Returns:\n (alphas, coefs), both are arrays corresponding to the\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visualize_instance_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visualize_instance_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Adds text with highlighted words to visualization.
Args:
exp: list of tuples [(id, weight), (id,weight)]
label: label id (integer)
div_name: name of div object to be used for rendering(in js)
exp_object_name: name of js explanation object
text: i... | "Adds text with highlighted words to visualization.\n\n Args:\n exp: list of tuples [(id, weight), (id,weight)]\n label: label id (integer)\n div_name: name of div object to be used for rendering(in js)\n exp_object_name: name of js explanation object\n ... | 113 | false | marcotcr/lime | visualize_instance_html | 12,310 | |
LDU_FT/OLC-LOC-Bioinformatics/GenomeQAML/filer | LDU_FT | [
"<BEGIN>\n## `main`",
"Run the appropriate functions in order\n :param sequencepath: path of folder containing FASTA genomes\n :param report: boolean to determine whether a report is to be created\n :param refseq_database: Path to reduced refseq database sketch\n :param num_threads: Number of threads ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filer API.
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 filer API.
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... | Helper script that creates a dictionary of the stain name: /sequencepath/strain_name.extension)
:param filelist: list of files to parse
:return filedict: dictionary of stain name: /sequencepath/strain_name.extension | "Helper script that creates a dictionary of the stain name: /sequencepath/strain_name.extension)\n :param filelist: list of files to parse\n :return filedict: dictionary of stain name: /sequencepath/strain_name.extension" | 41 | false | OLC-LOC-Bioinformatics/GenomeQAML | filer | 12,311 | |
LDU_FT/josuebrunel/myql/get_current_info | LDU_FT | [
"<BEGIN>\n## `get_current_info`",
"get_current_info() uses the yahoo.finance.quotes datatable to get all of the stock information presented in the main table on a typical stock page \n and a bunch of data from the key statistics page.\n<END>",
"<BEGIN>\n## `get_news_feed`",
"get_news_feed() uses the rs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_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_current_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 ... | get_current_info() uses the yahoo.finance.quotes datatable to get all of the stock information presented in the main table on a typical stock page
and a bunch of data from the key statistics page. | "get_current_info() uses the yahoo.finance.quotes datatable to get all of the stock information presented in the main table on a typical stock page \n and a bunch of data from the key statistics page." | 44 | false | josuebrunel/myql | get_current_info | 12,312 | |
LDU_FT/phaethon/kamene/remainingDays | LDU_FT | [
"<BEGIN>\n## `post_build`",
"Called implicitly before a packet is sent.\n<END>",
"<BEGIN>\n## `float_encode`",
"Convert the integer value to its IGMPv3 encoded time value if needed.",
" If value < 128, return the value specified. If >= 128, encode as a floating \n point value. Value can be 0 - 31744.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remainingDays API.
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 remainingDays API.
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... | Based on the value of notBefore field, returns the number of
days the certificate will still be valid. The date used for the
comparison is the current and local date, as returned by
time.localtime(), except if 'now' argument is provided another
one. 'now' argument can be given as either... | "Based on the value of notBefore field, returns the number of\n days the certificate will still be valid. The date used for the\n comparison is the current and local date, as returned by \n time.localtime(), except if 'now' argument is provided another\n one. 'now' argument can be given as e... | 477 | false | phaethon/kamene | remainingDays | 12,313 | |
LDU_FT/androguard/androguard/fill | LDU_FT | [
"<BEGIN>\n## `go`",
"Launch the analysis.",
" this will start a total of `max_fetcher` threads.\n<END>",
"<BEGIN>\n## `filter_file`",
"This method is called in order to filer a specific app",
" :param log: an object which corresponds to a unique app\n :param bytes fileraw: the raw fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fill API.
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 fill API.
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... | Parse all the paths (['Lcom/example/myclass/MyActivity$1;', ...])
and build a tree using the QTreeWidgetItem insertion method. | "Parse all the paths (['Lcom/example/myclass/MyActivity$1;', ...])\n and build a tree using the QTreeWidgetItem insertion method." | 823 | false | androguard/androguard | fill | 12,314 | |
LDU_FT/django-extensions/django-extensions/process_message | LDU_FT | [
"<BEGIN>\n## `_slug_strip`",
"Clean up a slug by removing slug separator characters that occur at\n the beginning or end of a slug.",
" If an alternate separator is used, it will also replace any instances\n of the default '-' separator with the new separator.\n<END>",
"<BEGIN>\n## `to_py... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_message API.
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 process_message API.
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... | Output will be sent to the module logger at INFO level. | "Output will be sent to the module logger at INFO level." | 191 | false | django-extensions/django-extensions | process_message | 12,315 | |
LDU_FT/skorokithakis/django-annoying/get_object_or_this | LDU_FT | [
"<BEGIN>\n## `get_object_or_None`",
"Uses get() to return an object or None if the object does not exist.",
" klass may be a Model, Manager, or QuerySet object. All other passed\n arguments and keyword arguments are used in the get() query.",
" Note: Like with get(), a MultipleObjectsReturned will be... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_or_this API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_object_or_this 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... | Uses get() to return an object or the value of <this> argument
if object does not exist.
If the <this> argument if not provided None would be returned.
<model> can be either a QuerySet instance or a class. | "Uses get() to return an object or the value of <this> argument\n if object does not exist.\n\n If the <this> argument if not provided None would be returned.\n <model> can be either a QuerySet instance or a class." | 30 | false | skorokithakis/django-annoying | get_object_or_this | 12,316 | |
LDU_FT/alvinwan/TexSoup/read_math_env | LDU_FT | [
"<BEGIN>\n## `all`",
"r\"\"\"Returns all content in this node, regardless of whitespace or\n not. This includes all LaTeX needed to reconstruct the original source.",
" >>> from TexSoup import TexSoup\n >>> soup = TexSoup(r'''\n ... \\newcommand{reverseconcat}[3]{#3#2#1}\n ...... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_math_env API.
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 read_math_env API.
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... | r"""Read the environment from buffer.
Advances the buffer until right after the end of the environment. Adds
parsed content to the expression automatically.
:param Buffer src: a buffer of tokens
:param TexExpr expr: expression for the environment
:rtype: TexExpr | "r\"\"\"Read the environment from buffer.\n\n Advances the buffer until right after the end of the environment. Adds\n parsed content to the expression automatically.\n\n :param Buffer src: a buffer of tokens\n :param TexExpr expr: expression for the environment\n :rtype: TexExpr" | 166 | false | alvinwan/TexSoup | read_math_env | 12,317 | |
LDU_FT/MycroftAI/mycroft-precise/from_folder | LDU_FT | [
"<BEGIN>\n## `load_precise_model`",
"Loads a Keras model from file, handling custom loss function\n<END>",
"<BEGIN>\n## `create_model`",
"Load or create a precise model",
" Args:\n model_name: Name of model\n params: Parameters used to create the model",
" Returns:\n model: Load... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_folder API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Load a set of data from a structured folder in the following format:
{prefix}/
wake-word/
*.wav
not-wake-word/
*.wav
test/
wake-word/
*.wav
not-wake-word/
*.wav | "Load a set of data from a structured folder in the following format:\n {prefix}/\n wake-word/\n *.wav\n not-wake-word/\n *.wav\n test/\n wake-word/\n *.wav\n not-wake-word/\n *.wav" | 79 | false | MycroftAI/mycroft-precise | from_folder | 12,318 | |
LDU_FT/cloudflare/sqlalchemy-clickhouse/_process_response | LDU_FT | [
"<BEGIN>\n## `_reset_state`",
"Reset state about the previous query in preparation for running another query\n<END>",
"<BEGIN>\n## `description`",
"This read-only attribute is a sequence of 7-item sequences.",
" Each of these sequences contains information describing one result column:",
" -... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_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... | Update the internal state with the data from the response | "Update the internal state with the data from the response" | 22 | false | cloudflare/sqlalchemy-clickhouse | _process_response | 12,319 | |
LDU_FT/developmentseed/landsat-util/create_paired_list | LDU_FT | [
"<BEGIN>\n## `_read_cmap`",
"reads the colormap from a text file given in settings.py.\n See colormap_cubehelix.txt. File must contain 256 RGB values\n<END>",
"<BEGIN>\n## `data_collector`",
"Buffers n bytes of data.",
" :param iterable:\n Could be a list, generator or string\n :type ite... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_paired_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_paired_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Create a list of paired items from a string.
:param value:
the format must be 003,003,004,004 (commas with no space)
:type value:
String
:returns:
List
:example:
>>> create_paired_list('003,003,004,004')
[['003','003'], ['004', '004']] | "Create a list of paired items from a string.\n\n :param value:\n the format must be 003,003,004,004 (commas with no space)\n :type value:\n String\n\n :returns:\n List\n\n :example:\n >>> create_paired_list('003,003,004,004')\n [['003','003'], ['004', '004']]" | 152 | false | developmentseed/landsat-util | create_paired_list | 12,320 | |
LDU_FT/mapnik/Cascadenik/parse_attribute | LDU_FT | [
"<BEGIN>\n## `xindexes`",
"Generate list of possible indexes into a list of slots.",
" Best way to think of this is as a number where each digit might have a different radix.\n E.g.: (10, 10, 10) would return 10 x 10 x 10 = 1000 responses from (0, 0, 0) to (9, 9, 9),\n (2, 2, 2, 2) would re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_attribute API.
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 parse_attribute API.
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... | Parse a token stream from inside an attribute selector.
Enter this function after a left-bracket is found:
http://www.w3.org/TR/CSS2/selector.html#attribute-selectors | "Parse a token stream from inside an attribute selector.\n \n Enter this function after a left-bracket is found:\n http://www.w3.org/TR/CSS2/selector.html#attribute-selectors" | 123 | false | mapnik/Cascadenik | parse_attribute | 12,321 | |
LDU_FT/MLAB-project/pymlab/args_repr | LDU_FT | [
"<BEGIN>\n## `Move`",
"Move some distance units from current position\n<END>",
"<BEGIN>\n## `SPI_write_byte`",
"Writes a data to a SPI device selected by chipselect bit.\n<END>",
"<BEGIN>\n## `SPI_write`",
"Writes data to SPI device selected by chipselect bit.\n<END>",
"<BEGIN>\n## `GPIO_read`",
"Read... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the args_repr API.
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 args_repr API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns human-readable string representation of both positional and
keyword arguments passed to the function.
This function uses the built-in :func:`repr()` function to convert
individual arguments to string.
>>> args_repr("a", (1, 2), some_keyword = list("abc"))
"'a', (1, 2), some_keyword = ['a',... | "Returns human-readable string representation of both positional and\n keyword arguments passed to the function.\n\n This function uses the built-in :func:`repr()` function to convert\n individual arguments to string.\n\n >>> args_repr(\"a\", (1, 2), some_keyword = list(\"abc\"))\n \"'a', (1, 2), some_ke... | 99 | false | MLAB-project/pymlab | args_repr | 12,322 | |
LDU_FT/maljovec/topopy/build | LDU_FT | [
"<BEGIN>\n## `build`",
"Assigns data to this object and builds the Morse-Smale\n Complex\n @ In, X, an m-by-n array of values specifying m\n n-dimensional samples\n @ In, Y, a m vector of values specifying the output\n responses corresponding to the m samples... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
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 build API.
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... | Assigns data to this object and builds the Morse-Smale
Complex
@ In, X, an m-by-n array of values specifying m
n-dimensional samples
@ In, Y, a m vector of values specifying the output
responses corresponding to the m samples specified by X
@ In, w... | "Assigns data to this object and builds the Morse-Smale\n Complex\n @ In, X, an m-by-n array of values specifying m\n n-dimensional samples\n @ In, Y, a m vector of values specifying the output\n responses corresponding to the m samples specified by X\n ... | 57 | false | maljovec/topopy | build | 12,323 | |
LDU_FT/Hrabal/TemPy/siblings | LDU_FT | [
"<BEGIN>\n## `render_attrs`",
"Renders the tag's attributes using the formats and performing special attributes name substitution.\n<END>",
"<BEGIN>\n## `toggle_class`",
"Same as jQuery's toggleClass function. It toggles the css class on this element.\n<END>",
"<BEGIN>\n## `remove_class`",
"Removes the gi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the siblings API.
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 siblings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns all the siblings of this element as a list. | "Returns all the siblings of this element as a list." | 80 | false | Hrabal/TemPy | siblings | 12,324 | |
LDU_FT/ROGUE-JCTD/rogue_geonode/get_fileservice_dir | LDU_FT | [
"<BEGIN>\n## `make_request`",
"Prepares a request from a url, params, and optionally authentication.\n<END>",
"<BEGIN>\n## `setup_geoserver`",
"Prepare a testing instance of GeoServer.\n<END>",
"<BEGIN>\n## `upgradedb`",
"Add 'fake' data migrations for existing tables from legacy GeoNode versions\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fileservice_dir 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_fileservice_dir 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... | example settings file
FILESERVICE_CONFIG = {
'store_dir': '/var/lib/geoserver_data/fileservice_store'
} | "example settings file\n FILESERVICE_CONFIG = {\n 'store_dir': '/var/lib/geoserver_data/fileservice_store'\n }" | 27 | false | ROGUE-JCTD/rogue_geonode | get_fileservice_dir | 12,325 | |
LDU_FT/farshidce/touchworks-python/get_document_type | LDU_FT | [
"<BEGIN>\n## `get_token`",
"get the security token by connecting to TouchWorks API\n<END>",
"<BEGIN>\n## `_token_valid`",
"checks if the token cached is valid or has expired by comparing\n the time token was created with current time\n :return: True if token has not expired yet and False is toke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_document_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_document_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | invokes TouchWorksMagicConstants.ACTION_GET_DOCUMENT_TYPE action
:return: JSON response | "invokes TouchWorksMagicConstants.ACTION_GET_DOCUMENT_TYPE action\n :return: JSON response" | 72 | false | farshidce/touchworks-python | get_document_type | 12,326 | |
LDU_FT/YuriyGuts/pygoose/split_into_batches | LDU_FT | [
"<BEGIN>\n## `split_into_batches`",
"Break the input data into smaller batches, optionally saving each one to disk.",
" Args:\n input_list: An input object that has a list-like interface (indexing and slicing).\n batch_size: The maximum number of input items in each batch.\n batch_storag... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_into_batches 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 split_into_batches 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... | Break the input data into smaller batches, optionally saving each one to disk.
Args:
input_list: An input object that has a list-like interface (indexing and slicing).
batch_size: The maximum number of input items in each batch.
batch_storage_dir: The directory to save the checkpoints to.
... | "Break the input data into smaller batches, optionally saving each one to disk.\n\n Args:\n input_list: An input object that has a list-like interface (indexing and slicing).\n batch_size: The maximum number of input items in each batch.\n batch_storage_dir: The directory to save the checkpoints... | 72 | false | YuriyGuts/pygoose | split_into_batches | 12,327 | |
LDU_FT/jkenlooper/chill/add_template_for_node | LDU_FT | [
"<BEGIN>\n## `multiple_directory_files_loader`",
"Loads all the files in each directory as values in a dict with the key\n being the relative file path of the directory. Updates the value if\n subsequent file paths are the same.\n<END>",
"<BEGIN>\n## `send_root_file`",
"Function used to send static fil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_template_for_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_template_for_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.
... | Set the template to use to display the node | "Set the template to use to display the node" | 63 | false | jkenlooper/chill | add_template_for_node | 12,328 | |
LDU_FT/gwpy/gwpy/find_typed_function | LDU_FT | [
"<BEGIN>\n## `canonical_name`",
"Find the canonical name for the given window in scipy.signal",
" Parameters\n ----------\n name : `str`\n the name of the window you want",
" Returns\n -------\n realname : `str`\n the name of the window as implemented in `scipy.signal.window`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_typed_function 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 find_typed_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns the lal method for the correct type
Parameters
----------
pytype : `type`, `numpy.dtype`
the python type, or dtype, to map
prefix : `str`
the function name prefix (before the type tag)
suffix : `str`
the function name suffix (after the type tag)
Raises
---... | "Returns the lal method for the correct type\n\n Parameters\n ----------\n pytype : `type`, `numpy.dtype`\n the python type, or dtype, to map\n\n prefix : `str`\n the function name prefix (before the type tag)\n\n suffix : `str`\n the function name suffix (after the type tag)\n\n ... | 2,764 | true | gwpy/gwpy | find_typed_function | 12,329 | |
LDU_FT/palantir/python-jsonrpc-server/_content_length | LDU_FT | [
"<BEGIN>\n## `notify`",
"Send a JSON RPC notification to the client.",
" Args:\n method (str): The method name of the notification to send\n params (any): The payload of the notification\n<END>",
"<BEGIN>\n## `request`",
"Send a JSON RPC request to the client.",
" Ar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _content_length API.
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 _content_length API.
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... | Extract the content length from an input line. | "Extract the content length from an input line." | 26 | false | palantir/python-jsonrpc-server | _content_length | 12,330 | |
LDU_FT/mitodl/PyLmod/create_assignment | LDU_FT | [
"<BEGIN>\n## `unravel_sections`",
"Unravels section type dictionary into flat list of sections with\n section type set as an attribute.",
" Args:\n section_data(dict): Data return from py:method::get_sections",
" Returns:\n list: Flat list of sections with ``sectionT... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_assignment API.
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 create_assignment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Create a new assignment.
Create a new assignment. By default, assignments are created
under the `Uncategorized` category.
Args:
name (str): descriptive assignment name,
i.e. ``new NUMERIC SIMPLE ASSIGNMENT``
short_name (str): short name of assignment, on... | "Create a new assignment.\n\n Create a new assignment. By default, assignments are created\n under the `Uncategorized` category.\n\n Args:\n name (str): descriptive assignment name,\n i.e. ``new NUMERIC SIMPLE ASSIGNMENT``\n short_name (str): short name of assig... | 190 | false | mitodl/PyLmod | create_assignment | 12,331 | |
LDU_FT/pennersr/django-allauth/sociallogin_from_response | LDU_FT | [
"<BEGIN>\n## `_stash_user`",
"Now, be aware, the following is quite ugly, let me explain:",
" Even if the user credentials match, the authentication can fail because\n Django's default ModelBackend calls user_can_authenticate(), which\n checks `is_active`. Now, earlier versions of allauth d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sociallogin_from_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sociallogin_from_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Instantiates and populates a `SocialLogin` model based on the data
retrieved in `response`. The method does NOT save the model to the
DB.
Data for `SocialLogin` will be extracted from `response` with the
help of the `.extract_uid()`, `.extract_extra_data()`,
`.extract_common_fie... | "Instantiates and populates a `SocialLogin` model based on the data\n retrieved in `response`. The method does NOT save the model to the\n DB.\n\n Data for `SocialLogin` will be extracted from `response` with the\n help of the `.extract_uid()`, `.extract_extra_data()`,\n `.extract_com... | 130 | false | pennersr/django-allauth | sociallogin_from_response | 12,332 | |
LDU_FT/pytroll/pyspectral/_load | 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 _load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Load the MetImage RSR data for the band requested | "Load the MetImage RSR data for the band requested" | 129 | false | pytroll/pyspectral | _load | 12,333 | |
LDU_FT/Asana/python-asana/set_parent | LDU_FT | [
"<BEGIN>\n## `fetch_token`",
"Exchange a code (and 'state' token) for a bearer token\n<END>",
"<BEGIN>\n## `find_by_id`",
"Returns the complete tag record for a single tag.",
" Parameters\n ----------\n tag : {Id} The tag to get.\n [params] : {Object} Parameters for the request\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_parent API.
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 set_parent API.
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... | Changes the parent of a task. Each task may only be a subtask of a single
parent, or no parent task at all. Returns an empty data block.
Parameters
----------
task : {Id} Globally unique identifier for the task.
[data] : {Object} Data for the request
- parent : {Id} Th... | "Changes the parent of a task. Each task may only be a subtask of a single\n parent, or no parent task at all. Returns an empty data block.\n\n Parameters\n ----------\n task : {Id} Globally unique identifier for the task.\n [data] : {Object} Data for the request\n - parent :... | 318 | false | Asana/python-asana | set_parent | 12,334 | |
LDU_FT/kivy/python-for-android/check_recipe_choices | LDU_FT | [
"<BEGIN>\n## `dist_dir`",
"The dist dir at which to place the finished distribution.\n<END>",
"<BEGIN>\n## `check_recipe_choices`",
"Checks what recipes are being built to see which of the alternative\n and optional dependencies are being used,\n and returns a list of these.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_recipe_choices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_recipe_choices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Checks what recipes are being built to see which of the alternative
and optional dependencies are being used,
and returns a list of these. | "Checks what recipes are being built to see which of the alternative\n and optional dependencies are being used,\n and returns a list of these." | 404 | false | kivy/python-for-android | check_recipe_choices | 12,335 | |
LDU_FT/DEIB-GECO/PyGMQL/adjusted_rand_score | LDU_FT | [
"<BEGIN>\n## `preprocess_path`",
"Given a dataset path, the following structure is to be expected:\n - path/\n - files/\n - S_00000.gdm\n - S_00000.gdm.meta\n - S_00001.gdm\n - S_00001.gdm.meta\n - ...\n - ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adjusted_rand_score API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adjusted_rand_score API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Calculates the adjusted rand score w.r.t. the reference clusters (explicit evaluation)
:param reference_clusters: Clusters that are to be used as reference
:return: returns the value of the adjusted rand score | "Calculates the adjusted rand score w.r.t. the reference clusters (explicit evaluation)\n\n :param reference_clusters: Clusters that are to be used as reference\n :return: returns the value of the adjusted rand score" | 422 | false | DEIB-GECO/PyGMQL | adjusted_rand_score | 12,336 | |
LDU_FT/gmr/rejected/set_sentry_context | LDU_FT | [
"<BEGIN>\n## `active_processes`",
"Return a list of all active processes, pruning dead ones",
" :rtype: list\n<END>",
"<BEGIN>\n## `calculate_stats`",
"Calculate the stats data for our process level data.",
" :param data: The collected stats data to report on\n :type data: dict\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_sentry_context 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 set_sentry_context 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... | Set a context tag in Sentry for the given key and value.
:param tag: The context tag name
:type tag: :class:`str`
:param value: The context value
:type value: :class:`str` | "Set a context tag in Sentry for the given key and value.\n\n :param tag: The context tag name\n :type tag: :class:`str`\n :param value: The context value\n :type value: :class:`str`" | 368 | false | gmr/rejected | set_sentry_context | 12,337 | |
LDU_FT/googleads/googleads-python-lib/AddMonths | LDU_FT | [
"<BEGIN>\n## `CreateAdsWithCustomizations`",
"Creates ExpandedTextAds that use ad customizations for specified AdGroups.",
" Args:\n client: an AdWordsClient instance.\n adgroup_ids: a list containing the AdGroup ids to add ExpandedTextAds to.\n feed_name: the name of the feed used to apply customizat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AddMonths API.
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 AddMonths API.
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... | A simple convenience utility for adding months to a given start date.
This increments the months by adding the number of days in the current month
to the current month, for each month.
Args:
start_date: date The date months are being added to.
months: int The number of months to add.
Returns:
A d... | "A simple convenience utility for adding months to a given start date.\n\n This increments the months by adding the number of days in the current month\n to the current month, for each month.\n\n Args:\n start_date: date The date months are being added to.\n months: int The number of months to add.\n\n Return... | 713 | false | googleads/googleads-python-lib | AddMonths | 12,338 | |
LDU_FT/e7dal/bubble3/timer | LDU_FT | [
"<BEGIN>\n## `cli`",
"Show example for doing some task in bubble(experimental)\n<END>",
"<BEGIN>\n## `cli`",
"Bubble: command line tool for bubbling information between services",
" .oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.\\n\n Making single point to point API connections:\\n\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timer API.
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 timer API.
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... | define a timer for a rule function
for log and statistic purposes | "define a timer for a rule function\n for log and statistic purposes" | 171 | false | e7dal/bubble3 | timer | 12,339 | |
LDU_FT/aganezov/bg/from_json | LDU_FT | [
"<BEGIN>\n## `add_edge`",
"Adds a new edge to the current tree with specified characteristics",
" Forbids addition of an edge, if a parent node is not present\n Forbids addition of an edge, if a child node already exists",
" :param node1_name: name of the parent node, to which an edge sha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | A JSON deserialization operation, that recovers a breakpoint graph from its JSON representation
as information about genomes, that are encoded in breakpoint graph might be available somewhere else, but not the
json object, there is an option to provide it and omit encoding information about genomes... | "A JSON deserialization operation, that recovers a breakpoint graph from its JSON representation\n\n as information about genomes, that are encoded in breakpoint graph might be available somewhere else, but not the\n json object, there is an option to provide it and omit encoding information about gen... | 226 | false | aganezov/bg | from_json | 12,340 | |
LDU_FT/edeposit/edeposit.amqp.storage/read_as_base64 | LDU_FT | [
"<BEGIN>\n## `render_trees`",
"Render list of `trees` to HTML.",
" Args:\n trees (list): List of :class:`.Tree`.\n path_composer (fn reference): Function used to compose paths from UUID.\n Look at :func:`.compose_tree_path` from :mod:`.web_tools`.",
" Returns:\n str: HTML... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_as_base64 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_as_base64 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Convert given `fn` to base64 and return it. This method does the process
in not-so-much memory consuming way.
Args:
fn (str): Path to the file which should be converted.
Returns:
str: File encoded as base64. | "Convert given `fn` to base64 and return it. This method does the process\n in not-so-much memory consuming way.\n\n Args:\n fn (str): Path to the file which should be converted.\n\n Returns:\n str: File encoded as base64." | 140 | false | edeposit/edeposit.amqp.storage | read_as_base64 | 12,341 | |
LDU_FT/mixmastamyk/fr/fmtval | LDU_FT | [
"<BEGIN>\n## `cprint`",
"Print a string in a specified color style and then return to normal.\n def cprint(text, fg=white, bg=blackbg, w=norm, cr=True):\n<END>",
"<BEGIN>\n## `bargraph`",
"Creates a monochrome or two-color bar graph.\n<END>",
"<BEGIN>\n## `get_diskinfo`",
"Returns a list holding th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fmtval API.
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 fmtval API.
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 ... | Formats and returns a given number according to specifications. | "Formats and returns a given number according to specifications." | 36 | false | mixmastamyk/fr | fmtval | 12,342 | |
LDU_FT/spotify/gordon-gcp/refresh_token | LDU_FT | [
"<BEGIN>\n## `validate`",
"Validate a message given a schema.",
" Args:\n message (dict): Loaded JSON of pulled message from Google\n PubSub.\n schema_name (str): Name of schema to validate ``message``\n against. ``schema_name`` will be used to look up\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh_token API.
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 refresh_token API.
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... | Refresh oauth access token attached to this HTTP session.
Raises:
:exc:`.GCPAuthError`: if no token was found in the
response.
:exc:`.GCPHTTPError`: if any exception occurred,
specifically a :exc:`.GCPHTTPResponseError`, if the
exception i... | "Refresh oauth access token attached to this HTTP session.\n\n Raises:\n :exc:`.GCPAuthError`: if no token was found in the\n response.\n :exc:`.GCPHTTPError`: if any exception occurred,\n specifically a :exc:`.GCPHTTPResponseError`, if the\n exc... | 72 | false | spotify/gordon-gcp | refresh_token | 12,343 | |
LDU_FT/xsleonard/pystmark/_get_request_content | LDU_FT | [
"<BEGIN>\n## `send`",
"Send a message.",
" :param message: Message to send.\n :type message: `dict` or :class:`Message`\n :param api_key: Your Postmark API key. Required, if `test` is not `True`.\n :param secure: Use the https scheme for the Postmark API.\n Defaults to `True`\n :param test... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_request_content 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_request_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Updates all messages in message with default message
parameters.
:param message: A collection of Postmark message data
:type message: a collection of message `dict`s
:rtype: JSON encoded `str` | "Updates all messages in message with default message\n parameters.\n\n :param message: A collection of Postmark message data\n :type message: a collection of message `dict`s\n :rtype: JSON encoded `str`" | 113 | false | xsleonard/pystmark | _get_request_content | 12,344 | |
LDU_FT/Stewori/pytypes/get_Generic_itemtype | LDU_FT | [
"<BEGIN>\n## `_outter_split`",
"Splits only at delims that are at outter-most level regarding\n openers/closers pairs.\n Unchecked requirements:\n Only supports length-1 delim, openers and closers.\n delim must not be member of openers or closers.\n len(openers) == len(closers) or closers == None\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_Generic_itemtype 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_Generic_itemtype API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Retrieves the item type from a PEP 484 generic or subclass of such.
sq must be a typing.Tuple or (subclass of) typing.Iterable or typing.Container.
Consequently this also works with typing.List, typing.Set and typing.Dict.
Note that for typing.Dict and mapping types in general, the key type is regarded as i... | "Retrieves the item type from a PEP 484 generic or subclass of such.\n sq must be a typing.Tuple or (subclass of) typing.Iterable or typing.Container.\n Consequently this also works with typing.List, typing.Set and typing.Dict.\n Note that for typing.Dict and mapping types in general, the key type is regarded ... | 187 | false | Stewori/pytypes | get_Generic_itemtype | 12,345 | |
LDU_FT/pyslackers/slack-sansio/clone | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a new handler for a specific :class:`slack.actions.Action` `callback_id`.\n Optional routing based on the action name too.",
" The name argument is useful for actions of type `interactive_message` to provide\n a different handler for each individual actio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API.
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 clone API.
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... | Clone the event
Returns:
:class:`slack.events.Event` | "Clone the event\n\n Returns:\n :class:`slack.events.Event`" | 113 | false | pyslackers/slack-sansio | clone | 12,346 | |
LDU_FT/swistakm/python-gmaps/_make_request | LDU_FT | [
"<BEGIN>\n## `directions`",
"Get directions between locations",
" :param origin: Origin location - string address; (latitude, longitude)\n two-tuple, dict with (\"lat\", \"lon\") keys or object with (lat, lon)\n attributes\n :param destination: Destination location - type sam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Make http/https request to Google API.
Method prepares url parameters, drops None values, and gets default
values. Finally makes request using protocol assigned to client and
returns data.
:param url: url part - specifies API endpoint
:param parameters: dictionary of url parame... | "Make http/https request to Google API.\n\n Method prepares url parameters, drops None values, and gets default\n values. Finally makes request using protocol assigned to client and\n returns data.\n\n :param url: url part - specifies API endpoint\n :param parameters: dictionary of ur... | 26 | false | swistakm/python-gmaps | _make_request | 12,347 | |
LDU_FT/zapier/django-drip/timeline | LDU_FT | [
"<BEGIN>\n## `get_fields`",
"Given a Model, return a list of lists of strings with important stuff:\n ...\n ['test_user__user__customuser', 'customuser', 'User', 'RelatedObject']\n ['test_user__unique_id', 'unique_id', 'TestUser', 'CharField']\n ['test_user__confirmed', 'confirmed', 'TestUser', 'Boole... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timeline API.
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 timeline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return a list of people who should get emails. | "Return a list of people who should get emails." | 20 | false | zapier/django-drip | timeline | 12,348 | |
LDU_FT/bdastur/spam/validate_host_parameters | LDU_FT | [
"<BEGIN>\n## `rados_df`",
"Invoked the rados df command and return output to user\n<END>",
"<BEGIN>\n## `rados_parse_df`",
"Parse the result from ansirunner module and save it as a json\n object\n<END>",
"<BEGIN>\n## `is_file_encrypted`",
"Given a file. Check if it is already encrypted.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_host_parameters 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 validate_host_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Validate and set the host list and remote user parameters. | "Validate and set the host list and remote user parameters." | 14 | false | bdastur/spam | validate_host_parameters | 12,349 | |
LDU_FT/thefactory/marathon-python/list_tasks | LDU_FT | [
"<BEGIN>\n## `_parse_response`",
"Parse a Marathon response into an object or list of objects.\n<END>",
"<BEGIN>\n## `create_app`",
"Create and start an app.",
" :param str app_id: application ID\n :param :class:`marathon.models.app.MarathonApp` app: the application to create\n :param b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_tasks API.
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 list_tasks API.
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... | List running tasks, optionally filtered by app_id.
:param str app_id: if passed, only show tasks for this application
:param kwargs: arbitrary search filters
:returns: list of tasks
:rtype: list[:class:`marathon.models.task.MarathonTask`] | "List running tasks, optionally filtered by app_id.\n\n :param str app_id: if passed, only show tasks for this application\n :param kwargs: arbitrary search filters\n\n :returns: list of tasks\n :rtype: list[:class:`marathon.models.task.MarathonTask`]" | 146 | false | thefactory/marathon-python | list_tasks | 12,350 | |
LDU_FT/Peter-Slump/django-dynamic-fixtures/load_fixtures | LDU_FT | [
"<BEGIN>\n## `progress_callback`",
"Callback to report progress",
" :param str action:\n :param list node: app, module\n :param int | None elapsed_time:\n<END>",
"<BEGIN>\n## `init_graph`",
"Initialize graph\n Load all nodes and set dependencies.",
" To avoid errors abou... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_fixtures API.
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_fixtures API.
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... | Load all fixtures for given nodes.
If no nodes are given all fixtures will be loaded.
:param list nodes: list of nodes to be loaded.
:param callable progress_callback: Callback which will be called while
handling the nodes. | "Load all fixtures for given nodes.\n\n If no nodes are given all fixtures will be loaded.\n :param list nodes: list of nodes to be loaded.\n :param callable progress_callback: Callback which will be called while\n handling the nodes." | 22 | false | Peter-Slump/django-dynamic-fixtures | load_fixtures | 12,351 | |
LDU_FT/cqparts/cqparts/get_importer | LDU_FT | [
"<BEGIN>\n## `register_exporter`",
"Register an exporter to use for a :class:`Part <cqparts.Part>`,\n :class:`Assembly <cqparts.Assembly>`, or both\n (with :class:`Component <cqparts.Component>`).",
" Registration is necessary to use with\n :meth:`Component.exporter() <cqparts.Component.exporter>`."... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_importer API.
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_importer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Get an importer for the given registered type.
:param cls: class to import
:type cls: :class:`type`
:param name: registered name of importer
:type name: :class:`str`
:return: an importer instance of the given type
:rtype: :class:`Importer`
:raises TypeError: if importer cannot be found | "Get an importer for the given registered type.\n\n :param cls: class to import\n :type cls: :class:`type`\n :param name: registered name of importer\n :type name: :class:`str`\n :return: an importer instance of the given type\n :rtype: :class:`Importer`\n :raises TypeError: if importer cannot be f... | 377 | false | cqparts/cqparts | get_importer | 12,352 | |
LDU_FT/SciTools/biggus/_full_keys | LDU_FT | [
"<BEGIN>\n## `_groups_of_size`",
"Collect data into fixed-length chunks or blocks.\n<END>",
"<BEGIN>\n## `slice_repr`",
"Turn things like `slice(None, 2, -1)` into `:2:-1`.\n<END>",
"<BEGIN>\n## `biggus_chunk`",
"A function that lazily evaluates a biggus.Chunk. This is useful for\n passing through ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _full_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.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _full_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.
The extrac... | Given keys such as those passed to ``__getitem__`` for an
array of ndim, return a fully expanded tuple of keys.
In all instances, the result of this operation should follow:
array[keys] == array[_full_keys(keys, array.ndim)] | "Given keys such as those passed to ``__getitem__`` for an\n array of ndim, return a fully expanded tuple of keys.\n\n In all instances, the result of this operation should follow:\n\n array[keys] == array[_full_keys(keys, array.ndim)]" | 105 | false | SciTools/biggus | _full_keys | 12,353 | |
LDU_FT/anayjoshi/platypus/get_variable | LDU_FT | [
"<BEGIN>\n## `get_cfg`",
"Traverses the AST and returns the corresponding CFG",
" :param ast_func: The AST representation of function\n :type ast_func: ast.Function",
" :returns: The CFG representation of the function\n :rtype: cfg.Function\n<END>",
"<BEGIN>\n## `get_ir`",
"Converts the given ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_variable API.
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_variable API.
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... | If a variable with the name var_name exists in this function's variable list, \
then that variable object is returned; else a new variable is created\
with the given name and added to the variable list of this function\
and returned back
:returns: A variable whic... | "If a variable with the name var_name exists in this function's variable list, \\\n then that variable object is returned; else a new variable is created\\\n with the given name and added to the variable list of this function\\\n and returned back\n\n :returns: A vari... | 26 | false | anayjoshi/platypus | get_variable | 12,354 | |
LDU_FT/sci-bots/dmf-device-ui/render_dynamic_electrode_state_shapes | LDU_FT | [
"<BEGIN>\n## `register_shortcuts`",
".. versionchanged:: 0.14\n Add keyboard shortcuts to set neighbouring electrode states based\n on directional input using ``<Control>`` key plus the corresponding\n direction (e.g., ``<Control>Up``)\n<END>",
"<BEGIN>\n## `cleanup_video`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_dynamic_electrode_state_shapes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_dynamic_electrode_state_shapes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | Render **dynamic** states reported by the electrode controller.
**Dynamic** electrode states are only applied while a protocol is
running -- _not_ while in real-time programming mode.
See also :meth:`render_electrode_shapes()`.
.. versionadded:: 0.12 | "Render **dynamic** states reported by the electrode controller.\n\n **Dynamic** electrode states are only applied while a protocol is\n running -- _not_ while in real-time programming mode.\n\n See also :meth:`render_electrode_shapes()`.\n\n\n .. versionadded:: 0.12" | 124 | false | sci-bots/dmf-device-ui | render_dynamic_electrode_state_shapes | 12,355 | |
LDU_FT/yakupadakli/python-unsplash/curated | LDU_FT | [
"<BEGIN>\n## `all`",
"Get a single page from the list of all photos.",
" :param page [integer]: Page number to retrieve. (Optional; default: 1)\n :param per_page [integer]: Number of items per page. (Optional; default: 10)\n :param order_by [string]: How to sort the photos. Optional.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the curated API.
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 curated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Get a single page from the list of the curated photos (front-page’s photos).
:param page [integer]: Page number to retrieve. (Optional; default: 1)
:param per_page [integer]: Number of items per page. (Optional; default: 10)
:param order_by [string]: How to sort the photos. Optional.
(V... | "Get a single page from the list of the curated photos (front-page’s photos).\n\n :param page [integer]: Page number to retrieve. (Optional; default: 1)\n :param per_page [integer]: Number of items per page. (Optional; default: 10)\n :param order_by [string]: How to sort the photos. Optional.\n ... | 107 | false | yakupadakli/python-unsplash | curated | 12,356 | |
LDU_FT/pmichali/whodunit/sort | LDU_FT | [
"<BEGIN>\n## `build_owner`",
"Factory for creating owners, based on --sort option.\n<END>",
"<BEGIN>\n## `collect_modules`",
"Generator to look for git files in tree. Will handle all lines.\n<END>",
"<BEGIN>\n## `collect_blame_info`",
"Runs git blame on files, for the specified sets of line ranges.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort API.
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 sort API.
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... | Consolidate adjacent lines, if same commit ID.
Will modify line number to be a range, when two or more lines with the
same commit ID. | "Consolidate adjacent lines, if same commit ID.\n\n Will modify line number to be a range, when two or more lines with the\n same commit ID." | 30 | false | pmichali/whodunit | sort | 12,357 | |
LDU_FT/QuantEcon/QuantEcon.py/_integrate_fixed_trajectory | LDU_FT | [
"<BEGIN>\n## `backward_induction`",
"r\"\"\"\n Solve by backward induction a :math:`T`-period finite horizon\n discrete dynamic program with stationary reward and transition\n probability functions :math:`r` and :math:`q` and discount factor\n :math:`\\beta \\in [0, 1]`.",
" The optimal value fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _integrate_fixed_trajectory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _integrate_fixed_trajectory API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Generates a solution trajectory of fixed length. | "Generates a solution trajectory of fixed length." | 1,292 | true | QuantEcon/QuantEcon.py | _integrate_fixed_trajectory | 12,358 | |
LDU_FT/pylast/pylast/is_fulltrack_available | LDU_FT | [
"<BEGIN>\n## `cleanup_nodes`",
"Remove text nodes containing only whitespace\n<END>",
"<BEGIN>\n## `_collect_nodes`",
"Returns a sequence of dom.Node objects about as close to limit as possible\n<END>",
"<BEGIN>\n## `_extract_all`",
"Extracts all the values from the xml string. returning a list.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_fulltrack_available 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 is_fulltrack_available API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Returns True if the full track is available for streaming. | "Returns True if the full track is available for streaming." | 146 | false | pylast/pylast | is_fulltrack_available | 12,359 | |
LDU_FT/trustar/trustar-python/extract_pdf | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Create an indicator object from a dictionary.",
" :param indicator: The dictionary.\n :return: The indicator object.\n<END>",
"<BEGIN>\n## `to_dict`",
"Creates a dictionary representation of the indicator.",
" :param remove_nones: Whether ``None`` values sh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_pdf API.
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 extract_pdf API.
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... | Extract text from a pdf file
:param file_name path to pdf to read
:return text from pdf | "Extract text from a pdf file\n :param file_name path to pdf to read\n :return text from pdf" | 243 | false | trustar/trustar-python | extract_pdf | 12,360 | |
LDU_FT/jtmoulia/switchboard-python/then | LDU_FT | [
"<BEGIN>\n## `main`",
"Create, connect, and block on the Lamson worker.\n<END>",
"<BEGIN>\n## `received_new`",
"As new messages arrive, deliver them to the lamson relay.\n<END>",
"<BEGIN>\n## `_isPromise`",
"A utility function to determine if the specified\n object is a promise using \"duck typing\".\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the then API.
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 then API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | This method takes two optional arguments. The first argument
is used if the "self promise" is fulfilled and the other is
used if the "self promise" is rejected. In either case, this
method returns another promise that effectively represents
the result of either the first of the second ... | "This method takes two optional arguments. The first argument\n is used if the \"self promise\" is fulfilled and the other is\n used if the \"self promise\" is rejected. In either case, this\n method returns another promise that effectively represents\n the result of either the first of th... | 35 | false | jtmoulia/switchboard-python | then | 12,361 | |
LDU_FT/diffeo/rejester/get_child_work_units | LDU_FT | [
"<BEGIN>\n## `dump_queue`",
"Debug-log some of the queues.",
" ``names`` may include any of \"worker\", \"available\", \"priorities\",\n \"expiration\", \"workers\", or \"reservations_ITEM\" filling in some\n specific item.\n<END>",
"<BEGIN>\n## `worker_id`",
"A unique identifier for th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_child_work_units 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_child_work_units API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get work units assigned to a worker's children.
Returns a dictionary mapping worker ID to :class:`WorkUnit`.
If a child exists but is idle, that worker ID will map to
:const:`None`. The work unit may already be expired or
assigned to a different worker; this will be reflected in
... | "Get work units assigned to a worker's children.\n\n Returns a dictionary mapping worker ID to :class:`WorkUnit`.\n If a child exists but is idle, that worker ID will map to\n :const:`None`. The work unit may already be expired or\n assigned to a different worker; this will be reflected in\... | 391 | false | diffeo/rejester | get_child_work_units | 12,362 | |
LDU_FT/rdo-management/python-rdomanager-oscplugin/_generate_password | LDU_FT | [
"<BEGIN>\n## `_csv_to_nodes_dict`",
"Convert CSV to a list of dicts formatted for os_cloud_config",
" Given a CSV file in the format below, convert it into the\n structure expected by os_could_config JSON files.",
" pm_type, pm_addr, pm_user, pm_password, mac\n<END>",
"<BEGIN>\n## `build_option_par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_password API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_password API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Create a random password
The password is made by taking a uuid and passing it though sha1sum.
We may change this in future to gain more entropy.
This is based on the tripleo command os-make-password | "Create a random password\n\n The password is made by taking a uuid and passing it though sha1sum.\n We may change this in future to gain more entropy.\n\n This is based on the tripleo command os-make-password" | 85 | false | rdo-management/python-rdomanager-oscplugin | _generate_password | 12,363 | |
LDU_FT/django-fluent/django-fluent-utils/get_comments_are_moderated | LDU_FT | [
"<BEGIN>\n## `import_settings_class`",
"Return the class pointed to be an app setting variable.\n<END>",
"<BEGIN>\n## `import_apps_submodule`",
"Look for a submodule is a series of packages, e.g. \".pagetype_plugins\" in all INSTALLED_APPS.\n<END>",
"<BEGIN>\n## `import_module_or_none`",
"Imports the modu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_comments_are_moderated 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 get_comments_are_moderated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Check if comments are moderated for the instance | "Check if comments are moderated for the instance" | 13 | false | django-fluent/django-fluent-utils | get_comments_are_moderated | 12,364 | |
LDU_FT/fmfn/BayesianOptimization/register | LDU_FT | [
"<BEGIN>\n## `_prime_queue`",
"Make sure there's something in the queue at the very beginning.\n<END>",
"<BEGIN>\n## `register`",
"Append a point and its target value to the known data.",
" Parameters\n ----------\n x : ndarray\n a single point, with len(x) == self.dim",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
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 register API.
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... | Append a point and its target value to the known data.
Parameters
----------
x : ndarray
a single point, with len(x) == self.dim
y : float
target function value
Raises
------
KeyError:
if the point is not unique
Note... | "Append a point and its target value to the known data.\n\n Parameters\n ----------\n x : ndarray\n a single point, with len(x) == self.dim\n\n y : float\n target function value\n\n Raises\n ------\n KeyError:\n if the point is not unique... | 52 | false | fmfn/BayesianOptimization | register | 12,365 | |
LDU_FT/brechtm/rinohtype/save | LDU_FT | [
"<BEGIN>\n## `preprocess_tree`",
"Transform internal refuri targets in reference nodes to refids and\n transform footnote rubrics so that they do not end up in the output\n<END>",
"<BEGIN>\n## `_size_columns`",
"Calculate the table's column sizes constrained by:",
" - requested (absolute, rela... | 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 image to *file*.
If *file* looks like an open file
descriptor then it is used, otherwise it is treated as a
filename and a fresh file is opened.
In general, you can only call this method once; after it has
been called the first time and the PNG image has been saved, th... | "Save the image to *file*.\n\n If *file* looks like an open file\n descriptor then it is used, otherwise it is treated as a\n filename and a fresh file is opened.\n\n In general, you can only call this method once; after it has\n been called the first time and the PNG image has been s... | 310 | false | brechtm/rinohtype | save | 12,366 | |
LDU_FT/emre/storm/_generate_command | LDU_FT | [
"<BEGIN>\n## `command`",
"Convenient decorator simply creates corresponding command\n<END>",
"<BEGIN>\n## `arg`",
"Decorator function configures any arg by given ``arg_name`` with\n supplied ``args`` and ``kwargs`` passing them transparently to\n :py:func:``argparse.ArgumentParser.add_argument``... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_command API.
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 _generate_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Generates a command parser for given func.
:param func: func to generate related command parser
:param type: function
:param name: command name
:param type: str
:param **kwargs: keyword arguments those passed through to
:py:class:``argparse.ArgumentPar... | "Generates a command parser for given func.\n\n :param func: func to generate related command parser\n :param type: function\n\n :param name: command name\n :param type: str\n\n :param **kwargs: keyword arguments those passed through to\n :py:class:``argparse.A... | 23 | false | emre/storm | _generate_command | 12,367 | |
LDU_FT/rorr73/LifeSOSpy/parse_names | LDU_FT | [
"<BEGIN>\n## `has_value`",
"True if specified value exists in int enum; otherwise, False.\n<END>",
"<BEGIN>\n## `parse_name`",
"Parse specified name for IntEnum; return default if not found.\n<END>",
"<BEGIN>\n## `parse_value`",
"Parse specified value for IntEnum; return default if not found.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_names API.
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 parse_names API.
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... | Parse specified names for IntEnum; return default if not found. | "Parse specified names for IntEnum; return default if not found." | 84 | false | rorr73/LifeSOSpy | parse_names | 12,368 | |
LDU_FT/pappasam/latexbuild/check_output_cwd | LDU_FT | [
"<BEGIN>\n## `build_pdf`",
"Helper function for building a pdf from a latex jinja2 template",
" :param path_jinja2: the root directory for latex jinja2 templates\n :param template_name: the relative path, to path_jinja2, to the desired\n jinja2 Latex template\n :param path_outfile: the full path... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_output_cwd API.
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 check_output_cwd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Open a subprocess in another working directory
Raises ValueError if system binary does not exist
Raises CalledProcessError if the return code is non-zero
:returns: list of standard output and standard error from subprocess
:param args: a list of command line arguments for subprocess
:param cwd: t... | "Open a subprocess in another working directory\n\n Raises ValueError if system binary does not exist\n Raises CalledProcessError if the return code is non-zero\n\n :returns: list of standard output and standard error from subprocess\n\n :param args: a list of command line arguments for subprocess\n :par... | 44 | false | pappasam/latexbuild | check_output_cwd | 12,369 | |
LDU_FT/tomi77/python-t77-date/diff_time | LDU_FT | [
"<BEGIN>\n## `timedelta_to_seconds`",
"Convert datetime.timedelta to seconds\n :param value: timedelta to convert\n :type value: datetime.timedelta\n :param with_microseconds:\n :type with_microseconds: bool\n :return: seconds/seconds with microseconds or None if val is None\n :rtype: int/float/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff_time API.
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 diff_time API.
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... | Calculates datetime.timedelta between two datetime.time values.
:param t1: First time
:type t1: datetime.time
:param t2: Second time
:type t2: datetime.time
:return: Differences between t1 and t2 or None when t1 or t2 is None
:rtype: datetime.timedelta/None
:raise: ValueError when t1 or t2 i... | "Calculates datetime.timedelta between two datetime.time values.\n :param t1: First time\n :type t1: datetime.time\n :param t2: Second time\n :type t2: datetime.time\n :return: Differences between t1 and t2 or None when t1 or t2 is None\n :rtype: datetime.timedelta/None\n :raise: ValueError when t1... | 26 | false | tomi77/python-t77-date | diff_time | 12,370 | |
LDU_FT/NoneGG/aredis/georadius | LDU_FT | [
"<BEGIN>\n## `merge_result`",
"Merge all items in `res` into a list.",
" This command is used when sending a command to multiple nodes\n and they result from each node should be merged into a single list.\n<END>",
"<BEGIN>\n## `first_key`",
"Returns the first result for the given command.",
" If ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the georadius API.
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 georadius API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return the members of the specified key identified by the
``name`` argument which are within the borders of the area specified
with the ``latitude`` and ``longitude`` location and the maximum
distance from the center specified by the ``radius`` value.
The units must be one of the follow... | "Return the members of the specified key identified by the\n ``name`` argument which are within the borders of the area specified\n with the ``latitude`` and ``longitude`` location and the maximum\n distance from the center specified by the ``radius`` value.\n\n The units must be one of the ... | 421 | false | NoneGG/aredis | georadius | 12,371 | |
LDU_FT/gophish/api-client-python/results | LDU_FT | [
"<BEGIN>\n## `get`",
"Gets the details for one or more resources by ID",
" Args:\n cls - gophish.models.Model - The resource class\n resource_id - str - The endpoint (URL path) for the resource\n resource_action - str - An action to perform on the resource\n re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the results API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the results API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns just the results for a given campaign | "Returns just the results for a given campaign" | 21 | false | gophish/api-client-python | results | 12,372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.