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/moluwole/Bast/run | LDU_FT | [
"<BEGIN>\n## `get_config`",
"Gets the config from the os.environ. This is used to create the config dict for use by the ORM\n :return: str, dict\n<END>",
"<BEGIN>\n## `check_packages`",
"Check if the driver for the user defined host is available. If it is not available, download it using PIP\n :... | 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... | Compares value against self.asserted_type.
Keyword arguments:
value str -- the value of the associated field to compare | "Compares value against self.asserted_type.\n Keyword arguments:\n value str -- the value of the associated field to compare" | 59 | false | moluwole/Bast | run | 39,173 | |
LDU_FT/IrvKalb/pygwidgets/setLoc | LDU_FT | [
"<BEGIN>\n## `setLoc`",
"Sets a new location (and changes the rect loc) for this widget.\n<END>",
"<BEGIN>\n## `handleEvent`",
"This method should be called every time through the main loop.\r",
" It handles showing the up, over, and down states of the button.\r",
" Parameters:\r\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setLoc API.
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 setLoc API.
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 ... | Sets a new location (and changes the rect loc) for this widget. | "Sets a new location (and changes the rect loc) for this widget." | 70 | false | IrvKalb/pygwidgets | setLoc | 39,174 | |
LDU_FT/Adarnof/adarnauth-esi/minimize_spec | LDU_FT | [
"<BEGIN>\n## `sso_redirect`",
"Generates a :model:`esi.CallbackRedirect` for the specified request.\n Redirects to EVE for login.\n Accepts a view or URL name as a redirect after SSO.\n<END>",
"<BEGIN>\n## `receive_callback`",
"Parses SSO callback, validates, retrieves :model:`esi.Token`, and internally... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minimize_spec API.
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 minimize_spec API.
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... | Trims down a source spec dict to only the operations or resources indicated.
:param spec_dict: The source spec dict to minimize.
:type spec_dict: dict
:param operations: A list of opertion IDs to retain.
:type operations: list of str
:param resources: A list of resource names to retain.
:type re... | "Trims down a source spec dict to only the operations or resources indicated.\n :param spec_dict: The source spec dict to minimize.\n :type spec_dict: dict\n :param operations: A list of opertion IDs to retain.\n :type operations: list of str\n :param resources: A list of resource names to retain.\n :... | 45 | false | Adarnof/adarnauth-esi | minimize_spec | 39,175 | |
LDU_FT/adaptive-learning/proso-apps/login_student | LDU_FT | [
"<BEGIN>\n## `process_answer`",
"This method is used during the answer streaming and is called after the\n predictive model for each answer.",
" Args:\n user (int):\n identifier of ther user answering the question\n asked (int):\n identifier of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login_student API.
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 login_student API.
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... | Log in student
POST parameters (JSON):
student:
profile id of the student | "Log in student\n\n POST parameters (JSON):\n student:\n profile id of the student" | 276 | false | adaptive-learning/proso-apps | login_student | 39,176 | |
LDU_FT/KimiNewt/pyshark/get_tshark_interfaces | LDU_FT | [
"<BEGIN>\n## `get_field`",
"Gets the XML field object of the given name.\n<END>",
"<BEGIN>\n## `get_field_value`",
"Tries getting the value of the given field.\n Tries it in the following order: show (standard nice display), value (raw value), showname (extended nice display).",
" :param name:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tshark_interfaces 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_tshark_interfaces API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns a list of interface numbers from the output tshark -D. Used
internally to capture on multiple interfaces. | "Returns a list of interface numbers from the output tshark -D. Used\n internally to capture on multiple interfaces." | 91 | false | KimiNewt/pyshark | get_tshark_interfaces | 39,177 | |
LDU_FT/salesking/salesking_python_sdk/remove_properties_containing_None | LDU_FT | [
"<BEGIN>\n## `get_model_class`",
"Generates the Model Class based on the klass \n loads automatically the corresponding json schema file form schemes folder\n :param klass: json schema filename\n :param use_request_api: if True autoinitializes request class if api is None\n :param api: the transportat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_properties_containing_None 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 remove_properties_containing_None API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | removes keys from a dict those values == None
json schema validation might fail if they are set and
the type or format of the property does not match | "removes keys from a dict those values == None\n json schema validation might fail if they are set and\n the type or format of the property does not match" | 69 | false | salesking/salesking_python_sdk | remove_properties_containing_None | 39,178 | |
LDU_FT/rdussurget/py-altimetry/get_spec | LDU_FT | [
"<BEGIN>\n## `bilinear_interpolation`",
"Interpolate (x,y) from values associated with four points.\r",
" The four points are a list of four triplets: (x, y, value).\r\n The four points can be in any order. They should form a rectangle.\r",
" >>> bilinear_interpolation(12, 5.5,\r\n ... ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_spec API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_spec API.
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_SPEC
:summary: Returns the spectrum of a regularly sampled dataset
:parameter dq: sampling interval (1D)
:parameter V: data to analyse (1D).
:note: NaN can not be used.
:return:
* psd: Power Spectral Density
* esd: Energy Spectral Density
* fq: ... | "GET_SPEC\r\n :summary: Returns the spectrum of a regularly sampled dataset\r\n \r\n :parameter dq: sampling interval (1D)\r\n :parameter V: data to analyse (1D).\r\n \r\n :note: NaN can not be used. \r\n \r\n :return:\r\n \r\n * psd: Power Spectral Density\r\n * esd: Energy Spectra... | 320 | false | rdussurget/py-altimetry | get_spec | 39,179 | |
LDU_FT/lwcook/horsetail-matching/evalMetric | LDU_FT | [
"<BEGIN>\n## `_extalg`",
"Given an array xarr of values, smoothly return the max/min\n<END>",
"<BEGIN>\n## `_extgrad`",
"Given an array xarr of values, return the gradient of the smooth min/max\n swith respect to each entry in the array\n<END>",
"<BEGIN>\n## `_matrix_integration`",
"Returns the dp metr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evalMetric API.
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 evalMetric API.
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... | Evaluates the weighted sum metric at given values of the
design variables.
:param iterable x: values of the design variables, this is passed as
the first argument to the function fqoi
:param float w1: value to weight the mean by
:param float w2: value to weight the std by
... | "Evaluates the weighted sum metric at given values of the\n design variables.\n\n :param iterable x: values of the design variables, this is passed as\n the first argument to the function fqoi\n\n :param float w1: value to weight the mean by\n\n :param float w2: value to weight th... | 90 | false | lwcook/horsetail-matching | evalMetric | 39,180 | |
LDU_FT/sys-git/certifiable/certify_date | LDU_FT | [
"<BEGIN>\n## `load_value_from_schema`",
"Load a value from a schema defined string.\n<END>",
"<BEGIN>\n## `parse_value`",
"Convert a string received on the command-line into\n a value or None.",
" :param str v:\n The value to parse.\n :param parser:\n The fallback callable to load the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the certify_date API.
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 certify_date API.
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... | Certifier for datetime.date values.
:param value:
The value to be certified.
:param bool required:
Whether the value can be `None` Defaults to True.
:raises CertifierTypeError:
The type is invalid | "Certifier for datetime.date values.\n\n :param value:\n The value to be certified.\n :param bool required:\n Whether the value can be `None` Defaults to True.\n :raises CertifierTypeError:\n The type is invalid" | 100 | false | sys-git/certifiable | certify_date | 39,181 | |
LDU_FT/ResidentMario/geoplot/_get_envelopes_centroid | LDU_FT | [
"<BEGIN>\n## `load`",
"A moderately mind-bendy meta-method which abstracts the internals of individual projections' load procedures.",
" Parameters\n ----------\n proj : geoplot.crs object instance\n A disguised reference to ``self``.\n df : GeoDataFrame\n The G... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_envelopes_centroid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_envelopes_centroid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Returns the centroid of an inputted geometry column. Not currently in use, as this is now handled by this
library's CRS wrapper directly. Light wrapper over ``_get_envelopes_min_maxes``.
Parameters
----------
envelopes : GeoSeries
The envelopes of the given geometries, as would be returned by e... | "Returns the centroid of an inputted geometry column. Not currently in use, as this is now handled by this\n library's CRS wrapper directly. Light wrapper over ``_get_envelopes_min_maxes``.\n\n Parameters\n ----------\n envelopes : GeoSeries\n The envelopes of the given geometries, as would be return... | 404 | false | ResidentMario/geoplot | _get_envelopes_centroid | 39,182 | |
LDU_FT/etingof/pyasn1/prettyPrint | LDU_FT | [
"<BEGIN>\n## `isSameTypeWith`",
"Examine |ASN.1| type for equality with other ASN.1 type.",
" ASN.1 tags (:py:mod:`~pyasn1.type.tag`) and constraints\n (:py:mod:`~pyasn1.type.constraint`) are examined when carrying\n out ASN.1 types comparison.",
" Python class inheritance relation... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prettyPrint API.
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 prettyPrint API.
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 an object representation string.
Returns
-------
: :class:`str`
Human-friendly object representation. | "Return an object representation string.\n\n Returns\n -------\n : :class:`str`\n Human-friendly object representation." | 239 | false | etingof/pyasn1 | prettyPrint | 39,183 | |
LDU_FT/sebp/scikit-survival/_compute_counts_truncated | LDU_FT | [
"<BEGIN>\n## `_fit_and_score`",
"Train survival model on given data and return its score on test data\n<END>",
"<BEGIN>\n## `fit`",
"Fit estimator.",
" Parameters\n ----------\n X : array-like, shape = (n_samples, n_features)\n Data matrix",
" y : structured array, s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_counts_truncated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compute_counts_truncated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Compute counts for left truncated and right censored survival data.
Parameters
----------
event : array
Boolean event indicator.
time_start : array
Time when a subject entered the study.
time_exit : array
Time when a subject left the study due to an
event or censor... | "Compute counts for left truncated and right censored survival data.\n\n Parameters\n ----------\n event : array\n Boolean event indicator.\n\n time_start : array\n Time when a subject entered the study.\n\n time_exit : array\n Time when a subject left the study due to an\n ev... | 432 | false | sebp/scikit-survival | _compute_counts_truncated | 39,184 | |
LDU_FT/deontologician/restnavigator/fix_scheme | LDU_FT | [
"<BEGIN>\n## `cache`",
"Stores a navigator in the identity map for the current\n api. Can take a link or a bare uri\n<END>",
"<BEGIN>\n## `get_cached`",
"Retrieves a cached navigator from the id_map.",
" Either a Link object or a bare uri string may be passed in.\n<END>",
"<BEGIN>\n## `is_ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fix_scheme API.
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 fix_scheme API.
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... | Prepends the http:// scheme if necessary to a url. Fails if a scheme
other than http is used | "Prepends the http:// scheme if necessary to a url. Fails if a scheme\n other than http is used" | 72 | false | deontologician/restnavigator | fix_scheme | 39,185 | |
LDU_FT/nicferrier/md/do_file | LDU_FT | [
"<BEGIN>\n## `_list`",
"Do structured list output.",
" Sorts the list by date, possibly reversed, filtered from 'since'.",
" The returned list is: foldername, message key, message object\n<END>",
"<BEGIN>\n## `ls`",
"Do standard text list of the folder to the stream.",
" 'foldername... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | ${cmd_name}: download the whole file of the message.
${cmd_usage} | "${cmd_name}: download the whole file of the message.\n \n ${cmd_usage}" | 135 | false | nicferrier/md | do_file | 39,186 | |
LDU_FT/PatrikValkovic/grammpy/replace | LDU_FT | [
"<BEGIN>\n## `reverse_cyk_transforms`",
"Reverse transformation made to grammar before CYK.\n Performs following steps:\n - transform from chomsky normal form\n - restore unit rules\n - restore epsilon rules\n :param root: Root node of the parsed tree.\n :return: Restored... | 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... | Replace element in the parsed tree. Can be nonterminal, terminal or rule.
:param oldEl: Element already in the tree.
:param newEl: Element to replace with.
:return: New element attached to the tree. | "Replace element in the parsed tree. Can be nonterminal, terminal or rule.\n :param oldEl: Element already in the tree.\n :param newEl: Element to replace with.\n :return: New element attached to the tree." | 126 | false | PatrikValkovic/grammpy | replace | 39,187 | |
LDU_FT/SiLab-Bonn/online_monitor/_setup_frontend | LDU_FT | [
"<BEGIN>\n## `parse_args`",
"Parse an argument string",
" http://stackoverflow.com/questions/18160078/\n how-do-you-write-tests-for-the-argparse-portion-of-a-python-module\n<END>",
"<BEGIN>\n## `_factory`",
"Load a module of a given base class type",
" Parameter\n --------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setup_frontend API.
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 _setup_frontend API.
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... | Receiver sockets facing clients (DAQ systems) | "Receiver sockets facing clients (DAQ systems)" | 21 | false | SiLab-Bonn/online_monitor | _setup_frontend | 39,188 | |
LDU_FT/SCIP-Interfaces/PySCIPOpt/make_data | LDU_FT | [
"<BEGIN>\n## `gpp`",
"gpp -- model for the graph partitioning problem\n Parameters:\n - V: set/list of nodes in the graph\n - E: set/list of edges in the graph\n Returns a model, ready to be solved.\n<END>",
"<BEGIN>\n## `gpp_soco`",
"gpp -- model for the graph partitioning problem in soco... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Data generator for the one machine scheduling problem. | "Data generator for the one machine scheduling problem." | 220 | false | SCIP-Interfaces/PySCIPOpt | make_data | 39,189 | |
LDU_FT/miso-belica/sumy/cached_property | 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 cached_property API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cached_property API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Decorator that converts a method into memoized property.
The decorator works as expected only for classes with
attribute '__dict__' and immutable properties. | "Decorator that converts a method into memoized property.\n The decorator works as expected only for classes with\n attribute '__dict__' and immutable properties." | 66 | false | miso-belica/sumy | cached_property | 39,190 | |
LDU_FT/meraki-analytics/datapipelines-python/get_many | LDU_FT | [
"<BEGIN>\n## `_transform`",
"Transform data to a new type.",
" Args:\n transformer_chain: A sequence of (transformer, type) pairs to convert the data.\n data: The data to be transformed.\n context: The context of the transformations (mutable).",
" Returns:\n The transformed d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_many API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_many API.
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... | Gets a query from the data pipeline, which contains a request for multiple objects.
1) Extracts the query the sequence of data sources.
2) Inserts the results into the data sinks (if appropriate).
3) Transforms the results into the requested type if it wasn't already.
4) Inserts the tra... | "Gets a query from the data pipeline, which contains a request for multiple objects.\n\n 1) Extracts the query the sequence of data sources.\n 2) Inserts the results into the data sinks (if appropriate).\n 3) Transforms the results into the requested type if it wasn't already.\n 4) Inserts t... | 54 | false | meraki-analytics/datapipelines-python | get_many | 39,191 | |
LDU_FT/benjamin-hodgson/asynqp/delete | LDU_FT | [
"<BEGIN>\n## `open_channel`",
"Open a new channel on this connection.",
" This method is a :ref:`coroutine <coroutine>`.",
" :return: The new :class:`Channel` object.\n<END>",
"<BEGIN>\n## `close`",
"Close the connection by handshaking with the server.",
" This method is a :ref:`cor... | 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 ... | Delete the queue.
This method is a :ref:`coroutine <coroutine>`.
:keyword bool if_unused: If true, the queue will only be deleted
if it has no consumers.
:keyword bool if_empty: If true, the queue will only be deleted if
it has no unacknowledged messages. | "Delete the queue.\n\n This method is a :ref:`coroutine <coroutine>`.\n\n :keyword bool if_unused: If true, the queue will only be deleted\n if it has no consumers.\n :keyword bool if_empty: If true, the queue will only be deleted if\n it has no unacknowledged messages." | 95 | false | benjamin-hodgson/asynqp | delete | 39,192 | |
LDU_FT/gc3-uzh-ch/elasticluster/_find_image_id | LDU_FT | [
"<BEGIN>\n## `to_vars_dict`",
"Return local state which is relevant for the cluster setup process.\n<END>",
"<BEGIN>\n## `_init_az_api`",
"Initialise client objects for talking to Azure API.",
" This is in a separate function so to be called by ``__init__``\n and ``__setstate__``.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_image_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_image_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Finds an image id to a given id or name.
:param str image_id: name or id of image
:return: str - identifier of image | "Finds an image id to a given id or name.\n\n :param str image_id: name or id of image\n :return: str - identifier of image" | 378 | false | gc3-uzh-ch/elasticluster | _find_image_id | 39,193 | |
LDU_FT/Geotab/mygeotab-python/server_call_async | LDU_FT | [
"<BEGIN>\n## `object_deserializer`",
"Helper to deserialize a raw result dict into a proper dict.",
" :param obj: The dict.\n<END>",
"<BEGIN>\n## `login`",
"Logs into a MyGeotab server and stores the returned credentials.",
" :param session: The current Session object.\n :param user: The username... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the server_call_async API.
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 server_call_async API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Makes an asynchronous call to an un-authenticated method on a server.
:param method: The method name.
:param server: The MyGeotab server.
:param loop: The event loop.
:param timeout: The timeout to make the call, in seconds. By default, this is 300 seconds (or 5 minutes).
:param verify_ssl: If True... | "Makes an asynchronous call to an un-authenticated method on a server.\n\n :param method: The method name.\n :param server: The MyGeotab server.\n :param loop: The event loop.\n :param timeout: The timeout to make the call, in seconds. By default, this is 300 seconds (or 5 minutes).\n :param verify_ssl: ... | 96 | false | Geotab/mygeotab-python | server_call_async | 39,194 | |
LDU_FT/yakupadakli/python-unsplash/get_auth_header | LDU_FT | [
"<BEGIN>\n## `all`",
"Get a single page from the list of all photos.",
" :param page [integer]: Page number to retrieve. (Optional; default: 1)\n :param per_page [integer]: Number of items per page. (Optional; default: 10)\n :param order_by [string]: How to sort the photos. Optional.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_auth_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_auth_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 e... | Getting the authorization header according to the authentication procedure
:return [dict]: Authorization header | "Getting the authorization header according to the authentication procedure\n\n :return [dict]: Authorization header" | 107 | false | yakupadakli/python-unsplash | get_auth_header | 39,195 | |
LDU_FT/idlesign/django-sitecats/get_parents_for | LDU_FT | [
"<BEGIN>\n## `get_category_lists`",
"Returns a list of CategoryList objects, associated with\n this model instance.",
" :param dict|None init_kwargs:\n :param list|None additional_parents_aliases:\n :rtype: list|CategoryRequestHandler\n :return:\n<END>",
"<BEGIN>\n## `enable... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parents_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parents_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 e... | Returns parent aliases for a list of child IDs.
:param list child_ids:
:rtype: set
:return: a set of parent aliases | "Returns parent aliases for a list of child IDs.\n\n :param list child_ids:\n :rtype: set\n :return: a set of parent aliases" | 73 | false | idlesign/django-sitecats | get_parents_for | 39,196 | |
LDU_FT/jelmer/python-fastimport/format_path | LDU_FT | [
"<BEGIN>\n## `check_path`",
"Check that a path is legal.",
" :return: the path if all is OK\n :raise ValueError: if the path is illegal\n<END>",
"<BEGIN>\n## `format_path`",
"Format a path in utf8, quoting it if necessary.\n<END>",
"<BEGIN>\n## `format_who_when`",
"Format a tuple of name,email,sec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Format a path in utf8, quoting it if necessary. | "Format a path in utf8, quoting it if necessary." | 100 | false | jelmer/python-fastimport | format_path | 39,197 | |
LDU_FT/danidee10/Staticfy/get_asset_location | LDU_FT | [
"<BEGIN>\n## `get_asset_location`",
"Get Asset Location.",
" Remove leading slash e.g '/static/images.jpg' ==> static/images.jpg\n Also, if the url is also prefixed with static, it would be removed.\n e.g static/image.jpg ==> image.jpg\n<END>",
"<BEGIN>\n## `transform`",
"The actual transformat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_asset_location API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_asset_location API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Get Asset Location.
Remove leading slash e.g '/static/images.jpg' ==> static/images.jpg
Also, if the url is also prefixed with static, it would be removed.
e.g static/image.jpg ==> image.jpg | "Get Asset Location.\n\n Remove leading slash e.g '/static/images.jpg' ==> static/images.jpg\n Also, if the url is also prefixed with static, it would be removed.\n e.g static/image.jpg ==> image.jpg" | 14 | false | danidee10/Staticfy | get_asset_location | 39,198 | |
LDU_FT/toastdriven/restless/serialize_detail | LDU_FT | [
"<BEGIN>\n## `skip_prepare`",
"A convenience decorator for indicating the raw data should not be prepared.\n<END>",
"<BEGIN>\n## `as_view`",
"Used for hooking up the all endpoints (including custom ones), this\n returns a wrapper function that creates a new instance of the resource\n class & cal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_detail API.
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 serialize_detail API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Given a single item (``object`` or ``dict``), serializes it.
:param data: The item to serialize
:type data: object or dict
:returns: The serialized body
:rtype: string | "Given a single item (``object`` or ``dict``), serializes it.\n\n :param data: The item to serialize\n :type data: object or dict\n\n :returns: The serialized body\n :rtype: string" | 94 | false | toastdriven/restless | serialize_detail | 39,199 | |
LDU_FT/Microsoft/azure-devops-python-api/get_policy_evaluations | LDU_FT | [
"<BEGIN>\n## `create_attachment`",
"CreateAttachment.\n Creates an attachment in the wiki.\n :param object upload_stream: Stream to upload\n :param str project: Project ID or project name\n :param str wiki_identifier: Wiki Id or name.\n :param str name: Wiki attachment name.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_policy_evaluations 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_policy_evaluations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | GetPolicyEvaluations.
[Preview API] Retrieves a list of all the policy evaluation statuses for a specific pull request.
:param str project: Project ID or project name
:param str artifact_id: A string which uniquely identifies the target of a policy evaluation.
:param bool include_not_app... | "GetPolicyEvaluations.\n [Preview API] Retrieves a list of all the policy evaluation statuses for a specific pull request.\n :param str project: Project ID or project name\n :param str artifact_id: A string which uniquely identifies the target of a policy evaluation.\n :param bool include_no... | 1,304 | true | Microsoft/azure-devops-python-api | get_policy_evaluations | 39,200 | |
LDU_FT/holtjma/msbwt/getCharAtIndex | LDU_FT | [
"<BEGIN>\n## `extendSeed`",
"This function is intended to be an interactive technique for constructing transcripts, probably to be released\n in a future version of msbwt\n @param bwtFN - the filename of the BWT to load\n @param seedKmer - the seed sequence to use for construction\n @p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getCharAtIndex API.
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 getCharAtIndex API.
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... | Used for searching, this function masks the complexity behind retrieving a specific character at a specific index
in our compressed BWT.
@param index - the index to retrieve the character from
@param return - return the character in our BWT that's at a particular index (integer format) | "Used for searching, this function masks the complexity behind retrieving a specific character at a specific index\n in our compressed BWT.\n @param index - the index to retrieve the character from\n @param return - return the character in our BWT that's at a particular index (integer format)" | 84 | false | holtjma/msbwt | getCharAtIndex | 39,201 | |
LDU_FT/joyent/python-manta/alias | LDU_FT | [
"<BEGIN>\n## `_request`",
"Make a Manta request",
" ...\n @returns (res, content)\n<END>",
"<BEGIN>\n## `put_directory`",
"PutDirectory\n https://apidocs.joyent.com/manta/api.html#PutDirectory",
" @param mdir {str} A manta path, e.g. '/trent/stor/mydir'.\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the alias API.
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 alias API.
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... | Decorator to add aliases for Cmdln.do_* command handlers.
Example:
class MyShell(cmdln.Cmdln):
@cmdln.alias("!", "sh")
def do_shell(self, argv):
#...implement 'shell' command | "Decorator to add aliases for Cmdln.do_* command handlers.\n\n Example:\n class MyShell(cmdln.Cmdln):\n @cmdln.alias(\"!\", \"sh\")\n def do_shell(self, argv):\n #...implement 'shell' command" | 203 | false | joyent/python-manta | alias | 39,202 | |
LDU_FT/samuraisam/django-json-rpc/send_payload | LDU_FT | [
"<BEGIN>\n## `_parse_sig`",
"Parses signatures into a ``OrderedDict`` of paramName => type.\n Numerically-indexed arguments that do not correspond to an argument\n name in python (ie: it takes a variable number of arguments) will be\n keyed as the stringified version of it's index.",
" sig ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_payload API.
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 send_payload API.
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... | Performs the actual sending action and returns the result | "Performs the actual sending action and returns the result" | 27 | false | samuraisam/django-json-rpc | send_payload | 39,203 | |
LDU_FT/asifpy/django-crudbuilder/get_factory_kwargs | LDU_FT | [
"<BEGIN>\n## `extract_args`",
"Takes any arguments like a model and crud, or just one of\n those, in any order, and return a model and crud.\n<END>",
"<BEGIN>\n## `register`",
"Register a crud.",
" Two unordered arguments are accepted, at least one should be passed:\n - a model,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_factory_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_factory_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns the keyword arguments for calling the formset factory | "Returns the keyword arguments for calling the formset factory" | 31 | false | asifpy/django-crudbuilder | get_factory_kwargs | 39,204 | |
LDU_FT/EpistasisLab/scikit-rebate/fit | LDU_FT | [
"<BEGIN>\n## `fit`",
"Scikit-learn required: Computes the feature importance scores from the training data.",
" Parameters\n ----------\n X: array-like {n_samples, n_features}\n Training instances to compute the feature importance scores from\n y: array-like {n_samples}\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
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 fit API.
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... | Scikit-learn required: Computes the feature importance scores from the training data.
Parameters
----------
X: array-like {n_samples, n_features}
Training instances to compute the feature importance scores from
y: array-like {n_samples}
Training labels
R... | "Scikit-learn required: Computes the feature importance scores from the training data.\n\n Parameters\n ----------\n X: array-like {n_samples, n_features}\n Training instances to compute the feature importance scores from\n y: array-like {n_samples}\n Training labels\n\... | 46 | false | EpistasisLab/scikit-rebate | fit | 39,205 | |
LDU_FT/timothycrosley/isort/_strip_top_comments | LDU_FT | [
"<BEGIN>\n## `iter_source_code`",
"Iterate over all Python source files defined in paths.\n<END>",
"<BEGIN>\n## `file_should_be_skipped`",
"Returns True if the file and/or folder should be skipped based on the passed in settings.\n<END>",
"<BEGIN>\n## `chdir`",
"Context manager for changing dir and restor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _strip_top_comments 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 _strip_top_comments 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... | Strips # comments that exist at the top of the given lines | "Strips # comments that exist at the top of the given lines" | 44 | false | timothycrosley/isort | _strip_top_comments | 39,206 | |
LDU_FT/letuananh/chirptext/write_csv | LDU_FT | [
"<BEGIN>\n## `download`",
"Download a file at $url and save it to $path\n<END>",
"<BEGIN>\n## `parse`",
"Use mecab-python3 by default to parse JP text. Fall back to mecab binary app if needed\n<END>",
"<BEGIN>\n## `flex_update_obj`",
"Pull data from source to target.\n Target's __dict__ (object data) w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_csv API.
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 write_csv API.
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... | Write rows data to a CSV file (with or without fieldnames) | "Write rows data to a CSV file (with or without fieldnames)" | 80 | false | letuananh/chirptext | write_csv | 39,207 | |
LDU_FT/trevisanj/a99/new_filename | LDU_FT | [
"<BEGIN>\n## `make_code_readable`",
"Add newlines at strategic places in code string for printing.\r",
" Args:\r\n s: str, piece of code. If not str, will attempt to convert to str.\r",
" Returns:\r\n str\n<END>",
"<BEGIN>\n## `chunk_string`",
"Splits a string into fixed-length chunks.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new_filename API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | returns a file name that does not exist yet, e.g. prefix.0001.extension
Args:
prefix:
extension: examples: "dat", ".dat" (leading dot will be detected, does not repeat dot in name)
flag_minimal:
- True: will try to be as "clean" as possible
- False: will generat... | "returns a file name that does not exist yet, e.g. prefix.0001.extension\r\n\r\n Args:\r\n prefix:\r\n extension: examples: \"dat\", \".dat\" (leading dot will be detected, does not repeat dot in name)\r\n flag_minimal:\r\n\r\n - True: will try to be as \"clean\" as possible\r\n ... | 301 | false | trevisanj/a99 | new_filename | 39,208 | |
LDU_FT/kragniz/python-etcd3/watch_prefix_once | LDU_FT | [
"<BEGIN>\n## `new_event`",
"Wrap a raw gRPC event in a friendlier containing class.",
" This picks the appropriate class from one of PutEvent or DeleteEvent and\n returns a new instance.\n<END>",
"<BEGIN>\n## `acquire`",
"Acquire the lock.",
" :params timeout: Maximum time to wait before retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watch_prefix_once API.
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 watch_prefix_once API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Watches a range of keys with a prefix and stops after the first event.
If the timeout was specified and event didn't arrived method
will raise ``WatchTimedOut`` exception. | "Watches a range of keys with a prefix and stops after the first event.\n\n If the timeout was specified and event didn't arrived method\n will raise ``WatchTimedOut`` exception." | 113 | false | kragniz/python-etcd3 | watch_prefix_once | 39,209 | |
LDU_FT/esheldon/fitsio/read_header | LDU_FT | [
"<BEGIN>\n## `is_little_endian`",
"Return True if array is little endian, False otherwise.",
" Parameters\n ----------\n array: numpy array\n A numerical python array.",
" Returns\n -------\n Truth value:\n True for little-endian",
" Notes\n -----\n Strings are neith... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_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 extra... | Convenience function to read the header from the specified FITS HDU
The FITSHDR allows access to the values and comments by name and
number.
parameters
----------
filename: string
A filename.
ext: number or string, optional
The extension. Either the numerical extension from ze... | "Convenience function to read the header from the specified FITS HDU\n\n The FITSHDR allows access to the values and comments by name and\n number.\n\n parameters\n ----------\n filename: string\n A filename.\n ext: number or string, optional\n The extension. Either the numerical extens... | 294 | false | esheldon/fitsio | read_header | 39,210 | |
LDU_FT/scarface-4711/denonavr/construct_sm_match_dict | LDU_FT | [
"<BEGIN>\n## `exec_appcommand_post`",
"Prepare and execute a HTTP POST call to AppCommand.xml end point.",
" Returns XML ElementTree on success and None on fail.\n<END>",
"<BEGIN>\n## `get_status_xml`",
"Get status XML via HTTP and return it as XML ElementTree.\n<END>",
"<BEGIN>\n## `create_zones`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_sm_match_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_sm_match_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... | Construct the sm_match_dict.
Reverse the key value structure. The sm_match_dict is bigger,
but allows for direct matching using a dictionary key access.
The sound_mode_dict is uses externally to set this dictionary
because that has a nicer syntax. | "Construct the sm_match_dict.\n\n Reverse the key value structure. The sm_match_dict is bigger,\n but allows for direct matching using a dictionary key access.\n The sound_mode_dict is uses externally to set this dictionary\n because that has a nicer syntax." | 85 | false | scarface-4711/denonavr | construct_sm_match_dict | 39,211 | |
LDU_FT/BetterWorks/django-anonymizer/similar_datetime | LDU_FT | [
"<BEGIN>\n## `varchar`",
"Returns a chunk of text, of maximum length 'max_length'\n<END>",
"<BEGIN>\n## `simple_pattern`",
"Use a simple pattern to make the field - # is replaced with a random number,\n ? with a random letter.\n<END>",
"<BEGIN>\n## `datetime`",
"Returns a random datetime. If 'val' ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the similar_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 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the similar_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 ... | Returns a datetime that is within plus/minus two years of the original datetime | "Returns a datetime that is within plus/minus two years of the original datetime" | 57 | false | BetterWorks/django-anonymizer | similar_datetime | 39,212 | |
LDU_FT/ryanjdillon/pyotelem/roundup | LDU_FT | [
"<BEGIN>\n## `plot_lf_hf`",
"Plot original signal, low-pass filtered, and high-pass filtered signals",
" Args\n ----\n x: ndarray\n Signal data array\n xlf: ndarray\n Low-pass filtered signal\n xhf: ndarray\n High-pass filtered signal\n title: str\n Main title of pl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the roundup API.
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 roundup API.
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... | Round a number to the passed order
Args
----
x: float
Number to be rounded
order: int
Order to which `x` should be rounded
Returns
-------
x_round: float
The passed value rounded to the passed order | "Round a number to the passed order\n\n Args\n ----\n x: float\n Number to be rounded\n order: int\n Order to which `x` should be rounded\n\n Returns\n -------\n x_round: float\n The passed value rounded to the passed order" | 268 | false | ryanjdillon/pyotelem | roundup | 39,213 | |
LDU_FT/HPAC/matchpy/_internal_add | LDU_FT | [
"<BEGIN>\n## `substitute`",
"Replaces variables in the given *expression* using the given *substitution*.",
" >>> print(substitute(f(x_), {'x': a}))\n f(a)",
" If nothing was substituted, the original expression is returned:",
" >>> expression = f(x_)\n >>> result = substitute(expression, {'y... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _internal_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _internal_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 ext... | Add a new pattern to the matcher.
Equivalent patterns are not added again. However, patterns that are structurally equivalent,
but have different constraints or different variable names are distinguished by the matcher.
Args:
pattern: The pattern to add.
Returns:
... | "Add a new pattern to the matcher.\n\n Equivalent patterns are not added again. However, patterns that are structurally equivalent,\n but have different constraints or different variable names are distinguished by the matcher.\n\n Args:\n pattern: The pattern to add.\n\n Returns:\... | 324 | false | HPAC/matchpy | _internal_add | 39,214 | |
LDU_FT/pydata/xarray/to_pandas | 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 to_pandas API.
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 to_pandas API.
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... | Convert this array into a pandas object with the same shape.
The type of the returned object depends on the number of DataArray
dimensions:
* 1D -> `pandas.Series`
* 2D -> `pandas.DataFrame`
* 3D -> `pandas.Panel`
Only works for arrays with 3 or fewer dimensions.
... | "Convert this array into a pandas object with the same shape.\n\n The type of the returned object depends on the number of DataArray\n dimensions:\n\n * 1D -> `pandas.Series`\n * 2D -> `pandas.DataFrame`\n * 3D -> `pandas.Panel`\n\n Only works for arrays with 3 or fewer dimensi... | 2,080 | true | pydata/xarray | to_pandas | 39,215 | |
LDU_FT/snowblink14/smatch/build_arg_parser2 | LDU_FT | [
"<BEGIN>\n## `build_arg_parser`",
"Build an argument parser using argparse. Use it when python version is 2.7 or later.\n<END>",
"<BEGIN>\n## `build_arg_parser2`",
"Build an argument parser using optparse. Use it when python version is 2.5 or 2.6.\n<END>",
"<BEGIN>\n## `get_best_match`",
"Get the highest ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_arg_parser2 API.
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 build_arg_parser2 API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Build an argument parser using optparse. Use it when python version is 2.5 or 2.6. | "Build an argument parser using optparse. Use it when python version is 2.5 or 2.6." | 54 | false | snowblink14/smatch | build_arg_parser2 | 39,216 | |
LDU_FT/TAPPGuild/sqlalchemy-models/load_commodities | LDU_FT | [
"<BEGIN>\n## `load_commodities`",
"Load the commodities for Amounts in this object.\n<END>",
"<BEGIN>\n## `load_commodities`",
"Load the commodities for Amounts in this object.\n<END>",
"<BEGIN>\n## `load_commodities`",
"Load the commodities for Amounts in this object.\n<END>",
"<BEGIN>\n## `create_user... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_commodities API.
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_commodities API.
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 commodities for Amounts in this object. | "Load the commodities for Amounts in this object." | 30 | false | TAPPGuild/sqlalchemy-models | load_commodities | 39,217 | |
LDU_FT/ivankorobkov/python-inject/configure_once | LDU_FT | [
"<BEGIN>\n## `configure`",
"Create an injector with a callable config or raise an exception when already configured.\n<END>",
"<BEGIN>\n## `configure_once`",
"Create an injector with a callable config if not present, otherwise, do nothing.\n<END>",
"<BEGIN>\n## `clear_and_configure`",
"Clear an existing i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_once API.
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 configure_once API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Create an injector with a callable config if not present, otherwise, do nothing. | "Create an injector with a callable config if not present, otherwise, do nothing." | 17 | false | ivankorobkov/python-inject | configure_once | 39,218 | |
LDU_FT/amaas-fintech/amaas-utils-python/dict_snake_to_camel_case | LDU_FT | [
"<BEGIN>\n## `random_string`",
"Generates a random string of length equal to the length parameter\n<END>",
"<BEGIN>\n## `random_date`",
"Generates a random \"sensible\" date for use in things like issue dates and maturities\n<END>",
"<BEGIN>\n## `dict_camel_to_snake_case`",
"Recursively convert camelCased... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_snake_to_camel_case 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 dict_snake_to_camel_case API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Recursively convert a snake_cased dict into a camelCased dict
:param snake_dict: Dictionary to convert
:param convert_keys: Whether the key should be converted
:param convert_subkeys: Whether to also convert the subkeys, in case they are named properties of the dict
:return: | "Recursively convert a snake_cased dict into a camelCased dict\n\n :param snake_dict: Dictionary to convert\n :param convert_keys: Whether the key should be converted\n :param convert_subkeys: Whether to also convert the subkeys, in case they are named properties of the dict\n :return:" | 12 | false | amaas-fintech/amaas-utils-python | dict_snake_to_camel_case | 39,219 | |
LDU_FT/SFDO-Tooling/CumulusCI/zip_tokenize_namespace | LDU_FT | [
"<BEGIN>\n## `_download_file`",
"Download the bulk API result file for a single batch\n<END>",
"<BEGIN>\n## `_create_job`",
"Initiate a bulk insert and upload batches to run in parallel.\n<END>",
"<BEGIN>\n## `_query_db`",
"Build a query to retrieve data from the local db.",
" Includes columns fr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zip_tokenize_namespace 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 zip_tokenize_namespace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Given a namespace, replaces 'namespace__' with %%%NAMESPACE%%% for all
files and ___NAMESPACE___ in all filenames in the zip | "Given a namespace, replaces 'namespace__' with %%%NAMESPACE%%% for all\n files and ___NAMESPACE___ in all filenames in the zip" | 165 | false | SFDO-Tooling/CumulusCI | zip_tokenize_namespace | 39,220 | |
LDU_FT/cga-harvard/Hypermap-Registry/get_sanitized_endpoint | LDU_FT | [
"<BEGIN>\n## `update_schema`",
"set the mapping in solr.\n :param catalog: core\n :return:\n<END>",
"<BEGIN>\n## `create_layer_from_metadata_xml`",
"Create a layer / keyword list from a metadata record if it does not already exist.\n<END>",
"<BEGIN>\n## `create_service_from_endpoint`",
"Crea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sanitized_endpoint 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_sanitized_endpoint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Sanitize an endpoint, as removing unneeded parameters | "Sanitize an endpoint, as removing unneeded parameters" | 132 | false | cga-harvard/Hypermap-Registry | get_sanitized_endpoint | 39,221 | |
LDU_FT/PySimpleGUI/PySimpleGUI/convert_tkinter_size_to_Wx | LDU_FT | [
"<BEGIN>\n## `read_mail`",
"Reads late emails from IMAP server and displays them in the Window\n :param window: window to display emails in\n :return:\n<END>",
"<BEGIN>\n## `runCommand`",
"run shell command",
"\t@param cmd: command to execute\n\t@param timeout: timeout for command execution",
"\t@re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_tkinter_size_to_Wx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_tkinter_size_to_Wx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Converts size in characters to size in pixels
:param size: size in characters, rows
:return: size in pixels, pixels | "Converts size in characters to size in pixels\n :param size: size in characters, rows\n :return: size in pixels, pixels" | 110 | false | PySimpleGUI/PySimpleGUI | convert_tkinter_size_to_Wx | 39,222 | |
LDU_FT/NORDUnet/python-norduniclient/_create_relationship | LDU_FT | [
"<BEGIN>\n## `get_db_driver`",
":param uri: Bolt uri\n :type uri: str\n :param username: Neo4j username\n :type username: str\n :param password: Neo4j password\n :type password: str\n :param encrypted: Use TLS\n :type encrypted: Boolean\n :param max_pool_size: Maximum number of idle sessio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_relationship API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_relationship API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | :param manager: Context manager to handle transactions
:param handle_id: Node handle id
:param other_handle_id: Other node handle id
:param rel_type: Relationship type
:param legacy: Backwards compatibility
:type manager: Neo4jDBSessionManager
:type handle_id: str|unicode
:type other_handle... | ":param manager: Context manager to handle transactions\n :param handle_id: Node handle id\n :param other_handle_id: Other node handle id\n :param rel_type: Relationship type\n :param legacy: Backwards compatibility\n\n :type manager: Neo4jDBSessionManager\n :type handle_id: str|unicode\n :type oth... | 71 | false | NORDUnet/python-norduniclient | _create_relationship | 39,223 | |
LDU_FT/KnorrFG/pyparadigm/Cross | LDU_FT | [
"<BEGIN>\n## `_normalize`",
"rescales a numpy array, so that min is 0 and max is 255\n<END>",
"<BEGIN>\n## `to_24bit_gray`",
"returns a matrix that contains RGB channels, and colors scaled\n from 0 to 255\n<END>",
"<BEGIN>\n## `apply_color_map`",
"returns an RGB matrix scaled by a matplotlib color map\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Cross API.
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 Cross API.
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... | Draws a cross centered in the target area
:param width: width of the lines of the cross in pixels
:type width: int
:param color: color of the lines of the cross
:type color: pygame.Color | "Draws a cross centered in the target area\n\n :param width: width of the lines of the cross in pixels\n :type width: int\n :param color: color of the lines of the cross\n :type color: pygame.Color" | 86 | false | KnorrFG/pyparadigm | Cross | 39,224 | |
LDU_FT/jeffh/pyconstraints/combinations | LDU_FT | [
"<BEGIN>\n## `extract_values`",
"Returns a tuple of the values that pertain to this constraint.",
" It simply filters all values to by the variables this constraint uses.\n<END>",
"<BEGIN>\n## `keys`",
"Returns all the keys this object can return proper values for.\n<END>",
"<BEGIN>\n## `values`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the combinations API.
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 combinations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns a generator of all possible combinations. | "Returns a generator of all possible combinations." | 30 | false | jeffh/pyconstraints | combinations | 39,225 | |
LDU_FT/jacobtomlinson/datapoint-python/_distance_between_coords | LDU_FT | [
"<BEGIN>\n## `connection`",
"Connect to DataPoint with the given API key profile name.\n<END>",
"<BEGIN>\n## `elements`",
"Return a list of the elements which are not None\n<END>",
"<BEGIN>\n## `__retry_session`",
"Retry the connection using requests if it fails. Use this as a wrapper\n to request ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _distance_between_coords 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 _distance_between_coords API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Calculate the great circle distance between two points
on the earth (specified in decimal degrees).
Haversine formula states that:
d = 2 * r * arcsin(sqrt(sin^2((lat1 - lat2) / 2 +
cos(lat1)cos(lat2)sin^2((lon1 - lon2) / 2))))
where r is the radius of the sphere. This assumes t... | "Calculate the great circle distance between two points\n on the earth (specified in decimal degrees).\n Haversine formula states that:\n\n d = 2 * r * arcsin(sqrt(sin^2((lat1 - lat2) / 2 +\n cos(lat1)cos(lat2)sin^2((lon1 - lon2) / 2))))\n\n where r is the radius of the sphere. This a... | 39 | false | jacobtomlinson/datapoint-python | _distance_between_coords | 39,226 | |
LDU_FT/proteanhq/protean/get_backend_expiry | LDU_FT | [
"<BEGIN>\n## `from_dict`",
"Initialize a ListRequestObject object from a dictionary.\n<END>",
"<BEGIN>\n## `_cast_to_type`",
"Convert the value to its string representation\n<END>",
"<BEGIN>\n## `_cast_to_type`",
"Convert the value to an int and raise error on failures\n<END>",
"<BEGIN>\n## `_cast_to_ty... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backend_expiry API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_backend_expiry 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 expiry value usable by this backend based upon the provided
timeout. | "Return the expiry value usable by this backend based upon the provided\n timeout." | 214 | false | proteanhq/protean | get_backend_expiry | 39,227 | |
LDU_FT/rameshg87/pyremotevbox/close | LDU_FT | [
"<BEGIN>\n## `_check_typecode_list`",
"Check a list of typecodes for compliance with Struct\n requirements.\n<END>",
"<BEGIN>\n## `_get_type_or_substitute`",
"return typecode or substitute type for wildcard or\n derived type. For serialization only.\n<END>",
"<BEGIN>\n## `setDerivedTypeContents`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Invoke all the callbacks, and close off the SOAP message. | "Invoke all the callbacks, and close off the SOAP message." | 529 | false | rameshg87/pyremotevbox | close | 39,228 | |
LDU_FT/paperhive/ansible-ec2-inventory/add_elasticache_replication_group | LDU_FT | [
"<BEGIN>\n## `is_cache_valid`",
"Determines if the cache files have expired, or if it is still\n valid\n<END>",
"<BEGIN>\n## `read_settings`",
"Reads the settings from the ec2.ini file\n<END>",
"<BEGIN>\n## `do_api_calls_update_cache`",
"Do API calls to each region, and save data in cache files\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_elasticache_replication_group 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 add_elasticache_replication_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ... | Adds an ElastiCache replication group to the inventory and index | "Adds an ElastiCache replication group to the inventory and index" | 46 | false | paperhive/ansible-ec2-inventory | add_elasticache_replication_group | 39,229 | |
LDU_FT/dfm/casjobs/quick | LDU_FT | [
"<BEGIN>\n## `_send_request`",
"Construct and submit a structured/authenticated request.",
" ## Arguments",
" * `job_type` (str): The job type identifier to use.",
" ## Keyword Arguments",
" * `params` (dict): Any additional entries to include in the POST\n request.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quick API.
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 quick API.
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... | Run a quick job.
## Arguments
* `q` (str): The SQL query.
## Keyword Arguments
* `context` (str): Casjobs context used for this query.
* `task_name` (str): The task name.
* `system` (bool) : Whether or not to run this job as a system job (not
visible in the ... | "Run a quick job.\n\n ## Arguments\n\n * `q` (str): The SQL query.\n\n ## Keyword Arguments\n\n * `context` (str): Casjobs context used for this query.\n * `task_name` (str): The task name.\n * `system` (bool) : Whether or not to run this job as a system job (not\n vis... | 71 | false | dfm/casjobs | quick | 39,230 | |
LDU_FT/casacore/python-casacore/put | LDU_FT | [
"<BEGIN>\n## `fitter`",
"Create a sub-fitter.",
" The created sub-fitter can be used in the same way as a fitter\n default fitter. This function returns an identification, which has to\n be used in the `fid` argument of subsequent calls. The call can\n specify the standard constructo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Put image data and mask.
Put the image data and optionally the mask (see ::func:`getdata`
and :func:`getmask`).
If the `value` argument is a numpy masked array, but data and mask will
bw written. If it is a normal numpy array, only the data will be
written. | "Put image data and mask.\n\n Put the image data and optionally the mask (see ::func:`getdata`\n and :func:`getmask`).\n If the `value` argument is a numpy masked array, but data and mask will\n bw written. If it is a normal numpy array, only the data will be\n written." | 618 | false | casacore/python-casacore | put | 39,231 | |
LDU_FT/delfick/harpoon/make_pushable | LDU_FT | [
"<BEGIN>\n## `a_temp_file`",
"Yield the name of a temporary file and ensure it's removed after use\n<END>",
"<BEGIN>\n## `run_container`",
"Run this image and all dependency images\n<END>",
"<BEGIN>\n## `run_deps`",
"Start containers for all our dependencies\n<END>",
"<BEGIN>\n## `stop_deps`",
"Stop t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_pushable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_pushable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Make only the pushable images and their dependencies | "Make only the pushable images and their dependencies" | 149 | false | delfick/harpoon | make_pushable | 39,232 | |
LDU_FT/mikeboers/sitetools/add_site_list | LDU_FT | [
"<BEGIN>\n## `_process_pth`",
"Process a ``.pth`` file similar to site.addpackage(...).\n<END>",
"<BEGIN>\n## `add_site_list`",
"Add a list of pseudo site-packages to :data:`python:sys.path`.",
" This centers the list on ``sys.path`` around the current environment.\n I.e. if this environment is in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_site_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_site_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Add a list of pseudo site-packages to :data:`python:sys.path`.
This centers the list on ``sys.path`` around the current environment.
I.e. if this environment is in the list, then directories before it in the
list will be prepended to ``sys.path``, and directories after it will
be appended to ``sys.path... | "Add a list of pseudo site-packages to :data:`python:sys.path`.\n\n This centers the list on ``sys.path`` around the current environment.\n I.e. if this environment is in the list, then directories before it in the\n list will be prepended to ``sys.path``, and directories after it will\n be appended to ``sy... | 43 | false | mikeboers/sitetools | add_site_list | 39,233 | |
LDU_FT/deontologician/restnavigator/parse_media_type | LDU_FT | [
"<BEGIN>\n## `cache`",
"Stores a navigator in the identity map for the current\n api. Can take a link or a bare uri\n<END>",
"<BEGIN>\n## `get_cached`",
"Retrieves a cached navigator from the id_map.",
" Either a Link object or a bare uri string may be passed in.\n<END>",
"<BEGIN>\n## `is_ca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_media_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_media_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 ... | Returns type, subtype, parameter tuple from an http media_type.
Can be applied to the 'Accept' or 'Content-Type' http header fields. | "Returns type, subtype, parameter tuple from an http media_type.\n Can be applied to the 'Accept' or 'Content-Type' http header fields." | 72 | false | deontologician/restnavigator | parse_media_type | 39,234 | |
LDU_FT/jopohl/urh/round_plateau_lengths | LDU_FT | [
"<BEGIN>\n## `bootstrap_modulator`",
"Set initial parameters for default modulator if it was not edited by user previously\n :return:\n<END>",
"<BEGIN>\n## `modulate_data`",
":param buffer: Buffer in which the modulated data shall be written, initialized with zeros\n :return:\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the round_plateau_lengths 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 round_plateau_lengths API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Round plateau lengths to next divisible number of digit count e.g. 99 -> 100, 293 -> 300
:param plateau_lengths:
:return: | "Round plateau lengths to next divisible number of digit count e.g. 99 -> 100, 293 -> 300\n\n :param plateau_lengths:\n :return:" | 149 | false | jopohl/urh | round_plateau_lengths | 39,235 | |
LDU_FT/d0c-s4vage/pfp/_pfp__parse | LDU_FT | [
"<BEGIN>\n## `instantiate`",
"Create a ParamList instance for actual interpretation",
" :args: TODO\n :returns: A ParamList object\n<END>",
"<BEGIN>\n## `int3`",
"Define the ``Int3()`` function in the interpreter. Calling\n ``Int3()`` will drop the user into an interactive debugger.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pfp__parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pfp__parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Read from the stream until the string is null-terminated
:stream: The input stream
:returns: None | "Read from the stream until the string is null-terminated\n\n :stream: The input stream\n :returns: None" | 383 | false | d0c-s4vage/pfp | _pfp__parse | 39,236 | |
LDU_FT/DMSC-Instrument-Data/lewis/_get_callable | LDU_FT | [
"<BEGIN>\n## `get_submodules`",
"This function imports all sub-modules of the supplied module and returns a dictionary\n with module names as keys and the sub-module objects as values. If the supplied parameter\n is not a module object, a RuntimeError is raised.",
" :param module: Module object from wh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_callable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_callable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | If func is already a callable, it is returned directly. If it's a string, it is assumed
to be a method on one of the objects supplied in targets and that is returned. If no
method with the specified name is found, an AttributeError is raised.
:param func: Callable or name of method on one objec... | "If func is already a callable, it is returned directly. If it's a string, it is assumed\n to be a method on one of the objects supplied in targets and that is returned. If no\n method with the specified name is found, an AttributeError is raised.\n\n :param func: Callable or name of method on one ... | 198 | false | DMSC-Instrument-Data/lewis | _get_callable | 39,237 | |
LDU_FT/olsoneric/pedemath/lerp_quat | LDU_FT | [
"<BEGIN>\n## `add_v3`",
"Return a new Vec3 containing the sum of our x, y, z, and arg.",
" If argument is a float or vec, addt it to our x, y, and z.\n Otherwise, treat it as a Vec3 and add arg.x, arg.y, and arg.z from\n our own x, y, and z.\n<END>",
"<BEGIN>\n## `translate_v3`",
"Return a new Vec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lerp_quat API.
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 lerp_quat API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Return linear interpolation of two quaternions. | "Return linear interpolation of two quaternions." | 74 | false | olsoneric/pedemath | lerp_quat | 39,238 | |
LDU_FT/pyGrowler/Growler/_find_routeable_attributes | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new prototype object with the argument as the source\n prototype.",
" .. Note:",
" This does not `initialize` the newly created object any\n more than setting its prototype.\n Calling the __init__ method is usually unnecessary as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_routeable_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_routeable_attributes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | From the set of provided `keys`, this function yields the attributes
of `obj` that fulfill the requirements of 'routeable':
* callable
* matched by ROUTABLE_NAME_REGEX
* has docstring | "From the set of provided `keys`, this function yields the attributes\n of `obj` that fulfill the requirements of 'routeable':\n * callable\n * matched by ROUTABLE_NAME_REGEX\n * has docstring" | 203 | false | pyGrowler/Growler | _find_routeable_attributes | 39,239 | |
LDU_FT/jmurty/xml4h/attributes | LDU_FT | [
"<BEGIN>\n## `ignore_whitespace_text_nodes`",
"Find and delete any text nodes containing nothing but whitespace in\n in the given node and its descendents.",
" This is useful for cleaning up excess low-value text nodes in a\n document DOM after parsing a pretty-printed XML document.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attributes API.
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 attributes API.
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 or set this element's attributes as name/value pairs.
.. note::
Setting element attributes via this accessor will **remove**
any existing attributes, as opposed to the :meth:`set_attributes`
method which only updates and replaces them. | "Get or set this element's attributes as name/value pairs.\n\n .. note::\n Setting element attributes via this accessor will **remove**\n any existing attributes, as opposed to the :meth:`set_attributes`\n method which only updates and replaces them." | 155 | false | jmurty/xml4h | attributes | 39,240 | |
LDU_FT/glitchassassin/lackey/similar | LDU_FT | [
"<BEGIN>\n## `_check_count`",
"Private function to return ctypes errors cleanly\n<END>",
"<BEGIN>\n## `getScreenBounds`",
"Returns the screen size of the specified monitor (0 being the main monitor).\n<END>",
"<BEGIN>\n## `getScreenDetails`",
"Return list of attached monitors",
" For each monitor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the similar API.
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 similar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns a new Pattern with the specified similarity threshold | "Returns a new Pattern with the specified similarity threshold" | 378 | false | glitchassassin/lackey | similar | 39,241 | |
LDU_FT/productml/blurr/_load_blocks | LDU_FT | [
"<BEGIN>\n## `run_evaluate`",
"Overrides the base evaluation to set the value to the evaluation result of the value\n expression in the schema\n<END>",
"<BEGIN>\n## `set`",
"Sets the value of a key to a supplied value\n<END>",
"<BEGIN>\n## `increment`",
"Increments the value set against a key. If ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_blocks API.
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 _load_blocks API.
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... | Converts [(Key, block)] to [BlockAggregate]
:param blocks: List of (Key, block) blocks.
:return: List of BlockAggregate | "Converts [(Key, block)] to [BlockAggregate]\n :param blocks: List of (Key, block) blocks.\n :return: List of BlockAggregate" | 119 | false | productml/blurr | _load_blocks | 39,242 | |
LDU_FT/inveniosoftware-attic/invenio-knowledge/query_get_kb_by_type | LDU_FT | [
"<BEGIN>\n## `load`",
"Load given file into knowledge base.",
" Simply load data into an existing knowledge base:",
" .. code-block:: console",
" $ inveniomanage knowledge load mykb /path/to/file.kb",
" The file is expected to have a mapping with values: ``foo<seperator>bar``\n (per lin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_get_kb_by_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_get_kb_by_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.
... | Return a query to filter kb by type.
:param kbtype: type to filter (e.g: taxonomy)
:return: query to filter kb | "Return a query to filter kb by type.\n\n :param kbtype: type to filter (e.g: taxonomy)\n :return: query to filter kb" | 111 | false | inveniosoftware-attic/invenio-knowledge | query_get_kb_by_type | 39,243 | |
LDU_FT/hydroshare/hs_restclient/flag | LDU_FT | [
"<BEGIN>\n## `custom`",
":param payload:\r\n a key/value object containing the scimeta you want to store\r\n e.g. {\"weather\": \"sunny\", \"temperature\": \"80C\" }\r\n :return:\r\n empty (200 status code)\n<END>",
"<BEGIN>\n## `get`",
":param payload:\r\n a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flag API.
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 flag API.
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... | Set a single flag on a resource.
:param payload:
t: can be one of make_public, make_private, make_shareable,
make_not_shareable, make_discoverable, make_not_discoverable
:return:
empty but with 202 status_code | "Set a single flag on a resource.\r\n\r\n :param payload:\r\n t: can be one of make_public, make_private, make_shareable,\r\n make_not_shareable, make_discoverable, make_not_discoverable\r\n :return:\r\n empty but with 202 status_code" | 95 | false | hydroshare/hs_restclient | flag | 39,244 | |
LDU_FT/h2non/paco/timeout | LDU_FT | [
"<BEGIN>\n## `observe`",
"Arguments:\n event (str): event to subscribe.\n fn (function|coroutinefunction): function to trigger.",
" Raises:\n TypeError: if fn argument is not valid\n<END>",
"<BEGIN>\n## `remove`",
"Remove all the registered observers for the given eve... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timeout API.
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 timeout API.
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... | Wraps a given coroutine function, that when executed, if it takes more
than the given timeout in seconds to execute, it will be canceled and
raise an `asyncio.TimeoutError`.
This function is equivalent to Python standard
`asyncio.wait_for()` function.
This function can be used as decorator.
A... | "Wraps a given coroutine function, that when executed, if it takes more\n than the given timeout in seconds to execute, it will be canceled and\n raise an `asyncio.TimeoutError`.\n\n This function is equivalent to Python standard\n `asyncio.wait_for()` function.\n\n This function can be used as decorator... | 394 | false | h2non/paco | timeout | 39,245 | |
LDU_FT/google/textfsm/ParseTextToDicts | LDU_FT | [
"<BEGIN>\n## `_SetValues`",
"Set values from supplied dictionary or list.",
" Args:\n values: A Row, dict indexed by column name, or list.",
" Raises:\n TypeError: Argument is not a list or dict, or list is not equal row\n length or dictionary keys don't match.\n<END>",
"<BEGIN>\n## `Fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ParseTextToDicts API.
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 ParseTextToDicts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Calls ParseText and turns the result into list of dicts.
List items are dicts of rows, dict key is column header and value is column
value.
Args:
text: (str), Text to parse with embedded newlines.
eof: (boolean), Set to False if we are parsing only part of the file.
Suppresses trig... | "Calls ParseText and turns the result into list of dicts.\n\n List items are dicts of rows, dict key is column header and value is column\n value.\n\n Args:\n text: (str), Text to parse with embedded newlines.\n eof: (boolean), Set to False if we are parsing only part of the file.\n Suppre... | 149 | false | google/textfsm | ParseTextToDicts | 39,246 | |
LDU_FT/pysal/giddy/fmpt | LDU_FT | [
"<BEGIN>\n## `is_component`",
"Check if the set of ids form a single connected component",
" Parameters\n ----------",
" w : spatial weights boject",
" ids : list\n identifiers of units that are tested to be a single connected\n component",
" Returns\n -------",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fmpt API.
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 fmpt API.
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... | Calculates the matrix of first mean passage times for an ergodic transition
probability matrix.
Parameters
----------
P : array
(k, k), an ergodic Markov transition probability matrix.
Returns
-------
M : array
(k, k), elements are the expected value for the num... | "Calculates the matrix of first mean passage times for an ergodic transition\n probability matrix.\n\n Parameters\n ----------\n P : array\n (k, k), an ergodic Markov transition probability matrix.\n\n Returns\n -------\n M : array\n (k, k), elements are the expected value... | 132 | false | pysal/giddy | fmpt | 39,247 | |
LDU_FT/inveniosoftware/invenio-files-rest/verify_checksum | LDU_FT | [
"<BEGIN>\n## `send_stream`",
"Send the contents of a file to the client.",
" .. warning::",
" It is very easy to be exposed to Cross-Site Scripting (XSS) attacks if\n you serve user uploaded files. Here are some recommendations:",
" 1. Serve user uploaded files from a separate do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the verify_checksum API.
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 verify_checksum API.
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... | Verify checksum of file instance.
:param bool throws: If `True`, exceptions raised during checksum
calculation will be re-raised after logging. If set to `False`, and
an exception occurs, the `last_check` field is set to `None`
(`last_check_at` of course is updated), since n... | "Verify checksum of file instance.\n\n :param bool throws: If `True`, exceptions raised during checksum\n calculation will be re-raised after logging. If set to `False`, and\n an exception occurs, the `last_check` field is set to `None`\n (`last_check_at` of course is updated), s... | 272 | false | inveniosoftware/invenio-files-rest | verify_checksum | 39,248 | |
LDU_FT/openpermissions/koi/check_key_cert_match | LDU_FT | [
"<BEGIN>\n## `define_options`",
"Define the options from default.conf dynamically\n<END>",
"<BEGIN>\n## `log_config`",
"Logs the config used to start the application\n<END>",
"<BEGIN>\n## `ssl_server_options`",
"ssl options for tornado https server\n these options are defined in each application's defa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_key_cert_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_key_cert_match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | check if the ssl key matches the certificate
:param keyfile: file path to the ssl key
:param certfile: file path to the ssl certificate
:returns: true or false | "check if the ssl key matches the certificate\n :param keyfile: file path to the ssl key\n :param certfile: file path to the ssl certificate\n :returns: true or false" | 122 | false | openpermissions/koi | check_key_cert_match | 39,249 | |
LDU_FT/graphql-python/graphql-core-next/parse_value | LDU_FT | [
"<BEGIN>\n## `uni_char_code`",
"Convert unicode characters to integers.",
" Converts four hexadecimal chars to the integer that the string represents.\n For example, uni_char_code('0','0','0','f') will return 15,\n and uni_char_code('0','0','f','f') returns 255.",
" Returns a negative number on er... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Parse the AST for a given string containing a GraphQL value.
Throws GraphQLError if a syntax error is encountered.
This is useful within tools that operate upon GraphQL Values directly and in
isolation of complete GraphQL documents.
Consider providing the results to the utility function: `value_from_... | "Parse the AST for a given string containing a GraphQL value.\n\n Throws GraphQLError if a syntax error is encountered.\n\n This is useful within tools that operate upon GraphQL Values directly and in\n isolation of complete GraphQL documents.\n\n Consider providing the results to the utility function: `val... | 470 | false | graphql-python/graphql-core-next | parse_value | 39,250 | |
LDU_FT/emory-libraries/eulcommon/content_negotiation | LDU_FT | [
"<BEGIN>\n## `search_terms`",
"Takes a search string and parses it into a list of keywords and\n phrases.\n<END>",
"<BEGIN>\n## `pages_to_show`",
"Generate a dictionary of pages to show around the current page. Show\n 3 numbers on either side of the specified page, or more if close to end or\n beginn... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the content_negotiation 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 content_negotiation 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... | Provides basic content negotiation and returns a view method based on the
best match of content types as indicated in formats.
:param formats: dictionary of content types and corresponding methods
:param default_type: string the decorated method is the return type for.
Example usage::
def rdf... | "Provides basic content negotiation and returns a view method based on the\n best match of content types as indicated in formats.\n\n :param formats: dictionary of content types and corresponding methods\n :param default_type: string the decorated method is the return type for.\n\n Example usage::\n\n ... | 52 | false | emory-libraries/eulcommon | content_negotiation | 39,251 | |
LDU_FT/timknip/pyswf/export | LDU_FT | [
"<BEGIN>\n## `export`",
"Export this SWF using the specified exporter. \n When no exporter is passed in the default exporter used \n is swf.export.SVGExporter.",
" Exporters should extend the swf.export.BaseExporter class.",
" @param exporter : the exporter to use\n @param f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export API.
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 export API.
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 ... | Exports the specified SWF to SVG.
@param swf The SWF.
@param force_stroke Whether to force strokes on non-stroked fills. | "Exports the specified SWF to SVG.\n\n @param swf The SWF.\n @param force_stroke Whether to force strokes on non-stroked fills." | 43 | false | timknip/pyswf | export | 39,252 | |
LDU_FT/cthoyt/onto2nx/getClass | LDU_FT | [
"<BEGIN>\n## `parse_owl_rdf`",
"Parses an OWL resource that's encoded in OWL/RDF into a NetworkX directional graph",
" :param str iri: The location of the OWL resource to be parsed by Ontospy\n :type iri: str\n :rtype: network.DiGraph\n<END>",
"<BEGIN>\n## `get_or_create_home_repo`",
"Check to make... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getClass API.
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 getClass API.
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 the saved-class with given ID or via other methods...
Note: it tries to guess what is being passed..
In [1]: g.getClass(uri='http://www.w3.org/2000/01/rdf-schema#Resource')
Out[1]: <Class *http://www.w3.org/2000/01/rdf-schema#Resource*>
In [2]: g.getClass(10)
Out[2]: <Clas... | "get the saved-class with given ID or via other methods...\n\n Note: it tries to guess what is being passed..\n\n In [1]: g.getClass(uri='http://www.w3.org/2000/01/rdf-schema#Resource')\n Out[1]: <Class *http://www.w3.org/2000/01/rdf-schema#Resource*>\n\n In [2]: g.getClass(10)\n Out[... | 102 | false | cthoyt/onto2nx | getClass | 39,253 | |
LDU_FT/hugapi/hug/match_route | LDU_FT | [
"<BEGIN>\n## `arguments`",
"Returns the name of all arguments a function takes\n<END>",
"<BEGIN>\n## `generate_accepted_kwargs`",
"Dynamically creates a function that when called with dictionary of arguments will produce a kwarg that's\n compatible with the supplied function\n<END>",
"<BEGIN>\n## `aut... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_route API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_route API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Match a request with parameter to it's corresponding route | "Match a request with parameter to it's corresponding route" | 259 | false | hugapi/hug | match_route | 39,254 | |
LDU_FT/michaelaye/pyciss/get_year_since_resonance | LDU_FT | [
"<BEGIN>\n## `get_config`",
"Read the configfile and return config dict.",
" Returns\n -------\n dict\n Dictionary with the content of the configpath file.\n<END>",
"<BEGIN>\n## `set_database_path`",
"Use to write the database path into the config.",
" Parameters\n ----------\n db... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_year_since_resonance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_year_since_resonance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Calculate the fraction of the year since moon swap. | "Calculate the fraction of the year since moon swap." | 83 | false | michaelaye/pyciss | get_year_since_resonance | 39,255 | |
LDU_FT/chrisspen/dtree/_get_attribute_value_for_node | LDU_FT | [
"<BEGIN>\n## `normalize`",
"Scales each number in the sequence so that the sum of all numbers equals 1.\n<END>",
"<BEGIN>\n## `normcdf`",
"Describes the probability that a real-valued random variable X with a given\n probability distribution will be found at a value less than or equal to X\n in a normal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_attribute_value_for_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_attribute_value_for_node API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Gets the closest value for the current node's attribute matching the
given record. | "Gets the closest value for the current node's attribute matching the\n given record." | 100 | false | chrisspen/dtree | _get_attribute_value_for_node | 39,256 | |
LDU_FT/matllubos/django-is-core/get_method_returning_field_value | LDU_FT | [
"<BEGIN>\n## `short_description`",
"Sets 'short_description' attribute (this attribute is in exports to generate header name).\n<END>",
"<BEGIN>\n## `redirect_to_login`",
"Redirects the user to the login page, passing the given 'next' page\n<END>",
"<BEGIN>\n## `_check_permission`",
"If customer is not au... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_method_returning_field_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_method_returning_field_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Field values can be obtained from view or core. | "Field values can be obtained from view or core." | 66 | false | matllubos/django-is-core | get_method_returning_field_value | 39,257 | |
LDU_FT/ryanvarley/ExoData/calcSMA | LDU_FT | [
"<BEGIN>\n## `load_db_from_url`",
"Loads the database from a gzipped version of the system folder, by default the one located in the oec_gzip repo\n in the OpenExoplanetCatalogue GitHub group.",
" The database is loaded from the url in memory",
" :param url: url to load (must be gzipped version of sy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calcSMA API.
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 calcSMA API.
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... | Calculates the semi-major axis from Keplers Third Law | "Calculates the semi-major axis from Keplers Third Law" | 133 | false | ryanvarley/ExoData | calcSMA | 39,258 | |
LDU_FT/fishtown-analytics/dbt/available_deprecated | LDU_FT | [
"<BEGIN>\n## `patch`",
"Given a ParsedNodePatch, add the new information to the node.\n<END>",
"<BEGIN>\n## `build_edges`",
"Build the forward and backward edges on the given list of ParsedNodes\n and return them as two separate dictionaries, each mapping unique IDs to\n lists of edges.\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the available_deprecated 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 available_deprecated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | A decorator that marks a function as available, but also prints a
deprecation warning. Use like
@available_deprecated('my_new_method')
def my_old_method(self, arg, model_name=None):
args = compatability_shim(arg)
return self.my_new_method(*args, model_name=None)
To make `adapter.my_old... | "A decorator that marks a function as available, but also prints a\n deprecation warning. Use like\n\n @available_deprecated('my_new_method')\n def my_old_method(self, arg, model_name=None):\n args = compatability_shim(arg)\n return self.my_new_method(*args, model_name=None)\n\n To make `adapt... | 419 | false | fishtown-analytics/dbt | available_deprecated | 39,259 | |
LDU_FT/vberlier/nbtlib/write_numeric | LDU_FT | [
"<BEGIN>\n## `load`",
"Load the nbt file at the specified location.\r",
" By default, the function will figure out by itself if the file is\r\n gzipped before loading it. You can pass a boolean to the `gzipped`\r\n keyword only argument to specify explicitly whether the file is\r\n compressed or not... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_numeric API.
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 write_numeric API.
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... | Write a numeric value to a file-like object. | "Write a numeric value to a file-like object." | 66 | false | vberlier/nbtlib | write_numeric | 39,260 | |
LDU_FT/praekelt/django-order/resolve_labels | LDU_FT | [
"<BEGIN>\n## `user_order_by`",
"Queryset method ordering objects by user ordering field.\n<END>",
"<BEGIN>\n## `create_order_classes`",
"Create order model and admin class.\n Add order model to order.models module and register admin class.\n Connect ordered_objects manager to related model.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve_labels API.
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 resolve_labels API.
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... | Seperate model_label into parts.
Returns dictionary with app, model and app_model strings. | "Seperate model_label into parts.\n Returns dictionary with app, model and app_model strings." | 14 | false | praekelt/django-order | resolve_labels | 39,261 | |
LDU_FT/krischer/mtspec/mt_coherence | LDU_FT | [
"<BEGIN>\n## `mtspec`",
"Wrapper method for the mtspec subroutine in the library by German A.\n Prieto.",
" This method estimates the adaptive weighted multitaper spectrum, as in\n Thomson 1982. This is done by estimating the DPSS (discrete prolate\n spheroidal sequences), multiplying each of the t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mt_coherence API.
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 mt_coherence API.
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... | Construct the coherence spectrum from the yk's and the
weights of the usual multitaper spectrum estimation.
Note this code uses the real(4) multitaper code.
INPUT
:param df: float; sampling rate of time series
:param xi: numpy.ndarray; data for first series
:param xj: numpy.ndarray; data for s... | "Construct the coherence spectrum from the yk's and the\n weights of the usual multitaper spectrum estimation.\n Note this code uses the real(4) multitaper code.\n\n INPUT\n\n :param df: float; sampling rate of time series\n :param xi: numpy.ndarray; data for first series\n :param xj: numpy.ndarray; d... | 98 | false | krischer/mtspec | mt_coherence | 39,262 | |
LDU_FT/rdireen/spherepy/_vector_pattern_uniform_op_right | LDU_FT | [
"<BEGIN>\n## `sbessely`",
"Returns a vector of spherical bessel functions yn:\r",
" x: The argument.\r\n N: values of n will run from 0 to N-1.\n<END>",
"<BEGIN>\n## `sbesselj`",
"Returns a vector of spherical bessel functions jn:\r",
" x: The argument.\r\n N: values of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _vector_pattern_uniform_op_right API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _vector_pattern_uniform_op_right API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | decorator for operator overloading when VectorPatternUniform is on
the right | "decorator for operator overloading when VectorPatternUniform is on\r\n the right" | 194 | false | rdireen/spherepy | _vector_pattern_uniform_op_right | 39,263 | |
LDU_FT/rbarrois/confutils/items | LDU_FT | [
"<BEGIN>\n## `update`",
"Replace all lines matching `old_line` with `new_line`.",
" If ``once`` is set to True, remove only the first instance.\n<END>",
"<BEGIN>\n## `update`",
"Replace all lines matching `old_line` with `new_line`.",
" If ``once`` is set to True, remove only the first insta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the items API.
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 items API.
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... | Retrieve all key/value pairs for a given section. | "Retrieve all key/value pairs for a given section." | 42 | false | rbarrois/confutils | items | 39,264 | |
LDU_FT/equinor/segyio/wrap | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new segy file.",
" Create a new segy file with the geometry and properties given by `spec`.\n This enables creating SEGY files from your data. The created file supports\n all segyio modes, but has an emphasis on writing. The spec must be\n complete, otherwise an exc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap API.
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 wrap API.
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... | Formats the text input with newlines given the user specified width for
each line.
Parameters
----------
s : str
width : int
Returns
-------
text : str
Notes
-----
.. versionadded:: 1.1 | "Formats the text input with newlines given the user specified width for\n each line.\n\n Parameters\n ----------\n\n s : str\n width : int\n\n Returns\n -------\n\n text : str\n\n Notes\n -----\n\n .. versionadded:: 1.1" | 250 | false | equinor/segyio | wrap | 39,265 | |
LDU_FT/rraadd88/rohan/make_pathable_string | LDU_FT | [
"<BEGIN>\n## `dqueries2queriessam`",
"Aligns queries to genome and gets SAM file\n step#1",
" :param cfg: configuration dict\n :param dqueries: dataframe of queries\n<END>",
"<BEGIN>\n## `queriessam2dalignbed`",
"Processes SAM file to get the genomic coordinates in BED format\n step#2",
" :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_pathable_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 make_pathable_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.
... | Removes symbols from a string to be compatible with directory structure.
:param s: string | "Removes symbols from a string to be compatible with directory structure.\n\n :param s: string" | 124 | false | rraadd88/rohan | make_pathable_string | 39,266 | |
LDU_FT/bihealth/vcfpy/parse_header | LDU_FT | [
"<BEGIN>\n## `make_virtual_offset`",
"Compute a BGZF virtual offset from block start and within block offsets.\n The BAM indexing scheme records read positions using a 64 bit\n 'virtual offset', comprising in C terms:\n block_start_offset << 16 | within_block_offset\n Here block_start_offset is the fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_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 extr... | Read and parse :py:class:`vcfpy.header.Header` from file, set
into ``self.header`` and return it
:param list parsed_samples: ``list`` of ``str`` for subsetting the
samples to parse
:returns: ``vcfpy.header.Header``
:raises: ``vcfpy.exceptions.InvalidHeaderException`` in the ... | "Read and parse :py:class:`vcfpy.header.Header` from file, set\n into ``self.header`` and return it\n\n :param list parsed_samples: ``list`` of ``str`` for subsetting the\n samples to parse\n :returns: ``vcfpy.header.Header``\n :raises: ``vcfpy.exceptions.InvalidHeaderException`` ... | 127 | false | bihealth/vcfpy | parse_header | 39,267 | |
LDU_FT/ubc/ubcpi/convert_seeded_answers | LDU_FT | [
"<BEGIN>\n## `get_max_size`",
"Calculate the max number of item that an option can stored in the pool at give time.",
" This is to limit the pool size to POOL_SIZE",
" Args:\n option_index (int): the index of the option to calculate the size for\n pool (dict): answer pool\n num_opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_seeded_answers 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 convert_seeded_answers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Convert seeded answers into the format that can be merged into student answers.
Args:
answers (list): seeded answers
Returns:
dict: seeded answers with student answers format:
{
0: {
'seeded0': 'rationaleA'
}
1: {
... | "Convert seeded answers into the format that can be merged into student answers.\n\n Args:\n answers (list): seeded answers\n\n Returns:\n dict: seeded answers with student answers format:\n {\n 0: {\n 'seeded0': 'rationaleA'\n }\n ... | 98 | false | ubc/ubcpi | convert_seeded_answers | 39,268 | |
LDU_FT/shapiromatron/bmds/_add_single_session_to_to_ordered_dict | LDU_FT | [
"<BEGIN>\n## `as_dfile`",
"Return the dataset representation in BMDS .(d) file.",
" Example\n -------\n >>> print(dataset.as_dfile())\n Dose Incidence NEGATIVE_RESPONSE\n 0.000000 5 70\n 1.960000 1 48\n 5.690000 3 47\n 29.750000 14 35\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_single_session_to_to_ordered_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_single_session_to_to_ordered_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | Save a single session to an ordered dictionary. | "Save a single session to an ordered dictionary." | 113 | false | shapiromatron/bmds | _add_single_session_to_to_ordered_dict | 39,269 | |
LDU_FT/basecrm/basecrm-python/put | LDU_FT | [
"<BEGIN>\n## `post`",
"Send a POST request.",
" :param str url: Sub URL for the request. You MUST not specify neither base url nor api version prefix.\n :param dict body: (optional) Dictionary of body attributes that will be wrapped with envelope and json encoded.\n :param dict **kwargs: (o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Send a PUT request.
:param str url: Sub URL for the request. You MUST not specify neither base url nor api version prefix.
:param dict body: (optional) Dictionary of body attributes that will be wrapped with envelope and json encoded.
:param dict **kwargs: (optional) Other parameters which are ... | "Send a PUT request.\n\n :param str url: Sub URL for the request. You MUST not specify neither base url nor api version prefix.\n :param dict body: (optional) Dictionary of body attributes that will be wrapped with envelope and json encoded.\n :param dict **kwargs: (optional) Other parameters which... | 216 | false | basecrm/basecrm-python | put | 39,270 | |
LDU_FT/mikeboers/sitetools/unique_list | LDU_FT | [
"<BEGIN>\n## `_process_pth`",
"Process a ``.pth`` file similar to site.addpackage(...).\n<END>",
"<BEGIN>\n## `add_site_list`",
"Add a list of pseudo site-packages to :data:`python:sys.path`.",
" This centers the list on ``sys.path`` around the current environment.\n I.e. if this environment is in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return the unique elements from the input, in order. | "Return the unique elements from the input, in order." | 43 | false | mikeboers/sitetools | unique_list | 39,271 | |
LDU_FT/iamaziz/PyDataset/previousIndex | LDU_FT | [
"<BEGIN>\n## `__datasets_desc`",
"return a df of the available datasets with description\n<END>",
"<BEGIN>\n## `dumb_css_parser`",
"returns a hash of css selectors, each of which contains a hash of css attributes\n<END>",
"<BEGIN>\n## `element_style`",
"returns a hash of the 'final' style attributes of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the previousIndex API.
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 previousIndex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | returns the index of certain set of attributes (of a link) in the
self.a list
If the set of attributes is not found, returns None | "returns the index of certain set of attributes (of a link) in the\n self.a list\n\n If the set of attributes is not found, returns None" | 31 | false | iamaziz/PyDataset | previousIndex | 39,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.