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/skymill/automated-ebs-snapshots/get_configuration | LDU_FT | [
"<BEGIN>\n## `connect_to_ec2`",
"Connect to AWS ec2",
" :type region: str\n :param region: AWS region to connect to\n :type access_key: str\n :param access_key: AWS access key id\n :type secret_key: str\n :param secret_key: AWS secret access key\n :returns: boto.ec2.connection.EC2Connection... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_configuration API.
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_configuration API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Read configuration file
:type filename: str
:param filename: Path to the configuration file | "Read configuration file\n\n :type filename: str\n :param filename: Path to the configuration file" | 42 | false | skymill/automated-ebs-snapshots | get_configuration | 25,373 | |
LDU_FT/lsanomaly/lsanomaly/decision_function | LDU_FT | [
"<BEGIN>\n## `median_kneighbour_distance`",
"Calculate the median kneighbor distance.",
" Find the distance between a set of random datapoints and\n their kth nearest neighbours. This is a heuristic for setting the\n kernel length scale.\n<END>",
"<BEGIN>\n## `pair_distance_centile`",
"Calculate ce... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decision_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.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decision_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.
The... | Generate an inlier score for each test data example.
Parameters
----------
X : array
Test data, of dimension N times d (rows are examples, columns
are data dimensions)
Returns:
-------
scores : array
A vector of length N, where each e... | "Generate an inlier score for each test data example.\n\n Parameters\n ----------\n X : array\n Test data, of dimension N times d (rows are examples, columns\n are data dimensions)\n\n Returns:\n -------\n scores : array\n A vector of length N, ... | 29 | false | lsanomaly/lsanomaly | decision_function | 25,374 | |
LDU_FT/openid/JWTConnect-Python-OidcMsg/verify | LDU_FT | [
"<BEGIN>\n## `make_openid_request`",
"Construct the JWT to be passed by value (the request parameter) or by\n reference (request_uri).\n The request will be signed",
" :param arq: The Authorization request\n :param keys: Keys to use for signing/encrypting. A KeyJar instance\n :param issuer: Who i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify API.
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 verify API.
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 ... | Authorization Request parameters that are OPTIONAL in the OAuth 2.0
specification MAY be included in the OpenID Request Object without also
passing them as OAuth 2.0 Authorization Request parameters, with one
exception: The scope parameter MUST always be present in OAuth 2.0
Authorizatio... | "Authorization Request parameters that are OPTIONAL in the OAuth 2.0\n specification MAY be included in the OpenID Request Object without also\n passing them as OAuth 2.0 Authorization Request parameters, with one\n exception: The scope parameter MUST always be present in OAuth 2.0\n Authori... | 75 | false | openid/JWTConnect-Python-OidcMsg | verify | 25,375 | |
LDU_FT/pjuren/pyokit/__liftover_coordinates_size_match | LDU_FT | [
"<BEGIN>\n## `__trim_extensions_dot`",
"trim leading dots from extensions and drop any empty strings.\n<END>",
"<BEGIN>\n## `__split_genomic_interval_filename`",
"Split a filename of the format chrom:start-end.ext or chrom.ext (full chrom).",
" :return: tuple of (chrom, start, end) -- 'start' and 'end' are... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __liftover_coordinates_size_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __liftover_coordinates_size_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Lift a region that overlaps the genomic occurrence of the retrotransposon
to consensus sequence coordinates using just the coordinates (not the full)
alignment, when they have the same length. This is an internal helper
method. The above length constraint must be true, otherwise an assertion
is failed.
... | "Lift a region that overlaps the genomic occurrence of the retrotransposon\n to consensus sequence coordinates using just the coordinates (not the full)\n alignment, when they have the same length. This is an internal helper\n method. The above length constraint must be true, otherwise an assertion\n is fai... | 519 | false | pjuren/pyokit | __liftover_coordinates_size_match | 25,376 | |
LDU_FT/cloudify-cosmo/repex/iterate | LDU_FT | [
"<BEGIN>\n## `_get_all_files`",
"Get all files for processing.",
" This starts iterating from `base_dir` and checks for all files\n that look like `filename_regex` under `path` regex excluding\n all paths under the `excluded_paths` list, whether they are files\n or folders. `excluded_paths` are expl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Iterate over all paths in `config_file_path`
:param string config_file_path: a path to a repex config file
:param dict config: a dictionary representing a repex config
:param dict variables: a dict of variables (can be None)
:param list tags: a list of tags to check for
:param bool validate: whethe... | "Iterate over all paths in `config_file_path`\n\n :param string config_file_path: a path to a repex config file\n :param dict config: a dictionary representing a repex config\n :param dict variables: a dict of variables (can be None)\n :param list tags: a list of tags to check for\n :param bool validate:... | 37 | false | cloudify-cosmo/repex | iterate | 25,377 | |
LDU_FT/pydata/xarray/decode_cf_timedelta | LDU_FT | [
"<BEGIN>\n## `_infer_coords_and_dims`",
"All the logic for creating a new DataArray\n<END>",
"<BEGIN>\n## `to_dataset`",
"Convert a DataArray to a Dataset.",
" Parameters\n ----------\n dim : str, optional\n Name of the dimension on this array along which to split this array\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_cf_timedelta 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 decode_cf_timedelta 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... | Given an array of numeric timedeltas in netCDF format, convert it into a
numpy timedelta64[ns] array. | "Given an array of numeric timedeltas in netCDF format, convert it into a\n numpy timedelta64[ns] array." | 2,080 | true | pydata/xarray | decode_cf_timedelta | 25,378 | |
LDU_FT/lmjohns3/downhill/evaluate | LDU_FT | [
"<BEGIN>\n## `build`",
"Build and return an optimizer for the rosenbrock function.",
" In downhill, an optimizer can be constructed using the build() top-level\n function. This function requires several Theano quantities such as the loss\n being optimized and the parameters to update during optimizatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Evaluate the current model parameters on a dataset.
Parameters
----------
dataset : :class:`Dataset <downhill.dataset.Dataset>`
A set of data to use for evaluating the model.
Returns
-------
monitors : OrderedDict
A dictionary mapping monitor nam... | "Evaluate the current model parameters on a dataset.\n\n Parameters\n ----------\n dataset : :class:`Dataset <downhill.dataset.Dataset>`\n A set of data to use for evaluating the model.\n\n Returns\n -------\n monitors : OrderedDict\n A dictionary mapping ... | 79 | false | lmjohns3/downhill | evaluate | 25,379 | |
LDU_FT/senseobservationsystems/commonsense-python-lib/GroupsDelete | LDU_FT | [
"<BEGIN>\n## `MD5Hash`",
"Returns md5 hash of a string.\r",
" @param password (string) - String to be hashed.\r",
" @return (string) - Md5 hash of password.\n<END>",
"<BEGIN>\n## `setVerbosity`",
"Set verbosity of the SenseApi object.\r",
" @param verbose (boolean) - True of Fal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GroupsDelete API.
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 GroupsDelete API.
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... | Delete a group from CommonSense.
@param group_id (int) - group id of group to delete from CommonSense.
@return (bool) - Boolean indicating whether GroupsDelete was successful. | "Delete a group from CommonSense.\r\n \r\n @param group_id (int) - group id of group to delete from CommonSense.\r\n \r\n @return (bool) - Boolean indicating whether GroupsDelete was successful." | 243 | false | senseobservationsystems/commonsense-python-lib | GroupsDelete | 25,380 | |
LDU_FT/Faylixe/pygame_vkeyboard/get_key_at | LDU_FT | [
"<BEGIN>\n## `synchronizeLayout`",
"Synchronizes given layouts by normalizing height by using\n max height of given layouts to avoid transistion dirty effects.",
" :param primary: Primary layout used.\n :param secondary: Secondary layout used.\n :param surface_size: Target surface size on which layo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_key_at API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_key_at API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Retrieves if any key is located at the given position
:param position: Position to check key at.
:returns: The located key if any at the given position, None otherwise. | "Retrieves if any key is located at the given position\n \n :param position: Position to check key at.\n :returns: The located key if any at the given position, None otherwise." | 54 | false | Faylixe/pygame_vkeyboard | get_key_at | 25,381 | |
LDU_FT/StagPython/StagPy/tracers | LDU_FT | [
"<BEGIN>\n## `out_name`",
"Return StagPy out file name.",
" Args:\n stem (str): short description of file content.\n timestep (int): timestep if relevant.",
" Returns:\n str: the output file name.",
" Other Parameters:\n conf.core.outname (str): the generic name stem, de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tracers API.
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 tracers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Extract tracers data.
Args:
tracersfile (:class:`pathlib.Path`): path of the binary tracers file.
Returns:
dict of list of numpy.array:
Tracers data organized by attribute and block. | "Extract tracers data.\n\n Args:\n tracersfile (:class:`pathlib.Path`): path of the binary tracers file.\n\n Returns:\n dict of list of numpy.array:\n Tracers data organized by attribute and block." | 299 | false | StagPython/StagPy | tracers | 25,382 | |
LDU_FT/wuher/devil/register_mapper | LDU_FT | [
"<BEGIN>\n## `create`",
"Create object from the given data.",
" The given data may or may not have been validated prior to calling\n this function. This function will try its best in creating the object.\n If the resulting object cannot be produced, raises ``ValidationError``.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_mapper API.
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 register_mapper API.
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... | Register new mapper.
:param mapper: mapper object needs to implement ``parse()`` and
``format()`` functions. | "Register new mapper.\n\n :param mapper: mapper object needs to implement ``parse()`` and\n ``format()`` functions." | 193 | false | wuher/devil | register_mapper | 25,383 | |
LDU_FT/mozilla/socorrolib/uuidToOoid | LDU_FT | [
"<BEGIN>\n## `klass_to_pypath`",
"when a class is defined within the module that is being executed as\n main, the module name will be specified as '__main__' even though the\n module actually had its own real name. This ends up being very confusing\n to Configman as it tries to refer to a class by its p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uuidToOoid API.
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 uuidToOoid API.
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... | Create an ooid from a 32-hex-digit string in regular uuid format.
uuid: must be uuid in expected format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxx7777777
timestamp: the year-month-day is encoded in the ooid. If none, use current day
depth: the expected storage depth is encoded in the ooid. If non, use the defaultDepth
retu... | "Create an ooid from a 32-hex-digit string in regular uuid format.\n uuid: must be uuid in expected format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxx7777777\n timestamp: the year-month-day is encoded in the ooid. If none, use current day\n depth: the expected storage depth is encoded in the ooid. If non, use the defaultDepth\n ... | 155 | false | mozilla/socorrolib | uuidToOoid | 25,384 | |
LDU_FT/undertherain/pycontextfree/prepare | LDU_FT | [
"<BEGIN>\n## `register_output_name`",
"Register proper and improper file mappings.\n<END>",
"<BEGIN>\n## `find_version`",
"Simulate behaviour of \"from package_name._version import VERSION\", and return VERSION.\n<END>",
"<BEGIN>\n## `parse_requirements`",
"Read contents of requirements.txt file and retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Fill in possibly missing package metadata. | "Fill in possibly missing package metadata." | 39 | false | undertherain/pycontextfree | prepare | 25,385 | |
LDU_FT/panzarino/mlbgame/setobjattr | LDU_FT | [
"<BEGIN>\n## `setobjattr`",
"Sets an object attribute with the correct data type.\n<END>",
"<BEGIN>\n## `get_scoreboard`",
"Return the game file for a certain day matching certain criteria.\n<END>",
"<BEGIN>\n## `get_box_score`",
"Return the box score file of a game with matching id.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setobjattr API.
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 setobjattr API.
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... | Sets an object attribute with the correct data type. | "Sets an object attribute with the correct data type." | 66 | false | panzarino/mlbgame | setobjattr | 25,386 | |
LDU_FT/peterdemin/pip-compile-multi/add_references | LDU_FT | [
"<BEGIN>\n## `create_lockfile`",
"Write recursive dependencies list to outfile\n with hard-pinned versions.\n Then fix it.\n<END>",
"<BEGIN>\n## `parse_references`",
"Read filename line by line searching for pattern:",
" -r file.in\n or\n --requirement file.in",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_references API.
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 add_references API.
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... | Add references to other_names in outfile | "Add references to other_names in outfile" | 61 | false | peterdemin/pip-compile-multi | add_references | 25,387 | |
LDU_FT/bcbnz/python-rofi/generic_entry | LDU_FT | [
"<BEGIN>\n## `close`",
"Close any open window.",
" Note that this only works with non-blocking methods.\n<END>",
"<BEGIN>\n## `_run_blocking`",
"Internal API: run a blocking command with subprocess.",
" This closes any open non-blocking dialog before running the command.",
" Paramet... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generic_entry API.
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 generic_entry API.
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... | A generic entry box.
Parameters
----------
prompt: string
Text prompt for the entry.
validator: function, optional
A function to validate and convert the value entered by the user.
It should take one parameter, the string that the user entered, and
... | "A generic entry box.\n\n Parameters\n ----------\n prompt: string\n Text prompt for the entry.\n validator: function, optional\n A function to validate and convert the value entered by the user.\n It should take one parameter, the string that the user entere... | 68 | false | bcbnz/python-rofi | generic_entry | 25,388 | |
LDU_FT/vtkiorg/vtki/extract_geometry | LDU_FT | [
"<BEGIN>\n## `extract_geometry`",
"Combines the geomertry of all blocks into a single ``PolyData``\n object. Place this filter at the end of a pipeline before a polydata\n consumer such as a polydata mapper to extract geometry from all blocks\n and append them to one polydata object.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_geometry API.
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 extract_geometry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Extract the outer surface of a volume or structured grid dataset as
PolyData. This will extract all 0D, 1D, and 2D cells producing the
boundary faces of the dataset. | "Extract the outer surface of a volume or structured grid dataset as\n PolyData. This will extract all 0D, 1D, and 2D cells producing the\n boundary faces of the dataset." | 1,121 | true | vtkiorg/vtki | extract_geometry | 25,389 | |
LDU_FT/srittau/python-asserts/assert_has_attr | LDU_FT | [
"<BEGIN>\n## `assert_true`",
"Fail the test unless the expression is truthy.",
" >>> assert_true(\"Hello World!\")\n >>> assert_true(\"\")\n Traceback (most recent call last):\n ...\n AssertionError: '' is not truthy",
" The following msg_fmt arguments are supported:\n * msg - the def... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assert_has_attr API.
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 assert_has_attr API.
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... | Fail is an object does not have an attribute.
>>> assert_has_attr([], "index")
>>> assert_has_attr([], "i_do_not_have_this")
Traceback (most recent call last):
...
AssertionError: [] does not have attribute 'i_do_not_have_this'
The following msg_fmt arguments are supported:
* msg - the... | "Fail is an object does not have an attribute.\n\n >>> assert_has_attr([], \"index\")\n >>> assert_has_attr([], \"i_do_not_have_this\")\n Traceback (most recent call last):\n ...\n AssertionError: [] does not have attribute 'i_do_not_have_this'\n\n The following msg_fmt arguments are supported:\n ... | 131 | false | srittau/python-asserts | assert_has_attr | 25,390 | |
LDU_FT/simpleai-team/simpleai/simulated_annealing | LDU_FT | [
"<BEGIN>\n## `_all_expander`",
"Expander that expands all nodes on the fringe.\n<END>",
"<BEGIN>\n## `beam`",
"Beam search.",
" beam_size is the size of the beam.\n If iterations_limit is specified, the algorithm will end after that\n number of iterations. Else, it will continue until it can't find... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simulated_annealing 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 simulated_annealing 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... | Simulated annealing.
schedule is the scheduling function that decides the chance to choose worst
nodes depending on the time.
If iterations_limit is specified, the algorithm will end after that
number of iterations. Else, it will continue until it can't find a
better node than the current one.
... | "Simulated annealing.\n\n schedule is the scheduling function that decides the chance to choose worst\n nodes depending on the time.\n If iterations_limit is specified, the algorithm will end after that\n number of iterations. Else, it will continue until it can't find a\n better node than the current on... | 130 | false | simpleai-team/simpleai | simulated_annealing | 25,391 | |
LDU_FT/justanr/Flask-Transfer/check_disk_usage | LDU_FT | [
"<BEGIN>\n## `pdftojpg`",
"Converts a PDF to a JPG and places it back onto the FileStorage instance\n passed to it as a BytesIO object.",
" Optional meta arguments are:\n * resolution: int or (int, int) used for wand to determine resolution,\n defaults to 300.\n * width: new width of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_disk_usage API.
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_disk_usage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Checks the upload directory to see if the uploaded file would exceed
the total disk allotment. Meant as a quick and dirty example. | "Checks the upload directory to see if the uploaded file would exceed\n the total disk allotment. Meant as a quick and dirty example." | 25 | false | justanr/Flask-Transfer | check_disk_usage | 25,392 | |
LDU_FT/quintusdias/glymur/_remove_ellipsis | LDU_FT | [
"<BEGIN>\n## `version`",
"Wrapper for opj_version library routine.\n<END>",
"<BEGIN>\n## `check_error`",
"Set a generic function as the restype attribute of all OpenJPEG\n functions that return a BOOL_TYPE value. This way we do not have to check\n for error status in each wrapping function and an excep... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_ellipsis API.
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 _remove_ellipsis API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | resolve the first ellipsis in the index so that it references the image
Parameters
----------
index : tuple
tuple of index arguments, presumably one of them is the Ellipsis
numrows, numcols, numbands : int
image dimensions
Returns
-------
... | "resolve the first ellipsis in the index so that it references the image\n\n Parameters\n ----------\n index : tuple\n tuple of index arguments, presumably one of them is the Ellipsis\n numrows, numcols, numbands : int\n image dimensions\n\n Returns\n ----... | 550 | false | quintusdias/glymur | _remove_ellipsis | 25,393 | |
LDU_FT/thombashi/pytablewriter/make_worksheet | LDU_FT | [
"<BEGIN>\n## `write_table`",
"|write_table| with\n `Labeled Tab-separated Values (LTSV) <http://ltsv.org/>`__ format.\n Invalid characters in labels/data are removed.",
" :raises pytablewriter.EmptyHeaderError: If the |headers| is empty.\n :Example:\n :ref:`example-ltsv-ta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_worksheet API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_worksheet API.
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... | Make a worksheet to the current workbook.
Args:
sheet_name (str):
Name of the worksheet to create. The name will be automatically generated
(like ``"Sheet1"``) if the ``sheet_name`` is empty. | "Make a worksheet to the current workbook.\n\n Args:\n sheet_name (str):\n Name of the worksheet to create. The name will be automatically generated\n (like ``\"Sheet1\"``) if the ``sheet_name`` is empty." | 97 | false | thombashi/pytablewriter | make_worksheet | 25,394 | |
LDU_FT/dfm/george/apply_inverse | LDU_FT | [
"<BEGIN>\n## `computed`",
"Has the processes been computed since the last update of the kernel?\n<END>",
"<BEGIN>\n## `parse_samples`",
"Parse a list of samples to make sure that it has the correct\n dimensions.",
" :param t: ``(nsamples,)`` or ``(nsamples, ndim)``\n The list of sam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_inverse API.
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 apply_inverse API.
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... | Self-consistently apply the inverse of the computed kernel matrix to
some vector or matrix of samples. This method subtracts the mean,
sorts the samples, then returns the samples in the correct (unsorted)
order.
:param y: ``(nsamples, )`` or ``(nsamples, K)``
The vector (or ... | "Self-consistently apply the inverse of the computed kernel matrix to\n some vector or matrix of samples. This method subtracts the mean,\n sorts the samples, then returns the samples in the correct (unsorted)\n order.\n\n :param y: ``(nsamples, )`` or ``(nsamples, K)``\n The vect... | 111 | false | dfm/george | apply_inverse | 25,395 | |
LDU_FT/watson-developer-cloud/python-sdk/_from_dict | LDU_FT | [
"<BEGIN>\n## `synthesize_using_websocket`",
"Synthesizes text to spoken audio using web sockets. It supports the use of\n the SSML <mark> element to identify the location of user-specified markers in the audio.\n It can also return timing information for all strings of the input text.\n Note:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _from_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _from_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Initialize a MetricResponse object from a json dictionary. | "Initialize a MetricResponse object from a json dictionary." | 1,254 | true | watson-developer-cloud/python-sdk | _from_dict | 25,396 | |
LDU_FT/edx/edx-val/update_video | LDU_FT | [
"<BEGIN>\n## `generate_sjson_from_srt`",
"Generate transcripts from sjson to SubRip (*.srt).",
" Arguments:\n srt_subs(SubRip): \"SRT\" subs object",
" Returns:\n Subs converted to \"SJSON\" format.\n<END>",
"<BEGIN>\n## `generate_srt_from_sjson`",
"Generate transcripts... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_video API.
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 update_video API.
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... | Called on to update Video objects in the database
update_video is used to update Video objects by the given edx_video_id in the video_data.
Args:
video_data (dict):
{
url: api url to the video
edx_video_id: ID of the video
duration: Length of vi... | "Called on to update Video objects in the database\n\n update_video is used to update Video objects by the given edx_video_id in the video_data.\n\n Args:\n video_data (dict):\n {\n url: api url to the video\n edx_video_id: ID of the video\n duration: Le... | 197 | false | edx/edx-val | update_video | 25,397 | |
LDU_FT/mukulhase/WebWhatsapp-Wrapper/convert_to_base64 | LDU_FT | [
"<BEGIN>\n## `run`",
"Locks the main thread while the subscription in running\n<END>",
"<BEGIN>\n## `save_firefox_profile`",
"Function to save the firefox profile to the permanant one\n<END>",
"<BEGIN>\n## `get_contacts`",
"Fetches list of all contacts\n This will return chats with people from the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_to_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_to_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... | :param path: file path
:return: returns the converted string and formatted for the send media function send_media | ":param path: file path\n :return: returns the converted string and formatted for the send media function send_media" | 108 | false | mukulhase/WebWhatsapp-Wrapper | convert_to_base64 | 25,398 | |
LDU_FT/ratt-ru/PyMORESANE/cpu_source_extraction | LDU_FT | [
"<BEGIN>\n## `iuwt_decomposition`",
"This function serves as a handler for the different implementations of the IUWT decomposition. It allows the\n different methods to be used almost interchangeably.",
" INPUTS:\n in1 (no default): Array on which the decomposition is to be perfor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cpu_source_extraction 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 cpu_source_extraction API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | The following function determines connectivity within a given wavelet decomposition. These connected and labelled
structures are thresholded to within some tolerance of the maximum coefficient at the scale. This determines
whether on not an object is to be considered as significant. Significant objects are extr... | "The following function determines connectivity within a given wavelet decomposition. These connected and labelled\n structures are thresholded to within some tolerance of the maximum coefficient at the scale. This determines\n whether on not an object is to be considered as significant. Significant objects are e... | 125 | false | ratt-ru/PyMORESANE | cpu_source_extraction | 25,399 | |
LDU_FT/pmacosta/pexdoc/_create_argument_value_pairs | LDU_FT | [
"<BEGIN>\n## `func`",
"r\"\"\"\n Print your name.",
" :param name: Name to print\n :type name: string",
" .. [[[cog cog.out(exobj.get_sphinx_autodoc(width=69))]]]\n .. [[[end]]]\n<END>",
"<BEGIN>\n## `get_function_args`",
"Return tuple of the function argument names in the order of the fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_argument_value_pairs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_argument_value_pairs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Create dictionary with argument names as keys and their passed values as values.
An empty dictionary is returned if an error is detected, such as more
arguments than in the function definition, argument(s) defined by position
and keyword, etc. | "Create dictionary with argument names as keys and their passed values as values.\n\n An empty dictionary is returned if an error is detected, such as more\n arguments than in the function definition, argument(s) defined by position\n and keyword, etc." | 220 | false | pmacosta/pexdoc | _create_argument_value_pairs | 25,400 | |
LDU_FT/miso-belica/sumy/_len_lcs | LDU_FT | [
"<BEGIN>\n## `_compute_tf`",
"Computes the normalized term frequency as explained in http://www.tfidf.com/\n<END>",
"<BEGIN>\n## `f_score`",
"Computation of F-Score measure. It is computed as\n F(E) = ( (W^2 + 1) * P(E) * R(E) ) / ( W^2 * P(E) + R(E) ), where:",
" - P(E) is precision metrics of extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _len_lcs API.
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 _len_lcs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the length of the Longest Common Subsequence between sequences x
and y.
Source: http://www.algorithmist.com/index.php/Longest_Common_Subsequence
:param x: sequence of words
:param y: sequence of words
:returns integer: Length of LCS between x and y | "Returns the length of the Longest Common Subsequence between sequences x\n and y.\n Source: http://www.algorithmist.com/index.php/Longest_Common_Subsequence\n\n :param x: sequence of words\n :param y: sequence of words\n :returns integer: Length of LCS between x and y" | 66 | false | miso-belica/sumy | _len_lcs | 25,401 | |
LDU_FT/markokr/rarfile/to_datetime | LDU_FT | [
"<BEGIN>\n## `xprint`",
"Print string to stdout.",
" Format unicode safely.\n<END>",
"<BEGIN>\n## `rar3_decompress`",
"Decompress blob of compressed data.",
" Used for data with non-standard header - eg. comments.\n<END>",
"<BEGIN>\n## `to_datetime`",
"Convert 6-part time tuple into datetime obj... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_datetime API.
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 to_datetime API.
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... | Convert 6-part time tuple into datetime object. | "Convert 6-part time tuple into datetime object." | 47 | false | markokr/rarfile | to_datetime | 25,402 | |
LDU_FT/ellmetha/django-machina/votes | LDU_FT | [
"<BEGIN>\n## `recurseforumcontents`",
"Iterates over the content nodes and renders the contained forum block for each node.\n<END>",
"<BEGIN>\n## `forum_list`",
"Renders the considered forum list.",
" This will render the given list of forums by respecting the order and the depth of each\n forum in th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the votes API.
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 votes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns all the votes related to this topic poll. | "Returns all the votes related to this topic poll." | 293 | false | ellmetha/django-machina | votes | 25,403 | |
LDU_FT/Kunstmord/datalib/return_features_numpy | LDU_FT | [
"<BEGIN>\n## `extract_feature_base`",
"Generic function which extracts a feature and stores it in the database",
" Parameters\n ----------\n dbpath : string, path to SQLite database file\n folder_path : string, path to folder where the files are stored\n set_object : object (either TestSet or Tra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_features_numpy 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 return_features_numpy 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 2d numpy array of extracted features
Parameters
----------
names : list of strings, a list of feature names which are to be retrieved from the database, if equal to 'all',
all features will be returned, default value: 'all'
Returns
-------
A numpy arra... | "Returns a 2d numpy array of extracted features\n\n Parameters\n ----------\n names : list of strings, a list of feature names which are to be retrieved from the database, if equal to 'all',\n all features will be returned, default value: 'all'\n\n Returns\n -------\n A ... | 117 | false | Kunstmord/datalib | return_features_numpy | 25,404 | |
LDU_FT/Pytwitcher/pytwitcherapi/_process_tags | LDU_FT | [
"<BEGIN>\n## `needs_auth`",
"Wraps a method of :class:`TwitchSession` and\n raises an :class:`exceptions.NotAuthorizedError`\n if before calling the method, the session isn't authorized.",
" :param meth:\n :type meth:\n :returns: the wrapped method\n :rtype: Method\n :raises: None\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_tags API.
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 _process_tags API.
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... | Process the tags of the message
:param tags: the tags string of a message
:type tags: :class:`str` | None
:returns: list of tags
:rtype: :class:`list` of :class:`message.Tag`
:raises: None | "Process the tags of the message\n\n :param tags: the tags string of a message\n :type tags: :class:`str` | None\n :returns: list of tags\n :rtype: :class:`list` of :class:`message.Tag`\n :raises: None" | 198 | false | Pytwitcher/pytwitcherapi | _process_tags | 25,405 | |
LDU_FT/Chilipp/model-organization/run | LDU_FT | [
"<BEGIN>\n## `dir_contains`",
"Check if a file of directory is contained in another.",
" Parameters\n ----------\n dirname: str\n The base directory that should contain `path`\n path: str\n The name of a directory or file that should be in `dirname`\n exists: bool\n If True, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run the model
Parameters
----------
``**kwargs``
Any other parameter for the
:meth:`model_organization.ModelOrganizer.app_main` method | "Run the model\n\n Parameters\n ----------\n ``**kwargs``\n Any other parameter for the\n :meth:`model_organization.ModelOrganizer.app_main` method" | 161 | false | Chilipp/model-organization | run | 25,406 | |
LDU_FT/evansde77/dockerstache/get_default | LDU_FT | [
"<BEGIN>\n## `run`",
"_run_",
" Run the dockerstache process to render templates\n based on the options provided",
" If extend_context is passed as options it will be used to\n extend the context with the contents of the dictionary provided\n via context.update(extend_context)\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_default API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | helper to get config settings with a default if not present | "helper to get config settings with a default if not present" | 45 | false | evansde77/dockerstache | get_default | 25,407 | |
LDU_FT/isislovecruft/python-gnupg/export_ownertrust | LDU_FT | [
"<BEGIN>\n## `get_requirements`",
"Extract the list of requirements from our requirements.txt.",
" :rtype: 2-tuple\n :returns: Two lists, the first is a list of requirements in the form of\n pkgname==version. The second is a list of URIs or VCS checkout strings\n which specify the dependency... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_ownertrust API.
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 export_ownertrust API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Export ownertrust to a trustdb file.
If there is already a file named :file:`trustdb.gpg` in the current GnuPG
homedir, it will be renamed to :file:`trustdb.gpg.bak`.
:param string trustdb: The path to the trustdb.gpg file. If not given,
defaults to ``'trustdb.gpg'`` in the curr... | "Export ownertrust to a trustdb file.\n\n If there is already a file named :file:`trustdb.gpg` in the current GnuPG\n homedir, it will be renamed to :file:`trustdb.gpg.bak`.\n\n :param string trustdb: The path to the trustdb.gpg file. If not given,\n defaults to ``'trustdb.gpg'`` in t... | 371 | false | isislovecruft/python-gnupg | export_ownertrust | 25,408 | |
LDU_FT/latchset/jwcrypto/from_json | LDU_FT | [
"<BEGIN>\n## `encrypt`",
"Encrypt according to the selected encryption and hashing\n functions.",
" :param k: Encryption key (optional)\n :param a: Additional Authentication Data\n :param m: Plaintext",
" Returns a dictionary with the computed data.\n<END>",
"<BEGIN>\n## `... | 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... | Creates a RFC 7517 JWK from the standard JSON format.
:param key: The RFC 7517 representation of a JWK. | "Creates a RFC 7517 JWK from the standard JSON format.\n\n :param key: The RFC 7517 representation of a JWK." | 101 | false | latchset/jwcrypto | from_json | 25,409 | |
LDU_FT/taskcluster/taskcluster-client.py/listNamespaces | LDU_FT | [
"<BEGIN>\n## `ping`",
"Ping Server",
" Respond without doing anything.\n This endpoint is used to check that the service is up.",
" This method is ``stable``\n<END>",
"<BEGIN>\n## `githubWebHookConsumer`",
"Consume GitHub WebHook",
" Capture a GitHub event and publish it via ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listNamespaces API.
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 listNamespaces API.
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... | List Namespaces
List the namespaces immediately under a given namespace.
This endpoint
lists up to 1000 namespaces. If more namespaces are present, a
`continuationToken` will be returned, which can be given in the next
request. For the initial request, the payload should be an ... | "List Namespaces\n\n List the namespaces immediately under a given namespace.\n\n This endpoint\n lists up to 1000 namespaces. If more namespaces are present, a\n `continuationToken` will be returned, which can be given in the next\n request. For the initial request, the payload shoul... | 997 | false | taskcluster/taskcluster-client.py | listNamespaces | 25,410 | |
LDU_FT/kwlzn/blast/iterplayables | LDU_FT | [
"<BEGIN>\n## `stream_template`",
"allow streaming of jinja templates for reduced page load start latency (e.g. for large lists)\n<END>",
"<BEGIN>\n## `unescape_utf8`",
"convert escaped unicode web entities to unicode\n<END>",
"<BEGIN>\n## `iterplayables`",
"fast iterator of playable file object/dicts foun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterplayables API.
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 iterplayables API.
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... | fast iterator of playable file object/dicts found on disk | "fast iterator of playable file object/dicts found on disk" | 15 | false | kwlzn/blast | iterplayables | 25,411 | |
LDU_FT/consbio/gis-metadata-parser/_parse_report_item | LDU_FT | [
"<BEGIN>\n## `convert_parser_to`",
":return: a parser of type parser_or_type, initialized with the properties of parser. If parser_or_type\n is a type, an instance of it must contain a update method. The update method must also process\n the set of properties supported by MetadataParser for the conversion t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_report_item 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 _parse_report_item API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | :return: the text for each element at the configured path if type attribute matches | ":return: the text for each element at the configured path if type attribute matches" | 122 | false | consbio/gis-metadata-parser | _parse_report_item | 25,412 | |
LDU_FT/notifiers/notifiers/init_providers | LDU_FT | [
"<BEGIN>\n## `handle_oneof`",
"Custom handle of `oneOf` JSON schema validator. Tried to match primitive type and see if it should be allowed\n to be passed multiple timns into a command",
" :param oneof_schema: `oneOf` JSON schema\n :return: Tuple of :class:`click.ParamType`, ``multiple`` flag and ``d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_providers API.
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 init_providers API.
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... | Inits main and fallback provider if relevant
:param provider: Provider name to use
:param kwargs: Additional kwargs
:raises ValueError: If provider name or fallback names are not valid providers, a :exc:`ValueError` will
be raised | "Inits main and fallback provider if relevant\n\n :param provider: Provider name to use\n :param kwargs: Additional kwargs\n :raises ValueError: If provider name or fallback names are not valid providers, a :exc:`ValueError` will\n be raised" | 95 | false | notifiers/notifiers | init_providers | 25,413 | |
LDU_FT/transitland/mapzen-geohash/_geohash_to_bits | LDU_FT | [
"<BEGIN>\n## `_float_to_bits`",
"Convert a float to a list of GeoHash bits.\n<END>",
"<BEGIN>\n## `_geohash_to_bits`",
"Convert a GeoHash to a list of GeoHash bits.\n<END>",
"<BEGIN>\n## `_bits_to_geohash`",
"Convert a list of GeoHash bits to a GeoHash.\n<END>",
"<BEGIN>\n## `decode`",
"Decode a geoha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _geohash_to_bits API.
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 _geohash_to_bits API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Convert a GeoHash to a list of GeoHash bits. | "Convert a GeoHash to a list of GeoHash bits." | 10 | false | transitland/mapzen-geohash | _geohash_to_bits | 25,414 | |
LDU_FT/carljm/django-adminfiles/getSizes | LDU_FT | [
"<BEGIN>\n## `get_uploads`",
"Return a generator yielding uploads referenced in the given text.\n<END>",
"<BEGIN>\n## `parse_match`",
"Accept an re match object resulting from an ``UPLOAD_RE`` match\n and return a two-tuple where the first element is the\n corresponding ``FileUpload`` and the second is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getSizes API.
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 getSizes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get all the available sizes of the current image, and all available
data about them.
Returns: A list of dicts with the size data. | "Get all the available sizes of the current image, and all available\n data about them.\n Returns: A list of dicts with the size data." | 67 | false | carljm/django-adminfiles | getSizes | 25,415 | |
LDU_FT/limix/numpy-sugar/economic_qs | LDU_FT | [
"<BEGIN>\n## `dotd`",
"r\"\"\"Diagonal of :math:`\\mathrm A\\mathrm B^\\intercal`.",
" If ``A`` is :math:`n\\times p` and ``B`` is :math:`p\\times n`, it is done in\n :math:`O(pn)`.",
" Args:\n A (array_like): Left matrix.\n B (array_like): Right matrix.\n out (:class:`numpy.ndar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the economic_qs API.
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 economic_qs API.
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... | r"""Economic eigen decomposition for symmetric matrices.
A symmetric matrix ``K`` can be decomposed in
:math:`\mathrm Q_0 \mathrm S_0 \mathrm Q_0^\intercal + \mathrm Q_1\
\mathrm S_1 \mathrm Q_1^ \intercal`, where :math:`\mathrm S_1` is a zero
matrix with size determined by ``K``'s rank deficiency.
... | "r\"\"\"Economic eigen decomposition for symmetric matrices.\n\n A symmetric matrix ``K`` can be decomposed in\n :math:`\\mathrm Q_0 \\mathrm S_0 \\mathrm Q_0^\\intercal + \\mathrm Q_1\\\n \\mathrm S_1 \\mathrm Q_1^ \\intercal`, where :math:`\\mathrm S_1` is a zero\n matrix with size determined by ``K``'s r... | 124 | false | limix/numpy-sugar | economic_qs | 25,416 | |
LDU_FT/wbond/asn1crypto/_pep425tags | LDU_FT | [
"<BEGIN>\n## `_pep425_version`",
":return:\n A tuple of integers representing the Python version number\n<END>",
"<BEGIN>\n## `_pep425_supports_manylinux`",
":return:\n A boolean indicating if the machine can use manylinux1 packages\n<END>",
"<BEGIN>\n## `_pep425_get_abi`",
":return:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pep425tags API.
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 _pep425tags API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | :return:
A list of 3-element tuples with unicode strings or None:
[0] implementation tag - cp33, pp27, cp26, py2, py2.py3
[1] abi tag - cp26m, None
[2] arch tag - linux_x86_64, macosx_10_10_x85_64, etc | ":return:\n A list of 3-element tuples with unicode strings or None:\n [0] implementation tag - cp33, pp27, cp26, py2, py2.py3\n [1] abi tag - cp26m, None\n [2] arch tag - linux_x86_64, macosx_10_10_x85_64, etc" | 739 | false | wbond/asn1crypto | _pep425tags | 25,417 | |
LDU_FT/openego/eTraGo/plot_line_loading | LDU_FT | [
"<BEGIN>\n## `tsam_cluster`",
"Parameters\n ----------\n df : pd.DataFrame\n DataFrame with timeseries to cluster",
" Returns\n -------\n timeseries : pd.DataFrame\n Clustered timeseries\n<END>",
"<BEGIN>\n## `update_data_frames`",
"Updates the snapshots, snapshots weights and t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_line_loading API.
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 plot_line_loading API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Plots line loading as a colored heatmap.
Line loading is displayed as relative to nominal capacity in %.
Parameters
----------
network : PyPSA network container
Holds topology of grid including results from powerflow analysis
timesteps : range
Defines which timesteps are consi... | "Plots line loading as a colored heatmap.\n\n Line loading is displayed as relative to nominal capacity in %.\n \n Parameters\n ----------\n network : PyPSA network container\n Holds topology of grid including results from powerflow analysis\n timesteps : range \n Defines which timesteps... | 318 | false | openego/eTraGo | plot_line_loading | 25,418 | |
LDU_FT/heuer/segno/symbol_size | LDU_FT | [
"<BEGIN>\n## `make`",
"\\\n Creates a (Micro) QR Code.",
" This is main entry point to create QR Codes and Micro QR Codes.",
" Aside from `content`, all parameters are optional and an optimal (minimal)\n (Micro) QR Code with a maximal error correction level (minimum \"M\") is\n generated.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the symbol_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the symbol_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | \
Returns the symbol size (width x height) with the provided border and
scaling factor.
:param scale: Indicates the size of a single module (default: 1).
The size of a module depends on the used output format; i.e.
in a PNG context, a scaling factor of 2 indicate... | "\\\n Returns the symbol size (width x height) with the provided border and\n scaling factor.\n\n :param scale: Indicates the size of a single module (default: 1).\n The size of a module depends on the used output format; i.e.\n in a PNG context, a scaling factor of 2 ... | 436 | false | heuer/segno | symbol_size | 25,419 | |
LDU_FT/jaraco/keyrings.alt/_check_version | LDU_FT | [
"<BEGIN>\n## `_ensure_file_path`",
"Ensure the storage path exists.\n If it doesn't, create it with \"go-rwx\" permissions.\n<END>",
"<BEGIN>\n## `delete_password`",
"Delete the password for the username of the service.\n<END>",
"<BEGIN>\n## `get_password`",
"Get password of the username for the se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | check for a valid version
an existing scheme implies an existing version as well
return True, if version is valid, and False otherwise | "check for a valid version\n an existing scheme implies an existing version as well\n\n return True, if version is valid, and False otherwise" | 43 | false | jaraco/keyrings.alt | _check_version | 25,420 | |
LDU_FT/arista-eosplus/pyeapi/generate_tags | LDU_FT | [
"<BEGIN>\n## `get`",
"Returns the VRF configuration as a resource dict.",
" Args:\n value (string): The vrf name to retrieve from the\n running configuration.",
" Returns:\n A Python dict object containing the VRF attributes as\n key/value pair... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_tags API.
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 generate_tags API.
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... | Generates the tags with collection with hosts | "Generates the tags with collection with hosts" | 853 | false | arista-eosplus/pyeapi | generate_tags | 25,421 | |
LDU_FT/qiniu/python-sdk/update_ap | LDU_FT | [
"<BEGIN>\n## `execute`",
"执行持久化处理:",
" Args:\n key: 待处理的源文件\n fops: 处理详细操作,规格详见 https://developer.qiniu.com/dora/manual/1291/persistent-data-processing-pfop\n force: 强制执行持久化处理开关",
" Returns:\n 一个dict变量,返回持久化处理的persistentId,类似{\"persistentId\": 54... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_ap API.
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 update_ap API.
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... | 更新接入点
更新指定接入点的配置,如带宽。
Args:
- apid: 接入点ID
- args: 请求参数(json),参考 http://kirk-docs.qiniu.com/apidocs/
Returns:
返回一个tuple对象,其格式为(<result>, <ResponseInfo>)
- result 成功返回空dict{},失败返回{"error": "<errMsg string>"}
- ResponseInfo... | "更新接入点\n\n 更新指定接入点的配置,如带宽。\n\n Args:\n - apid: 接入点ID\n - args: 请求参数(json),参考 http://kirk-docs.qiniu.com/apidocs/\n\n Returns:\n 返回一个tuple对象,其格式为(<result>, <ResponseInfo>)\n - result 成功返回空dict{},失败返回{\"error\": \"<errMsg string>\"}\n ... | 337 | false | qiniu/python-sdk | update_ap | 25,422 | |
LDU_FT/sirfoga/pyhal/get_inner_keys | LDU_FT | [
"<BEGIN>\n## `write_dicts_to_csv`",
"Saves .csv file with posts data",
" :param dicts: Dictionaries with same values\n<END>",
"<BEGIN>\n## `write_matrix_to_csv`",
"Saves .csv file with data",
" :param headers: column names\n :param data: Data\n<END>",
"<BEGIN>\n## `write_dicts_to_js... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_inner_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_inner_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 ex... | Gets 2nd-level dictionary keys
:param dictionary: dict
:return: inner keys | "Gets 2nd-level dictionary keys\n\n :param dictionary: dict\n :return: inner keys" | 543 | false | sirfoga/pyhal | get_inner_keys | 25,423 | |
LDU_FT/DarkEnergySurvey/ugali/observableFractionCMDX | LDU_FT | [
"<BEGIN>\n## `integrate`",
"Calculate the 2D integral of the 1D surface brightness profile \n (i.e, the flux) between rmin and rmax (elliptical radii). ",
" Parameters:\n -----------\n rmin : minimum integration radius (deg)\n rmax : maximum integration radius (deg)",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the observableFractionCMDX 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 observableFractionCMDX API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Compute observable fraction of stars with masses greater than mass_min in each
pixel in the interior region of the mask.
ADW: Careful, this function is fragile! The selection here should
be the same as mask.restrictCatalogToObservable space. However,
for technical reasons it ... | "Compute observable fraction of stars with masses greater than mass_min in each \n pixel in the interior region of the mask.\n\n ADW: Careful, this function is fragile! The selection here should\n be the same as mask.restrictCatalogToObservable space. However,\n for technical reaso... | 614 | false | DarkEnergySurvey/ugali | observableFractionCMDX | 25,424 | |
LDU_FT/xav/Grapefruit/xyz_to_lab | LDU_FT | [
"<BEGIN>\n## `rgb_to_hsl`",
"Convert the color from RGB coordinates to HSL.",
" Parameters:\n :r:\n The Red component value [0...1]\n :g:\n The Green component value [0...1]\n :b:\n The Blue component value [0...1]",
" Returns:\n The color as an (h, s, l) tuple in the range:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xyz_to_lab API.
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 xyz_to_lab API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Convert the color from CIE XYZ to CIE L*a*b*.
Parameters:
:x:
The X component value [0...1]
:y:
The Y component value [0...1]
:z:
The Z component value [0...1]
:wref:
The whitepoint reference, default is 2° D65.
Returns:
The color as an (L, a, b) tuple in the range:
... | "Convert the color from CIE XYZ to CIE L*a*b*.\n\n Parameters:\n :x:\n The X component value [0...1]\n :y:\n The Y component value [0...1]\n :z:\n The Z component value [0...1]\n :wref:\n The whitepoint reference, default is 2° D65.\n\n Returns:\n The color as an (L, a, b) tuple in ... | 234 | false | xav/Grapefruit | xyz_to_lab | 25,425 | |
LDU_FT/6809/MC6809/instruction_LSL_register | LDU_FT | [
"<BEGIN>\n## `instruction_RTS`",
"Program control is returned from the subroutine to the calling program.\n The return address is pulled from the stack.",
" source code forms: RTS",
" CC bits \"HNZVC\": -----\n<END>",
"<BEGIN>\n## `instruction_BSR_JSR`",
"Program control is transferre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the instruction_LSL_register 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 instruction_LSL_register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Logical shift left accumulator / Arithmetic shift of accumulator | "Logical shift left accumulator / Arithmetic shift of accumulator" | 224 | false | 6809/MC6809 | instruction_LSL_register | 25,426 | |
LDU_FT/jazzband/sorl-thumbnail/delete | LDU_FT | [
"<BEGIN>\n## `is_valid_image`",
"Wand library makes sure when opening any image that is fine, when\n the image is corrupted raises an exception.\n<END>",
"<BEGIN>\n## `parse_geometry`",
"Parses a geometry string syntax and returns a (width, height) tuple\n<END>",
"<BEGIN>\n## `parse_crop`",
"Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
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 delete API.
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 ... | Deletes the reference to the ``image_file`` and deletes the references
to thumbnails as well as thumbnail files if ``delete_thumbnails`` is
`True``. Does not delete the ``image_file`` is self. | "Deletes the reference to the ``image_file`` and deletes the references\n to thumbnails as well as thumbnail files if ``delete_thumbnails`` is\n `True``. Does not delete the ``image_file`` is self." | 68 | false | jazzband/sorl-thumbnail | delete | 25,427 | |
LDU_FT/nathankw/pulsarpy/get_library_barcode_sequence_hash | LDU_FT | [
"<BEGIN>\n## `get_record_by_name`",
"Searches for a single document in the given index on the 'name' field .\n Performs a case-insensitive search by utilizing Elasticsearch's `match_phrase` query.",
" Args:\n index: `str`. The name of an Elasticsearch index (i.e. biosamples).\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_library_barcode_sequence_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_library_barcode_sequence_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Calls the SequencingRequest's get_library_barcode_sequence_hash server-side endpoint to
create a hash of the form {LibraryID -> barcode_sequence} for all Libraries on the
SequencingRequest.
Args:
inverse: `bool`. True means to inverse the key and value pairs such that the barcode
... | "Calls the SequencingRequest's get_library_barcode_sequence_hash server-side endpoint to\n create a hash of the form {LibraryID -> barcode_sequence} for all Libraries on the \n SequencingRequest. \n\n Args:\n inverse: `bool`. True means to inverse the key and value pairs such that the ba... | 92 | false | nathankw/pulsarpy | get_library_barcode_sequence_hash | 25,428 | |
LDU_FT/schlamar/cov-core/finish | LDU_FT | [
"<BEGIN>\n## `set_env`",
"Put info about coverage into the env so that subprocesses can activate coverage.\n<END>",
"<BEGIN>\n## `finish`",
"Stop coverage, save data to file and set the list of coverage objects to report on.\n<END>",
"<BEGIN>\n## `start`",
"Ensure coverage rc file rsynced if appropriate.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finish API.
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 finish API.
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 ... | Combines coverage data and sets the list of coverage objects to report on. | "Combines coverage data and sets the list of coverage objects to report on." | 14 | false | schlamar/cov-core | finish | 25,429 | |
LDU_FT/jaumebonet/libconfig/get_option | LDU_FT | [
"<BEGIN>\n## `_get_repo`",
"Identify the path to the repository origin.\n<END>",
"<BEGIN>\n## `_entry_must_exist`",
"Evaluate key-subkey existence.",
" Checks that the key-subkey combo exists in the\n configuration options.\n<END>",
"<BEGIN>\n## `_entry_must_not_exist`",
"Evaluate key-subkey non-e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_option API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get the current value of the option.
:param str key: First identifier of the option.
:param str subkey: Second identifier of the option.
:param bool in_path_none: Allows for ``in_path`` values of
:data:`None` to be retrieved.
:return: Current value of the option (type varie... | "Get the current value of the option.\n\n :param str key: First identifier of the option.\n :param str subkey: Second identifier of the option.\n :param bool in_path_none: Allows for ``in_path`` values of\n :data:`None` to be retrieved.\n\n :return: Current value of the option (ty... | 104 | false | jaumebonet/libconfig | get_option | 25,430 | |
LDU_FT/contentful-labs/contentful.py/resolve | LDU_FT | [
"<BEGIN>\n## `resolve_links`",
"Attempt to resolve all internal links (locally).",
" In case the linked resources are found either as members of the array or within\n the `includes` element, those will be replaced and reference the actual resources.\n No network calls will be performed.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API.
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 resolve API.
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... | Resolve a link to a CDA resource.
Provided an `array` argument, attempt to retrieve the resource from the `mapped_items`
section of that array (containing both included and regular resources), in case the
resource cannot be found in the array (or if no `array` was provided) - attempt to fetch
... | "Resolve a link to a CDA resource.\n\n Provided an `array` argument, attempt to retrieve the resource from the `mapped_items`\n section of that array (containing both included and regular resources), in case the\n resource cannot be found in the array (or if no `array` was provided) - attempt to fe... | 66 | false | contentful-labs/contentful.py | resolve | 25,431 | |
LDU_FT/jspricke/python-remind/replace | LDU_FT | [
"<BEGIN>\n## `rem2ics`",
"Command line tool to convert from Remind to iCalendar\n<END>",
"<BEGIN>\n## `ics2rem`",
"Command line tool to convert from iCalendar to Remind\n<END>",
"<BEGIN>\n## `_parse_remind`",
"Calls remind and parses the output into a dict",
" filename -- the remind file (include... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Update the Remind command with the uid in the file with the new iCalendar | "Update the Remind command with the uid in the file with the new iCalendar" | 47 | false | jspricke/python-remind | replace | 25,432 | |
LDU_FT/stephen-bunn/file-config/_build_type | LDU_FT | [
"<BEGIN>\n## `on_yaml_imported`",
"The `pyyaml <https://pypi.org/project/pyyaml/>`_ import hook.",
" :param module yaml: The ``yaml`` module\n<END>",
"<BEGIN>\n## `on_yaml_dumps`",
"The `pyyaml <https://pypi.org/project/pyyaml/>`_ dumps method.",
" :param module yaml: The ``yaml`` module\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _build_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 extra... | Builds the schema definition based on the given type for the given value.
:param type_: The type of the value
:param value: The value to build the schema definition for
:param List[str] property_path: The property path of the current type,
defaults to None, optional
:return: The built schema de... | "Builds the schema definition based on the given type for the given value.\n\n :param type_: The type of the value\n :param value: The value to build the schema definition for\n :param List[str] property_path: The property path of the current type,\n defaults to None, optional\n :return: The built sc... | 215 | false | stephen-bunn/file-config | _build_type | 25,433 | |
LDU_FT/aisthesis/pynance/growth | LDU_FT | [
"<BEGIN>\n## `optimize`",
"Return parameters for portfolio optimization.",
" Parameters\n ----------\n exp_rets : ndarray\n Vector of expected returns for each investment..\n covs : ndarray\n Covariance matrix for the given investments.",
" Returns\n ---------\n a : ndarray\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the growth API.
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 growth API.
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 ... | Retrieve growth labels.
Parameters
--------------
interval : int
Number of sessions over which growth is measured. For example, if
the value of 32 is passed for `interval`, the data returned will
show the growth 32 sessions ahead for each data point.
eqdata : DataFrame
... | "Retrieve growth labels.\n\n Parameters\n --------------\n interval : int\n Number of sessions over which growth is measured. For example, if\n the value of 32 is passed for `interval`, the data returned will \n show the growth 32 sessions ahead for each data point.\n eqdata : DataFrame... | 231 | false | aisthesis/pynance | growth | 25,434 | |
LDU_FT/Cymmetria/honeycomb/validate_field_matches_type | LDU_FT | [
"<BEGIN>\n## `config_field_type`",
"Validate a config field against a type.",
" Similar functionality to :func:`validate_field_matches_type` but returns :obj:`honeycomb.defs.ConfigField`\n<END>",
"<BEGIN>\n## `validate_config`",
"Validate a JSON file configuration against list of :obj:`honeycomb.defs.Con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_field_matches_type 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 validate_field_matches_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Validate a config field against a specific type. | "Validate a config field against a specific type." | 90 | false | Cymmetria/honeycomb | validate_field_matches_type | 25,435 | |
LDU_FT/pebble/libpebble2/send_and_read | LDU_FT | [
"<BEGIN>\n## `send_notification`",
"Sends a notification. Blocks as long as necessary.",
" :param subject: The subject.\n :type subject: str\n :param message: The message.\n :type message: str\n :param sender: The sender.\n :type sender: str\n :param source: The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_and_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_and_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 ext... | Sends a packet, then returns the next response received from that endpoint. This method sets up a listener
before it actually sends the message, avoiding a potential race.
.. warning::
Avoid calling this method from an endpoint callback; doing so is likely to lead to deadlock.
:para... | "Sends a packet, then returns the next response received from that endpoint. This method sets up a listener\n before it actually sends the message, avoiding a potential race.\n\n .. warning::\n Avoid calling this method from an endpoint callback; doing so is likely to lead to deadlock.\n\n ... | 121 | false | pebble/libpebble2 | send_and_read | 25,436 | |
LDU_FT/zebpalmer/WeatherAlerts/raw_cap | LDU_FT | [
"<BEGIN>\n## `_ts_parse`",
"Parse alert timestamp, return UTC datetime object to maintain Python 2 compatibility.\n<END>",
"<BEGIN>\n## `_serialized`",
"Provides a sanitized & serializeable dict of the alert mainly for forward & backwards compatibility\n<END>",
"<BEGIN>\n## `_get_feed_cache`",
"If a recen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw_cap API.
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 raw_cap API.
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... | Raw xml(cap) of the the feed. If a valid cache is available
it is used, else a new copy of the feed is grabbed
Note: you can force refresh here, if you do, don't also manually call refresh | "Raw xml(cap) of the the feed. If a valid cache is available\n it is used, else a new copy of the feed is grabbed\n Note: you can force refresh here, if you do, don't also manually call refresh" | 36 | false | zebpalmer/WeatherAlerts | raw_cap | 25,437 | |
LDU_FT/PierreRust/apigpio/gpio_trigger | LDU_FT | [
"<BEGIN>\n## `u2i`",
"Converts a 32 bit unsigned number to signed.",
" uint32:= an unsigned 32 bit number",
" ...\n print(u2i(4294967272))\n -24\n print(u2i(37))\n 37\n ...\n<END>",
"<BEGIN>\n## `_u2i`",
"Converts a 32 bit unsigned number to signed. If the number\n is negative it ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gpio_trigger API.
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 gpio_trigger API.
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... | Send a trigger pulse to a GPIO. The GPIO is set to
level for pulse_len microseconds and then reset to not level.
user_gpio:= 0-31
pulse_len:= 1-100
level:= 0-1
...
pi.gpio_trigger(23, 10, 1)
... | "Send a trigger pulse to a GPIO. The GPIO is set to\n level for pulse_len microseconds and then reset to not level.\n user_gpio:= 0-31\n pulse_len:= 1-100\n level:= 0-1\n ...\n pi.gpio_trigger(23, 10, 1)\n ..." | 102 | false | PierreRust/apigpio | gpio_trigger | 25,438 | |
LDU_FT/edx/i18n-tools/get_new_header | LDU_FT | [
"<BEGIN>\n## `default_config_filename`",
"Returns the default name of the configuration file.\n<END>",
"<BEGIN>\n## `read_config`",
"Returns data found in config file (as dict), or raises exception if file not found\n<END>",
"<BEGIN>\n## `rtl_langs`",
"Returns the set of translated RTL language codes pres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_new_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.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_new_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.
The ex... | Insert info about edX into the po file headers | "Insert info about edX into the po file headers" | 117 | false | edx/i18n-tools | get_new_header | 25,439 | |
LDU_FT/antonagestam/collectfast/handle | LDU_FT | [
"<BEGIN>\n## `get_cache_key`",
"Create a cache key by concatenating the prefix with a hash of the path.\n<END>",
"<BEGIN>\n## `get_remote_etag`",
"Get etag of path from S3 using boto or boto3.\n<END>",
"<BEGIN>\n## `get_etag`",
"Get etag of path from cache or S3 - in that order.\n<END>",
"<BEGIN>\n## `h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle API.
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 handle API.
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 ... | Override handle to supress summary output | "Override handle to supress summary output" | 20 | false | antonagestam/collectfast | handle | 25,440 | |
LDU_FT/kellerza/pyqwikswitch/print_devices_change_callback | LDU_FT | [
"<BEGIN>\n## `_legacy_status`",
"Legacy status method from the 'qsmobile.js' library.",
" Pass in the 'val' from &devices or the\n 'data' received after calling a specific ID.\n<END>",
"<BEGIN>\n## `decode_qwikcord`",
"Extract the qwikcord current measurements from val (CTavg, CTsum).\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_devices_change_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_devices_change_callback API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Print the reply from &devices() and highlight errors. | "Print the reply from &devices() and highlight errors." | 25 | false | kellerza/pyqwikswitch | print_devices_change_callback | 25,441 | |
LDU_FT/python-hyper/brotlipy/decompress | LDU_FT | [
"<BEGIN>\n## `decompress`",
"Decompress a complete Brotli-compressed string.",
" :param data: A bytestring containing Brotli-compressed data.\n<END>",
"<BEGIN>\n## `compress`",
"Compress a string using Brotli.",
" .. versionchanged:: 0.5.0\n Added ``mode``, ``quality``, `lgwin``, ``lgblock``, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decompress API.
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 decompress API.
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... | Decompress part of a complete Brotli-compressed string.
:param data: A bytestring containing Brotli-compressed data.
:returns: A bytestring containing the decompressed data. | "Decompress part of a complete Brotli-compressed string.\n\n :param data: A bytestring containing Brotli-compressed data.\n :returns: A bytestring containing the decompressed data." | 27 | false | python-hyper/brotlipy | decompress | 25,442 | |
LDU_FT/aparsons/threadfix_api/create_waf | LDU_FT | [
"<BEGIN>\n## `create_application`",
"Creates an application under a given team.\n :param team_id: Team identifier.\n :param name: The name of the new application being created.\n :param url: The url of where the application is located.\n<END>",
"<BEGIN>\n## `get_application_by_name`",
"Re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_waf API.
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 create_waf API.
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... | Creates a WAF with the given type.
:param name: Name of the WAF.
:param waf_type: WAF type. ('mod_security', 'Snort', 'Imperva SecureSphere', 'F5 BigIP ASM', 'DenyAll rWeb') | "Creates a WAF with the given type.\n :param name: Name of the WAF.\n :param waf_type: WAF type. ('mod_security', 'Snort', 'Imperva SecureSphere', 'F5 BigIP ASM', 'DenyAll rWeb')" | 25 | false | aparsons/threadfix_api | create_waf | 25,443 | |
LDU_FT/titusjan/argos/finalize | LDU_FT | [
"<BEGIN>\n## `nDims`",
"The number of dimensions of the index. Will always be 1.\n<END>",
"<BEGIN>\n## `elementTypeName`",
"String representation of the element type.\n<END>",
"<BEGIN>\n## `_createIndexRti`",
"Auxiliary method that creates a PandasIndexRti.\n<END>",
"<BEGIN>\n## `_fetchAllChildren`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finalize API.
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 finalize API.
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... | Is called when the editor is closed. Disconnect signals. | "Is called when the editor is closed. Disconnect signals." | 893 | false | titusjan/argos | finalize | 25,444 | |
LDU_FT/codeinthehole/purl/query_params | LDU_FT | [
"<BEGIN>\n## `to_utf8`",
"Encode a string as a UTF8 bytestring. This function could be passed a\n bytestring or unicode string so must distinguish between the two.\n<END>",
"<BEGIN>\n## `dict_to_unicode`",
"Ensure all keys and values in a dict are unicode.",
" The passed dict is assumed to have lists... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_params API.
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 query_params API.
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... | Return or set a dictionary of query params
:param dict value: new dictionary of values | "Return or set a dictionary of query params\n\n :param dict value: new dictionary of values" | 75 | false | codeinthehole/purl | query_params | 25,445 | |
LDU_FT/makinacorpus/landez/tileslist | LDU_FT | [
"<BEGIN>\n## `find_coverage`",
"Returns the bounding box (minx, miny, maxx, maxy) of an adjacent\n group of tiles at this zoom level.\n<END>",
"<BEGIN>\n## `tile`",
"Download the specified tile from `tiles_url`\n<END>",
"<BEGIN>\n## `project`",
"Returns the coordinates in meters from WGS84\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tileslist API.
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 tileslist API.
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... | Build the tiles list within the bottom-left/top-right bounding
box (minx, miny, maxx, maxy) at the specified zoom levels.
Return a list of tuples (z,x,y) | "Build the tiles list within the bottom-left/top-right bounding\n box (minx, miny, maxx, maxy) at the specified zoom levels.\n Return a list of tuples (z,x,y)" | 25 | false | makinacorpus/landez | tileslist | 25,446 | |
LDU_FT/IBM/ibm-cos-sdk-python-s3transfer/is_success | LDU_FT | [
"<BEGIN>\n## `store`",
"store a config value in a dictionary, these values are used to populate a trasnfer spec\n validation -- check type, check allowed values and rename if required\n<END>",
"<BEGIN>\n## `multi_session`",
"convert the multi_session param a number\n<END>",
"<BEGIN>\n## `_raw_asp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_success API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_success API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | check all sessions to see if they have completed successfully | "check all sessions to see if they have completed successfully" | 89 | false | IBM/ibm-cos-sdk-python-s3transfer | is_success | 25,447 | |
LDU_FT/jaraco/path.py/listdir | LDU_FT | [
"<BEGIN>\n## `load`",
"If the supplied parameter is a string, assum it's a simple\n pattern.\n<END>",
"<BEGIN>\n## `simple_cache`",
"Save results for the :meth:'path.using_module' classmethod.\n When Python 3.2 is available, use functools.lru_cache instead.\n<END>",
"<BEGIN>\n## `only_newer`",
"Wrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listdir API.
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 listdir API.
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.listdir() -> List of items in this directory.
Use :meth:`files` or :meth:`dirs` instead if you want a listing
of just files or just subdirectories.
The elements of the list are Path objects.
With the optional `match` argument, a callable,
only return items whose names match ... | "D.listdir() -> List of items in this directory.\n\n Use :meth:`files` or :meth:`dirs` instead if you want a listing\n of just files or just subdirectories.\n\n The elements of the list are Path objects.\n\n With the optional `match` argument, a callable,\n only return items whose nam... | 158 | false | jaraco/path.py | listdir | 25,448 | |
LDU_FT/napalm-automation/napalm-ios/get_arp_table | LDU_FT | [
"<BEGIN>\n## `_create_tmp_file`",
"Write temp file and for use with inline config and SCP.\n<END>",
"<BEGIN>\n## `_load_candidate_wrapper`",
"Transfer file to remote device for either merge or replace operations",
" Returns (return_status, msg)\n<END>",
"<BEGIN>\n## `load_replace_candidate`",
"SC... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_arp_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_arp_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get arp table information.
Return a list of dictionaries having the following set of keys:
* interface (string)
* mac (string)
* ip (string)
* age (float)
For example::
[
{
'interface' : 'MgmtEth0/RSP0/CPU0... | "Get arp table information.\n\n Return a list of dictionaries having the following set of keys:\n * interface (string)\n * mac (string)\n * ip (string)\n * age (float)\n\n For example::\n [\n {\n 'interface' : 'MgmtEt... | 84 | false | napalm-automation/napalm-ios | get_arp_table | 25,449 | |
LDU_FT/BlueBrain/hpcbench/freeze | LDU_FT | [
"<BEGIN>\n## `arguments`",
"Dictionary providing the list of arguments for every\n benchmark\n<END>",
"<BEGIN>\n## `run`",
"Execute benchmarks on every node specified in arguments.\n If none are given, then execute benchmarks on every nodes\n specified in the ``network.nodes`` campaign co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the freeze API.
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 freeze API.
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 ... | Transform tree of dict and list in read-only
data structure.
dict instances are transformed to FrozenDict, lists
in FrozenList. | "Transform tree of dict and list in read-only\n data structure.\n dict instances are transformed to FrozenDict, lists\n in FrozenList." | 216 | false | BlueBrain/hpcbench | freeze | 25,450 | |
LDU_FT/rodynnz/xccdf/as_dict | LDU_FT | [
"<BEGIN>\n## `update_xml_element`",
"Updates the xml element contents to matches the instance contents.",
" :returns: Updated XML element.\n :rtype: lxml.etree._Element\n<END>",
"<BEGIN>\n## `to_xml_string`",
"Exports the element in XML format.",
" :returns: element in XML format.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Serializes the object necessary data in a dictionary.
:returns: Serialized data in a dictionary.
:rtype: dict | "Serializes the object necessary data in a dictionary.\n\n :returns: Serialized data in a dictionary.\n :rtype: dict" | 77 | false | rodynnz/xccdf | as_dict | 25,451 | |
LDU_FT/jorbas/GADDAG/contains | LDU_FT | [
"<BEGIN>\n## `save`",
"Save the GADDAG to file.",
" Args:\n path: path to save the GADDAG to.\n compressed: compress the saved GADDAG using gzip.\n exist_ok: overwrite existing file at `path`.\n<END>",
"<BEGIN>\n## `load`",
"Load a GADDAG from file, replacing the word... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contains API.
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 contains API.
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... | Find all words containing a substring.
Args:
sub: A substring to be searched for.
Returns:
A list of all words found. | "Find all words containing a substring.\n\n Args:\n sub: A substring to be searched for.\n\n Returns:\n A list of all words found." | 29 | false | jorbas/GADDAG | contains | 25,452 | |
LDU_FT/marcinmiklitz/pywindow/dump_system | LDU_FT | [
"<BEGIN>\n## `unique`",
"Return a list of unique items (similar to set functionality).",
" Parameters\n ----------\n input_list : list\n A list containg some items that can occur more than once.",
" Returns\n -------\n list\n A list with only unique occurances of an item.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_system API.
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 dump_system API.
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... | Dump a :class:`MolecularSystem` to a file (PDB or XYZ).
Kwargs are passed to :func:`pywindow.io_tools.Output.dump2file()`.
Parameters
----------
filepath : :class:`str`
The filepath for the dumped file. If :class:`None`, the file is
dumped localy with :attr:`syste... | "Dump a :class:`MolecularSystem` to a file (PDB or XYZ).\n\n Kwargs are passed to :func:`pywindow.io_tools.Output.dump2file()`.\n\n Parameters\n ----------\n filepath : :class:`str`\n The filepath for the dumped file. If :class:`None`, the file is\n dumped localy with :at... | 303 | false | marcinmiklitz/pywindow | dump_system | 25,453 | |
LDU_FT/toastdriven/alligator/get | LDU_FT | [
"<BEGIN>\n## `run_forever`",
"Causes the worker to run either forever or until the\n ``Worker.max_tasks`` are reached.\n<END>",
"<BEGIN>\n## `to_call`",
"Sets the function & its arguments to be called when the task is\n processed.",
" Ex::",
" task.to_call(my_function, 1, '... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Pops a specific task off the queue by identifier.
:param queue_name: The name of the queue. Usually handled by the
``Gator`` instance.
:type queue_name: string
:param task_id: The identifier of the task.
:type task_id: string
:returns: The data for the task.
... | "Pops a specific task off the queue by identifier.\n\n :param queue_name: The name of the queue. Usually handled by the\n ``Gator`` instance.\n :type queue_name: string\n\n :param task_id: The identifier of the task.\n :type task_id: string\n\n :returns: The data for the ta... | 181 | false | toastdriven/alligator | get | 25,454 | |
LDU_FT/walkr/nanoservice/process | LDU_FT | [
"<BEGIN>\n## `initialize`",
"Bind or connect the nanomsg socket to some address\n<END>",
"<BEGIN>\n## `_set_timeouts`",
"Set socket timeouts for send and receive respectively\n<END>",
"<BEGIN>\n## `send`",
"Encode and sign (optional) the send through socket\n<END>",
"<BEGIN>\n## `receive`",
"Receive f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API.
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 process API.
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... | Receive data from socket and process request | "Receive data from socket and process request" | 36 | false | walkr/nanoservice | process | 25,455 | |
LDU_FT/LonamiWebs/Telethon/_get_entity_from_string | LDU_FT | [
"<BEGIN>\n## `collect`",
"Create a `self` iterator and collect it into a `TotalList`\n (a normal list with a `.total` attribute).\n<END>",
"<BEGIN>\n## `handler`",
"#full: Advises to read \"Accessing the full API\" in the docs.\n<END>",
"<BEGIN>\n## `handler`",
"#search query: Searches for \"query\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_entity_from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_entity_from_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Gets a full entity from the given string, which may be a phone or
a username, and processes all the found entities on the session.
The string may also be a user link, or a channel/chat invite link.
This method has the side effect of adding the found users to the
session database, so it ... | "Gets a full entity from the given string, which may be a phone or\n a username, and processes all the found entities on the session.\n The string may also be a user link, or a channel/chat invite link.\n\n This method has the side effect of adding the found users to the\n session database, ... | 1,037 | true | LonamiWebs/Telethon | _get_entity_from_string | 25,456 | |
LDU_FT/AltSchool/dynamic-rest/ordering_for | LDU_FT | [
"<BEGIN>\n## `merge_link_object`",
"Add a 'links' attribute to the data that maps field names to URLs.",
" NOTE: This is the format that Ember Data supports, but alternative\n implementations are possible to support other formats.\n<END>",
"<BEGIN>\n## `register_post_processor`",
"Register a pos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ordering_for API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ordering_for API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return ordering (model field chain) for term (serializer field chain)
or None if invalid
Raise ImproperlyConfigured if serializer_class not set on view | "Return ordering (model field chain) for term (serializer field chain)\n or None if invalid\n\n Raise ImproperlyConfigured if serializer_class not set on view" | 213 | false | AltSchool/dynamic-rest | ordering_for | 25,457 | |
LDU_FT/BrighterCommand/Brightside/_sub_process_main | LDU_FT | [
"<BEGIN>\n## `send`",
"Dispatches a request. Expects one and one only target handler\n :param request: The request to dispatch\n :return: None, will throw a ConfigurationException if more than one handler factor is registered for the command\n<END>",
"<BEGIN>\n## `publish`",
"Dispatches a reques... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sub_process_main API.
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 _sub_process_main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | This is the main method for the sub=process, everything we need to create the message pump and
channel it needs to be passed in as parameters that can be pickled as when we run they will be serialized
into this process. The data should be value types, not reference types as we will receive a copy of the origina... | "This is the main method for the sub=process, everything we need to create the message pump and\n channel it needs to be passed in as parameters that can be pickled as when we run they will be serialized\n into this process. The data should be value types, not reference types as we will receive a copy of the orig... | 21 | false | BrighterCommand/Brightside | _sub_process_main | 25,458 | |
LDU_FT/alphardex/looter/async_fetch | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Send HTTP request and parse it as a DOM tree.",
" Args:\n url (str): The url of the site.",
" Returns:\n Selector: allows you to select parts of HTML text using CSS or XPath expressions.\n<END>",
"<BEGIN>\n## `async_fetch`",
"Do the fetch in an async style.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the async_fetch API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Do the fetch in an async style.
Args:
url (str): The url of the site.
Returns:
Selector: allows you to select parts of HTML text using CSS or XPath expressions. | "Do the fetch in an async style.\n\n Args:\n url (str): The url of the site.\n\n Returns:\n Selector: allows you to select parts of HTML text using CSS or XPath expressions." | 18 | false | alphardex/looter | async_fetch | 25,459 | |
LDU_FT/jaraco/jaraco.packaging/load_dependencies | LDU_FT | [
"<BEGIN>\n## `load_config_from_setup`",
"Replace values in app.config from package metadata\n<END>",
"<BEGIN>\n## `open_archive`",
"Open an archive (tarball or zip) and return the object.\n<END>",
"<BEGIN>\n## `get_prefix_dir`",
"Often, all files are in a single directory. If so, they'll all have\n the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Load the dependency tree as a Python object tree,
suitable for JSON serialization.
>>> deps = load_dependencies('jaraco.packaging')
>>> import json
>>> doc = json.dumps(deps) | "Load the dependency tree as a Python object tree,\n suitable for JSON serialization.\n\n >>> deps = load_dependencies('jaraco.packaging')\n >>> import json\n >>> doc = json.dumps(deps)" | 13 | false | jaraco/jaraco.packaging | load_dependencies | 25,460 | |
LDU_FT/QuantEcon/QuantEcon.py/process_pure_python2 | 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 process_pure_python2 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 process_pure_python2 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | content is a list of strings. it is unedited directive conent
This runs it line by line in the InteractiveShell, prepends
prompts as needed capturing stderr and stdout, then returns
the content as a list as if it were ipython code | "content is a list of strings. it is unedited directive conent\n\n This runs it line by line in the InteractiveShell, prepends\n prompts as needed capturing stderr and stdout, then returns\n the content as a list as if it were ipython code" | 1,292 | true | QuantEcon/QuantEcon.py | process_pure_python2 | 25,461 | |
LDU_FT/ttinies/sc2gameLobby/search | LDU_FT | [
"<BEGIN>\n## `addNew`",
"Add a new version record to the database to be tracked\n VERSION RECORD EXAMPLE:\n \"base-version\": 55505, \n \"data-hash\": \"60718A7CA50D0DF42987A30CF87BCB80\", \n \"fixed-hash\": \"0189B2804E2F6BA4C4591222089E63B2\", \n \"label\": \"3.16\", \n \"r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | match all records that have any args in any key/field that also match
key/value requirements specified in kwargs | "match all records that have any args in any key/field that also match\n key/value requirements specified in kwargs" | 76 | false | ttinies/sc2gameLobby | search | 25,462 | |
LDU_FT/marcotcr/lime/_check_params | 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 _check_params API.
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 _check_params API.
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... | Checks for mistakes in 'parameters'
Args :
parameters: dict, parameters to be checked
Raises :
ValueError: if any parameter is not a valid argument for the target function
or the target function is not defined
TypeError: if argument parameters is not... | "Checks for mistakes in 'parameters'\n\n Args :\n parameters: dict, parameters to be checked\n\n Raises :\n ValueError: if any parameter is not a valid argument for the target function\n or the target function is not defined\n TypeError: if argument paramete... | 113 | false | marcotcr/lime | _check_params | 25,463 | |
LDU_FT/ph4r05/monero-serialize/dump_varint | LDU_FT | [
"<BEGIN>\n## `load_uint`",
"Constant-width integer serialization\n :param reader:\n :param width:\n :return:\n<END>",
"<BEGIN>\n## `dump_uint`",
"Constant-width integer serialization\n :param writer:\n :param n:\n :param width:\n :return:\n<END>",
"<BEGIN>\n## `load_uvarint_b`",
"Vari... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_varint API.
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 dump_varint API.
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... | Binary dump of the variable size integer
:param writer:
:param val:
:return: | "Binary dump of the variable size integer\n\n :param writer:\n :param val:\n :return:" | 273 | false | ph4r05/monero-serialize | dump_varint | 25,464 | |
LDU_FT/dmlc/gluon-nlp/evaluate_official_script | LDU_FT | [
"<BEGIN>\n## `train`",
"Train textCNN model for sentiment analysis.\n<END>",
"<BEGIN>\n## `embedding`",
"Get tokens, tokens embedding",
" Parameters\n ----------\n sentences : List[str]\n sentences for encoding.\n oov_way : str, default avg.\n use **avg**, *... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate_official_script 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 evaluate_official_script API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Evaluate parser on a data set
Parameters
----------
parser : BiaffineParser
biaffine parser
vocab : ParserVocabulary
vocabulary built from data set
num_buckets_test : int
size of buckets (cluster sentences into this number of clusters)
test_batch_size : int
batch... | "Evaluate parser on a data set\n\n Parameters\n ----------\n parser : BiaffineParser\n biaffine parser\n vocab : ParserVocabulary\n vocabulary built from data set\n num_buckets_test : int\n size of buckets (cluster sentences into this number of clusters)\n test_batch_size : int\n ... | 801 | false | dmlc/gluon-nlp | evaluate_official_script | 25,465 | |
LDU_FT/jeffknupp/sandman/meta | LDU_FT | [
"<BEGIN>\n## `endpoint`",
"Return the :class:`sandman.model.Model`'s endpoint.",
" :rtype: string\n<END>",
"<BEGIN>\n## `resource_uri`",
"Return the URI at which the resource can be found.",
" :rtype: string\n<END>",
"<BEGIN>\n## `primary_key`",
"Return the name of the table's primary ke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the meta API.
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 meta API.
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... | Return a dictionary containing meta-information about the given
resource. | "Return a dictionary containing meta-information about the given\n resource." | 126 | false | jeffknupp/sandman | meta | 25,466 | |
LDU_FT/jedie/DragonPy/fix_virtualenv_tkinter | LDU_FT | [
"<BEGIN>\n## `create_environment`",
"Creates a new environment in ``home_dir``.",
" If ``site_packages`` is true, then the global ``site-packages/``\n directory will be on the path.",
" If ``clear`` is true (default False) then the environment will\n first be cleared.\n<END>",
"<BEGIN>\n## `path... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_virtualenv_tkinter 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 fix_virtualenv_tkinter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | work-a-round for tkinter under windows in a virtualenv:
"TclError: Can't find a usable init.tcl..."
Known bug, see: https://github.com/pypa/virtualenv/issues/93
There are "fix tk" file here:
C:\Python27\Lib\lib-tk\FixTk.py
C:\Python34\Lib\tkinter\_fix.py
These modules will be au... | "work-a-round for tkinter under windows in a virtualenv:\n \"TclError: Can't find a usable init.tcl...\"\n Known bug, see: https://github.com/pypa/virtualenv/issues/93\n\n There are \"fix tk\" file here:\n\n C:\\Python27\\Lib\\lib-tk\\FixTk.py\n C:\\Python34\\Lib\\tkinter\\_fix.py\n\n Th... | 223 | false | jedie/DragonPy | fix_virtualenv_tkinter | 25,467 | |
LDU_FT/DataKitchen/DKCloudCommand/recipe_tree | LDU_FT | [
"<BEGIN>\n## `is_same`",
"Compare two directory trees content.\n Return False if they differ, True is they are the same.\n :param dir2:\n :param dir1:\n<END>",
"<BEGIN>\n## `phase3`",
"Find out differences between common files.\n Ensure we are using content comparison with shallow=False.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recipe_tree API.
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 recipe_tree API.
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... | gets the status of a recipe
:param self: DKCloudAPI
:param kitchen: string
:param recipe: string
:rtype: dict | "gets the status of a recipe\n :param self: DKCloudAPI\n :param kitchen: string\n :param recipe: string\n :rtype: dict" | 70 | false | DataKitchen/DKCloudCommand | recipe_tree | 25,468 | |
LDU_FT/chukysoria/pyspotify-connect/to_unicode_or_none | LDU_FT | [
"<BEGIN>\n## `load_application_key_file`",
"Load your libspotify application key file.",
" If called without arguments, it tries to read ``spotify_appkey.key``\n from the current working directory.",
" This is an alternative to setting :attr:`application_key` yourself. The\n file m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_unicode_or_none 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 to_unicode_or_none 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... | Converts C char arrays to unicode and C NULL values to None.
C char arrays are decoded from UTF-8. | "Converts C char arrays to unicode and C NULL values to None.\n\n C char arrays are decoded from UTF-8." | 65 | false | chukysoria/pyspotify-connect | to_unicode_or_none | 25,469 | |
LDU_FT/openego/eDisGo/connect_mv_generators | LDU_FT | [
"<BEGIN>\n## `one_storage_per_feeder`",
"Allocates the given storage capacity to multiple smaller storages.",
" For each feeder with load or voltage issues it is checked if integrating a\n storage will reduce peaks in the feeder, starting with the feeder with\n the highest theoretical grid expansion co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_mv_generators 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 connect_mv_generators API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Connect MV generators to existing grids.
This function searches for unconnected generators in MV grids and connects them.
It connects
* generators of voltage level 4
* to HV-MV station
* generators of voltage level 5
* with a nom. capacity of <=30 kW to LV loads of ty... | "Connect MV generators to existing grids.\n\n This function searches for unconnected generators in MV grids and connects them.\n\n It connects\n\n * generators of voltage level 4\n * to HV-MV station\n\n * generators of voltage level 5\n * with a nom. capacity of <=30 kW to LV ... | 764 | false | openego/eDisGo | connect_mv_generators | 25,470 | |
LDU_FT/icgood/pymap/run | LDU_FT | [
"<BEGIN>\n## `for_executor`",
"Return a subsystem based on the given executor. If ``executor`` is\n None, use :mod:`asyncio`. If ``executor`` is a\n :class:`concurrent.futures.ThreadPoolExecutor`, use :mod:`threading`.",
" Args:\n executor: The executor in use, if any.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Start the socket communication with the IMAP greeting, and then
enter the command/response cycle.
Args:
state: Defines the interaction with the backend plugin. | "Start the socket communication with the IMAP greeting, and then\n enter the command/response cycle.\n\n Args:\n state: Defines the interaction with the backend plugin." | 298 | false | icgood/pymap | run | 25,471 | |
LDU_FT/abiiranathan/db2/add | LDU_FT | [
"<BEGIN>\n## `add`",
"Insert a record to the table \n emp = Employee(emp_id=1, name='Jane Doe', sex='Female')\n inserted = Session().add(emp)\n Returns a bool or raises mysql.Error exception\n<END>",
"<BEGIN>\n## `update`",
"Update a record to the table \n emp = Employee(emp_id=1, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Insert a record to the table
emp = Employee(emp_id=1, name='Jane Doe', sex='Female')
inserted = Session().add(emp)
Returns a bool or raises mysql.Error exception | "Insert a record to the table \n emp = Employee(emp_id=1, name='Jane Doe', sex='Female')\n inserted = Session().add(emp)\n Returns a bool or raises mysql.Error exception" | 20 | false | abiiranathan/db2 | add | 25,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.