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/amanusk/s-tui/on_reset_button | LDU_FT | [
"<BEGIN>\n## `get_label_scale`",
"Dynamically change the scale of the graph (y lable)\n<END>",
"<BEGIN>\n## `calculate_bar_widths`",
"Return a list of bar widths, one for each bar in data.",
" If self.bar_width is None this implementation will stretch\n the bars across the available space spec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_reset_button API.
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 on_reset_button API.
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... | Reset graph data and display empty graph | "Reset graph data and display empty graph" | 70 | false | amanusk/s-tui | on_reset_button | 25,773 | |
LDU_FT/JensAstrup/pyOutlook/get_valid_filename | LDU_FT | [
"<BEGIN>\n## `auto_reply_message`",
"The account's Internal auto reply message. Setting the value will change the auto reply message of the\n account, automatically setting the status to enabled (but not altering the schedule).\n<END>",
"<BEGIN>\n## `set_auto_reply`",
"Set an automatic reply for the a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_valid_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_valid_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.
Th... | Shamelessly taken from Django.
https://github.com/django/django/blob/master/django/utils/text.py
Return the given string converted to a string that can be used for a clean
filename. Remove leading and trailing spaces; convert other spaces to
underscores; and remove anything that is not an alphanumeric,... | "Shamelessly taken from Django.\n https://github.com/django/django/blob/master/django/utils/text.py\n\n Return the given string converted to a string that can be used for a clean\n filename. Remove leading and trailing spaces; convert other spaces to\n underscores; and remove anything that is not an alphanu... | 99 | false | JensAstrup/pyOutlook | get_valid_filename | 25,774 | |
LDU_FT/idlesign/uwsgiconf/add_logger | LDU_FT | [
"<BEGIN>\n## `set_exit_events`",
"Do exit on certain events",
" :param bool no_workers: Shutdown uWSGI when no workers are running.",
" :param bool idle: Shutdown uWSGI when idle.",
" :param bool reload: Force exit even if a reload is requested.",
" :param bool sig_term: Exit o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_logger API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Set/add a common logger or a request requests only.
:param str|unicode|list|Logger|list[Logger] logger:
:param bool requests_only: Logger used only for requests information messages.
:param bool for_single_worker: Logger to be used in single-worker setup. | "Set/add a common logger or a request requests only.\n\n :param str|unicode|list|Logger|list[Logger] logger:\n\n :param bool requests_only: Logger used only for requests information messages.\n\n :param bool for_single_worker: Logger to be used in single-worker setup." | 1,094 | true | idlesign/uwsgiconf | add_logger | 25,775 | |
LDU_FT/wind-python/windpowerlib/get_turbine_data_from_file | LDU_FT | [
"<BEGIN>\n## `reduce_wind_speed`",
"r\"\"\"\n Reduces wind speed by a wind efficiency curve.",
" The wind efficiency curves are provided in the windpowerlib and were\n calculated in the dena-Netzstudie II and in the work of Knorr\n (see [1]_ and [2]_).",
" Parameters\n ----------\n wind_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_turbine_data_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_turbine_data_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | r"""
Fetches power (coefficient) curve data from a csv file.
See `example_power_curves.csv' and `example_power_coefficient_curves.csv`
in example/data for the required format of a csv file. The self-provided
csv file may contain more columns than the example files. Only columns
containing wind spee... | "r\"\"\"\n Fetches power (coefficient) curve data from a csv file.\n\n See `example_power_curves.csv' and `example_power_coefficient_curves.csv`\n in example/data for the required format of a csv file. The self-provided\n csv file may contain more columns than the example files. Only columns\n containing... | 249 | false | wind-python/windpowerlib | get_turbine_data_from_file | 25,776 | |
LDU_FT/JawboneHealth/jhhalchemy/delete | LDU_FT | [
"<BEGIN>\n## `read_by`",
"filter_by query helper that handles soft delete logic. If your query conditions require expressions, use read.",
" :param removed: whether to include soft-deleted rows\n :param kwargs: where clause mappings to pass to filter_by\n :return: row object generator\n<END... | 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 a row from the DB.
:param session: flask_sqlalchemy session object
:param commit: whether to issue the commit
:param soft: whether this is a soft delete (i.e., update time_removed) | "Delete a row from the DB.\n\n :param session: flask_sqlalchemy session object\n :param commit: whether to issue the commit\n :param soft: whether this is a soft delete (i.e., update time_removed)" | 23 | false | JawboneHealth/jhhalchemy | delete | 25,777 | |
LDU_FT/camptocamp/Studio/index | LDU_FT | [
"<BEGIN>\n## `discover_datasources`",
"Discover the datasources contained in the datastore\n corresponding to the OGR string ogr_str, return an\n array of {name,type, hash}\n<END>",
"<BEGIN>\n## `discover_datasource_columns`",
"Loop through the datastore's datasources to find\n the datasource identif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | GET /mapfiles: Get all mapfiles owned by the current user | "GET /mapfiles: Get all mapfiles owned by the current user" | 98 | false | camptocamp/Studio | index | 25,778 | |
LDU_FT/boppreh/keyboard/remove_handler | LDU_FT | [
"<BEGIN>\n## `is_modifier`",
"Returns True if `key` is a scan code or name of a modifier key.\n<END>",
"<BEGIN>\n## `key_to_scan_codes`",
"Returns a list of scan codes associated with this key (name or scan code).\n<END>",
"<BEGIN>\n## `parse_hotkey`",
"Parses a user-provided hotkey into nested tuples rep... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Removes a previously added event handler. | "Removes a previously added event handler." | 158 | false | boppreh/keyboard | remove_handler | 25,779 | |
LDU_FT/dropbox/pyannotate/strip_py | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Deserialize a JSON file containing runtime collected types.",
" The input JSON is expected to to have a list of RawEntry items.\n<END>",
"<BEGIN>\n## `tokenize`",
"Translate a type comment into a list of tokens.\n<END>",
"<BEGIN>\n## `generate_annotations_json_string`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip_py API.
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 strip_py API.
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... | Strip a trailing .py or .pyi suffix.
Return None if no such suffix is found. | "Strip a trailing .py or .pyi suffix.\n Return None if no such suffix is found." | 93 | false | dropbox/pyannotate | strip_py | 25,780 | |
LDU_FT/jpscaletti/authcode/make_full_url | LDU_FT | [
"<BEGIN>\n## `set_hasher`",
"Updates the has algorithm and, optionally, the number of rounds\n to use.",
" Raises:\n `~WrongHashAlgorithm` if new algorithm isn't one of the three\n recomended options.\n<END>",
"<BEGIN>\n## `render_template`",
"Search for a setting named `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_full_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_full_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get a relative URL and returns the absolute version.
Eg: “/foo/bar?q=is-open” ==> “http://example.com/foo/bar?q=is-open” | "Get a relative URL and returns the absolute version.\n Eg: “/foo/bar?q=is-open” ==> “http://example.com/foo/bar?q=is-open”" | 48 | false | jpscaletti/authcode | make_full_url | 25,781 | |
LDU_FT/xzased/lvm2py/size | LDU_FT | [
"<BEGIN>\n## `open`",
"Obtains the lvm, vg_t and lv_t handle. Usually you would never need to use this\n method unless you are doing operations using the ctypes function wrappers in\n conversion.py",
" *Raises:*",
" * HandleError\n<END>",
"<BEGIN>\n## `is_active`",
"Retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Returns the physical volume size in the given units. Default units are MiB.
*Args:*
* units (str): Unit label ('MiB', 'GiB', etc...). Default is MiB. | "Returns the physical volume size in the given units. Default units are MiB.\n\n *Args:*\n\n * units (str): Unit label ('MiB', 'GiB', etc...). Default is MiB." | 189 | false | xzased/lvm2py | size | 25,782 | |
LDU_FT/sailthru/sailthru-python-client/sailthru_http_request | LDU_FT | [
"<BEGIN>\n## `flatten_nested_hash`",
"Flatten nested dictionary for GET / POST / DELETE API request\n<END>",
"<BEGIN>\n## `sailthru_http_request`",
"Perform an HTTP GET / POST / DELETE request\n<END>",
"<BEGIN>\n## `extract_params`",
"Extracts the values of a set of parameters, recursing into nested dicti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sailthru_http_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sailthru_http_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Perform an HTTP GET / POST / DELETE request | "Perform an HTTP GET / POST / DELETE request" | 64 | false | sailthru/sailthru-python-client | sailthru_http_request | 25,783 | |
LDU_FT/EricDalrymple91/strawpy/create_poll | LDU_FT | [
"<BEGIN>\n## `get_poll`",
"Get a strawpoll.",
" Example:",
" poll = strawpy.get_poll('11682852')",
" :param poll_id:\n :return: strawpy.Strawpoll object\n<END>",
"<BEGIN>\n## `create_poll`",
"Create a strawpoll.",
" Example:",
" new_poll = strawpy.create_poll('Is Python the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_poll API.
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 create_poll API.
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... | Create a strawpoll.
Example:
new_poll = strawpy.create_poll('Is Python the best?', ['Yes', 'No'])
:param title:
:param options:
:param multi:
:param permissive:
:param captcha:
:param dupcheck:
:return: strawpy.Strawpoll object | "Create a strawpoll.\n\n Example:\n\n new_poll = strawpy.create_poll('Is Python the best?', ['Yes', 'No'])\n\n :param title:\n :param options:\n :param multi:\n :param permissive:\n :param captcha:\n :param dupcheck:\n :return: strawpy.Strawpoll object" | 32 | false | EricDalrymple91/strawpy | create_poll | 25,784 | |
LDU_FT/ska-sa/katversion/get_version_from_file | LDU_FT | [
"<BEGIN>\n## `patch_init_py`",
"Patch __init__.py to remove version check and append hard-coded version.\n<END>",
"<BEGIN>\n## `setuptools_entry`",
"Setuptools entry point for setting version and baking it into package.\n<END>",
"<BEGIN>\n## `date_version`",
"Generate a version string based on the SCM typ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version_from_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Find the VERSION_FILE and return its contents.
Returns
-------
version : string or None | "Find the VERSION_FILE and return its contents.\n\n Returns\n -------\n version : string or None" | 41 | false | ska-sa/katversion | get_version_from_file | 25,785 | |
LDU_FT/doanguyen/lasotuvi/NewMoon | LDU_FT | [
"<BEGIN>\n## `nhapDaiHan`",
"Nhap dai han",
" Args:\n cucSo (TYPE): Description\n gioiTinh (TYPE): Description",
" Returns:\n TYPE: Description\n<END>",
"<BEGIN>\n## `ngayThangNam`",
"Summary",
" Args:\n nn (TYPE): ngay\n tt (TYPE): thang\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the NewMoon API.
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 NewMoon API.
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... | def NewMoon(k): Compute the time of the k-th new moon after
the new moon of 1/1/1900 13:52 UCT (measured as the number of
days since 1/1/4713 BC noon UCT, e.g., 2451545.125 is 1/1/2000 15:00 UTC.
Returns a floating number, e.g., 2415079.9758617813 for k=2 or
2414961.935157746 for k=-2. | "def NewMoon(k): Compute the time of the k-th new moon after\n the new moon of 1/1/1900 13:52 UCT (measured as the number of\n days since 1/1/4713 BC noon UCT, e.g., 2451545.125 is 1/1/2000 15:00 UTC.\n Returns a floating number, e.g., 2415079.9758617813 for k=2 or\n 2414961.935157746 for k=-2." | 47 | false | doanguyen/lasotuvi | NewMoon | 25,786 | |
LDU_FT/Data-Mechanics/geoql/features_keep_by_property | LDU_FT | [
"<BEGIN>\n## `match`",
"Determine whether a value satisfies a query.\n<END>",
"<BEGIN>\n## `features_properties_null_remove`",
"Remove any properties of features in the collection that have \n entries mapping to a null (i.e., None) value\n<END>",
"<BEGIN>\n## `features_tags_parse_str_to_dict`",
"Parse ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the features_keep_by_property 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 features_keep_by_property API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Filter all features in a collection by retaining only those that
satisfy the provided query. | "Filter all features in a collection by retaining only those that\n satisfy the provided query." | 14 | false | Data-Mechanics/geoql | features_keep_by_property | 25,787 | |
LDU_FT/Tygs/ww/index | LDU_FT | [
"<BEGIN>\n## `join`",
"Join values and convert to string",
" Example:",
" >>> from ww import l\n >>> lst = l('012')\n >>> lst.join(',')\n u'0,1,2'\n >>> lst.join(',', template=\"{}#\")\n u'0#,1#,2#'\n >>> string = lst.join(','... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the index API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Args:
value: index
Returns: index of the values
Raises:
ValueError: value is not in list | "Args:\n value: index\n\n Returns: index of the values\n\n Raises:\n ValueError: value is not in list" | 104 | false | Tygs/ww | index | 25,788 | |
LDU_FT/mikeboers/MultiMap/getall | LDU_FT | [
"<BEGIN>\n## `_rebuild_key_ids`",
"Rebuild the internal key to index mapping.\n<END>",
"<BEGIN>\n## `_conform_pair`",
"Force a given key/value pair into a certain form.",
" Override the _conform_key and _conform_value if you want to change\n the mapping behaviour.\n<END>",
"<BEGIN>\n## `geta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getall API.
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 getall API.
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 ... | A list of all the values stored under this key.
Returns an empty list if there are no values under this key.
>>> m = MultiMap([('a', 1), ('b', 2), ('b', 3), ('c', 4), ('d', 5), ('c', 6)])
>>> m.getall('a')
[1]
>>> m.getall('b')
[2, 3]
>>> m.getal... | "A list of all the values stored under this key.\n \n Returns an empty list if there are no values under this key.\n \n >>> m = MultiMap([('a', 1), ('b', 2), ('b', 3), ('c', 4), ('d', 5), ('c', 6)])\n >>> m.getall('a')\n [1]\n >>> m.getall('b')\n [2, 3]\n >... | 35 | false | mikeboers/MultiMap | getall | 25,789 | |
LDU_FT/WoLpH/python-statsd/time | LDU_FT | [
"<BEGIN>\n## `send`",
"Send the data over UDP while taking the sample_rate in account",
" The sample rate should be a number between `0` and `1` which indicates\n the probability that a message will be sent. The sample_rate is also\n communicated to `statsd` so it knows what multiplier to u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Returns a context manager to time execution of a block of code.
:keyword subname: The subname to report data to
:type subname: str
:keyword class_: The :class:`~statsd.client.Client` subclass to use
(e.g. :class:`~statsd.timer.Timer` or
:class:`~statsd.counter.Counter`)
... | "Returns a context manager to time execution of a block of code.\n\n :keyword subname: The subname to report data to\n :type subname: str\n :keyword class_: The :class:`~statsd.client.Client` subclass to use\n (e.g. :class:`~statsd.timer.Timer` or\n :class:`~statsd.counter.Cou... | 67 | false | WoLpH/python-statsd | time | 25,790 | |
LDU_FT/liam-middlebrook/csh_ldap/add_member | LDU_FT | [
"<BEGIN>\n## `get_members`",
"Return all members in the group as CSHMember objects\n<END>",
"<BEGIN>\n## `check_member`",
"Check if a Member is in the bound group.",
" Arguments:\n member -- the CSHMember object (or distinguished name) of the member to\n check against",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_member API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_member API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Add a member to the bound group
Arguments:
member -- the CSHMember object (or distinguished name) of the member
Keyword arguments:
dn -- whether or not member is a distinguished name | "Add a member to the bound group\n\n Arguments:\n member -- the CSHMember object (or distinguished name) of the member\n\n Keyword arguments:\n dn -- whether or not member is a distinguished name" | 29 | false | liam-middlebrook/csh_ldap | add_member | 25,791 | |
LDU_FT/singingwolfboy/flask-dance/make_github_blueprint | LDU_FT | [
"<BEGIN>\n## `make_discord_blueprint`",
"Make a blueprint for authenticating with Discord using OAuth 2. This requires\n a client ID and client secret from Discord. You should either pass them to\n this constructor, or make sure that your Flask application config defines\n them, using the variables :envv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_github_blueprint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_github_blueprint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Make a blueprint for authenticating with GitHub using OAuth 2. This requires
a client ID and client secret from GitHub. You should either pass them to
this constructor, or make sure that your Flask application config defines
them, using the variables :envvar:`GITHUB_OAUTH_CLIENT_ID` and
:envvar:`GITHUB_... | "Make a blueprint for authenticating with GitHub using OAuth 2. This requires\n a client ID and client secret from GitHub. You should either pass them to\n this constructor, or make sure that your Flask application config defines\n them, using the variables :envvar:`GITHUB_OAUTH_CLIENT_ID` and\n :envvar:`GI... | 123 | false | singingwolfboy/flask-dance | make_github_blueprint | 25,792 | |
LDU_FT/albertyw/syspath/_caller_path | LDU_FT | [
"<BEGIN>\n## `_append_path`",
"Given a path string, append it to sys.path\n<END>",
"<BEGIN>\n## `_caller_path`",
"Get the caller's file path, by the index of the stack,\n does not work when the caller is stdin through a CLI python\n<END>",
"<BEGIN>\n## `get_current_path`",
"Get the caller's path to sys... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _caller_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _caller_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 extr... | Get the caller's file path, by the index of the stack,
does not work when the caller is stdin through a CLI python | "Get the caller's file path, by the index of the stack,\n does not work when the caller is stdin through a CLI python" | 10 | false | albertyw/syspath | _caller_path | 25,793 | |
LDU_FT/GearPlug/payu-python/_request | LDU_FT | [
"<BEGIN>\n## `create_single_token`",
"Using this feature you can register a customer’s credit card data and get a token sequential number.",
" Args:\n payer_id:\n name:\n identification_number:\n payment_method:\n number:\n expiration_date... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Normally the connection guarantees response times of 3 seconds on average,
if there is an abnormal situation, the maximum response time is 1 minute.
It is highly recommended that you set “timeouts” when you connect with PayU.
Args:
method:
url:
headers:
... | "Normally the connection guarantees response times of 3 seconds on average,\n if there is an abnormal situation, the maximum response time is 1 minute.\n It is highly recommended that you set “timeouts” when you connect with PayU.\n\n Args:\n method:\n url:\n header... | 153 | false | GearPlug/payu-python | _request | 25,794 | |
LDU_FT/tkem/cachetools/popitem | LDU_FT | [
"<BEGIN>\n## `popitem`",
"Remove and return the `(key, value)` pair least recently used.\n<END>",
"<BEGIN>\n## `lfu_cache`",
"Decorator to wrap a function with a memoizing callable that saves\n up to `maxsize` results based on a Least Frequently Used (LFU)\n algorithm.\n<END>",
"<BEGIN>\n## `lru_cache... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the popitem API.
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 popitem API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Remove and return a random `(key, value)` pair. | "Remove and return a random `(key, value)` pair." | 24 | false | tkem/cachetools | popitem | 25,795 | |
LDU_FT/hyperledger-archives/indy-ledger/iterator | LDU_FT | [
"<BEGIN>\n## `_useChunk`",
"Switch to specific chunk",
" :param index:\n<END>",
"<BEGIN>\n## `iterator`",
"Store iterator",
" :return: Iterator for data in all chunks\n<END>",
"<BEGIN>\n## `numKeys`",
"This will iterate only over the last chunk since the name of the last\n chunk i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterator API.
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 iterator API.
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... | Store iterator
:return: Iterator for data in all chunks | "Store iterator\n\n :return: Iterator for data in all chunks" | 20 | false | hyperledger-archives/indy-ledger | iterator | 25,796 | |
LDU_FT/cloudify-cosmo/wagon/_generate_metadata_file | LDU_FT | [
"<BEGIN>\n## `install_package`",
"Install a Python package.",
" Can specify a specific version.\n Can specify a prerelease.\n Can specify a venv to install in.\n Can specify a list of paths or urls to requirement txt files.\n Can specify a local wheels_path to use for offline installation.\n C... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_metadata_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_metadata_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... | Generate a metadata file for the package. | "Generate a metadata file for the package." | 51 | false | cloudify-cosmo/wagon | _generate_metadata_file | 25,797 | |
LDU_FT/afilipovich/gglsbl/_lookup_hashes | LDU_FT | [
"<BEGIN>\n## `lookup_hash_prefix`",
"Lookup hash prefixes by cue (first 4 bytes of hash)",
" Returns a tuple of (value, negative_cache_expired).\n<END>",
"<BEGIN>\n## `store_full_hash`",
"Store full hash found for the given hash prefix\n<END>",
"<BEGIN>\n## `get_client_state`",
"Get a dict of kno... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _lookup_hashes API.
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 _lookup_hashes API.
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... | Lookup URL hash in blacklists
Returns names of lists it was found in. | "Lookup URL hash in blacklists\n\n Returns names of lists it was found in." | 35 | false | afilipovich/gglsbl | _lookup_hashes | 25,798 | |
LDU_FT/Fizzadar/pyinfra/command | LDU_FT | [
"<BEGIN>\n## `agent`",
"Run puppet agent",
" + server: master server URL\n + port: puppet master port\n<END>",
"<BEGIN>\n## `load_deploy_config`",
"Loads any local config overrides in the deploy file.\n<END>",
"<BEGIN>\n## `_parse_mode`",
"Converts ls mode output (rwxrwxrwx) -> integer (755).\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Execute commands on other servers over SSH.
+ hostname: the hostname to connect to
+ command: the command to execute
+ ssh_user: connect with this user | "Execute commands on other servers over SSH.\n\n + hostname: the hostname to connect to\n + command: the command to execute\n + ssh_user: connect with this user" | 336 | false | Fizzadar/pyinfra | command | 25,799 | |
LDU_FT/tweepy/tweepy/next | LDU_FT | [
"<BEGIN>\n## `get_authorization_url`",
"Get the authorization URL to redirect the user\n<END>",
"<BEGIN>\n## `get_access_token`",
"After user has authorized the request token, get access token\n with user supplied verifier.\n<END>",
"<BEGIN>\n## `get_xauth_access_token`",
"Get an access token from ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next API.
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 next API.
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... | Fetch a set of items with IDs less than current set. | "Fetch a set of items with IDs less than current set." | 54 | false | tweepy/tweepy | next | 25,800 | |
LDU_FT/Azure/azure-multiapi-storage-python/get_table_acl | LDU_FT | [
"<BEGIN>\n## `_extract_encryption_metadata`",
"Extracts the encryption metadata from the given entity, setting them to be utf-8 strings.\n If no encryption metadata is present, will return None for all return values unless\n require_encryption is true, in which case the method will throw.",
" :param en... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_acl API.
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_table_acl API.
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 details about any stored access policies specified on the
table that may be used with Shared Access Signatures.
:param str table_name:
The name of an existing table.
:param int timeout:
The server timeout, expressed in seconds.
:return: A dictionary of ac... | "Returns details about any stored access policies specified on the\n table that may be used with Shared Access Signatures.\n\n :param str table_name:\n The name of an existing table.\n :param int timeout:\n The server timeout, expressed in seconds.\n :return: A dictiona... | 364 | false | Azure/azure-multiapi-storage-python | get_table_acl | 25,801 | |
LDU_FT/ltworf/typedload/load | LDU_FT | [
"<BEGIN>\n## `uniontypes`",
"Returns the types of a Union.",
" Raises ValueError if the argument is not a Union\n and AttributeError when running on an unsupported\n Python version.\n<END>",
"<BEGIN>\n## `index`",
"Returns the index in the handlers list\n that matches the given value.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Loads value into the typed data structure.
TypeError is raised if there is no known way to treat type_,
otherwise all errors raise a ValueError. | "Loads value into the typed data structure.\n\n TypeError is raised if there is no known way to treat type_,\n otherwise all errors raise a ValueError." | 55 | false | ltworf/typedload | load | 25,802 | |
LDU_FT/snowblink14/smatch/get_amr_line | 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 get_amr_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_amr_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Read the file containing AMRs. AMRs are separated by a blank line.
Each call of get_amr_line() returns the next available AMR (in one-line form).
Note: this function does not verify if the AMR is valid | "Read the file containing AMRs. AMRs are separated by a blank line.\n Each call of get_amr_line() returns the next available AMR (in one-line form).\n Note: this function does not verify if the AMR is valid" | 54 | false | snowblink14/smatch | get_amr_line | 25,803 | |
LDU_FT/manahl/arctic/_fw_pointers_convert_append_to_write | LDU_FT | [
"<BEGIN>\n## `delete`",
"Delete all chunks for a symbol.",
" Which are, for the moment, fully contained in the passed in\n date_range.",
" Parameters\n ----------\n symbol : `str`\n symbol name for the item\n date_range : `date.DateRange`\n DateR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fw_pointers_convert_append_to_write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fw_pointers_convert_append_to_write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | This method decides whether to convert an append to a full write in order to avoid data integrity errors | "This method decides whether to convert an append to a full write in order to avoid data integrity errors" | 429 | false | manahl/arctic | _fw_pointers_convert_append_to_write | 25,804 | |
LDU_FT/data61/clkhash/generate_clk_from_csv | LDU_FT | [
"<BEGIN>\n## `convert_v1_to_v2`",
"Convert v1 schema dict to v2 schema dict.\n :param dict: v1 schema dict\n :return: v2 schema dict\n<END>",
"<BEGIN>\n## `from_json_dict`",
"Create a Schema for v1 or v2 according to dct",
" :param dct: This dictionary must have a `'features'`\n key spec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_clk_from_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_clk_from_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.
... | Generate Bloom filters from CSV file, then serialise them.
This function also computes and outputs the Hamming weight
(a.k.a popcount -- the number of bits set to high) of the
generated Bloom filters.
:param input_f: A file-like object of csv data to hash.
:param keys: A tuple ... | "Generate Bloom filters from CSV file, then serialise them.\n\n This function also computes and outputs the Hamming weight\n (a.k.a popcount -- the number of bits set to high) of the\n generated Bloom filters.\n\n :param input_f: A file-like object of csv data to hash.\n :param keys: ... | 212 | false | data61/clkhash | generate_clk_from_csv | 25,805 | |
LDU_FT/andrewgross/pyrelic/get_threshold_values | LDU_FT | [
"<BEGIN>\n## `_parse_xml`",
"Run our XML parser (lxml in this case) over our response text. Lxml\n doesn't enjoy having xml/encoding information in the header so we strip\n that out if necessary. We return a parsed XML object that can be\n used by the calling API method and massaged into a m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_threshold_values 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_threshold_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Requires: account ID, list of application ID
Method: Get
Endpoint: api.newrelic.com
Restrictions: ???
Errors: 403 Invalid API key, 422 Invalid Parameters
Returns: A list of threshold_value objects, each will have information
about its start/end time, metric name,... | "Requires: account ID, list of application ID\n Method: Get\n Endpoint: api.newrelic.com\n Restrictions: ???\n Errors: 403 Invalid API key, 422 Invalid Parameters\n Returns: A list of threshold_value objects, each will have information\n about its start/end time, metri... | 34 | false | andrewgross/pyrelic | get_threshold_values | 25,806 | |
LDU_FT/PGower/PyCanvas/list_assignment_submissions_sections | LDU_FT | [
"<BEGIN>\n## `get_all_quiz_submissions`",
"Get all quiz submissions.\r",
" Get a list of all submissions for this quiz. Users who can view or manage\r\n grades for a course will have submissions from multiple users returned. A\r\n user who can only submit will have only their own submission... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_assignment_submissions_sections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_assignment_submissions_sections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | List assignment submissions.
Get all existing submissions for an assignment. | "List assignment submissions.\r\n\r\n Get all existing submissions for an assignment." | 833 | false | PGower/PyCanvas | list_assignment_submissions_sections | 25,807 | |
LDU_FT/dustin/twitty-twister/_state_connecting | LDU_FT | [
"<BEGIN>\n## `__downloadPage`",
"Start a HTTP download, returning a HTTPDownloader object\n<END>",
"<BEGIN>\n## `__encodeMultipart`",
"fields is a sequence of (name, value) elements for regular form fields.\n files is a sequence of (name, filename, value) elements for data to be uploaded as files\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _state_connecting API.
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 _state_connecting API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | A connection is being started.
A succesful attempt results in the state C{'connected'} when the
first response from Twitter has been received. Transitioning
to the state C{'aborting'} will cause an immediate disconnect instead,
by transitioning to C{'disconnecting'}.
Errors wil... | "A connection is being started.\n\n A succesful attempt results in the state C{'connected'} when the\n first response from Twitter has been received. Transitioning\n to the state C{'aborting'} will cause an immediate disconnect instead,\n by transitioning to C{'disconnecting'}.\n\n Er... | 93 | false | dustin/twitty-twister | _state_connecting | 25,808 | |
LDU_FT/semiversus/python-broqer/build_filter | LDU_FT | [
"<BEGIN>\n## `build_sink`",
"Decorator to wrap a function to return a Sink subscriber.",
" :param function: function to be wrapped\n :param unpack: value from emits will be unpacked (*value)\n<END>",
"<BEGIN>\n## `build_map`",
"Decorator to wrap a function to return a Map operator.",
" :param fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_filter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Decorator to wrap a function to return a Filter operator.
:param predicate: function to be wrapped
:param unpack: value from emits will be unpacked (*value) | "Decorator to wrap a function to return a Filter operator.\n\n :param predicate: function to be wrapped\n :param unpack: value from emits will be unpacked (*value)" | 65 | false | semiversus/python-broqer | build_filter | 25,809 | |
LDU_FT/spacetelescope/drizzlepac/apply_exclusions | LDU_FT | [
"<BEGIN>\n## `check_and_get_data`",
"Verify that all specified files are present. If not, retrieve them from MAST.",
" Parameters\n ----------\n input_list : list\n List of one or more calibrated fits images that will be used for catalog generation.",
" Returns\n =======\n total_input... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_exclusions API.
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 apply_exclusions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Trim sky catalog to remove any sources within regions specified by
exclusions file. | "Trim sky catalog to remove any sources within regions specified by\n exclusions file." | 1,138 | true | spacetelescope/drizzlepac | apply_exclusions | 25,810 | |
LDU_FT/offu/WeRoBot/delete_custom_service_account | LDU_FT | [
"<BEGIN>\n## `make_view`",
"为一个 BaseRoBot 生成 Flask view。",
" Usage ::",
" from werobot import WeRoBot",
" robot = WeRoBot(token='token')",
" @robot.handler\n def hello(message):\n return 'Hello World!'",
" from flask import Flask\n from werobot.con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_custom_service_account 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 delete_custom_service_account API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | 删除客服帐号。
:param account: 客服账号的用户名
:param nickname: 客服账号的昵称
:param password: 客服账号的密码
:return: 返回的 JSON 数据包 | "删除客服帐号。\n\n :param account: 客服账号的用户名\n :param nickname: 客服账号的昵称\n :param password: 客服账号的密码\n :return: 返回的 JSON 数据包" | 223 | false | offu/WeRoBot | delete_custom_service_account | 25,811 | |
LDU_FT/DMSC-Instrument-Data/lewis/_get_target | 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_target API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_target API.
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... | The actual target methods are retrieved (possibly from the list of targets) and a
wrapper-property is installed on a throwaway type that is specifically created for
the purpose of holding this property if necessary. In that case, an instance of this type
(with the wrapper-property forwarding cal... | "The actual target methods are retrieved (possibly from the list of targets) and a\n wrapper-property is installed on a throwaway type that is specifically created for\n the purpose of holding this property if necessary. In that case, an instance of this type\n (with the wrapper-property forwarding... | 198 | false | DMSC-Instrument-Data/lewis | _get_target | 25,812 | |
LDU_FT/daskos/mentor/ff | LDU_FT | [
"<BEGIN>\n## `remote_exception`",
"Metaclass that wraps exception type in RemoteException\n<END>",
"<BEGIN>\n## `ff`",
"First-Fit",
" This is perhaps the simplest packing heuristic;\n it simply packs items in the next available bin.",
" Complexity O(n^2)\n<END>",
"<BEGIN>\n## `ffd`",
"First-F... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ff API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ff API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | First-Fit
This is perhaps the simplest packing heuristic;
it simply packs items in the next available bin.
Complexity O(n^2) | "First-Fit\n\n This is perhaps the simplest packing heuristic;\n it simply packs items in the next available bin.\n\n Complexity O(n^2)" | 51 | false | daskos/mentor | ff | 25,813 | |
LDU_FT/portantier/habu/cmd_crtsh | LDU_FT | [
"<BEGIN>\n## `cmd_arp_poison`",
"Send ARP 'is-at' packets to each victim, poisoning their\n ARP tables for send the traffic to your system.",
" Note: If you want a full working Man In The Middle attack, you need\n to enable the packet forwarding on your operating system to act like a\n router. You c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cmd_crtsh API.
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 cmd_crtsh API.
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... | Downloads the certificate transparency logs for a domain
and check with DNS queries if each subdomain exists.
Uses multithreading to improve the performance of the DNS queries.
Example:
\b
$ sudo habu.crtsh securetia.com
[
"karma.securetia.com.",
"www.securetia.com."
] | "Downloads the certificate transparency logs for a domain\n and check with DNS queries if each subdomain exists.\n\n Uses multithreading to improve the performance of the DNS queries.\n\n Example:\n\n \\b\n $ sudo habu.crtsh securetia.com\n [\n \"karma.securetia.com.\",\n \"www.securetia... | 304 | false | portantier/habu | cmd_crtsh | 25,814 | |
LDU_FT/nvbn/thefuck/is_app | LDU_FT | [
"<BEGIN>\n## `get_loaded_rules`",
"Yields all available rules.",
" :type rules_paths: [Path]\n :rtype: Iterable[Rule]\n<END>",
"<BEGIN>\n## `get_rules_import_paths`",
"Yields all rules import paths.",
" :rtype: Iterable[Path]\n<END>",
"<BEGIN>\n## `get_rules`",
"Returns all enabled rules.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns `True` if command is call to one of passed app names. | "Returns `True` if command is call to one of passed app names." | 132 | false | nvbn/thefuck | is_app | 25,815 | |
LDU_FT/davidchua/pymessenger/send_video_url | LDU_FT | [
"<BEGIN>\n## `send_attachment`",
"Send an attachment to the specified recipient using local path.\n Input:\n recipient_id: recipient id to send to\n attachment_type: type of attachment (image, video, audio, file)\n attachment_path: Path of attachment\n Output:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_video_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_video_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Send video to specified recipient using URL.
Video should be MP4 or MOV, but supports more (https://www.facebook.com/help/218673814818907).
https://developers.facebook.com/docs/messenger-platform/send-api-reference/video-attachment
Input:
recipient_id: recipient id to send to
... | "Send video to specified recipient using URL.\n Video should be MP4 or MOV, but supports more (https://www.facebook.com/help/218673814818907).\n https://developers.facebook.com/docs/messenger-platform/send-api-reference/video-attachment\n Input:\n recipient_id: recipient id to send to\n ... | 31 | false | davidchua/pymessenger | send_video_url | 25,816 | |
LDU_FT/aio-libs/aiohttp-cors/is_cors_enabled_on_request | LDU_FT | [
"<BEGIN>\n## `_parse_config_options`",
"Parse CORS configuration (default or per-route)",
" :param config:\n Mapping from Origin to Resource configuration (allowed headers etc)\n defined either as mapping or `ResourceOptions` instance.",
" Raises `ValueError` if configuration is not correc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_cors_enabled_on_request 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 is_cors_enabled_on_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Is `request` is a request for CORS-enabled resource. | "Is `request` is a request for CORS-enabled resource." | 38 | false | aio-libs/aiohttp-cors | is_cors_enabled_on_request | 25,817 | |
LDU_FT/joshuaduffy/dota2api/get_tournament_prize_pool | LDU_FT | [
"<BEGIN>\n## `get_match_history`",
"Returns a dictionary containing a list of the most recent Dota matches",
" :param account_id: (int, optional)\n :param hero_id: (int, optional)\n :param game_mode: (int, optional) see ``ref/modes.json``\n :param skill: (int, optional) see ``ref/ski... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_tournament_prize_pool 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 get_tournament_prize_pool API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Returns a dictionary that includes community funded tournament prize pools
:param leagueid: (int, optional)
:return: dictionary of prize pools, see :doc:`responses </responses>` | "Returns a dictionary that includes community funded tournament prize pools\n\n :param leagueid: (int, optional)\n :return: dictionary of prize pools, see :doc:`responses </responses>`" | 38 | false | joshuaduffy/dota2api | get_tournament_prize_pool | 25,818 | |
LDU_FT/peerplays-network/python-peerplays/eventgroup_delete | LDU_FT | [
"<BEGIN>\n## `listaccounts`",
"List accounts (for the connected network)\n<END>",
"<BEGIN>\n## `importaccount`",
"Import an account using an account password\n<END>",
"<BEGIN>\n## `eventgroups`",
"[bookie] List event groups for a sport",
" :param str sport: Sports id\n<END>",
"<BEGIN>\n## `even... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eventgroup_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eventgroup_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... | Delete an eventgroup. This needs to be **propose**.
:param str event_group_id: ID of the event group to be deleted
:param str account: (optional) Account used to verify the operation | "Delete an eventgroup. This needs to be **propose**.\n\n :param str event_group_id: ID of the event group to be deleted\n\n :param str account: (optional) Account used to verify the operation" | 124 | false | peerplays-network/python-peerplays | eventgroup_delete | 25,819 | |
LDU_FT/bodylabs/lace/apex | LDU_FT | [
"<BEGIN>\n## `copy`",
"Returns a deep copy with all of the numpy arrays copied\n If only is a list of strings, i.e. ['f', 'v'], then only those properties will be copied\n<END>",
"<BEGIN>\n## `concatenate`",
"Concatenates an arbitrary number of meshes.",
" Currently supports vertices, vertex c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apex API.
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 apex API.
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... | Find the most extreme vertex in the direction of the axis provided.
axis: A vector, which is an 3x1 np.array. | "Find the most extreme vertex in the direction of the axis provided.\n\n axis: A vector, which is an 3x1 np.array." | 133 | false | bodylabs/lace | apex | 25,820 | |
LDU_FT/sourceperl/pyModbusTCP/stop | LDU_FT | [
"<BEGIN>\n## `start`",
"Start the server.",
" Do nothing if server is already running.\n This function will block if no_block is not set to True.\n<END>",
"<BEGIN>\n## `stop`",
"Stop the server.",
" Do nothing if server is already not running.\n<END>",
"<BEGIN>\n## `host`",
"Get o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stop API.
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 stop API.
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... | Stop the server.
Do nothing if server is already not running. | "Stop the server.\n\n Do nothing if server is already not running." | 96 | false | sourceperl/pyModbusTCP | stop | 25,821 | |
LDU_FT/nephila/python-taiga/add_issue_status | LDU_FT | [
"<BEGIN>\n## `list`",
"Retrieves a list of objects.",
" By default uses local cache and remote pagination",
" If pagination is used and no page is requested (the default), all the\n remote objects are retrieved and appended in a single list.",
" If pagination is disabled, all the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_issue_status API.
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 add_issue_status API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Add a Issue status to the project and returns a
:class:`IssueStatus` object.
:param name: name of the :class:`IssueStatus`
:param attrs: optional attributes for :class:`IssueStatus` | "Add a Issue status to the project and returns a\n :class:`IssueStatus` object.\n\n :param name: name of the :class:`IssueStatus`\n :param attrs: optional attributes for :class:`IssueStatus`" | 162 | false | nephila/python-taiga | add_issue_status | 25,822 | |
LDU_FT/kejbaly2/metrique/load | LDU_FT | [
"<BEGIN>\n## `filtered`",
"Decorator function that wraps functions returning pandas\n dataframes, such that the dataframe is filtered\n according to left and right bounds set.\n<END>",
"<BEGIN>\n## `to_datetime`",
"This function converts epoch timestamps to datetimes.",
" :param column: column ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Load multiple files from various file types automatically.
Supports glob paths, eg::
path = 'data/*.csv'
Filetypes are autodetected by common extension strings.
Currently supports loadings from:
* csv (pd.read_csv)
* json (pd.read_json)
:param path: path to config json file
... | "Load multiple files from various file types automatically.\n\n Supports glob paths, eg::\n\n path = 'data/*.csv'\n\n Filetypes are autodetected by common extension strings.\n\n Currently supports loadings from:\n * csv (pd.read_csv)\n * json (pd.read_json)\n\n :param path: path to conf... | 224 | false | kejbaly2/metrique | load | 25,823 | |
LDU_FT/pyvisa/pyvisa-py/set_attribute | LDU_FT | [
"<BEGIN>\n## `get_debug_info`",
"Return a list of lines with backend info.\n<END>",
"<BEGIN>\n## `_register`",
"Creates a random but unique session handle for a session object,\n register it in the sessions dictionary and return the value",
" :param obj: a session object.\n :return: ses... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_attribute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_attribute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Sets the state of an attribute.
Corresponds to viSetAttribute function of the VISA library.
:param session: Unique logical identifier to a session.
:param attribute: Attribute for which the state is to be modified. (Attributes.*)
:param attribute_state: The state of the attribute to be... | "Sets the state of an attribute.\n\n Corresponds to viSetAttribute function of the VISA library.\n\n :param session: Unique logical identifier to a session.\n :param attribute: Attribute for which the state is to be modified. (Attributes.*)\n :param attribute_state: The state of the attribut... | 71 | false | pyvisa/pyvisa-py | set_attribute | 25,824 | |
LDU_FT/earlye/nephele/do_mfa | LDU_FT | [
"<BEGIN>\n## `do_mfa`",
"Enter a 6-digit MFA token. Nephele will execute the appropriate\n `aws` command line to authenticate that token. ",
" mfa -h for more details\n<END>",
"<BEGIN>\n## `do_up`",
"Navigate up by one level.",
" For example, if you are in `(aws)/stack:.../asg:.../`, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_mfa API.
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_mfa API.
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 ... | Enter a 6-digit MFA token. Nephele will execute the appropriate
`aws` command line to authenticate that token.
mfa -h for more details | "Enter a 6-digit MFA token. Nephele will execute the appropriate\n `aws` command line to authenticate that token. \n\n mfa -h for more details" | 52 | false | earlye/nephele | do_mfa | 25,825 | |
LDU_FT/MechanicalSoup/MechanicalSoup/__looks_like_html | LDU_FT | [
"<BEGIN>\n## `new_control`",
"Call :func:`Form.new_control` on the currently selected form.\n<END>",
"<BEGIN>\n## `open`",
"Open the URL and store the Browser's state in this object.\n All arguments are forwarded to :func:`Browser.get`.",
" :return: Forwarded from :func:`Browser.get`.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __looks_like_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __looks_like_html API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Guesses entity type when Content-Type header is missing.
Since Content-Type is not strictly required, some servers leave it out. | "Guesses entity type when Content-Type header is missing.\n Since Content-Type is not strictly required, some servers leave it out." | 119 | false | MechanicalSoup/MechanicalSoup | __looks_like_html | 25,826 | |
LDU_FT/Exanis/django-rest-generators/then_a_model_exists | LDU_FT | [
"<BEGIN>\n## `given_i_am_logged_in`",
":type username: str\r\n :type context: behave.runner.Context\n<END>",
"<BEGIN>\n## `when_i_send_the_request`",
":type method: str\r\n :type context: behave.runner.Context\n<END>",
"<BEGIN>\n## `then_the_return_value_for_is`",
":type key: str\r\n :type value:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the then_a_model_exists 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 then_a_model_exists 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... | :type model_name: str
:type key: str
:type value: str
:type context: behave.runner.Context | ":type model_name: str\r\n :type key: str\r\n :type value: str\r\n :type context: behave.runner.Context" | 14 | false | Exanis/django-rest-generators | then_a_model_exists | 25,827 | |
LDU_FT/RudolfCardinal/pythonlib/are_debian_packages_installed | LDU_FT | [
"<BEGIN>\n## `pdb_run`",
"Calls ``func(*args, **kwargs)``; if it raises an exception, break into\n the ``pdb`` debugger.\n<END>",
"<BEGIN>\n## `get_class_name_from_frame`",
"A frame contains information about a specific call in the Python call\n stack; see https://docs.python.org/3/library/inspect.html.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the are_debian_packages_installed 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 are_debian_packages_installed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Check which of a list of Debian packages are installed, via ``dpkg-query``.
Args:
packages: list of Debian package names
Returns:
dict: mapping from package name to boolean ("present?") | "Check which of a list of Debian packages are installed, via ``dpkg-query``.\n\n Args:\n packages: list of Debian package names\n\n Returns:\n dict: mapping from package name to boolean (\"present?\")" | 2,517 | true | RudolfCardinal/pythonlib | are_debian_packages_installed | 25,828 | |
LDU_FT/aalireza/SimpleAudioIndexer/_list_audio_files | LDU_FT | [
"<BEGIN>\n## `set_username_ibm`",
"Parameters\n ----------\n username_ibm : str",
" Raises\n ------\n Exception\n If mode is not `ibm`\n<END>",
"<BEGIN>\n## `set_password_ibm`",
"Parameters\n ----------\n password_ibm : str",
" Raises\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _list_audio_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _list_audio_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Parameters
----------
sub_dir : one of `needed_directories`, optional
Default is "", which means it'll look through all of subdirs.
Returns
-------
audio_files : [str]
A list whose elements are basenames of the present audiofiles whose
formats... | "Parameters\n ----------\n sub_dir : one of `needed_directories`, optional\n Default is \"\", which means it'll look through all of subdirs.\n\n Returns\n -------\n audio_files : [str]\n A list whose elements are basenames of the present audiofiles whose\n ... | 159 | false | aalireza/SimpleAudioIndexer | _list_audio_files | 25,829 | |
LDU_FT/seperman/deepdiff/create_deeper | LDU_FT | [
"<BEGIN>\n## `__report_result`",
"Add a detected change to the reference-style result dictionary.\n report_type will be added to level.\n (We'll create the text-style report from there later.)\n :param report_type: A well defined string key describing the type of change.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_deeper API.
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 create_deeper API.
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... | Start a new comparison level and correctly link it to this one.
:rtype: DiffLevel
:return: New level | "Start a new comparison level and correctly link it to this one.\n :rtype: DiffLevel\n :return: New level" | 46 | false | seperman/deepdiff | create_deeper | 25,830 | |
LDU_FT/push-things/django-th/save_data | LDU_FT | [
"<BEGIN>\n## `available_services`",
"get the available services to be activated",
" read the models dir to find the services installed\n to be added to the system by the administrator\n<END>",
"<BEGIN>\n## `handle`",
"get all the triggers that need to be handled\n<END>",
"<BEGIN>\n## `read_d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_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 save_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... | let's save the data
don't want to handle empty title nor content
otherwise this will produce an Exception by
the Evernote's API
:param trigger_id: trigger ID from which to save data
:param data: the data to check to be used and save
:type trigger_... | "let's save the data\n don't want to handle empty title nor content\n otherwise this will produce an Exception by\n the Evernote's API\n\n :param trigger_id: trigger ID from which to save data\n :param data: the data to check to be used and save\n :type ... | 277 | false | push-things/django-th | save_data | 25,831 | |
LDU_FT/brutus/wtforms-html5/set_minmax | LDU_FT | [
"<BEGIN>\n## `set_required`",
"Returns *render_kw* with *required* set if the field is required.",
" Sets the *required* key if the `required` flag is set for the field (this\n is mostly the case if it is set by validators). The `required` attribute\n is used by browsers to indicate a required field.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_minmax API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_minmax API.
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... | Returns *render_kw* with *min* and *max* set if validators use them.
Sets *min* and / or *max* keys if a `Length` or `NumberRange` validator is
using them.
..note::
This won't change keys already present unless *force* is used. | "Returns *render_kw* with *min* and *max* set if validators use them.\n\n Sets *min* and / or *max* keys if a `Length` or `NumberRange` validator is\n using them.\n\n ..note::\n\n This won't change keys already present unless *force* is used." | 35 | false | brutus/wtforms-html5 | set_minmax | 25,832 | |
LDU_FT/nikdon/pyEntropy/composite_multiscale_entropy | LDU_FT | [
"<BEGIN>\n## `_embed`",
"Time-delay embedding.",
" Parameters\n ----------\n x : 1d-array, shape (n_times)\n Time series\n order : int\n Embedding dimension (order)\n delay : int\n Delay.",
" Returns\n -------\n embedded : ndarray, shape (n_times - (order - 1) * de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the composite_multiscale_entropy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the composite_multiscale_entropy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Calculate the Composite Multiscale Entropy of the given time series.
Args:
time_series: Time series for analysis
sample_length: Number of sequential points of the time series
scale: Scale factor
tolerance: Tolerance (default = 0.1...0.2 * std(time_series))
Returns:
Vect... | "Calculate the Composite Multiscale Entropy of the given time series.\n\n Args:\n time_series: Time series for analysis\n sample_length: Number of sequential points of the time series\n scale: Scale factor\n tolerance: Tolerance (default = 0.1...0.2 * std(time_series))\n\n Returns:\n ... | 47 | false | nikdon/pyEntropy | composite_multiscale_entropy | 25,833 | |
LDU_FT/blakev/python-syncthing/set_ignores | LDU_FT | [
"<BEGIN>\n## `keys_to_datetime`",
"Converts all the keys in an object to DateTime instances.",
" Args:\n obj (dict): the JSON-like ``dict`` object to modify inplace.\n keys (str): keys of the object being converted into DateTime\n instances.",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_ignores API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_ignores API.
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... | Applies ``patterns`` to ``folder``'s ``.stignore`` file.
Args:
folder (str):
patterns (str):
Returns:
dict | "Applies ``patterns`` to ``folder``'s ``.stignore`` file.\n\n Args:\n folder (str):\n patterns (str):\n\n Returns:\n dict" | 60 | false | blakev/python-syncthing | set_ignores | 25,834 | |
LDU_FT/tjomasc/snekbol/_read_sequences | LDU_FT | [
"<BEGIN>\n## `add_component_definition`",
"Add a ComponentDefinition to the document\n<END>",
"<BEGIN>\n## `assemble_component`",
"Assemble a list of already defined components into a structual hirearchy\n<END>",
"<BEGIN>\n## `get_components`",
"Get components from a component definition in order\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_sequences API.
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 _read_sequences API.
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... | Read graph and add sequences to document | "Read graph and add sequences to document" | 30 | false | tjomasc/snekbol | _read_sequences | 25,835 | |
LDU_FT/mikicz/arca/get_last_commit_modifying_files | LDU_FT | [
"<BEGIN>\n## `get_or_create_environment`",
"Returns the path to the current Python executable.\n<END>",
"<BEGIN>\n## `validate_configuration`",
"Validates the provided settings.",
" * Checks ``inherit_image`` format.\n * Checks ``use_registry_name`` format.\n * Checks that ``apt_depende... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last_commit_modifying_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_last_commit_modifying_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Returns the hash of the last commit which modified some of the files (or files in those folders).
:param repo: The repo to check in.
:param files: List of files to check
:return: Commit hash. | "Returns the hash of the last commit which modified some of the files (or files in those folders).\n\n :param repo: The repo to check in.\n :param files: List of files to check\n :return: Commit hash." | 196 | false | mikicz/arca | get_last_commit_modifying_files | 25,836 | |
LDU_FT/inveniosoftware/invenio-pidrelations/ordered | LDU_FT | [
"<BEGIN>\n## `resolve_pid`",
"Retrieve the real PID given a fetched PID.",
" :param pid: fetched PID to resolve.\n<END>",
"<BEGIN>\n## `ordered`",
"Order the query result on the relations' indexes.\n<END>",
"<BEGIN>\n## `_resolved_pid`",
"Resolve self.pid if it is a fetched pid.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ordered API.
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 ordered API.
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... | Order the query result on the relations' indexes. | "Order the query result on the relations' indexes." | 53 | false | inveniosoftware/invenio-pidrelations | ordered | 25,837 | |
LDU_FT/rosshamish/hexgrid/nodes_touching_edge | LDU_FT | [
"<BEGIN>\n## `location`",
"Returns a formatted string representing the coordinate. The format depends on the\n coordinate type.",
" Tiles look like: 1, 12\n Nodes look like: (1 NW), (12 S)\n Edges look like: (1 NW), (12 SE)",
" :param hexgrid_type: hexgrid.TILE, hexgrid.NODE, hexgrid.EDGE\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nodes_touching_edge 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 nodes_touching_edge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns the two node coordinates which are on the given edge coordinate.
:return: list of 2 node coordinates which are on the given edge coordinate, list(int) | "Returns the two node coordinates which are on the given edge coordinate.\n\n :return: list of 2 node coordinates which are on the given edge coordinate, list(int)" | 49 | false | rosshamish/hexgrid | nodes_touching_edge | 25,838 | |
LDU_FT/materialsproject/pymatgen/plot_points | LDU_FT | [
"<BEGIN>\n## `ion_or_solid_comp_object`",
"Returns either an ion object or composition object given\n a formula.",
" Args:\n formula: String formula. Eg. of ion: NaOH(aq), Na[+];\n Eg. of solid: Fe2O3(s), Fe(s), Na2O",
" Returns:\n Composition/Ion object\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_points API.
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 plot_points API.
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... | Adds Points to a matplotlib Axes
Args:
points: list of coordinates
lattice: Lattice object used to convert from reciprocal to cartesian coordinates
coords_are_cartesian: Set to True if you are providing
coordinates in cartesian coordinates. Defaults to False.
Require... | "Adds Points to a matplotlib Axes\n\n Args:\n points: list of coordinates\n lattice: Lattice object used to convert from reciprocal to cartesian coordinates\n coords_are_cartesian: Set to True if you are providing\n coordinates in cartesian coordinates. Defaults to False.\n ... | 6,523 | true | materialsproject/pymatgen | plot_points | 25,839 | |
LDU_FT/KyleJamesWalker/yamlsettings/limit | LDU_FT | [
"<BEGIN>\n## `conform_query`",
"Converts the query string from a target uri, uses\n cls.default_query to populate default arguments.",
" :param query: Unparsed query string\n :type query: urllib.parse.unsplit(uri).query\n :returns: Dictionary of parsed values, everything in cls.defau... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the limit API.
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 limit API.
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... | Remove all keys other than the keys specified. | "Remove all keys other than the keys specified." | 46 | false | KyleJamesWalker/yamlsettings | limit | 25,840 | |
LDU_FT/bwesterb/py-seccure/encrypt_to | LDU_FT | [
"<BEGIN>\n## `serialize_number`",
"Serializes `x' to a string of length `outlen' in format `fmt'\n<END>",
"<BEGIN>\n## `deserialize_number`",
"Deserializes a number from a string `s' in format `fmt'\n<END>",
"<BEGIN>\n## `mod_issquare`",
"Returns whether `a' is a square modulo p\n<END>",
"<BEGIN>\n## `d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_to API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_to API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns a file like object `ef'. Anything written to `ef'
will be encrypted for this pubkey and written to `f'. | "Returns a file like object `ef'. Anything written to `ef'\n will be encrypted for this pubkey and written to `f'." | 22 | false | bwesterb/py-seccure | encrypt_to | 25,841 | |
LDU_FT/akaszynski/pymeshfix/plot | LDU_FT | [
"<BEGIN>\n## `with_vtk`",
"Tests VTK interface and mesh repair of Stanford Bunny Mesh\n<END>",
"<BEGIN>\n## `load_arrays`",
"Loads triangular mesh from vertex and face numpy arrays.",
" Both vertex and face arrays should be 2D arrays with each\n vertex containing XYZ data and each face contain... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API.
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 plot API.
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... | Plot the mesh.
Parameters
----------
show_holes : bool, optional
Shows boundaries. Default True | "Plot the mesh.\n\n Parameters\n ----------\n show_holes : bool, optional\n Shows boundaries. Default True" | 22 | false | akaszynski/pymeshfix | plot | 25,842 | |
LDU_FT/cisco-sas/kitty/get_info | LDU_FT | [
"<BEGIN>\n## `update`",
"update db entry",
" :param field_dict: dictionary of fields and values\n :param where_clause: where clause for the update\n<END>",
"<BEGIN>\n## `insert`",
"insert new db entry",
" :param fields: list of fields to insert\n :param values: list of values t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get info regarding the current fuzzed enclosed node
:return: info dictionary | "Get info regarding the current fuzzed enclosed node\n\n :return: info dictionary" | 331 | false | cisco-sas/kitty | get_info | 25,843 | |
LDU_FT/jwodder/doapi/paginate | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Fetch & return a new `Action` object representing the action's current\n state",
" :rtype: Action\n :raises DOAPIError: if the API endpoint replies with an error\n<END>",
"<BEGIN>\n## `fetch_resource`",
"Fetch & return the resource that the action operated on, or... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginate API.
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 paginate API.
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... | Fetch a sequence of paginated resources from the API endpoint. The
initial request to ``url`` and all subsequent requests must respond
with a JSON object; the field specified by ``key`` must be a list,
whose elements will be yielded, and the next request will be made to
the URL in the `... | "Fetch a sequence of paginated resources from the API endpoint. The\n initial request to ``url`` and all subsequent requests must respond\n with a JSON object; the field specified by ``key`` must be a list,\n whose elements will be yielded, and the next request will be made to\n the URL in ... | 176 | false | jwodder/doapi | paginate | 25,844 | |
LDU_FT/lxyu/pinyin/get | LDU_FT | [
"<BEGIN>\n## `_pinyin_generator`",
"Generate pinyin for chars, if char is not chinese character,\n itself will be returned.\n Chars must be unicode list.\n<END>",
"<BEGIN>\n## `get`",
"Return pinyin of string, the string must be unicode\n<END>",
"<BEGIN>\n## `get_initial`",
"Return the 1st char of p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Return pinyin of string, the string must be unicode | "Return pinyin of string, the string must be unicode" | 16 | false | lxyu/pinyin | get | 25,845 | |
LDU_FT/edx/i18n-tools/base | LDU_FT | [
"<BEGIN>\n## `default_config_filename`",
"Returns the default name of the configuration file.\n<END>",
"<BEGIN>\n## `read_config`",
"Returns data found in config file (as dict), or raises exception if file not found\n<END>",
"<BEGIN>\n## `rtl_langs`",
"Returns the set of translated RTL language codes pres... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the base API.
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 base API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return a relative path from config.BASE_DIR to path1 / paths[0] / ... | "Return a relative path from config.BASE_DIR to path1 / paths[0] / ..." | 117 | false | edx/i18n-tools | base | 25,846 | |
LDU_FT/PMEAL/porespy/regions_to_network | LDU_FT | [
"<BEGIN>\n## `show_mesh`",
"r\"\"\"\n Visualizes the mesh of a region as obtained by ``get_mesh`` function in\n the ``metrics`` submodule.",
" Parameters\n ----------\n mesh : tuple\n A mesh returned by ``skimage.measure.marching_cubes``",
" Returns\n -------\n fig : Matplotlib ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the regions_to_network 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 regions_to_network 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... | r"""
Analyzes an image that has been partitioned into pore regions and extracts
the pore and throat geometry as well as network connectivity.
Parameters
----------
im : ND-array
An image of the pore space partitioned into individual pore regions.
Note that this image must have zeros... | "r\"\"\"\n Analyzes an image that has been partitioned into pore regions and extracts\n the pore and throat geometry as well as network connectivity.\n\n Parameters\n ----------\n im : ND-array\n An image of the pore space partitioned into individual pore regions.\n Note that this image mus... | 688 | false | PMEAL/porespy | regions_to_network | 25,847 | |
LDU_FT/SystemRDL/systemrdl-compiler/derive_coordinates | LDU_FT | [
"<BEGIN>\n## `derive_coordinates`",
"Depending on the compilation source, some members of the SourceRef\n object may be incomplete.\n Calling this function performs the necessary derivations to complete the\n object.\n<END>",
"<BEGIN>\n## `format_message`",
"Formats the message prior to e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the derive_coordinates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the derive_coordinates API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Depending on the compilation source, some members of the SourceRef
object may be incomplete.
Calling this function performs the necessary derivations to complete the
object. | "Depending on the compilation source, some members of the SourceRef\n object may be incomplete.\n Calling this function performs the necessary derivations to complete the\n object." | 207 | false | SystemRDL/systemrdl-compiler | derive_coordinates | 25,848 | |
LDU_FT/sv0/django-markdown-app/get_pandoc_formats | LDU_FT | [
"<BEGIN>\n## `markdown`",
"Render markdown over a given value, optionally using varios extensions.",
" Default extensions could be defined which MARKDOWN_EXTENSIONS option.",
" :returns: A rendered markdown\n<END>",
"<BEGIN>\n## `editor_js_initialization`",
"Return script tag with initialization cod... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_pandoc_formats 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_pandoc_formats 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... | Dynamic preprocessor for Pandoc formats.
Return 2 lists. "from_formats" and "to_formats". | "Dynamic preprocessor for Pandoc formats.\n\n Return 2 lists. \"from_formats\" and \"to_formats\"." | 37 | false | sv0/django-markdown-app | get_pandoc_formats | 25,849 | |
LDU_FT/pysathq/pysat/append | LDU_FT | [
"<BEGIN>\n## `open`",
"Open a file pointer. Note that a file is *always* opened in text\n mode. The method inherits its input parameters from the constructor\n of :class:`FileObject`.\n<END>",
"<BEGIN>\n## `get_compression_type`",
"Determine compression type for a given file using its ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Add one more clause to CNF formula. This method additionally
updates the number of variables, i.e. variable ``self.nv``, used in
the formula.
:param clause: a new clause to add.
:type clause: list(int)
.. code-block:: python
>>> from pysat.f... | "Add one more clause to CNF formula. This method additionally\n updates the number of variables, i.e. variable ``self.nv``, used in\n the formula.\n\n :param clause: a new clause to add.\n :type clause: list(int)\n\n .. code-block:: python\n\n >>> fr... | 578 | false | pysathq/pysat | append | 25,850 | |
LDU_FT/ChrisBeaumont/smother/to_coverage | LDU_FT | [
"<BEGIN>\n## `parse_intervals`",
"Parse a diff into an iterator of Intervals.\n<END>",
"<BEGIN>\n## `_filldown`",
"Copy current_context into `lines` down up until lineno\n<END>",
"<BEGIN>\n## `_add_section`",
"Register the current node as a new context block\n<END>",
"<BEGIN>\n## `_module_name`",
"Try... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_coverage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_coverage API.
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... | Produce a .coverage file from a smother file | "Produce a .coverage file from a smother file" | 47 | false | ChrisBeaumont/smother | to_coverage | 25,851 | |
LDU_FT/SHTOOLS/SHTOOLS/_multitaper_cross_spectrum | LDU_FT | [
"<BEGIN>\n## `example`",
"Plot random phase and Gaussian random variable spectra.\n<END>",
"<BEGIN>\n## `plot_rad`",
"Plot the radial component of the gravity field.",
" Usage\n -----\n x.plot_rad([tick_interval, xlabel, ylabel, ax, colorbar,\n cb_orientation, cb_labe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _multitaper_cross_spectrum 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 _multitaper_cross_spectrum API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Return the multitaper cross-spectrum estimate and standard error for
two input SHCoeffs class instances. | "Return the multitaper cross-spectrum estimate and standard error for\n two input SHCoeffs class instances." | 779 | false | SHTOOLS/SHTOOLS | _multitaper_cross_spectrum | 25,852 | |
LDU_FT/Metatab/metatab/set_ownership | LDU_FT | [
"<BEGIN>\n## `split_term`",
"Split a term in to parent and record term components\n :param term: combined term text\n :return: Tuple of parent and record term\n<END>",
"<BEGIN>\n## `split_term_lower`",
"Like split_term, but also lowercases both parent and record term\n :param term: combin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_ownership API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_ownership API.
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... | Recursivelt set the parent, section and doc for a children | "Recursivelt set the parent, section and doc for a children" | 102 | false | Metatab/metatab | set_ownership | 25,853 | |
LDU_FT/trevorstephens/gplearn/predict | LDU_FT | [
"<BEGIN>\n## `_parallel_evolve`",
"Private function used to build a batch of programs within a job.\n<END>",
"<BEGIN>\n## `_verbose_reporter`",
"A report of the progress of the evolution process.",
" Parameters\n ----------\n run_details : dict\n Information about the evoluti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Perform regression on test vectors X.
Parameters
----------
X : array-like, shape = [n_samples, n_features]
Input vectors, where n_samples is the number of samples
and n_features is the number of features.
Returns
-------
y : array, shape = [n_sa... | "Perform regression on test vectors X.\n\n Parameters\n ----------\n X : array-like, shape = [n_samples, n_features]\n Input vectors, where n_samples is the number of samples\n and n_features is the number of features.\n\n Returns\n -------\n y : array, sh... | 103 | false | trevorstephens/gplearn | predict | 25,854 | |
LDU_FT/jart/fabulous/getch | LDU_FT | [
"<BEGIN>\n## `lorem_gotham`",
"Cheesy Gothic Poetry Generator",
" Uses Python generators to yield eternal angst.",
" When you need to generate random verbiage to test your code or\n typographic design, let's face it... Lorem Ipsum and \"the quick\n brown fox\" are old and boring!",
" What you... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getch API.
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 getch API.
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... | Don't use this yet
It doesn't belong here but I haven't yet thought about a proper
way to implement this feature and the features that will depend on
it. | "Don't use this yet\n \n It doesn't belong here but I haven't yet thought about a proper\n way to implement this feature and the features that will depend on\n it." | 148 | false | jart/fabulous | getch | 25,855 | |
LDU_FT/jrderuiter/pybiomart/list_attributes | LDU_FT | [
"<BEGIN>\n## `filters`",
"List of filters available for the dataset.\n<END>",
"<BEGIN>\n## `attributes`",
"List of attributes available for the dataset (cached).\n<END>",
"<BEGIN>\n## `default_attributes`",
"List of default attributes for the dataset.\n<END>",
"<BEGIN>\n## `list_attributes`",
"Lists a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_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 e... | Lists available attributes in a readable DataFrame format.
Returns:
pd.DataFrame: Frame listing available attributes. | "Lists available attributes in a readable DataFrame format.\n\n Returns:\n pd.DataFrame: Frame listing available attributes." | 27 | false | jrderuiter/pybiomart | list_attributes | 25,856 | |
LDU_FT/joyent/python-manta/create_job | 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 create_job API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_job API.
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... | CreateJob
https://apidocs.joyent.com/manta/api.html#CreateJob | "CreateJob\n https://apidocs.joyent.com/manta/api.html#CreateJob" | 203 | false | joyent/python-manta | create_job | 25,857 | |
LDU_FT/CZ-NIC/yangson/prefix | LDU_FT | [
"<BEGIN>\n## `schema_root`",
"Return the root node of the receiver's schema.\n<END>",
"<BEGIN>\n## `iname`",
"Return the instance name corresponding to the receiver.\n<END>",
"<BEGIN>\n## `_node_digest`",
"Return dictionary of receiver's properties suitable for clients.\n<END>",
"<BEGIN>\n## `_iname2qna... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prefix API.
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 prefix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Return the prefix corresponding to an implemented module.
Args:
imod: Name of an implemented module.
mid: Identifier of the context module.
Raises:
ModuleNotImplemented: If `imod` is not implemented.
ModuleNotRegistered: If `mid` is not registered in YAN... | "Return the prefix corresponding to an implemented module.\n\n Args:\n imod: Name of an implemented module.\n mid: Identifier of the context module.\n\n Raises:\n ModuleNotImplemented: If `imod` is not implemented.\n ModuleNotRegistered: If `mid` is not register... | 352 | false | CZ-NIC/yangson | prefix | 25,858 | |
LDU_FT/agoragames/kairos/buckets | LDU_FT | [
"<BEGIN>\n## `_resolve_time`",
"Resolve the time in seconds of a configuration value.\n<END>",
"<BEGIN>\n## `step_size`",
"Return the time in seconds of a step. If a begin and end timestamp,\n return the time in seconds between them after adjusting for what buckets\n they alias to. If t1 and t0 resolve ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buckets API.
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 buckets API.
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... | Calculate the buckets within a starting and ending timestamp. | "Calculate the buckets within a starting and ending timestamp." | 74 | false | agoragames/kairos | buckets | 25,859 | |
LDU_FT/biocommons/biocommons.seqrepo/store_alias | LDU_FT | [
"<BEGIN>\n## `fetch`",
"fetch sequence by seq_id, optionally with start, end bounds\n<END>",
"<BEGIN>\n## `store`",
"store a sequence with key seq_id. The sequence itself is stored in\n a fasta file and a reference to it in the sqlite3 database.\n<END>",
"<BEGIN>\n## `makedirs`",
"cheapo replaceme... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the store_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the store_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 extra... | associate a namespaced alias with a sequence
Alias association with sequences is idempotent: duplicate
associations are discarded silently. | "associate a namespaced alias with a sequence\n\n Alias association with sequences is idempotent: duplicate\n associations are discarded silently." | 49 | false | biocommons/biocommons.seqrepo | store_alias | 25,860 | |
LDU_FT/sjkingo/virtualenv-api/_pip_exists | LDU_FT | [
"<BEGIN>\n## `_python_rpath`",
"The relative path (from environment root) to python.\n<END>",
"<BEGIN>\n## `_create`",
"Executes `virtualenv` to create a new environment.\n<END>",
"<BEGIN>\n## `_execute_pip`",
"Executes pip commands.",
" :param args: Arguments to pass to pip (list[str])\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _pip_exists API.
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 _pip_exists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns True if pip exists inside the virtual environment. Can be
used as a naive way to verify that the environment is installed. | "Returns True if pip exists inside the virtual environment. Can be\n used as a naive way to verify that the environment is installed." | 38 | false | sjkingo/virtualenv-api | _pip_exists | 25,861 | |
LDU_FT/sparklingpandas/sparklingpandas/stats | LDU_FT | [
"<BEGIN>\n## `_prep_pandas_groupby`",
"Prepare the old school pandas group by based approach.\n<END>",
"<BEGIN>\n## `_group`",
"Group together the values with the same key.\n<END>",
"<BEGIN>\n## `groups`",
"Returns dict {group name -> group labels}.\n<END>",
"<BEGIN>\n## `indices`",
"Returns dict {gro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Compute the stats for each column provided in columns.
Parameters
----------
columns : list of str, contains all columns to compute stats on. | "Compute the stats for each column provided in columns.\n Parameters\n ----------\n columns : list of str, contains all columns to compute stats on." | 87 | false | sparklingpandas/sparklingpandas | stats | 25,862 | |
LDU_FT/yahoo/TensorFlowOnSpark/_process_image | LDU_FT | [
"<BEGIN>\n## `start`",
"Create a new multiprocess.Manager (or return existing one).",
" Args:\n :authkey: string authorization key\n :queues: *INTERNAL_USE*\n :mode: 'local' indicates that the manager will only be accessible from the same host, otherwise remotely accessible.",
" Returns:\n A TFM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_image API.
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 _process_image API.
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... | Process a single image file.
Args:
filename: string, path to an image file e.g., '/path/to/example.JPG'.
coder: instance of ImageCoder to provide TensorFlow image coding utils.
Returns:
image_buffer: string, JPEG encoding of RGB image.
height: integer, image height in pixels.
width: integer, im... | "Process a single image file.\n\n Args:\n filename: string, path to an image file e.g., '/path/to/example.JPG'.\n coder: instance of ImageCoder to provide TensorFlow image coding utils.\n Returns:\n image_buffer: string, JPEG encoding of RGB image.\n height: integer, image height in pixels.\n width: in... | 483 | false | yahoo/TensorFlowOnSpark | _process_image | 25,863 | |
LDU_FT/marshmallow-code/apispec/validate_spec | LDU_FT | [
"<BEGIN>\n## `load_operations_from_docstring`",
"Return a dictionary of OpenAPI operations parsed from a\n a docstring.\n<END>",
"<BEGIN>\n## `resolve_schema_instance`",
"Return schema instance for given schema (instance or class)",
" :param type|Schema|str schema: instance, class or class name of mar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_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 validate_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... | Validate the output of an :class:`APISpec` object against the
OpenAPI specification.
Note: Requires installing apispec with the ``[validation]`` extras.
::
pip install 'apispec[validation]'
:raise: apispec.exceptions.OpenAPIError if validation fails. | "Validate the output of an :class:`APISpec` object against the\n OpenAPI specification.\n\n Note: Requires installing apispec with the ``[validation]`` extras.\n ::\n\n pip install 'apispec[validation]'\n\n :raise: apispec.exceptions.OpenAPIError if validation fails." | 149 | false | marshmallow-code/apispec | validate_spec | 25,864 | |
LDU_FT/ontio/ontology-python-sdk/write_var_bytes | LDU_FT | [
"<BEGIN>\n## `init`",
"This interface is used to call the TotalSupply method in ope4\n that initialize smart contract parameter.",
" :param acct: an Account class that used to sign the transaction.\n :param payer_acct: an Account class that used to pay for the transaction.\n :param g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_var_bytes API.
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 write_var_bytes API.
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... | Write an integer value in a space saving way to the stream.
:param value:
:param little_endian: specify the endianness. (Default) Little endian.
:return: int: the number of bytes written. | "Write an integer value in a space saving way to the stream.\n\n :param value:\n :param little_endian: specify the endianness. (Default) Little endian.\n :return: int: the number of bytes written." | 375 | false | ontio/ontology-python-sdk | write_var_bytes | 25,865 | |
LDU_FT/uberVU/mongo-pool/_parse_dbpath | LDU_FT | [
"<BEGIN>\n## `get_cluster`",
"Returns a connection to a mongo-clusters.",
" Args:\n label (string): the label of a cluster.",
" Returns:\n A connection to the cluster labeld with label.",
" Raises:\n AttributeError: there is no cluster with the given lab... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_dbpath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_dbpath API.
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... | Converts the dbpath to a regexp pattern.
Transforms dbpath from a string or an array of strings to a
regexp pattern which will be used to match database names.
Args:
dbpath: a string or an array containing the databases to be matched
from a cluster.
Returns... | "Converts the dbpath to a regexp pattern.\n\n Transforms dbpath from a string or an array of strings to a\n regexp pattern which will be used to match database names.\n\n Args:\n dbpath: a string or an array containing the databases to be matched\n from a cluster.\n\n ... | 37 | false | uberVU/mongo-pool | _parse_dbpath | 25,866 | |
LDU_FT/sparklingpandas/sparklingpandas/merge | LDU_FT | [
"<BEGIN>\n## `_prep_pandas_groupby`",
"Prepare the old school pandas group by based approach.\n<END>",
"<BEGIN>\n## `_group`",
"Group together the values with the same key.\n<END>",
"<BEGIN>\n## `groups`",
"Returns dict {group name -> group labels}.\n<END>",
"<BEGIN>\n## `indices`",
"Returns dict {gro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API.
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 merge API.
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... | Add another DataFrame to the PStatCounter. | "Add another DataFrame to the PStatCounter." | 87 | false | sparklingpandas/sparklingpandas | merge | 25,867 | |
LDU_FT/posativ/isso/timedelta | LDU_FT | [
"<BEGIN>\n## `anonymize`",
"Anonymize IPv4 and IPv6 :param remote_addr: to /24 (zero'd)\n and /48 (zero'd).\n<END>",
"<BEGIN>\n## `thread`",
"Extract <h1> title from web page. The title is *probably* the text node,\n which is the nearest H1 node in context to an element with the `isso-thread` id.\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timedelta API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timedelta API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Parse :param string: into :class:`datetime.timedelta`, you can use any
(logical) combination of Nw, Nd, Nh and Nm, e.g. `1h30m` for 1 hour, 30
minutes or `3w` for 3 weeks.
Raises a ValueError if the input is invalid/unparseable.
>>> print(timedelta("3w"))
21 days, 0:00:00
>>> print(timedelta("... | "Parse :param string: into :class:`datetime.timedelta`, you can use any\n (logical) combination of Nw, Nd, Nh and Nm, e.g. `1h30m` for 1 hour, 30\n minutes or `3w` for 3 weeks.\n\n Raises a ValueError if the input is invalid/unparseable.\n\n >>> print(timedelta(\"3w\"))\n 21 days, 0:00:00\n >>> print(... | 61 | false | posativ/isso | timedelta | 25,868 | |
LDU_FT/heuer/segno/make_error_block | LDU_FT | [
"<BEGIN>\n## `make`",
"\\\n Creates a (Micro) QR Code.",
" This is main entry point to create QR Codes and Micro QR Codes.",
" Aside from `content`, all parameters are optional and an optimal (minimal)\n (Micro) QR Code with a maximal error correction level (minimum \"M\") is\n generated.",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_error_block API.
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 make_error_block API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | \
Creates the error code words for the provided data block.
:param ec_info: ECC information (number of blocks, number of code words etc.)
:param data_block: Iterable of (integer) code words. | "\\\n Creates the error code words for the provided data block.\n\n :param ec_info: ECC information (number of blocks, number of code words etc.)\n :param data_block: Iterable of (integer) code words." | 436 | false | heuer/segno | make_error_block | 25,869 | |
LDU_FT/MultipedRobotics/pyxl320/write | LDU_FT | [
"<BEGIN>\n## `makeServoIDPacket`",
"Given the current ID, returns a packet to set the servo to a new ID\n<END>",
"<BEGIN>\n## `packetToDict`",
"Given a packet, this turns it into a dictionary ... is this useful?",
"\tin: packet, array of numbers\n\tout: dictionary (key, value)\n<END>",
"<BEGIN>\n## `sweep... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Writes a Json file
in: fname - file name
data - dictionary of data to put into the file
out: nothing, everything is written to a file | "Writes a Json file\n\n\t\tin: fname - file name\n\t\t\tdata - dictionary of data to put into the file\n\n\t\tout: nothing, everything is written to a file" | 71 | false | MultipedRobotics/pyxl320 | write | 25,870 | |
LDU_FT/ChristianTremblay/BAC0/read_multiple | LDU_FT | [
"<BEGIN>\n## `sim`",
"Simulate I/O points by setting the Out_Of_Service property, then doing a \r\n WriteProperty to the point's Present_Value.\r",
" :param args: String with <addr> <type> <inst> <prop> <value> [ <indx> ] [ <priority> ]\n<END>",
"<BEGIN>\n## `out_of_service`",
"Set the Out_Of_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_multiple API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_multiple API.
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... | Read points from a device using a ReadPropertyMultiple request.
[ReadProperty requests are very slow in comparison].
:param points_list: (list) a list of all point_name as str
:param points_per_request: (int) number of points in the request
Requesting many points results big requ... | "Read points from a device using a ReadPropertyMultiple request.\r\n [ReadProperty requests are very slow in comparison].\r\n\r\n :param points_list: (list) a list of all point_name as str\r\n :param points_per_request: (int) number of points in the request\r\n\r\n Requesting many points res... | 73 | false | ChristianTremblay/BAC0 | read_multiple | 25,871 | |
LDU_FT/rflamary/POT/scipy_sparse_to_spmatrix | LDU_FT | [
"<BEGIN>\n## `plot1D_mat`",
"Plot matrix M with the source and target 1D distribution",
" Creates a subplot with the source distribution a on the left and\n target distribution b on the tot. The matrix M is shown in between.",
" Parameters\n ----------\n a : np.array, shape (na,)\n Sour... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scipy_sparse_to_spmatrix 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 scipy_sparse_to_spmatrix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Efficient conversion from scipy sparse matrix to cvxopt sparse matrix | "Efficient conversion from scipy sparse matrix to cvxopt sparse matrix" | 711 | false | rflamary/POT | scipy_sparse_to_spmatrix | 25,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.