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/ChristopherRabotin/bungiesearch/map_raw_results | LDU_FT | [
"<BEGIN>\n## `update_index`",
"Updates the index for the provided model_items.\n :param model_items: a list of model_items (django Model instances, or proxy instances) which are to be indexed/updated or deleted.\n If action is 'index', the model_items must be serializable objects. If action is 'delete', the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_raw_results API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_raw_results API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Maps raw results to database model objects.
:param raw_results: list raw results as returned from elasticsearch-dsl-py.
:param instance: Bungiesearch instance if you want to make use of `.only()` or `optmize_queries` as defined in the ModelIndex.
:return: list of mapped results in the *same* ord... | "Maps raw results to database model objects.\n :param raw_results: list raw results as returned from elasticsearch-dsl-py.\n :param instance: Bungiesearch instance if you want to make use of `.only()` or `optmize_queries` as defined in the ModelIndex.\n :return: list of mapped results in the *same*... | 46 | false | ChristopherRabotin/bungiesearch | map_raw_results | 3,373 | |
LDU_FT/alexcouper/captainhook/main | LDU_FT | [
"<BEGIN>\n## `run`",
"Look for pdb.set_trace() commands in python files.\n<END>",
"<BEGIN>\n## `checks`",
"An iterator of valid checks that are in the installed checkers package.",
" yields check name, check module\n<END>",
"<BEGIN>\n## `files_to_check`",
"Validate the commit diff.",
" Make copi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Run the configured code checks.
Return system exit code.
1 - reject commit
0 - accept commit | "Run the configured code checks.\n\n Return system exit code.\n 1 - reject commit\n 0 - accept commit" | 29 | false | alexcouper/captainhook | main | 3,374 | |
LDU_FT/JoseAntFer/pyny3d/classify | LDU_FT | [
"<BEGIN>\n## `run`",
"Run the shadowing computation with the values stored in \r\n ``self.arg_``. Precomputed information is stored in:\r",
" * **.diff_t** (*ndarray*): ``np.diff(t)``\r\n * **.integral** (*ndarray*): Trapezoidal data integration \r\n over time.\r",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the classify API.
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 classify API.
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... | Calculates the belonging relationship between the polygons
in the Surface and a set of points.
This function enhances the performance of ``Polygon.contains()``
when used with multiple non-overlapping polygons (stored in a
Surface) by verifying only the points which are inside the z=0 ... | "Calculates the belonging relationship between the polygons\r\n in the Surface and a set of points.\r\n \r\n This function enhances the performance of ``Polygon.contains()``\r\n\t\twhen used with multiple non-overlapping polygons (stored in a \r\n\t\tSurface) by verifying only the points which are ... | 298 | false | JoseAntFer/pyny3d | classify | 3,375 | |
LDU_FT/ionelmc/python-aspectlib/weave_class | LDU_FT | [
"<BEGIN>\n## `weave`",
"Send a message to a recipient",
" Args:\n target (string, class, instance, function or builtin):\n The object to weave.\n aspects (:py:obj:`aspectlib.Aspect`, function decorator or list of):\n The aspects to apply to the object.\n subclasses ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weave_class API.
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 weave_class API.
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... | Low-level weaver for classes.
.. warning:: You should not use this directly. | "Low-level weaver for classes.\n\n .. warning:: You should not use this directly." | 48 | false | ionelmc/python-aspectlib | weave_class | 3,376 | |
LDU_FT/SatelliteQE/nailgun/path | LDU_FT | [
"<BEGIN>\n## `main`",
"Create an identical user account on a pair of satellites.\n<END>",
"<BEGIN>\n## `get_organization_id`",
"Return the ID of the organization with label ``label``.",
" :param server_config: A dict of information about the server being talked\n to. The dict should include the ke... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted do... | Extend ``nailgun.entity_mixins.Entity.path``.
The format of the returned path depends on the value of ``which``:
available_repositories
/repository_sets/<id>/available_repositories
enable
/repository_sets/<id>/enable
disable
/repository_sets/<id>/dis... | "Extend ``nailgun.entity_mixins.Entity.path``.\n\n The format of the returned path depends on the value of ``which``:\n\n available_repositories\n /repository_sets/<id>/available_repositories\n enable\n /repository_sets/<id>/enable\n disable\n /repository_set... | 695 | false | SatelliteQE/nailgun | path | 3,377 | |
LDU_FT/moonso/ped_parser/check_cmms_id | LDU_FT | [
"<BEGIN>\n## `get_individual`",
"Return a individual object based on the indata.",
" Arguments:\n family_id (str): The id for this family\n sample_id (str): The id for this sample\n father_id (str): The id for this samples father\n mother_id (str): The id for t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_cmms_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_cmms_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Take the ID and check if it is following the cmms standard.
The standard is year:id-generation-indcode:affectionstatus.
Year is two digits, id three digits, generation in roman letters
indcode are digits and affection status are in ['A', 'U', 'X'].
Example 11001-II-1A.
I... | "Take the ID and check if it is following the cmms standard.\n The standard is year:id-generation-indcode:affectionstatus.\n Year is two digits, id three digits, generation in roman letters\n indcode are digits and affection status are in ['A', 'U', 'X'].\n Example 11001-II-1A.\n \n ... | 79 | false | moonso/ped_parser | check_cmms_id | 3,378 | |
LDU_FT/django-ses/django-ses/emails_parse | LDU_FT | [
"<BEGIN>\n## `certificate`",
"Retrieves the certificate used to sign the bounce message.",
" TODO: Cache the certificate based on the cert URL so we don't have to\n retrieve it for each bounce message. *We would need to do it in a\n secure way so that the cert couldn't be overwritten in the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emails_parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emails_parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Parse the output of ``SESConnection.list_verified_emails()`` and get
a list of emails. | "Parse the output of ``SESConnection.list_verified_emails()`` and get\n a list of emails." | 27 | false | django-ses/django-ses | emails_parse | 3,379 | |
LDU_FT/pschmitt/shortmomi/connect | LDU_FT | [
"<BEGIN>\n## `get_object_by_name`",
"Get the vsphere object associated with a given text name\n Source: https://github.com/rreubenur/vmware-pyvmomi-examples/blob/master/create_template.py\n<END>",
"<BEGIN>\n## `get_all`",
"Get all items of a certain type\n Example: get_all(content, vim.Datastore) return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
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 connect API.
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... | Connect to a vCenter via the API
:param host: Hostname or IP of the vCenter
:type host: str or unicode
:param username: Username
:type user: str or unicode
:param password: Password
:type user: str or unicode
:param port: Port on which the vCenter API is running (default: 443)
:type port... | "Connect to a vCenter via the API\n :param host: Hostname or IP of the vCenter\n :type host: str or unicode\n :param username: Username\n :type user: str or unicode\n :param password: Password\n :type user: str or unicode\n :param port: Port on which the vCenter API is running (default: 443)\n :... | 10 | false | pschmitt/shortmomi | connect | 3,380 | |
LDU_FT/pandas-dev/pandas/_get_counts | LDU_FT | [
"<BEGIN>\n## `to_offset`",
"Return DateOffset object from string or tuple representation\n or datetime.timedelta object",
" Parameters\n ----------\n freq : str, tuple, datetime.timedelta, DateOffset or None",
" Returns\n -------\n DateOffset\n None if freq is None.",
" Raises... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_counts API.
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_counts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | return a dict of the counts of the function in BlockManager | "return a dict of the counts of the function in BlockManager" | 8,110 | true | pandas-dev/pandas | _get_counts | 3,381 | |
LDU_FT/ofir123/py-printer/get_as_html | LDU_FT | [
"<BEGIN>\n## `get_printer`",
"Returns an already initialized instance of the printer.",
" :param colors: If False, no colors will be printed.\n :param width_limit: If True, printing width will be limited by console width.\n :param disabled: If True, nothing will be printed.\n<END>",
"<BEGIN>\n## `_ge... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_as_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_as_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 extra... | Returns the table object as an HTML string.
:return: HTML representation of the table. | "Returns the table object as an HTML string.\n\n :return: HTML representation of the table." | 46 | false | ofir123/py-printer | get_as_html | 3,382 | |
LDU_FT/xav/Grapefruit/websafe_dither | LDU_FT | [
"<BEGIN>\n## `rgb_to_hsl`",
"Convert the color from RGB coordinates to HSL.",
" Parameters:\n :r:\n The Red component value [0...1]\n :g:\n The Green component value [0...1]\n :b:\n The Blue component value [0...1]",
" Returns:\n The color as an (h, s, l) tuple in the range:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the websafe_dither API.
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 websafe_dither API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return the two websafe colors nearest to this one.
Returns:
A tuple of two grapefruit.Color instances which are the two
web safe colors closest this one.
>>> c = Color.from_rgb(1.0, 0.45, 0.0)
>>> c1, c2 = c.websafe_dither()
>>> c1
Color(1.0, 0.4, 0.0, 1.0)
>>> c2
Color(1.0, 0.... | "Return the two websafe colors nearest to this one.\n\n Returns:\n A tuple of two grapefruit.Color instances which are the two\n web safe colors closest this one.\n\n >>> c = Color.from_rgb(1.0, 0.45, 0.0)\n >>> c1, c2 = c.websafe_dither()\n >>> c1\n Color(1.0, 0.4, 0.0, 1.0)\n >>> c2\n C... | 234 | false | xav/Grapefruit | websafe_dither | 3,383 | |
LDU_FT/codeforamerica/epa_python/find_table_links | LDU_FT | [
"<BEGIN>\n## `admin_penalty`",
"An enforcement action that results in levying the permit holder with a\n penalty or fine. It is used to track judicial hearing dates, penalty\n amounts, and type of administrative penalty order.",
" >>> PCS().admin_penalty('enfor_action_date', '16-MAR-01')\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_table_links API.
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 find_table_links API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | When given a url, this function will find all the available table names
for that EPA dataset. | "When given a url, this function will find all the available table names\n for that EPA dataset." | 114 | false | codeforamerica/epa_python | find_table_links | 3,384 | |
LDU_FT/bjodah/pycompilation/link | LDU_FT | [
"<BEGIN>\n## `compile_sources`",
"Compile source code files to object files.",
" Parameters\n ----------\n files: iterable of path strings\n source files, if cwd is given, the paths are taken as relative.\n CompilerRunner_: CompilerRunner instance (optional)\n could be e.g. pycompilati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the link API.
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 link API.
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... | Link object files.
Parameters
----------
obj_files: iterable of path strings
out_file: path string (optional)
path to executable/shared library, if missing
it will be deduced from the last item in obj_files.
shared: bool
Generate a shared library? default: False
Compiler... | "Link object files.\n\n Parameters\n ----------\n obj_files: iterable of path strings\n out_file: path string (optional)\n path to executable/shared library, if missing\n it will be deduced from the last item in obj_files.\n shared: bool\n Generate a shared library? default: False\n ... | 71 | false | bjodah/pycompilation | link | 3,385 | |
LDU_FT/jaseg/python-mpv/register_key_binding | LDU_FT | [
"<BEGIN>\n## `_mpv_coax_proptype`",
"Intelligently coax the given python value into something that can be understood as a proptype property.\n<END>",
"<BEGIN>\n## `_make_node_str_list`",
"Take a list of python objects and make a MPV string node array from it.",
" As an example, the python list ``l = [ \"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_key_binding 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 register_key_binding API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Register a key binding. This takes an mpv keydef and either a string containing a mpv command or a python
callback function. See ``MPV.key_binding`` for details. | "Register a key binding. This takes an mpv keydef and either a string containing a mpv command or a python\n callback function. See ``MPV.key_binding`` for details." | 66 | false | jaseg/python-mpv | register_key_binding | 3,386 | |
LDU_FT/eisensheng/kaviar/kv_format_dict | LDU_FT | [
"<BEGIN>\n## `_version_find_existing`",
"Returns set of existing versions in this repository. This\n information is backed by previously used version tags in git.\n Available tags are pulled from origin repository before.",
" :return:\n available versions\n :rtype:\n set\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kv_format_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kv_format_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Formats the given dictionary ``d``.
For more details see :func:`kv_format`.
:param collections.Mapping d:
Dictionary containing values to format.
:param collections.Iterable keys:
List of keys to extract from the dict.
:param str separator:
Value between two pairs.
:return:... | "Formats the given dictionary ``d``.\n\n For more details see :func:`kv_format`.\n\n :param collections.Mapping d:\n Dictionary containing values to format.\n :param collections.Iterable keys:\n List of keys to extract from the dict.\n :param str separator:\n Value between two pairs.\n ... | 27 | false | eisensheng/kaviar | kv_format_dict | 3,387 | |
LDU_FT/r4fek/django-cassandra-engine/save | LDU_FT | [
"<BEGIN>\n## `_discover_models`",
"Return a dict containing a list of cassandra.cqlengine.Model classes\n within installed App.\n<END>",
"<BEGIN>\n## `django_table_names`",
"Returns a list of all table names that have associated cqlengine models\n and are present in settings.INSTALLED_APPS.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Saves the current session data to the database. If 'must_create' is
True, a database error will be raised if the saving operation doesn't
create a *new* entry (as opposed to possibly updating an existing
entry).
:param must_create: | "Saves the current session data to the database. If 'must_create' is\n True, a database error will be raised if the saving operation doesn't\n create a *new* entry (as opposed to possibly updating an existing\n entry).\n\n :param must_create:" | 37 | false | r4fek/django-cassandra-engine | save | 3,388 | |
LDU_FT/flask-restful/flask-restful/marshal | LDU_FT | [
"<BEGIN>\n## `unpack`",
"Return a three tuple of data, code, and headers\n<END>",
"<BEGIN>\n## `output_xml`",
"Makes a Flask response with a XML encoded body\n<END>",
"<BEGIN>\n## `output_json`",
"Makes a Flask response with a JSON encoded body\n<END>",
"<BEGIN>\n## `abort`",
"Raise a HTTPException fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the marshal API.
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 marshal API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Takes raw data (in the form of a dict, list, object) and a dict of
fields to output and filters the data based on those fields.
:param data: the actual object(s) from which the fields are taken from
:param fields: a dict of whose keys will make up the final serialized
response output
... | "Takes raw data (in the form of a dict, list, object) and a dict of\n fields to output and filters the data based on those fields.\n\n :param data: the actual object(s) from which the fields are taken from\n :param fields: a dict of whose keys will make up the final serialized\n response outp... | 123 | false | flask-restful/flask-restful | marshal | 3,389 | |
LDU_FT/faroit/stempeg/read_info | LDU_FT | [
"<BEGIN>\n## `ffmpeg_version`",
"Returns the available ffmpeg version",
" Returns\n ----------\n version : str\n version number as string\n<END>",
"<BEGIN>\n## `cli`",
"Commandline interface for receiving stem files\n<END>",
"<BEGIN>\n## `check_available_aac_encoders`",
"Returns the avai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Extracts FFMPEG info and returns info as JSON
Returns
-------
info : Dict
JSON info dict | "Extracts FFMPEG info and returns info as JSON\n\n Returns\n -------\n info : Dict\n JSON info dict" | 22 | false | faroit/stempeg | read_info | 3,390 | |
LDU_FT/ianmiell/shutit/challenge | LDU_FT | [
"<BEGIN>\n## `parse_shutitfile_args`",
"Parse shutitfile args (eg in the line 'RUN some args', the passed-in args_str would be 'some args').\n\tIf the string is bounded by square brackets, then it's treated in the form: ['arg1','arg2'], and the returned list looks the same.\n\tIf the string composed entirely of n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the challenge API.
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 challenge API.
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... | Set the user a task to complete, success being determined by matching the output.
Either pass in regexp(s) desired from the output as a string or a list, or an md5sum of the output wanted.
@param follow_on_context On success, move to this context. A dict of information about that context.
... | "Set the user a task to complete, success being determined by matching the output.\n\n\t\tEither pass in regexp(s) desired from the output as a string or a list, or an md5sum of the output wanted.\n\n\t\t@param follow_on_context On success, move to this context. A dict of information about that context.\n\t\t ... | 498 | false | ianmiell/shutit | challenge | 3,391 | |
LDU_FT/ubccr/pinky/getRing | LDU_FT | [
"<BEGIN>\n## `draw`",
"(molecule)->canonical representation of a molecule\n Well, it's only canonical if the atom symorders are\n canonical, otherwise it's arbitrary.",
" atoms must have a symorder attribute\n bonds must have a equiv_class attribute\n<END>",
"<BEGIN>\n## `getPyroleLikeAtoms`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getRing API.
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 getRing API.
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... | getRing(startAtom, atomSet, lookup, oatoms)->atoms, bonds
starting at startAtom do a bfs traversal through the atoms
in atomSet and return the smallest ring found
returns (), () on failure
note: atoms and bonds are not returned in traversal order | "getRing(startAtom, atomSet, lookup, oatoms)->atoms, bonds\n starting at startAtom do a bfs traversal through the atoms\n in atomSet and return the smallest ring found\n\n returns (), () on failure\n note: atoms and bonds are not returned in traversal order" | 63 | false | ubccr/pinky | getRing | 3,392 | |
LDU_FT/ray-project/ray/step | LDU_FT | [
"<BEGIN>\n## `_agent_import_failed`",
"Returns dummy agent class for if PyTorch etc. is not installed.\n<END>",
"<BEGIN>\n## `run`",
"Executes training.",
" Args:\n run_or_experiment (function|class|str|Experiment): If\n function|class|str, this is the algorithm or model to train.\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step API.
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 step API.
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... | Run a single SGD step.
Arguments:
fetch_stats (bool): Whether to return stats from the step. This can
slow down the computation by acting as a global barrier. | "Run a single SGD step.\n\n Arguments:\n fetch_stats (bool): Whether to return stats from the step. This can\n slow down the computation by acting as a global barrier." | 1,706 | true | ray-project/ray | step | 3,393 | |
LDU_FT/ariebovenberg/snug/_merge_maps | LDU_FT | [
"<BEGIN>\n## `check_response`",
"raise a descriptive exception on a \"bad request\" response\n<END>",
"<BEGIN>\n## `_urllib_send`",
"Send a request with an :mod:`urllib` opener\n<END>",
"<BEGIN>\n## `handle_errors`",
"raise a descriptive exception on a \"bad request\" response\n<END>",
"<BEGIN>\n## `exe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _merge_maps API.
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 _merge_maps API.
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... | merge two Mapping objects, keeping the type of the first mapping | "merge two Mapping objects, keeping the type of the first mapping" | 37 | false | ariebovenberg/snug | _merge_maps | 3,394 | |
LDU_FT/CalebBell/fluids/fit | LDU_FT | [
"<BEGIN>\n## `ccor`",
"/* CHEMISTRY/DISSOCIATION CORRECTION FOR MSIS MODELS\n * ALT - altitude\n * R - target ratio\n * H1 - transition scale length\n * ZH - altitude of 1/2 R\n */\n<END>",
"<BEGIN>\n## `ccor2`",
"/* CHEMISTRY/DISSOCIATION CORRECTION FOR MSIS MODE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Incomplete method to fit experimental values to a curve. It is very
hard to get good initial guesses, which are really required for this.
Differential evolution is promissing. This API is likely to change in
the future. | "Incomplete method to fit experimental values to a curve. It is very\n hard to get good initial guesses, which are really required for this.\n Differential evolution is promissing. This API is likely to change in\n the future." | 3,613 | true | CalebBell/fluids | fit | 3,395 | |
LDU_FT/jdoda/sdl2hl/create_software_renderer | LDU_FT | [
"<BEGIN>\n## `was_init`",
"This function returns the subsystems which have previously been initialized.",
" Returns:\n Set[InitFlag]: Flags indicating which subsystems have been initialized.\n<END>",
"<BEGIN>\n## `load_bmp`",
"Load a surface from a file.",
" Args:\n path (str):... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_software_renderer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_software_renderer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Create a 2D software rendering context for a surface.
Args:
surface (Surface): The surface where rendering is done.
Returns:
Renderer: A 2D software rendering context.
Raises:
SDLError: If there was an error creating the renderer. | "Create a 2D software rendering context for a surface.\n\n Args:\n surface (Surface): The surface where rendering is done.\n\n Returns:\n Renderer: A 2D software rendering context.\n\n Raises:\n SDLError: If there was an error creating the renderer." | 134 | false | jdoda/sdl2hl | create_software_renderer | 3,396 | |
LDU_FT/python-openxml/python-docx/_body | LDU_FT | [
"<BEGIN>\n## `default_cx`",
"Native width of this image, calculated from its width in pixels and\n horizontal dots per inch (dpi).\n<END>",
"<BEGIN>\n## `default_cy`",
"Native height of this image, calculated from its height in pixels and\n vertical dots per inch (dpi).\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _body API.
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 _body API.
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... | The |_Body| instance containing the content for this document. | "The |_Body| instance containing the content for this document." | 626 | false | python-openxml/python-docx | _body | 3,397 | |
LDU_FT/salesking/salesking_python_sdk/pluralize | LDU_FT | [
"<BEGIN>\n## `get_model_class`",
"Generates the Model Class based on the klass \n loads automatically the corresponding json schema file form schemes folder\n :param klass: json schema filename\n :param use_request_api: if True autoinitializes request class if api is None\n :param api: the transportat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pluralize API.
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 pluralize API.
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... | adds s to the data type or the correct english plural form | "adds s to the data type or the correct english plural form" | 69 | false | salesking/salesking_python_sdk | pluralize | 3,398 | |
LDU_FT/berdario/pew/getproject_cmd | LDU_FT | [
"<BEGIN>\n## `shell_config_cmd`",
"Prints the path for the current $SHELL helper file\n<END>",
"<BEGIN>\n## `inve`",
"Run a command in the given virtual environment.",
" Pass additional keyword arguments to ``subprocess.check_call()``.\n<END>",
"<BEGIN>\n## `new_cmd`",
"Create a new environment, in $... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getproject_cmd API.
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 getproject_cmd API.
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... | Print a virtualenv's project directory, if set.
If called without providing a virtualenv name as argument, print the
current virtualenv's project directory. | "Print a virtualenv's project directory, if set.\n\n If called without providing a virtualenv name as argument, print the\n current virtualenv's project directory." | 33 | false | berdario/pew | getproject_cmd | 3,399 | |
LDU_FT/ReFirmLabs/binwalk/_decode_fname | LDU_FT | [
"<BEGIN>\n## `process_kwargs`",
"Convenience wrapper around binwalk.core.module.Modules.kwargs.",
" @obj - The class object (an instance of a sub-class of binwalk.core.module.Module).\n @kwargs - The kwargs provided to the object's __init__ method.",
" Returns None.\n<END>",
"<BEGIN>\n## `show_h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode_fname API.
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 _decode_fname API.
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... | Extracts the actual string from the available bytes. | "Extracts the actual string from the available bytes." | 211 | false | ReFirmLabs/binwalk | _decode_fname | 3,400 | |
LDU_FT/nikcub/floyd/import_model | LDU_FT | [
"<BEGIN>\n## `get_file_contents`",
"Get the context of the file using full path name\n<END>",
"<BEGIN>\n## `import_model`",
"imports a model of name from path, returning from local model\n cache if it has been previously loaded otherwise importing\n<END>",
"<BEGIN>\n## `parse_md`",
"Takes a post path a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_model API.
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 import_model API.
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... | imports a model of name from path, returning from local model
cache if it has been previously loaded otherwise importing | "imports a model of name from path, returning from local model\n cache if it has been previously loaded otherwise importing" | 71 | false | nikcub/floyd | import_model | 3,401 | |
LDU_FT/ljcooke/see/filter_regex | LDU_FT | [
"<BEGIN>\n## `column_width`",
"Return a suitable column width to display one or more strings.\n<END>",
"<BEGIN>\n## `justify_token`",
"Justify a string to fill one or more columns.\n<END>",
"<BEGIN>\n## `display_name`",
"Get the display name of an object.",
" Keyword arguments (all required):",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_regex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_regex API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a tuple of strings that match the regular expression pattern. | "Return a tuple of strings that match the regular expression pattern." | 43 | false | ljcooke/see | filter_regex | 3,402 | |
LDU_FT/finklabs/banana/_get_generators | LDU_FT | [
"<BEGIN>\n## `handle`",
"if (globalConfigHasContent()) {\n defaultChoices.splice(defaultChoices.length - 1, 0, {\n name: 'Clear global config',\n value: 'clearConfig'\n });\n }",
" var generatorList = _.chain(app.generators).map(function (generator) {\n if (!generator.appGenerator) {\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_generators API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_generators API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Get installed banana plugins.
:return: dictionary of installed generators name: distribution | "Get installed banana plugins.\n\n :return: dictionary of installed generators name: distribution" | 32 | false | finklabs/banana | _get_generators | 3,403 | |
LDU_FT/rfk/playitagainsam/_read_one_byte | LDU_FT | [
"<BEGIN>\n## `_read_one_byte`",
"Read a single byte, or raise OSError on failure.\n<END>",
"<BEGIN>\n## `get_fd`",
"Helper function for getting a file descriptor.\n<END>",
"<BEGIN>\n## `find_executable`",
"Find an executable by searching the user's $PATH.\n<END>",
"<BEGIN>\n## `get_ancestor_processes`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_one_byte API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_one_byte API.
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... | Read a single byte, or raise OSError on failure. | "Read a single byte, or raise OSError on failure." | 16 | false | rfk/playitagainsam | _read_one_byte | 3,404 | |
LDU_FT/GluuFederation/oxd-python/request | LDU_FT | [
"<BEGIN>\n## `register_site`",
"Function to register the site and generate a unique ID for the site",
" Returns:\n **string:** The ID of the site (also called client id) if the registration is successful",
" Raises:\n **OxdServerError:** If the site registration fails.\n<EN... | 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 extracted... | 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 extracted... | Function that builds the request and returns the response
Parameters:
* **command (str):** The command that has to be sent to the oxd-server
* ** **kwargs:** The parameters that should accompany the request
Returns:
**dict:** the returned response from oxd-server as... | "Function that builds the request and returns the response\n\n Parameters:\n * **command (str):** The command that has to be sent to the oxd-server\n * ** **kwargs:** The parameters that should accompany the request\n\n Returns:\n **dict:** the returned response from oxd-s... | 124 | false | GluuFederation/oxd-python | request | 3,405 | |
LDU_FT/mgedmin/check-manifest/detect_vcs | LDU_FT | [
"<BEGIN>\n## `run`",
"Run a command [cmd, arg1, arg2, ...].",
" Returns the output (stdout + stderr).",
" Raises CommandFailed in cases of error.\n<END>",
"<BEGIN>\n## `cd`",
"Change the current working directory, temporarily.",
" Use as a context manager: with cd(d): ...\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_vcs API.
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 detect_vcs API.
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... | Detect the version control system used for the current directory. | "Detect the version control system used for the current directory." | 85 | false | mgedmin/check-manifest | detect_vcs | 3,406 | |
LDU_FT/nyaruka/smartmin/lookup_field_orderable | LDU_FT | [
"<BEGIN>\n## `_read_requirements`",
"Parses a file for pip installation requirements.\n<END>",
"<BEGIN>\n## `get_list_class`",
"Returns the class to use for the passed in list. We just build something up\n from the object type for the list.\n<END>",
"<BEGIN>\n## `format_datetime`",
"Formats a date, co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup_field_orderable 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 lookup_field_orderable API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Returns whether the passed in field is sortable or not, by default all 'raw' fields, that
is fields that are part of the model are sortable. | "Returns whether the passed in field is sortable or not, by default all 'raw' fields, that\n is fields that are part of the model are sortable." | 118 | false | nyaruka/smartmin | lookup_field_orderable | 3,407 | |
LDU_FT/jlesquembre/jlle/version_control | LDU_FT | [
"<BEGIN>\n## `no_input`",
"Return whether the user wants to run in no-input mode.",
" Enable this mode by adding a ``no-input`` option::",
" [zest.releaser]\n no-input = yes",
" The default when this option has not been set is False.",
" Standard config rules app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version_control API.
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 version_control API.
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... | Return an object that provides the version control interface based
on the detected version control system. | "Return an object that provides the version control interface based\n on the detected version control system." | 77 | false | jlesquembre/jlle | version_control | 3,408 | |
LDU_FT/openid/JWTConnect-Python-CryptoJWT/b64d | LDU_FT | [
"<BEGIN>\n## `encrypt`",
"Encrypts and authenticates the data provided as well as authenticating\n the associated_data.",
" :param msg: The message to be encrypted\n :param iv: MUST be present, at least 96-bit long\n :param auth_data: Associated data\n :return: The cipher text... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the b64d API.
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 b64d API.
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... | Decode some base64-encoded bytes.
Raises BadSyntax if the string contains invalid characters or padding.
:param b: bytes | "Decode some base64-encoded bytes.\n\n Raises BadSyntax if the string contains invalid characters or padding.\n\n :param b: bytes" | 399 | false | openid/JWTConnect-Python-CryptoJWT | b64d | 3,409 | |
LDU_FT/MagicStack/asyncpg/copy_to_table | LDU_FT | [
"<BEGIN>\n## `fetch`",
"r\"\"\"Return the next *n* rows as a list of :class:`Record` objects.",
" :param float timeout: Optional timeout value in seconds.",
" :return: A list of :class:`Record` instances.\n<END>",
"<BEGIN>\n## `fetchrow`",
"r\"\"\"Return the next row.",
" :param flo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_to_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_to_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Copy data to the specified table.
:param str table_name:
The name of the table to copy data to.
:param source:
A :term:`path-like object <python:path-like object>`,
or a :term:`file-like object <python:file-like object>`, or
an :term:`asynchronous iterab... | "Copy data to the specified table.\n\n :param str table_name:\n The name of the table to copy data to.\n\n :param source:\n A :term:`path-like object <python:path-like object>`,\n or a :term:`file-like object <python:file-like object>`, or\n an :term:`asynchrono... | 284 | false | MagicStack/asyncpg | copy_to_table | 3,410 | |
LDU_FT/CygnusNetworks/pypureomapi/parse_bindict | LDU_FT | [
"<BEGIN>\n## `parse_chain`",
"Creates a new parser that executes the passed parsers (args) with the\n\tprevious results and yields a tuple of the results.",
"\t>>> list(parse_chain(lambda: (None, 1), lambda one: (None, 2)))\n\t[None, None, (1, 2)]",
"\t@param args: parsers\n\t@returns: parser\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_bindict API.
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_bindict API.
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... | >>> d = b"\\0\\x01a\\0\\0\\0\\x01b\\0\\0spam"
>>> next(InBuffer(d).parse_bindict()) == [(b'a', b'b')]
True | ">>> d = b\"\\\\0\\\\x01a\\\\0\\\\0\\\\0\\\\x01b\\\\0\\\\0spam\"\n\t\t>>> next(InBuffer(d).parse_bindict()) == [(b'a', b'b')]\n\t\tTrue" | 114 | false | CygnusNetworks/pypureomapi | parse_bindict | 3,411 | |
LDU_FT/flo-compbio/gopca-server/post | LDU_FT | [
"<BEGIN>\n## `post`",
"for sp in self.species:\n sc = self.scientific_names[sp].lower()\n spdir = 'pub/release-%d/gtf/%s' %(latest,sc)\n data = []\n #ftp.dir(spdir,data.append)\n cs_url = 'ftp://' + '/'.join([server,spdir,'CHECKSUMS'])\n print cs_u... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
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 post API.
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... | for sp in self.species:
sc = self.scientific_names[sp].lower()
spdir = 'pub/release-%d/gtf/%s' %(latest,sc)
data = []
#ftp.dir(spdir,data.append)
cs_url = 'ftp://' + '/'.join([server,spdir,'CHECKSUMS'])
print cs_url
checksum = None
... | "for sp in self.species:\n sc = self.scientific_names[sp].lower()\n spdir = 'pub/release-%d/gtf/%s' %(latest,sc)\n data = []\n #ftp.dir(spdir,data.append)\n cs_url = 'ftp://' + '/'.join([server,spdir,'CHECKSUMS'])\n print cs_url\n checksum = N... | 19 | false | flo-compbio/gopca-server | post | 3,412 | |
LDU_FT/unt-libraries/pyuntl/identifier_director | LDU_FT | [
"<BEGIN>\n## `normalize_LCSH`",
"Normalize a LCSH subject heading prior to indexing.\n<END>",
"<BEGIN>\n## `normalize_UNTL`",
"Normalize a UNTL subject heading for consistency.\n<END>",
"<BEGIN>\n## `UNTL_to_encodedUNTL`",
"Normalize a UNTL subject heading to be used in SOLR.\n<END>",
"<BEGIN>\n## `untl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the identifier_director 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 identifier_director 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... | Direct how to handle the identifier element. | "Direct how to handle the identifier element." | 144 | false | unt-libraries/pyuntl | identifier_director | 3,413 | |
LDU_FT/RedHatQE/python-stitches/match | LDU_FT | [
"<BEGIN>\n## `exec_command`",
"Execute a command in the connection",
" @param command: command to execute\n @type command: str",
" @param bufsize: buffer size\n @type bufsize: int",
" @param get_pty: get pty\n @type get_pty: bool",
" @return: the stdin, std... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Match against an expression
@param connection: Connection to the host
@type connection: L{Connection}
@param regexp: compiled regular expression
@type regexp: L{SRE_Pattern}
@param grouplist: list of groups to return
@type group: list of int
@param timeout: ti... | "Match against an expression\n\n @param connection: Connection to the host\n @type connection: L{Connection}\n\n @param regexp: compiled regular expression\n @type regexp: L{SRE_Pattern}\n\n @param grouplist: list of groups to return\n @type group: list of int\n\n @param... | 64 | false | RedHatQE/python-stitches | match | 3,414 | |
LDU_FT/pyrogram/pyrogram/get_dialogs | LDU_FT | [
"<BEGIN>\n## `request_callback_answer`",
"Use this method to request a callback answer from bots.\n This is the equivalent of clicking an inline button containing callback data.",
" Args:\n chat_id (``int`` | ``str``):\n Unique identifier (int) or username (str) of the ta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_dialogs API.
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_dialogs API.
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... | Use this method to get a chunk of the user's dialogs.
You can get up to 100 dialogs at once.
For a more convenient way of getting a user's dialogs see :meth:`iter_dialogs`.
Args:
offset_date (``int``):
The offset date in Unix time taken from the top message of a :ob... | "Use this method to get a chunk of the user's dialogs.\n\n You can get up to 100 dialogs at once.\n For a more convenient way of getting a user's dialogs see :meth:`iter_dialogs`.\n\n Args:\n offset_date (``int``):\n The offset date in Unix time taken from the top message ... | 1,097 | true | pyrogram/pyrogram | get_dialogs | 3,415 | |
LDU_FT/political-memory/django-representatives-votes/parse_vote_data | LDU_FT | [
"<BEGIN>\n## `chambers`",
"Return distinct chambers. You probably want to prefetch\n documents__chamber before calling that.\n<END>",
"<BEGIN>\n## `parse_vote_data`",
"Parse data from parltrack votes db dumps (1 proposal)\n<END>",
"<BEGIN>\n## `parse_proposal_data`",
"Get or Create a proposal model... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_vote_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_vote_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 e... | Parse data from parltrack votes db dumps (1 proposal) | "Parse data from parltrack votes db dumps (1 proposal)" | 10 | false | political-memory/django-representatives-votes | parse_vote_data | 3,416 | |
LDU_FT/PonteIneptique/collatinus-python/deramise | LDU_FT | [
"<BEGIN>\n## `assims`",
"Cherche si la chaîne a peut subir une assimilation, renvoie cette chaîne éventuellement assimilée.",
" :param mot: Mot pour lequel on doit vérifier des assimilations\n :type mot: str\n :return: Mot assimilé\n :rtype: str\n<END>",
"<BEGIN>\n## `morpho`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deramise API.
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 deramise API.
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... | Déramise une chaîne
:param string: Chaîne à transformer
:type string: str
:return: Chaîne nettoyée
:rtype: str | "Déramise une chaîne\n \n :param string: Chaîne à transformer\n :type string: str\n :return: Chaîne nettoyée\n :rtype: str" | 109 | false | PonteIneptique/collatinus-python | deramise | 3,417 | |
LDU_FT/nuagenetworks/monolithe/json | LDU_FT | [
"<BEGIN>\n## `raiseError`",
"Print an error message",
" Args:\n message: the message to print\n<END>",
"<BEGIN>\n## `json`",
"Print a nice JSON output",
" Args:\n message: the message to print\n<END>",
"<BEGIN>\n## `to_dict`",
"Transform the current ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Print a nice JSON output
Args:
message: the message to print | "Print a nice JSON output\n\n Args:\n message: the message to print" | 69 | false | nuagenetworks/monolithe | json | 3,418 | |
LDU_FT/openstack/horizon/require_component_access | LDU_FT | [
"<BEGIN>\n## `volume_list_paged`",
"List volumes with pagination.",
" To see all volumes in the cloud as an admin you can pass in a special\n search option: {'all_tenants': 1}\n<END>",
"<BEGIN>\n## `extension_supported`",
"This method will determine if Cinder supports a given extension name.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_component_access 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 require_component_access API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Perform component can_access check to access the view.
:param component containing the view (panel or dashboard).
Raises a :exc:`~horizon.exceptions.NotAuthorized` exception if the
user cannot access the component containing the view.
By example the check of component policy rules will be applied to i... | "Perform component can_access check to access the view.\n\n :param component containing the view (panel or dashboard).\n\n Raises a :exc:`~horizon.exceptions.NotAuthorized` exception if the\n user cannot access the component containing the view.\n By example the check of component policy rules will be appli... | 831 | false | openstack/horizon | require_component_access | 3,419 | |
LDU_FT/onelogin/python3-saml/cleanup_namespaces | LDU_FT | [
"<BEGIN>\n## `get_issuer`",
"Gets the Issuer of the Logout Response Message\n :return: The Issuer\n :rtype: string\n<END>",
"<BEGIN>\n## `get_status`",
"Gets the Status\n :return: The Status\n :rtype: string\n<END>",
"<BEGIN>\n## `is_valid`",
"Determines if the SAML LogoutRespo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleanup_namespaces 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 cleanup_namespaces 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... | Keeps the xmlns:xs namespace intact when etree.cleanup_namespaces is invoked.
:param tree_or_element: An XML tree or element
:type tree_or_element: etree.Element
:param top_nsmap: A mapping from namespace prefixes to namespace URIs
:type top_nsmap: dict
:param keep_ns_prefixes: L... | "Keeps the xmlns:xs namespace intact when etree.cleanup_namespaces is invoked.\n :param tree_or_element: An XML tree or element\n :type tree_or_element: etree.Element\n :param top_nsmap: A mapping from namespace prefixes to namespace URIs\n :type top_nsmap: dict\n :param keep_ns_prefi... | 302 | false | onelogin/python3-saml | cleanup_namespaces | 3,420 | |
LDU_FT/tulir/mautrix-python/download_file | LDU_FT | [
"<BEGIN>\n## `user`",
"Get a child HTTPAPI instance.",
" Args:\n user: The Matrix ID of the user whose API to get.",
" Returns:\n A HTTPAPI instance that always uses the given Matrix ID.\n<END>",
"<BEGIN>\n## `bot_intent`",
"Get the intent API for the appservice bot.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Download a file from the content repository. See also: `API reference`_
Args:
url: The MXC URI to download.
Returns:
The raw downloaded data.
.. _API reference:
https://matrix.org/docs/spec/client_server/r0.3.0.html#get-matrix-media-r0-download-servername-me... | "Download a file from the content repository. See also: `API reference`_\n\n Args:\n url: The MXC URI to download.\n\n Returns:\n The raw downloaded data.\n\n .. _API reference:\n https://matrix.org/docs/spec/client_server/r0.3.0.html#get-matrix-media-r0-download-ser... | 60 | false | tulir/mautrix-python | download_file | 3,421 | |
LDU_FT/stephantul/somber/_calculate_influence | LDU_FT | [
"<BEGIN>\n## `_calculate_influence`",
"Pre-calculate the influence for a given value of sigma.",
" The neighborhood has size num_neurons * num_neurons, so for a\n 30 * 30 map, the neighborhood will be size (900, 900).",
" Parameters\n ----------\n neighborhood : float\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _calculate_influence 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 _calculate_influence API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Pre-calculate the influence for a given value of sigma.
The neighborhood has size num_neurons * num_neurons, so for a
30 * 30 map, the neighborhood will be size (900, 900).
Parameters
----------
neighborhood : float
The neighborhood value.
Returns
-... | "Pre-calculate the influence for a given value of sigma.\n\n The neighborhood has size num_neurons * num_neurons, so for a\n 30 * 30 map, the neighborhood will be size (900, 900).\n\n Parameters\n ----------\n neighborhood : float\n The neighborhood value.\n\n Return... | 123 | false | stephantul/somber | _calculate_influence | 3,422 | |
LDU_FT/pneff/wsgiservice/raise_500 | LDU_FT | [
"<BEGIN>\n## `raise_201`",
"Abort the current request with a 201 (Created) response code. Sets the\n Location header correctly. If the location does not start with a slash,\n the path of the current request is prepended.",
" :param instance: Resource instance (used to access the response)\n :type in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_500 API.
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 raise_500 API.
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... | Abort the current request with a 500 (Internal Server Error) response
code. If the message is given it's output as an error message in the
response body (correctly converted to the requested MIME type).
:param instance: Resource instance (used to access the response)
:type instance: :class:`webob.resou... | "Abort the current request with a 500 (Internal Server Error) response\n code. If the message is given it's output as an error message in the\n response body (correctly converted to the requested MIME type).\n\n :param instance: Resource instance (used to access the response)\n :type instance: :class:`webob... | 156 | false | pneff/wsgiservice | raise_500 | 3,423 | |
LDU_FT/architv/harvey/main | LDU_FT | [
"<BEGIN>\n## `get_summary`",
"Gets the summary of a license from tldrlegal.com\n<END>",
"<BEGIN>\n## `get_rules`",
"Gets can, cannot and must rules from github license API\n<END>",
"<BEGIN>\n## `main`",
"Gets all the license information and stores it in json format\n<END>",
"<BEGIN>\n## `_stripslashes`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Gets all the license information and stores it in json format | "Gets all the license information and stores it in json format" | 16 | false | architv/harvey | main | 3,424 | |
LDU_FT/koordinates/python-client/_options | LDU_FT | [
"<BEGIN>\n## `create`",
"Create single permission for the given object.",
" :param Permission permission: A single Permission object to be set.\n<END>",
"<BEGIN>\n## `set`",
"Set the object permissions. If the parent object already has permissions, they will be overwritten.",
" :param [] per... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns a raw options object
:rtype: dict | "Returns a raw options object\n\n :rtype: dict" | 178 | false | koordinates/python-client | _options | 3,425 | |
LDU_FT/ceph/ceph-deploy/get_connection | LDU_FT | [
"<BEGIN>\n## `ceph_is_installed`",
"A helper callback to be executed after the connection is made to ensure\n that Ceph is installed.\n<END>",
"<BEGIN>\n## `_get_version_output`",
"Ignoring errors, call `ceph --version` and return only the version\n portion of the output. For example, output like::"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection API.
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... | A very simple helper, meant to return a connection
that will know about the need to use sudo. | "A very simple helper, meant to return a connection\n that will know about the need to use sudo." | 236 | false | ceph/ceph-deploy | get_connection | 3,426 | |
LDU_FT/yyuu/botornado/get_all_keys | LDU_FT | [
"<BEGIN>\n## `save`",
"Saves this item to SDB.",
" :param bool replace: If ``True``, delete any attributes on the remote\n SDB item that have a ``None`` value on this object.\n<END>",
"<BEGIN>\n## `add_value`",
"Helps set or add to attributes on this item. If you are adding a new\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_keys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | A lower-level method for listing contents of a bucket.
This closely models the actual S3 API and requires you to manually
handle the paging of results. For a higher-level method
that handles the details of paging for you, you can use the list method.
:type max_keys: int
... | "A lower-level method for listing contents of a bucket.\n This closely models the actual S3 API and requires you to manually\n handle the paging of results. For a higher-level method\n that handles the details of paging for you, you can use the list method.\n \n :type max_keys: int\n... | 2,931 | true | yyuu/botornado | get_all_keys | 3,427 | |
LDU_FT/mobinrg/rpi_spark_drives/clear | LDU_FT | [
"<BEGIN>\n## `setKeyButton`",
"!\n \\~english\n Set key button event\n @param btnId: Key button pin number in BCM\n @param keyCallback: A interrupt <b>callback_function</b> or <b>None</b>. <br>\n If set to <b>None</b> means keybutton work in query mode<br>\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear API.
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 clear API.
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... | !
\~english
Clear buffer data and fill color into buffer
@param fill: a color value, it will fill into buffer.<br>
The SSD1306 only chosen two colors: <br>
0 (0x0): black <br>
1 (0x1): white <br>
\~chinese
清除缓冲区数据并在缓冲区中填充颜色
... | "!\n \\~english\n Clear buffer data and fill color into buffer\n @param fill: a color value, it will fill into buffer.<br>\n The SSD1306 only chosen two colors: <br>\n 0 (0x0): black <br>\n 1 (0x1): white <br>\n\n \\~chinese\n 清除缓冲区数据... | 135 | false | mobinrg/rpi_spark_drives | clear | 3,428 | |
LDU_FT/minorg/pastpy/write | LDU_FT | [
"<BEGIN>\n## `read`",
"Read a new object from the given input protocol and return the object.",
" :type iprot: thryft.protocol._input_protocol._InputProtocol\n :rtype: pastpy.gen.database.impl.dbf.objects_dbf_record.ObjectsDbfRecord\n<END>",
"<BEGIN>\n## `write`",
"Write this object to the giv... | 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... | Write this object to the given output protocol and return self.
:type oprot: thryft.protocol._output_protocol._OutputProtocol
:rtype: pastpy.gen.database.impl.online.online_database_object_detail.OnlineDatabaseObjectDetail | "Write this object to the given output protocol and return self.\n\n :type oprot: thryft.protocol._output_protocol._OutputProtocol\n :rtype: pastpy.gen.database.impl.online.online_database_object_detail.OnlineDatabaseObjectDetail" | 42 | false | minorg/pastpy | write | 3,429 | |
LDU_FT/staugur/Flask-PluginKit/emit_tep | LDU_FT | [
"<BEGIN>\n## `push_dcp`",
"Push a callable for :class:`~flask_pluginkit.PluginManager`, :func:`push_dcp`.",
" Example usage::",
" push_dcp('demo', lambda:'Hello dcp')",
" .. versionadded:: 2.1.0\n<END>",
"<BEGIN>\n## `__scanPlugins`",
"Scanning local plugin directories and third-party plugi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit_tep API.
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 emit_tep API.
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... | Emit a event(with tep) and gets the template extension point data(html code).
Please use this function in the template. The extension point needs to be defined by itself.
Suppose you have an extension point named `tep`, only need to enable custom extension points in the template, for examples::
... | "Emit a event(with tep) and gets the template extension point data(html code).\n\n Please use this function in the template. The extension point needs to be defined by itself.\n\n Suppose you have an extension point named `tep`, only need to enable custom extension points in the template, for examples::\n... | 128 | false | staugur/Flask-PluginKit | emit_tep | 3,430 | |
LDU_FT/linkedin/Zopkio/kill_all_process | LDU_FT | [
"<BEGIN>\n## `make_machine_mapping`",
"Convert the machine list argument from a list of names into a mapping of logical names to\n physical hosts. This is similar to the _parse_configs function but separated to provide the\n opportunity for extension and additional checking of machine access\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kill_all_process API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kill_all_process API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Terminates all the running processes. By default it is set to false.
Users can set to true in config once the method to get_pid is done deterministically
either using pid_file or an accurate keyword | "Terminates all the running processes. By default it is set to false.\n Users can set to true in config once the method to get_pid is done deterministically\n either using pid_file or an accurate keyword" | 85 | false | linkedin/Zopkio | kill_all_process | 3,431 | |
LDU_FT/barrust/mediawiki/redirects | LDU_FT | [
"<BEGIN>\n## `timeout`",
"Set request timeout in seconds (or fractions of a second)\n<END>",
"<BEGIN>\n## `language`",
"Set the language to use; attempts to change the API URL\n<END>",
"<BEGIN>\n## `login`",
"Login as specified user",
" Args:\n username (str): The username to l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the redirects API.
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 redirects API.
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... | list: List of all redirects to this page; **i.e.,** the titles \
listed here will redirect to this page title
Note:
Not settable | "list: List of all redirects to this page; **i.e.,** the titles \\\n listed here will redirect to this page title\n\n Note:\n Not settable" | 107 | false | barrust/mediawiki | redirects | 3,432 | |
LDU_FT/MycroftAI/mycroft-precise/generate_samples | LDU_FT | [
"<BEGIN>\n## `load_precise_model`",
"Loads a Keras model from file, handling custom loss function\n<END>",
"<BEGIN>\n## `create_model`",
"Load or create a precise model",
" Args:\n model_name: Name of model\n params: Parameters used to create the model",
" Returns:\n model: Load... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_samples API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_samples API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Generate training samples (network inputs and outputs) | "Generate training samples (network inputs and outputs)" | 79 | false | MycroftAI/mycroft-precise | generate_samples | 3,433 | |
LDU_FT/google/tangent/prepend_block | LDU_FT | [
"<BEGIN>\n## `compile_file`",
"Compile by saving to file and importing that.",
" Compiling the AST/source code this way ensures that the source code is\n readable by e.g. `pdb` or `inspect`.",
" Args:\n source: The code to compile, either as a string or as an AST.\n globals_: A dictionary of variable... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepend_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepend_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 ext... | Prepend a statement to the current block.
Args:
node: The statement to prepend.
reverse: When called multiple times, this flag determines whether the
statement should be prepended or appended to the already inserted
statements.
Raises:
ValueError: If the given node is not... | "Prepend a statement to the current block.\n\n Args:\n node: The statement to prepend.\n reverse: When called multiple times, this flag determines whether the\n statement should be prepended or appended to the already inserted\n statements.\n\n Raises:\n ValueError: If the given n... | 368 | false | google/tangent | prepend_block | 3,434 | |
LDU_FT/sjwood/pydvdid/compute | LDU_FT | [
"<BEGIN>\n## `update`",
"Enumerates the bytes of the supplied bytearray and updates the CRC-64.\n No return value.\n<END>",
"<BEGIN>\n## `_construct_lookup_table`",
"Precomputes a CRC-64 lookup table seeded from the supplied polynomial.\n No return value.\n<END>",
"<BEGIN>\n## `compute`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute API.
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 compute API.
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... | Computes a Windows API IDvdInfo2::GetDiscID-compatible 64-bit Cyclic Redundancy Check
checksum from the DVD .vob, .ifo and .bup files found in the supplied DVD path. | "Computes a Windows API IDvdInfo2::GetDiscID-compatible 64-bit Cyclic Redundancy Check\n checksum from the DVD .vob, .ifo and .bup files found in the supplied DVD path." | 19 | false | sjwood/pydvdid | compute | 3,435 | |
LDU_FT/mgraffg/EvoDAG/set_regression_mask | LDU_FT | [
"<BEGIN>\n## `compute_weight`",
"Returns the weight (w) using OLS of r * w = gp._ytr\n<END>",
"<BEGIN>\n## `isfinite`",
"Test whether the predicted values are finite\n<END>",
"<BEGIN>\n## `trace`",
"Restore the position in the history of individual v's nodes\n<END>",
"<BEGIN>\n## `tournament`",
"Tourn... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_regression_mask 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 set_regression_mask API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Computes the mask used to create the training and validation set | "Computes the mask used to create the training and validation set" | 42 | false | mgraffg/EvoDAG | set_regression_mask | 3,436 | |
LDU_FT/listen-lavender/webcrawl/logprint | LDU_FT | [
"<BEGIN>\n## `_daemonize`",
"do the UNIX double-fork magic, see Stevens' \"Advanced \n Programming in the UNIX Environment\" for details (ISBN 0201563177)\n http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16\n<END>",
"<BEGIN>\n## `monitor`",
"Monitor the process, check whether it runs out of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logprint API.
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 logprint API.
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... | Print logs by datetime.
logname
string, file name
category
string, category path of logs file in log directory
level
string, restrict whether logs to be printed or not
backupCount
int, how many backups can be reserved | "Print logs by datetime.\n\n logname\n string, file name\n category\n string, category path of logs file in log directory\n level\n string, restrict whether logs to be printed or not\n backupCount\n int, how many backups can be reserved" | 23 | false | listen-lavender/webcrawl | logprint | 3,437 | |
LDU_FT/pyhys/minimalmodbus/write_bit | LDU_FT | [
"<BEGIN>\n## `_checkSetpointValue`",
"Check that the given setpointvalue is valid.",
" Args:\n * setpointvalue (numerical): The setpoint value to be checked. Must be positive.\n * maxvalue (numerical): Upper limit for setpoint value. Must be positive.",
" Raises:\n TypeError, ValueE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_bit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_bit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Write one bit to the slave.
Args:
* registeraddress (int): The slave register address (use decimal numbers, not hex).
* value (int): 0 or 1
* functioncode (int): Modbus function code. Can be 5 or 15.
Returns:
None
Raises:
ValueError,... | "Write one bit to the slave.\n\n Args:\n * registeraddress (int): The slave register address (use decimal numbers, not hex).\n * value (int): 0 or 1\n * functioncode (int): Modbus function code. Can be 5 or 15.\n\n Returns:\n None\n\n Raises:\n ... | 357 | false | pyhys/minimalmodbus | write_bit | 3,438 | |
LDU_FT/codeforamerica/three/discovery | LDU_FT | [
"<BEGIN>\n## `city`",
"Store the city that will be queried against.",
" >>> three.city('sf')\n<END>",
"<BEGIN>\n## `dev`",
"Use an endpoint and any additional keyword arguments rather than one\n of the pre-defined cities. Similar to the `city` function, but useful for\n development.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discovery API.
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 discovery API.
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... | Retrieve the standard discovery file that provides routing
information.
>>> Three().discovery()
{'discovery': 'data'} | "Retrieve the standard discovery file that provides routing\n information.\n\n >>> Three().discovery()\n {'discovery': 'data'}" | 35 | false | codeforamerica/three | discovery | 3,439 | |
LDU_FT/Kami/python-yubico-client/_get_ca_bundle_path | LDU_FT | [
"<BEGIN>\n## `translate`",
"Return set() of possible modhex interpretations of a Yubikey otp.",
" If otp uses all 16 characters in its alphabet, there will be only\n one possible interpretation of that Yubikey otp (except for two\n Armenian keyboard layouts).",
" otp: Yubikey output.\n to: 16-c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_ca_bundle_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_ca_bundle_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.
T... | Return a path to the CA bundle which is used for verifying the hosts
SSL certificate. | "Return a path to the CA bundle which is used for verifying the hosts\n SSL certificate." | 32 | false | Kami/python-yubico-client | _get_ca_bundle_path | 3,440 | |
LDU_FT/mjirik/imtools/surface_density | LDU_FT | [
"<BEGIN>\n## `get_superpxl_intensities`",
"Calculates mean intensities of pixels in superpixels\n inputs:\n im ... grayscale image, ndarray [MxN]\n suppxls ... image with suppxls labels, ndarray -same shape as im\n outputs:\n suppxl_intens ... vector with suppxls mean intensities\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the surface_density API.
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 surface_density API.
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... | :segmentation: is ndarray with 0 and 1
:voxelsize_mm: is array of three numbers specifiing size of voxel for each
axis
:aoi: is specify area of interest. It is ndarray with 0 and 1
:sond_raster_mm: unimplemented. It is parametr of sonds design | ":segmentation: is ndarray with 0 and 1\n :voxelsize_mm: is array of three numbers specifiing size of voxel for each\n axis\n :aoi: is specify area of interest. It is ndarray with 0 and 1\n :sond_raster_mm: unimplemented. It is parametr of sonds design" | 75 | false | mjirik/imtools | surface_density | 3,441 | |
LDU_FT/gwpy/gwpy/get_fetcher | LDU_FT | [
"<BEGIN>\n## `canonical_name`",
"Find the canonical name for the given window in scipy.signal",
" Parameters\n ----------\n name : `str`\n the name of the window you want",
" Returns\n -------\n realname : `str`\n the name of the window as implemented in `scipy.signal.window`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fetcher API.
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_fetcher API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return the :meth:`~EventTable.fetch` function for the given format
Parameters
----------
data_format : `str`
name of the format
data_class : `type`
the class that the fetcher returns
Raises
------
astropy.io.registry.IORegistryError
if not registration is found mat... | "Return the :meth:`~EventTable.fetch` function for the given format\n\n Parameters\n ----------\n data_format : `str`\n name of the format\n\n data_class : `type`\n the class that the fetcher returns\n\n Raises\n ------\n astropy.io.registry.IORegistryError\n if not registratio... | 2,764 | true | gwpy/gwpy | get_fetcher | 3,442 | |
LDU_FT/wooga/play-deliver/create_credentials | LDU_FT | [
"<BEGIN>\n## `list`",
"convinent access method for list.",
" service_name describes the endpoint to call\n the `list` function on.",
" images.list or apks.list.\n<END>",
"<BEGIN>\n## `build_params`",
"build a params dictionary with current editId and packageName.",
" use opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_credentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_credentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Create Google credentials object.
If given credentials_file is None, try to retrieve file path from environment
or look up file in homefolder. | "Create Google credentials object.\n\n If given credentials_file is None, try to retrieve file path from environment \n or look up file in homefolder." | 27 | false | wooga/play-deliver | create_credentials | 3,443 | |
LDU_FT/aroberge/experimental/transform_source | LDU_FT | [
"<BEGIN>\n## `start_console`",
"Starts a console; modified from code.interact\n<END>",
"<BEGIN>\n## `push`",
"Transform and push a line to the interpreter.",
" The line should not have a trailing newline; it may have\n internal newlines. The line is appended to a buffer and the\n inter... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the transform_source API.
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 transform_source API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | removes a "where" clause which is identified by the use of "where"
as an identifier and ends at the first DEDENT (i.e. decrease in indentation) | "removes a \"where\" clause which is identified by the use of \"where\"\n as an identifier and ends at the first DEDENT (i.e. decrease in indentation)" | 54 | false | aroberge/experimental | transform_source | 3,444 | |
LDU_FT/Giphy/giphy-python-client/stickers_random_get | LDU_FT | [
"<BEGIN>\n## `gifs_categories_category_get`",
"Category Tags Endpoint.\n Returns a list of tags for a given category. NOTE `limit` and `offset` must both be set; otherwise they're ignored.\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, pleas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stickers_random_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stickers_random_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.
T... | Random Sticker Endpoint
Returns a random GIF, limited by tag. Excluding the tag parameter will return a random GIF from the GIPHY catalog.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when... | "Random Sticker Endpoint\n Returns a random GIF, limited by tag. Excluding the tag parameter will return a random GIF from the GIPHY catalog.\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please define a `callback` function\n to be invoked... | 48 | false | Giphy/giphy-python-client | stickers_random_get | 3,445 | |
LDU_FT/reiinakano/xcessiv/return_secondary_learner | LDU_FT | [
"<BEGIN>\n## `return_func_to_optimize`",
"Creates the function to be optimized by Bayes Optimization.",
" The function automatically handles the case of already existing base learners, and if\n no base learner for the hyperparameters exists yet, creates one and updates it in the\n usual way.",
" A... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the return_secondary_learner 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 return_secondary_learner API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Returns secondary learner using its origin and the given hyperparameters
Returns:
est (estimator): Estimator object | "Returns secondary learner using its origin and the given hyperparameters\n\n Returns:\n est (estimator): Estimator object" | 150 | false | reiinakano/xcessiv | return_secondary_learner | 3,446 | |
LDU_FT/mrcagney/gtfstk/shapes_to_geojson | LDU_FT | [
"<BEGIN>\n## `get_stop_times`",
"Return a subset of ``feed.stop_times``.",
" Parameters\n ----------\n feed : Feed\n date : string\n YYYYMMDD date string restricting the output to trips active\n on the date",
" Returns\n -------\n DataFrame\n Subset of ``feed.stop_tim... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shapes_to_geojson API.
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 shapes_to_geojson API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return a (decoded) GeoJSON FeatureCollection of LineString features
representing ``feed.shapes``.
Each feature will have a ``shape_id`` property.
The coordinates reference system is the default one for GeoJSON,
namely WGS84.
If a list of shape IDs is given, then return only the LineString
featu... | "Return a (decoded) GeoJSON FeatureCollection of LineString features\n representing ``feed.shapes``.\n Each feature will have a ``shape_id`` property.\n The coordinates reference system is the default one for GeoJSON,\n namely WGS84.\n\n If a list of shape IDs is given, then return only the LineString\n ... | 474 | false | mrcagney/gtfstk | shapes_to_geojson | 3,447 | |
LDU_FT/apache/spark/decode | LDU_FT | [
"<BEGIN>\n## `_parse_datatype_string`",
"Parses the given data type string to a :class:`DataType`. The data type string format equals\n to :class:`DataType.simpleString`, except that top level struct type can omit\n the ``struct<>`` and atomic types use ``typeName()`` as their format, e.g. use ``byte`` inst... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
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 decode API.
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 ... | Computes the first argument into a string from a binary using the provided character set
(one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16'). | "Computes the first argument into a string from a binary using the provided character set\n (one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16')." | 2,386 | true | apache/spark | decode | 3,448 | |
LDU_FT/FulcrumTechnologies/pyconfluence/get_page_content | LDU_FT | [
"<BEGIN>\n## `load_variables`",
"Load variables from environment variables.\n<END>",
"<BEGIN>\n## `rest`",
"Main function to be called from this module.",
" send a request using method 'req' and to the url. the _rest() function\n will add the base_url to this, so 'url' should be something like '/ips'.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_page_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_page_content API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return XHTML content of a page.
Parameters:
- id: id of a Confluence page. | "Return XHTML content of a page.\n Parameters:\n - id: id of a Confluence page." | 19 | false | FulcrumTechnologies/pyconfluence | get_page_content | 3,449 | |
LDU_FT/JoshAshby/pyRethinkORM/offset | LDU_FT | [
"<BEGIN>\n## `joinOn`",
"Performs an eqJoin on with the given model. The resulting join will be\n accessible through the models name.\n<END>",
"<BEGIN>\n## `joinOnAs`",
"Like `joinOn` but allows setting the joined results name to access it\n from.",
" Performs an eqJoin on with the give... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the offset API.
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 offset API.
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 ... | Allows for skipping a specified number of results in query. Useful
for pagination. | "Allows for skipping a specified number of results in query. Useful\n for pagination." | 30 | false | JoshAshby/pyRethinkORM | offset | 3,450 | |
LDU_FT/thautwarm/Redy/match | LDU_FT | [
"<BEGIN>\n## `map_by`",
"when pycharm supports type hinting for any implementation of currying,\n map_with and map_on would be deprecated.\n >>> from Redy.Collections import Traversal, Flow\n >>> def double(x: int) -> int: return x * 2\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | >>> from Redy.ADT.Core import match, data, P
>>> from Redy.ADT.traits import ConsInd, Discrete
>>> @data
>>> class List(ConsInd, Discrete):
>>> # ConsInd(index following constructing)
>>> # |-> Ind;
>>> # Discrete
>>> # |-> Im(Immutable), Eq
>>> Nil : ...
>>... | ">>> from Redy.ADT.Core import match, data, P\n >>> from Redy.ADT.traits import ConsInd, Discrete\n >>> @data\n >>> class List(ConsInd, Discrete):\n >>> # ConsInd(index following constructing)\n >>> # |-> Ind;\n >>> # Discrete\n >>> # |-> Im(Immutable), Eq\n >>> Nil : .... | 83 | false | thautwarm/Redy | match | 3,451 | |
LDU_FT/henzk/django-productline/django_admin | LDU_FT | [
"<BEGIN>\n## `requires_product_environment`",
"task decorator that makes sure that the product environment\n of django_productline is activated:\n -context is bound\n -features have been composed\n<END>",
"<BEGIN>\n## `set_site`",
"This method is part of the prepare_data helper.\n Sets the site. D... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the django_admin API.
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 django_admin API.
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... | Adds additional information to the context:
``django_admin`` - boolean variable indicating whether the current
page is part of the django admin or not.
``ADMIN_URL`` - normalized version of settings.ADMIN_URL; starts with a slash, ends without a slash
NOTE: do not set ADMIN_URL='/' in case your applic... | "Adds additional information to the context:\n\n ``django_admin`` - boolean variable indicating whether the current\n page is part of the django admin or not.\n ``ADMIN_URL`` - normalized version of settings.ADMIN_URL; starts with a slash, ends without a slash\n\n NOTE: do not set ADMIN_URL='/' in case your... | 57 | false | henzk/django-productline | django_admin | 3,452 | |
LDU_FT/scott-maddox/openbandparams/strain_out_of_plane | LDU_FT | [
"<BEGIN>\n## `GaP_Eg_Gamma`",
"Returns the Gamma-valley bandgap, Eg_Gamma, in electron Volts at a\n given temperature, T, in Kelvin (default: 300 K).",
" GaP has a unique Gamma-gap temperature dependence.\n<END>",
"<BEGIN>\n## `_has_x`",
"Returns True if x is explicitly defined in kwargs\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strain_out_of_plane 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 strain_out_of_plane 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 out-of-plane strain assuming no lattice relaxation, which
is negative for tensile strain and positive for compressive strain.
This is the strain measured by X-ray diffraction (XRD) symmetric
omega-2theta scans. | "Returns the out-of-plane strain assuming no lattice relaxation, which\n is negative for tensile strain and positive for compressive strain.\n This is the strain measured by X-ray diffraction (XRD) symmetric\n omega-2theta scans." | 68 | false | scott-maddox/openbandparams | strain_out_of_plane | 3,453 | |
LDU_FT/bootphon/h5features/simple_write | LDU_FT | [
"<BEGIN>\n## `init_group`",
"Initializes a HDF5 group compliant with the stored data.",
" This method creates the datasets 'items', 'labels', 'features'\n and 'index' and leaves them empty.",
" :param h5py.Group group: The group to initializes.\n :param float chunk_size: The size o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_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 extr... | Simplified version of `write()` when there is only one item. | "Simplified version of `write()` when there is only one item." | 119 | false | bootphon/h5features | simple_write | 3,454 | |
LDU_FT/josiah-wolf-oberholtzer/uqbar/on_builder_inited | LDU_FT | [
"<BEGIN>\n## `_build_mappings`",
"Collect all bases and organize into parent/child mappings.\n<END>",
"<BEGIN>\n## `_collect_classes`",
"Collect all classes defined in/under ``package_paths``.\n<END>",
"<BEGIN>\n## `find_common_prefix`",
"Find the common prefix of two or more paths.",
" ::",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_builder_inited API.
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 on_builder_inited API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Hooks into Sphinx's ``builder-inited`` event. | "Hooks into Sphinx's ``builder-inited`` event." | 123 | false | josiah-wolf-oberholtzer/uqbar | on_builder_inited | 3,455 | |
LDU_FT/rainwoodman/kdcount/compute_sum_values | LDU_FT | [
"<BEGIN>\n## `compute_sum_values`",
"Return the sum1_ij and sum2_ij values given\n the input indices and data instances.",
" Notes\n -----\n This is called in `Binning.update_sums` to compute\n the `sum1` and `sum2` contributions for indices `(i,j)`",
" Parameters\n ----------\n i,j : ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_sum_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_sum_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.
Th... | Return the sum1_ij and sum2_ij values given
the input indices and data instances.
Notes
-----
This is called in `Binning.update_sums` to compute
the `sum1` and `sum2` contributions for indices `(i,j)`
Parameters
----------
i,j : array_like
the bin indices for these pairs
da... | "Return the sum1_ij and sum2_ij values given\n the input indices and data instances.\n\n Notes\n -----\n This is called in `Binning.update_sums` to compute\n the `sum1` and `sum2` contributions for indices `(i,j)`\n\n Parameters\n ----------\n i,j : array_like\n the bin indices for these ... | 69 | false | rainwoodman/kdcount | compute_sum_values | 3,456 | |
LDU_FT/yhat/db.py/save_credentials | LDU_FT | [
"<BEGIN>\n## `all`",
"Returns entire table as a DataFrame. This is executing:\n SELECT\n *\n FROM\n <name_of_the_table>",
" Examples\n --------\n >>> from db import DemoDB\n >>> db = DemoDB()\n >>> len(db.tables.Track.all())\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_credentials API.
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 save_credentials API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Saves credentials to a dotfile so you can open them grab them later.
Parameters
----------
profile: str
name for your profile (i.e. "dev", "prod") | "Saves credentials to a dotfile so you can open them grab them later.\n\n Parameters\n ----------\n profile: str\n name for your profile (i.e. \"dev\", \"prod\")" | 89 | false | yhat/db.py | save_credentials | 3,457 | |
LDU_FT/pmelchior/proxmin/prox_components | LDU_FT | [
"<BEGIN>\n## `prox_gradf_lim`",
"Forward-backward step: gradient, followed by projection\n<END>",
"<BEGIN>\n## `prox_lim12`",
"if boundary == \"circle\":\n if j == 0:\n xy = np.array([x[0], Xs[1][0]])\n if j == 1:\n xy = np.array([Xs[0][0], x[0]])\n return [prox_circ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prox_components API.
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 prox_components API.
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... | Split X along axis and apply prox to each chunk.
prox can be a list. | "Split X along axis and apply prox to each chunk.\n\n prox can be a list." | 91 | false | pmelchior/proxmin | prox_components | 3,458 | |
LDU_FT/charnley/rmsd/check_reflections | LDU_FT | [
"<BEGIN>\n## `rmsd`",
"Calculate Root-mean-square deviation from two sets of vectors V and W.",
" Parameters\n ----------\n V : array\n (N,D) matrix, where N is points and D is dimension.\n W : array\n (N,D) matrix, where N is points and D is dimension.",
" Returns\n -------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_reflections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_reflections API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Minimize RMSD using reflection planes for molecule P and Q
Warning: This will affect stereo-chemistry
Parameters
----------
p_atoms : array
(N,1) matrix, where N is points holding the atoms' names
q_atoms : array
(N,1) matrix, where N is points holding the atoms' names
p_coord ... | "Minimize RMSD using reflection planes for molecule P and Q\n\n Warning: This will affect stereo-chemistry\n\n Parameters\n ----------\n p_atoms : array\n (N,1) matrix, where N is points holding the atoms' names\n q_atoms : array\n (N,1) matrix, where N is points holding the atoms' names\n ... | 66 | false | charnley/rmsd | check_reflections | 3,459 | |
LDU_FT/ome/omego/generate | LDU_FT | [
"<BEGIN>\n## `entry_point`",
"External entry point which calls main() and\n if Stop is raised, calls sys.exit()\n<END>",
"<BEGIN>\n## `open_url`",
"Open a URL using an opener that will simulate a browser user-agent\n url: The URL\n httpuser, httppassword: HTTP authentication credentials (either both ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API.
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 generate API.
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... | create Tag Groups and Child Tags using data from terms dict | "create Tag Groups and Child Tags using data from terms dict" | 72 | false | ome/omego | generate | 3,460 | |
LDU_FT/sqlboy/fileseq/frame | LDU_FT | [
"<BEGIN>\n## `xfrange`",
"Returns a generator that yields the frames from start to stop, inclusive.\n In other words it adds or subtracts a frame, as necessary, to return the\n stop value as well, if the stepped range would touch that value.",
" Args:\n start (int):\n stop (int):\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the frame API.
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 frame API.
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... | Return a path go the given frame in the sequence. Integer or string
digits are treated as a frame number and padding is applied, all other
values are passed though.
Examples:
>>> seq.frame(1)
/foo/bar.0001.exr
>>> seq.frame("#")
/foo/bar.#.exr
... | "Return a path go the given frame in the sequence. Integer or string\n digits are treated as a frame number and padding is applied, all other\n values are passed though.\n\n Examples:\n >>> seq.frame(1)\n /foo/bar.0001.exr\n >>> seq.frame(\"#\")\n /foo/b... | 146 | false | sqlboy/fileseq | frame | 3,461 | |
LDU_FT/hobson/pug-dj/count_in_category | LDU_FT | [
"<BEGIN>\n## `instance`",
"Creates an EC2 instance from an Ubuntu AMI and configures it as a Django server\n with nginx + gunicorn\n<END>",
"<BEGIN>\n## `_run_task`",
"Tasks a task from tasks.py and runs through the commands on the server\n<END>",
"<BEGIN>\n## `_put_template`",
"Same as _put() but it l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count_in_category API.
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 count_in_category API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Count the number of records for each discrete (categorical) value of a field and return a dict of two lists, the field values and the counts.
>>> x, y = count_in_category(x='call_type', filter_dict={'model__startswith': 'LC60'}, limit=5, sort=1)
>>> len(x) == len(y) == 5
True
>>> y[1] >= y[0]
True | "Count the number of records for each discrete (categorical) value of a field and return a dict of two lists, the field values and the counts.\n\n >>> x, y = count_in_category(x='call_type', filter_dict={'model__startswith': 'LC60'}, limit=5, sort=1)\n >>> len(x) == len(y) == 5\n True\n >>> y[1] >= y[0]\n ... | 300 | false | hobson/pug-dj | count_in_category | 3,462 | |
LDU_FT/cisco-sas/kitty/_deserialize_dict | 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 _deserialize_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _deserialize_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | deserializes a dictionary
:param data: data to deserialize | "deserializes a dictionary\n\n :param data: data to deserialize" | 331 | false | cisco-sas/kitty | _deserialize_dict | 3,463 | |
LDU_FT/StorjOld/pyp2p/get_wan_ip | LDU_FT | [
"<BEGIN>\n## `set_keep_alive`",
"This function instructs the TCP socket to send a heart beat every n\n seconds to detect dead connections. It's the TCP equivalent of the\n IRC ping-pong protocol and allows for better cleanup / detection\n of dead TCP connections.",
" It activates aft... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_wan_ip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_wan_ip API.
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... | That IP module sucks. Occasionally it returns an IP address behind
cloudflare which probably happens when cloudflare tries to proxy your web
request because it thinks you're trying to DoS. It's better if we just run
our own infrastructure. | "That IP module sucks. Occasionally it returns an IP address behind\n cloudflare which probably happens when cloudflare tries to proxy your web\n request because it thinks you're trying to DoS. It's better if we just run\n our own infrastructure." | 88 | false | StorjOld/pyp2p | get_wan_ip | 3,464 | |
LDU_FT/ultrabug/py3status/composite_update | LDU_FT | [
"<BEGIN>\n## `load_from_file`",
"Return user-written class object from given path.\n<END>",
"<BEGIN>\n## `prepare_module`",
"Ready the module to get it ready to start.\n<END>",
"<BEGIN>\n## `error_output`",
"Something is wrong with the module so we want to output the error to\n the i3bar\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the composite_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the composite_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Takes a Composite (item) and updates all entries with values from
update_dict. Updates can be soft in which case existing values are not
overwritten.
If item is of type string it is first converted to a Composite | "Takes a Composite (item) and updates all entries with values from\n update_dict. Updates can be soft in which case existing values are not\n overwritten.\n\n If item is of type string it is first converted to a Composite" | 514 | false | ultrabug/py3status | composite_update | 3,465 | |
LDU_FT/prompt-toolkit/pyvim/get_editor_style_by_name | LDU_FT | [
"<BEGIN>\n## `_try_char`",
"Return `character` if it can be encoded using sys.stdout, else return the\n backup character.\n<END>",
"<BEGIN>\n## `_bufferlist_overlay_visible`",
"True when the buffer list overlay should be displayed.\n (This is when someone starts typing ':b' or ':buffer' in the command l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_editor_style_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_editor_style_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Get Style class.
This raises `pygments.util.ClassNotFound` when there is no style with this
name. | "Get Style class.\n This raises `pygments.util.ClassNotFound` when there is no style with this\n name." | 76 | false | prompt-toolkit/pyvim | get_editor_style_by_name | 3,466 | |
LDU_FT/chapel-lang/sphinxcontrib-chapeldomain/make_field | LDU_FT | [
"<BEGIN>\n## `make_field`",
"Copy+Paste of TypedField.make_field() from Sphinx version 1.2.3. The first\n and second nodes.Text() instance are changed in this implementation to\n be ' : ' and '' respectively (instead of ' (' and ')').",
" TODO: Ask sphinx devs if there is a better way to su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_field API.
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 make_field API.
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... | Copy+Paste of TypedField.make_field() from Sphinx version 1.2.3. The first
and second nodes.Text() instance are changed in this implementation to
be ' : ' and '' respectively (instead of ' (' and ')').
TODO: Ask sphinx devs if there is a better way to support
this that is less cop... | "Copy+Paste of TypedField.make_field() from Sphinx version 1.2.3. The first\n and second nodes.Text() instance are changed in this implementation to\n be ' : ' and '' respectively (instead of ' (' and ')').\n\n TODO: Ask sphinx devs if there is a better way to support\n this that is le... | 60 | false | chapel-lang/sphinxcontrib-chapeldomain | make_field | 3,467 | |
LDU_FT/coded-by-hand/mass/check_rev_options | LDU_FT | [
"<BEGIN>\n## `get_requirement_from_url`",
"Get a requirement from the URL, if possible. This looks for #egg\n in the URL\n<END>",
"<BEGIN>\n## `package_to_requirement`",
"Translate a name like Foo-1.2 to Foo==1.3\n<END>",
"<BEGIN>\n## `get_mirrors`",
"Return the list of mirrors from the last record fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_rev_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_rev_options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Check the revision options before checkout to compensate that tags
and branches may need origin/ as a prefix.
Returns the SHA1 of the branch or tag if found. | "Check the revision options before checkout to compensate that tags\n and branches may need origin/ as a prefix.\n Returns the SHA1 of the branch or tag if found." | 105 | false | coded-by-hand/mass | check_rev_options | 3,468 | |
LDU_FT/grycap/RADL/p_string_list | LDU_FT | [
"<BEGIN>\n## `parse_radl`",
"Parse a RADL document in JSON.",
" Args.:\n - data(str or list): document to parse.",
" Return(RADL): RADL object.\n<END>",
"<BEGIN>\n## `radlToSimple`",
"Return a list of maps whose values are only other maps or lists.\n<END>",
"<BEGIN>\n## `getValue`",
"Return t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_string_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_string_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | string_list : string_list COMMA STRING
| STRING
| empty | "string_list : string_list COMMA STRING\n | STRING\n | empty" | 121 | false | grycap/RADL | p_string_list | 3,469 | |
LDU_FT/DeepHorizons/iarm/get_two_parameters | LDU_FT | [
"<BEGIN>\n## `ADR`",
"ADR Ra, [PC, #imm10_4]\n ADR Ra, label",
" Load the address of label or the PC offset into Ra\n Ra must be a low register\n<END>",
"<BEGIN>\n## `LDR`",
"LDR Ra, [PC, #imm10_4]\n LDR Ra, label\n LDR Ra, =equate\n LDR Ra, [Rb, Rc]\n LDR Ra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_two_parameters 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_two_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Get two parameters from a given regex expression
Raise an exception if more than two were found
:param regex_exp:
:param parameters:
:return: | "Get two parameters from a given regex expression\n\n Raise an exception if more than two were found\n :param regex_exp:\n :param parameters:\n :return:" | 253 | false | DeepHorizons/iarm | get_two_parameters | 3,470 | |
LDU_FT/bkjones/pyrabbit/delete_connection | LDU_FT | [
"<BEGIN>\n## `do_call`",
"Send an HTTP request to the REST API.",
" :param string path: A URL\n :param string method: The HTTP method (GET, POST, etc.) to use\n in the request.\n :param string body: A string representing any data to be sent in the\n body of the HTTP re... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_connection API.
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 delete_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Close the named connection. The API returns a 204 on success,
in which case this method returns True, otherwise the
error is raised.
:param string name: The name of the connection to delete.
:returns bool: True on success. | "Close the named connection. The API returns a 204 on success,\n in which case this method returns True, otherwise the\n error is raised.\n\n :param string name: The name of the connection to delete.\n :returns bool: True on success." | 112 | false | bkjones/pyrabbit | delete_connection | 3,471 | |
LDU_FT/hubo1016/vlcp/execute_command | LDU_FT | [
"<BEGIN>\n## `get_connection`",
"Get an exclusive connection, useful for blocked commands and transactions.",
" You must call release or shutdown (not recommanded) to return the connection after use.",
" :param container: routine container",
" :returns: RedisClientBase object, with some... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute_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 e... | Execute command on Redis server:
- For (P)SUBSCRIBE/(P)UNSUBSCRIBE, the command is sent to the subscribe connection.
It is recommended to use (p)subscribe/(p)unsubscribe method instead of directly call the command
- For BLPOP, BRPOP, BRPOPLPUSH, the command is sent to a separated connect... | "Execute command on Redis server:\n - For (P)SUBSCRIBE/(P)UNSUBSCRIBE, the command is sent to the subscribe connection.\n It is recommended to use (p)subscribe/(p)unsubscribe method instead of directly call the command\n - For BLPOP, BRPOP, BRPOPLPUSH, the command is sent to a separated con... | 538 | false | hubo1016/vlcp | execute_command | 3,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.