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/SeattleTestbed/seash/release
LDU_FT
[ "<BEGIN>\n## `_bind_key`", "u\"\"\"setup the mapping from key to call the function.\n<END>", "<BEGIN>\n## `_bind_exit_key`", "u\"\"\"setup the mapping from key to call the function.\n<END>", "<BEGIN>\n## `_get_completions`", "Return a list of possible completions for the string ending at the point.\r\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the release API. 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 release API. 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...
<Purpose> Releases the specified vessels. <Arguments> input_dict: The commanddict representing the user's input. environment_dict: The dictionary representing the current seash environment. <Side Effects> Connects to the Clearinghouse and releases vessels. Removes the ...
"<Purpose>\n Releases the specified vessels.\n\n <Arguments>\n input_dict: The commanddict representing the user's input.\n environment_dict: The dictionary representing the current seash\n environment.\n\n <Side Effects>\n Connects to the Clearinghouse and releases vessels.\n R...
281
false
SeattleTestbed/seash
release
14,873
LDU_FT/gmr/tinman/_on_stackexchange_user
LDU_FT
[ "<BEGIN>\n## `main`", "Invoked by the script installed by setuptools.\n<END>", "<BEGIN>\n## `enable_debug`", "If the cli arg for foreground is set, set the configuration option\n for debug.\n<END>", "<BEGIN>\n## `insert_paths`", "Inserts a base path into the sys.path list if one is specified in\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_stackexchange_user 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 _on_stackexchange_user API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Invoked as a callback when self.stackexchange_request returns the response to the request for user data. :param method future: The callback method to pass along :param str access_token: The access token for the user's use :param dict response: The HTTP response already decoded
"Invoked as a callback when self.stackexchange_request returns the\n response to the request for user data.\n\n :param method future: The callback method to pass along\n :param str access_token: The access token for the user's use\n :param dict response: The HTTP response already decoded"
270
false
gmr/tinman
_on_stackexchange_user
14,874
LDU_FT/hobson/pug-dj/load_all_csvs_to_model
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 load_all_csvs_to_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....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_all_csvs_to_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....
Bulk create database records from all csv files found within a directory.
"Bulk create database records from all csv files found within a directory."
300
false
hobson/pug-dj
load_all_csvs_to_model
14,875
LDU_FT/KennethWilke/PingdomLib/getAnalyses
LDU_FT
[ "<BEGIN>\n## `_serializeBooleans`", "Convert all booleans to lowercase strings\n<END>", "<BEGIN>\n## `actions`", "Returns a list of actions (alerts) that have been generated for\n your account.", " Optional Parameters:", " * from -- Only include actions generated later than th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAnalyses API. 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 getAnalyses API. 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 a list of the latest root cause analysis results for a specified check. Optional Parameters: * limit -- Limits the number of returned results to the specified quantity. Type: Integer Default: 100 * offset -- O...
"Returns a list of the latest root cause analysis results for a\n specified check.\n\n Optional Parameters:\n\n * limit -- Limits the number of returned results to the\n specified quantity.\n Type: Integer\n Default: 100\n\n * ...
177
false
KennethWilke/PingdomLib
getAnalyses
14,876
LDU_FT/project-rig/rig/get_context_arguments
LDU_FT
[ "<BEGIN>\n## `minimise`", "Remove from the routing table any entries which could be replaced by\n default routing.", " Parameters\n ----------\n routing_table : [:py:class:`~rig.routing_table.RoutingTableEntry`, ...]\n Routing table from which to remove entries which could be handled by\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context_arguments API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context_arguments API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return a dictionary containing the current context arguments.
"Return a dictionary containing the current context arguments."
983
false
project-rig/rig
get_context_arguments
14,877
LDU_FT/horejsek/python-sqlpuzzle/has
LDU_FT
[ "<BEGIN>\n## `_get_convert_method`", "Get right method to convert of the value.\n<END>", "<BEGIN>\n## `has`", "Returns ``True`` if ``querypart_name`` with ``value`` is set. For example\n you can check if you already used condition by ``sql.has('where')``.", " If you want to check for more info...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has API. 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 has API. 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...
Returns True if `querypart_name` with `value` is set. For example you can check if you already used condition by `sql.has('where')`. If you want to check for more information, for example if that condition also contain ID, you can do this by `sql.has('where', 'id')`.
"Returns True if `querypart_name` with `value` is set.\n\n For example you can check if you already used condition by `sql.has('where')`.\n\n If you want to check for more information, for example if that condition\n also contain ID, you can do this by `sql.has('where', 'id')`."
31
false
horejsek/python-sqlpuzzle
has
14,878
LDU_FT/moralrecordings/mrcrowbar/put_bits
LDU_FT
[ "<BEGIN>\n## `decode_nfo`", "Decodes a byte string in NFO format (beloved by PC scener groups) from DOS Code Page 437 \n to Unicode.\n<END>", "<BEGIN>\n## `ansi_format_iter`", "Return the ANSI escape sequence to render the image.", " x_start\n Offset from the left of the image data to r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_bits API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_bits API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Push bits into the target. value Integer containing bits to push, ordered from least-significant bit to most-significant bit. count Number of bits to push to the target.
"Push bits into the target.\n\n value\n Integer containing bits to push, ordered from least-significant bit to\n most-significant bit.\n\n count\n Number of bits to push to the target."
214
false
moralrecordings/mrcrowbar
put_bits
14,879
LDU_FT/twidi/django-extended-choices/_convert_choices
LDU_FT
[ "<BEGIN>\n## `create_choice`", "Create an instance of a ``Choices`` object.", " Parameters\n ----------\n klass : type\n The class to use to recreate the object.\n choices : list(tuple)\n A list of choices as expected by the ``__init__`` method of ``klass``.\n subsets : list(tuple)\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_choices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_choices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Validate each choices Parameters ---------- choices : list of tuples The list of choices to be added Returns ------- list The list of the added constants
"Validate each choices\n\n Parameters\n ----------\n choices : list of tuples\n The list of choices to be added\n\n Returns\n -------\n list\n The list of the added constants"
59
false
twidi/django-extended-choices
_convert_choices
14,880
LDU_FT/marcolagi/quantulum/get_unit_from_dimensions
LDU_FT
[ "<BEGIN>\n## `get_numwords`", "Convert number words to integers in a given text.\n<END>", "<BEGIN>\n## `get_dimension_permutations`", "Get all possible dimensional definitions for an entity.\n<END>", "<BEGIN>\n## `download_wiki`", "Download WikiPedia pages of ambiguous units.\n<END>", "<BEGIN>\n## `disa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_unit_from_dimensions 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_unit_from_dimensions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Reconcile a unit based on its dimensionality.
"Reconcile a unit based on its dimensionality."
30
false
marcolagi/quantulum
get_unit_from_dimensions
14,881
LDU_FT/googleapis/google-auth-library-python-oauthlib/from_client_secrets_file
LDU_FT
[ "<BEGIN>\n## `main`", "Command-line tool for obtaining authorization and credentials from a user.", " This tool uses the OAuth 2.0 Authorization Code grant as described\n in section 1.3.1 of RFC6749:\n https://tools.ietf.org/html/rfc6749#section-1.3.1", " This tool is intended for assist developer...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_client_secrets_file 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 from_client_secrets_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Creates a :class:`Flow` instance from a Google client secrets file. Args: client_secrets_file (str): The path to the client secrets .json file. scopes (Sequence[str]): The list of scopes to request during the flow. kwargs: Any additional param...
"Creates a :class:`Flow` instance from a Google client secrets file.\n\n Args:\n client_secrets_file (str): The path to the client secrets .json\n file.\n scopes (Sequence[str]): The list of scopes to request during the\n flow.\n kwargs: Any addition...
54
false
googleapis/google-auth-library-python-oauthlib
from_client_secrets_file
14,882
LDU_FT/jstitch/MambuPy/setRoles
LDU_FT
[ "<BEGIN>\n## `convertDict2Attrs`", "The trick for iterable Mambu Objects comes here:", " You iterate over each element of the responded List from Mambu,\n and create a Mambu Activity object for each one, initializing\n them one at a time, and changing the attrs attribute (which just\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setRoles API. 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 setRoles API. 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...
Adds the role assigned to this user to a 'role' field. Depends on the 'role' field that comes with a fullDetails=True build of the MambuUser. Returns the number of requests done to Mambu.
"Adds the role assigned to this user to a 'role' field.\n\n Depends on the 'role' field that comes with a fullDetails=True\n build of the MambuUser.\n\n Returns the number of requests done to Mambu."
357
false
jstitch/MambuPy
setRoles
14,883
LDU_FT/django-de/django-simple-ratings/unrate_url
LDU_FT
[ "<BEGIN>\n## `delete_manager`", "Returns a queryset based on the related model's base manager (rather\n than the default manager, as returned by __get__). Used by\n Model.delete().\n<END>", "<BEGIN>\n## `create_manager`", "Dynamically create a RelatedManager to handle the back side of the (G)FK\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unrate_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unrate_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Generates a link to "un-rate" the given object - this can be used as a form target or for POSTing via Ajax.
"Generates a link to \"un-rate\" the given object - this\n can be used as a form target or for POSTing via Ajax."
10
false
django-de/django-simple-ratings
unrate_url
14,884
LDU_FT/morngrar/betterdialogs/get
LDU_FT
[ "<BEGIN>\n## `load_image`", "Takes a tk.Canvas and a filepath, loads image into canvas\n<END>", "<BEGIN>\n## `load_image`", "Loads new image into canvas, updating size if needed.\n<END>", "<BEGIN>\n## `parse_geometry`", "Takes a geometry string, returns map of parameters.\n<END>", "<BEGIN>\n## `buttons`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Return the text from INDEX1 to INDEX2 (not included).
"Return the text from INDEX1 to INDEX2 (not included)."
20
false
morngrar/betterdialogs
get
14,885
LDU_FT/RLBot/RLBot/read_match_config_from_file
LDU_FT
[ "<BEGIN>\n## `configure_processes`", "This will update the priority and CPU affinity of the processes owned by bots to try to achieve fairness and\n good performance.", " :param agent_metadata_map: A mapping of player index to agent metadata, including a list of owned process ids.\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_match_config_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_match_config_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Parse the rlbot.cfg file on disk into the python datastructure.
"Parse the rlbot.cfg file on disk into the python datastructure."
181
false
RLBot/RLBot
read_match_config_from_file
14,886
LDU_FT/maartenbreddels/ipyvolume/figure
LDU_FT
[ "<BEGIN>\n## `volshow`", "Deprecated: please use ipyvolume.quickvolshow or use the ipyvolume.pylab interface.\n<END>", "<BEGIN>\n## `quickvolshow`", "Visualize a 3d array using volume rendering.", " :param data: 3d numpy array\n :param lighting: boolean, to use lighting or not, if set to false, lighti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the figure API. 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 figure API. 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 ...
Create a new figure if no key is given, or return the figure associated with key. :param key: Python object that identifies this figure :param int width: pixel width of WebGL canvas :param int height: .. height .. :param bool lighting: use lighting or not :param bool controls: show controls or not...
"Create a new figure if no key is given, or return the figure associated with key.\n\n :param key: Python object that identifies this figure\n :param int width: pixel width of WebGL canvas\n :param int height: .. height ..\n :param bool lighting: use lighting or not\n :param bool controls: show controls...
141
false
maartenbreddels/ipyvolume
figure
14,887
LDU_FT/chriskiehl/Gooey/fetchExternalUpdates
LDU_FT
[ "<BEGIN>\n## `applyStyleRules`", "Conditionally disabled/enables form fields based on the current\r\n section in the radio group\n<END>", "<BEGIN>\n## `handleImplicitCheck`", "Checkboxes are hidden when inside of a RadioGroup as a selection of\r\n the Radio button is an implicit selection of the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetchExternalUpdates 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 fetchExternalUpdates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
!Experimental! Calls out to the client code requesting seed values to use in the UI !Experimental!
"!Experimental!\r\n Calls out to the client code requesting seed values to use in the UI\r\n !Experimental!"
60
false
chriskiehl/Gooey
fetchExternalUpdates
14,888
LDU_FT/crm416/semantic/longestNumber
LDU_FT
[ "<BEGIN>\n## `parseUnits`", "Carries out a conversion (represented as a string) and returns the\n result as a human-readable string.", " Args:\n inp (str): Text representing a unit conversion, which should\n include a magnitude, a description of the initial units,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the longestNumber API. 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 longestNumber API. 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 longest valid numerical description from a string. Not guaranteed to return a result even if some valid numerical description exists (i.e., method is not particularly advanced). Args: inp (str): An arbitrary string, hopefully containing a number. Returns: ...
"Extracts the longest valid numerical description from a string.\n Not guaranteed to return a result even if some valid numerical\n description exists (i.e., method is not particularly advanced).\n\n Args:\n inp (str): An arbitrary string, hopefully containing a number.\n\n Return...
75
false
crm416/semantic
longestNumber
14,889
LDU_FT/tensorflow/tensor2tensor/infer
LDU_FT
[ "<BEGIN>\n## `paracrawl_v3_pairs`", "Generates raw (English, other) pairs from a ParaCrawl V3.0 data file.", " Args:\n paracrawl_file: A ParaCrawl V3.0 en-.. data file.\n Yields:\n Pairs of (sentence_en, sentence_xx), as Unicode strings.\n Raises:\n StopIteration: If the file ends while this method ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer API. 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 infer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Add new observation to frame stack and infer policy. Args: ob: array of shape (height, width, channels) Returns: logits and vf.
"Add new observation to frame stack and infer policy.\n\n Args:\n ob: array of shape (height, width, channels)\n\n Returns:\n logits and vf."
4,769
true
tensorflow/tensor2tensor
infer
14,890
LDU_FT/kyb3r/dhooks/to_dict
LDU_FT
[ "<BEGIN>\n## `close`", "Closes the file if the file was opened by :class:`File`,\n if not, this does nothing.", " Parameters\n ----------\n force: bool\n If set to :class:`True`, force close every file.\n<END>", "<BEGIN>\n## `set_title`", "Sets the title of the embed."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Turns the :class:`Embed` object into a dictionary.
"Turns the :class:`Embed` object into a dictionary."
33
false
kyb3r/dhooks
to_dict
14,891
LDU_FT/empirical-org/Quill-NLP-Tools-and-Datasets/substitute_infinitives_as_subjects
LDU_FT
[ "<BEGIN>\n## `_verbs_with_subjects`", "Given a spacy document return the verbs that have subjects\n<END>", "<BEGIN>\n## `mangle_agreement`", "Given a correct sentence, return a sentence or sentences with a subject\n verb agreement error\n<END>", "<BEGIN>\n## `_build_trigram_indices`", "Build a dictiona...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the substitute_infinitives_as_subjects API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the substitute_infinitives_as_subjects API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its...
If an infinitive is used as a subject, substitute the gerund.
"If an infinitive is used as a subject, substitute the gerund."
70
false
empirical-org/Quill-NLP-Tools-and-Datasets
substitute_infinitives_as_subjects
14,892
LDU_FT/JensRantil/rewind/main
LDU_FT
[ "<BEGIN>\n## `_zmq_socket_context`", "A ZeroMQ socket context that both constructs a socket and closes it.\n<END>", "<BEGIN>\n## `_get_with_fallback`", "Get a configuration value, using fallback for missing values.", " Parameters:\n config -- the configparser to try to extract the option value from....
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...
Entry point for Rewind. Parses input and calls run() for the real work. Parameters: argv -- sys.argv arguments. Can be set for testing purposes. returns -- the proposed exit code for the program.
"Entry point for Rewind.\n\n Parses input and calls run() for the real work.\n\n Parameters:\n argv -- sys.argv arguments. Can be set for testing purposes.\n\n returns -- the proposed exit code for the program."
112
false
JensRantil/rewind
main
14,893
LDU_FT/ArabellaTech/django-basic-cms/json_to_pages
LDU_FT
[ "<BEGIN>\n## `move_page`", "Move the page to the requested target, at the given\n position.\n<END>", "<BEGIN>\n## `sub_menu`", "Render the children of the requested page with the sub_menu\n template.\n<END>", "<BEGIN>\n## `parse_placeholder`", "Parse the `PlaceholderNode` parameters.", " Return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json_to_pages API. 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 json_to_pages API. 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...
Attept to create/update pages from JSON string json. user is the user that will be used when creating a page if a page's original author can't be found. preferred_lang is the language code of the slugs to include in error messages (defaults to settings.PAGE_DEFAULT_LANGUAGE). Returns (errors, pag...
"Attept to create/update pages from JSON string json. user is the\n user that will be used when creating a page if a page's original\n author can't be found. preferred_lang is the language code of the\n slugs to include in error messages (defaults to\n settings.PAGE_DEFAULT_LANGUAGE).\n\n Returns (erro...
91
false
ArabellaTech/django-basic-cms
json_to_pages
14,894
LDU_FT/Arubacloud/pyArubaCloud/find
LDU_FT
[ "<BEGIN>\n## `find`", "Return a list of subset of VM that match the pattern name\n @param name (str): the vm name of the virtual machine\n @param name (Obj): the vm object that represent the virtual\n machine (can be Pro or Smart)\n @return (list): the subset contain...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find API. 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 find API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return a list of subset of VM that match the pattern name @param name (str): the vm name of the virtual machine @param name (Obj): the vm object that represent the virtual machine (can be Pro or Smart) @return (list): the subset containing the serach result.
"Return a list of subset of VM that match the pattern name\n @param name (str): the vm name of the virtual machine\n @param name (Obj): the vm object that represent the virtual\n machine (can be Pro or Smart)\n @return (list): the subset containing the serach result."
43
false
Arubacloud/pyArubaCloud
find
14,895
LDU_FT/pmacosta/ptrie/delete_subtree
LDU_FT
[ "<BEGIN>\n## `_create_intermediate_nodes`", "Create intermediate nodes if hierarchy does not exist.\n<END>", "<BEGIN>\n## `_delete_subtree`", "Delete subtree private method.", " No argument validation and usage of getter/setter private methods is\n used for speed\n<END>", "<BEGIN>\n## `_prt`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_subtree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_subtree API. 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...
r""" Delete nodes (and their sub-trees) from the tree. :param nodes: Node(s) to delete :type nodes: :ref:`NodeName` or list of :ref:`NodeName` :raises: * RuntimeError (Argument \`nodes\` is not valid) * RuntimeError (Node *[node_name]* not in tree) Using th...
"r\"\"\"\n Delete nodes (and their sub-trees) from the tree.\n\n :param nodes: Node(s) to delete\n :type nodes: :ref:`NodeName` or list of :ref:`NodeName`\n\n :raises:\n * RuntimeError (Argument \\`nodes\\` is not valid)\n\n * RuntimeError (Node *[node_name]* not in tree)\n\...
166
false
pmacosta/ptrie
delete_subtree
14,896
LDU_FT/SolutionsCloud/apidoc/create_from_dictionary
LDU_FT
[ "<BEGIN>\n## `_init_config`", "return command's configuration from call's arguments\n<END>", "<BEGIN>\n## `_merge_files`", "Combine the input files to a big output file\n<END>", "<BEGIN>\n## `create_from_name_and_dictionary`", "Return a populated object Object from dictionary datas\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_dictionary API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_from_dictionary API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Return a populated object Configuration from dictionnary datas
"Return a populated object Configuration from dictionnary datas"
42
false
SolutionsCloud/apidoc
create_from_dictionary
14,897
LDU_FT/shaypal5/utilp/_copy_ancestor_docstring
LDU_FT
[ "<BEGIN>\n## `is_pathname_valid`", "Checks if the given path name is valid.", " Returns\n -------\n `True` if the passed pathname is a valid pathname for the current OS;\n `False` otherwise.\n<END>", "<BEGIN>\n## `is_path_creatable`", "Checks whether the given path is creatable.", " Returns...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _copy_ancestor_docstring 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 _copy_ancestor_docstring API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Decorator to set docstring for *func* from *mro*
"Decorator to set docstring for *func* from *mro*"
30
false
shaypal5/utilp
_copy_ancestor_docstring
14,898
LDU_FT/signaturit/python-sdk/create_contact
LDU_FT
[ "<BEGIN>\n## `get_signature`", "Get a concrete Signature\n @return Signature data\n<END>", "<BEGIN>\n## `download_audit_trail`", "Get the audit trail of concrete document\n @signature_id: Id of signature\n @document_id: Id of document\n<END>", "<BEGIN>\n## `download_signed_document`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_contact API. 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 create_contact API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Create a new contact :param email: user email :param name: user name
"Create a new contact\n :param email: user email\n :param name: user name"
52
false
signaturit/python-sdk
create_contact
14,899
LDU_FT/kodexlab/reliure/_routes
LDU_FT
[ "<BEGIN>\n## `add_field`", "Add a named field to the schema.", " .. Warning:: the field name should not contains spaces and should not\n start with an underscore.", " :param name: name of the new field\n :type name: str\n :param field: type instance for the field \n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _routes API. 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 _routes API. 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...
list of routes (you should have the app where this is register)
"list of routes (you should have the app where this is register)"
243
false
kodexlab/reliure
_routes
14,900
LDU_FT/DaveMcEwan/ndim/pt_scale
LDU_FT
[ "<BEGIN>\n## `pt_on_bezier_curve`", "Return point at t on bezier curve defined by control points P.\n<END>", "<BEGIN>\n## `pts_on_bezier_curve`", "Return list N+1 points representing N line segments on bezier curve\n defined by control points P.\n<END>", "<BEGIN>\n## `bezier_curve_approx_len`", "Return a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pt_scale API. 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 pt_scale API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return given point scaled by factor f from origin.
"Return given point scaled by factor f from origin."
40
false
DaveMcEwan/ndim
pt_scale
14,901
LDU_FT/neovim/pynvim/format_exc_skip
LDU_FT
[ "<BEGIN>\n## `connection_made`", "Used to signal `asyncio.Protocol` of a successful connection.\n<END>", "<BEGIN>\n## `data_received`", "Used to signal `asyncio.Protocol` of incoming data.\n<END>", "<BEGIN>\n## `pipe_data_received`", "Used to signal `asyncio.SubprocessProtocol` of incoming data.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_exc_skip API. 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 format_exc_skip API. 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...
Like traceback.format_exc but allow skipping the first frames.
"Like traceback.format_exc but allow skipping the first frames."
139
false
neovim/pynvim
format_exc_skip
14,902
LDU_FT/InQuest/python-sandboxapi/check
LDU_FT
[ "<BEGIN>\n## `_request`", "Robustness wrapper. Tries up to 3 times to dance with the Sandbox API.", " :type uri: str\n :param uri: URI to append to base_url.\n :type params: dict\n :param params: Optional parameters for API.\n :type files: dict\n :param f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Check if an analysis is complete. :type item_id: str :param item_id: File ID to check. :rtype: bool :return: Boolean indicating if a report is done or not.
"Check if an analysis is complete.\n\n :type item_id: str\n :param item_id: File ID to check.\n\n :rtype: bool\n :return: Boolean indicating if a report is done or not."
93
false
InQuest/python-sandboxapi
check
14,903
LDU_FT/openvax/varcode/number_exons_in_associated_transcript
LDU_FT
[ "<BEGIN>\n## `translate_codon`", "Translate a single codon into a single amino acid or stop '*'", " Parameters\n ----------\n codon : str\n Expected to be of length 3\n aa_pos : int\n Codon/amino acid offset into the protein (starting from 0)\n<END>", "<BEGIN>\n## `translate`", "Tr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the number_exons_in_associated_transcript API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the number_exons_in_associated_transcript API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ...
Number of exons on transcript associated with effect, if there is one (otherwise return 0).
"Number of exons on transcript associated with effect,\n if there is one (otherwise return 0)."
344
false
openvax/varcode
number_exons_in_associated_transcript
14,904
LDU_FT/bootphon/h5features/_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 _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 ...
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 ...
Writes the given item to the owned file.
"Writes the given item to the owned file."
119
false
bootphon/h5features
_write
14,905
LDU_FT/Dispersive-Hydrodynamics-Lab/PACE/update1
LDU_FT
[ "<BEGIN>\n## `get_args`", "Get program arguments.", " Just use --help....\n<END>", "<BEGIN>\n## `get_keys`", "Return list of SHA512 hash keys that exist in datafile", " :return: list of keys\n<END>", "<BEGIN>\n## `check_key`", "Checks if key exists in datastore. True if yes, False if no.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update1 API. 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 update1 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Update one entry in specific record in datastore
"Update one entry in specific record in datastore"
46
false
Dispersive-Hydrodynamics-Lab/PACE
update1
14,906
LDU_FT/basho/riak-python-client/decode_timeseries
LDU_FT
[ "<BEGIN>\n## `mkpath`", "Constructs the path & query portion of a URI from path segments\n and a dict.\n<END>", "<BEGIN>\n## `search_index_path`", "Builds a Yokozuna search index URL.", " :param index: optional name of a yz index\n :type index: string\n :param options: optional list ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_timeseries API. 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 decode_timeseries API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Fills an TsObject with the appropriate data and metadata from a TsGetResp / TsQueryResp. :param resp: the protobuf message from which to process data :type resp: riak.pb.riak_ts_pb2.TsQueryRsp or riak.pb.riak_ts_pb2.TsGetResp :param tsobj: a TsObject :type ts...
"Fills an TsObject with the appropriate data and\n metadata from a TsGetResp / TsQueryResp.\n\n :param resp: the protobuf message from which to process data\n :type resp: riak.pb.riak_ts_pb2.TsQueryRsp or\n riak.pb.riak_ts_pb2.TsGetResp\n :param tsobj: a TsObject\n ...
620
false
basho/riak-python-client
decode_timeseries
14,907
LDU_FT/Fizzadar/pyinfra/repo
LDU_FT
[ "<BEGIN>\n## `agent`", "Run puppet agent", " + server: master server URL\n + port: puppet master port\n<END>", "<BEGIN>\n## `load_deploy_config`", "Loads any local config overrides in the deploy file.\n<END>", "<BEGIN>\n## `_parse_mode`", "Converts ls mode output (rwxrwxrwx) -> integer (755).\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repo API. 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 repo API. 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...
Clone/pull git repositories. + source: the git source URL + target: target directory to clone to + branch: branch to pull/checkout + pull: pull any changes for the branch + rebase: when pulling, use ``--rebase`` + user: chown files to this user after + group: chown files to this group after...
"Clone/pull git repositories.\n\n + source: the git source URL\n + target: target directory to clone to\n + branch: branch to pull/checkout\n + pull: pull any changes for the branch\n + rebase: when pulling, use ``--rebase``\n + user: chown files to this user after\n + group: chown files to this gr...
336
false
Fizzadar/pyinfra
repo
14,908
LDU_FT/MacHu-GWU/windtalker-project/of_bytes
LDU_FT
[ "<BEGIN>\n## `newkeys`", "Create a new pair of public and private key pair to use.\n<END>", "<BEGIN>\n## `encrypt`", "Encrypt binary data.", " **中文文档**", " - 发送消息时只需要对方的pubkey\n - 如需使用签名, 则双方都需要持有对方的pubkey\n<END>", "<BEGIN>\n## `decrypt`", "Decrypt binary data.", " **中文文档...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the of_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the of_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Use default hash method to return hash value of bytes.
"Use default hash method to return hash value of bytes."
47
false
MacHu-GWU/windtalker-project
of_bytes
14,909
LDU_FT/empymod/empymod/ffht
LDU_FT
[ "<BEGIN>\n## `check_ab`", "r\"\"\"Check source-receiver configuration.", " This check-function is called from one of the modelling routines in\n :mod:`model`. Consult these modelling routines for a detailed description\n of the input parameters.", " Parameters\n ----------\n ab : int\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ffht API. 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 ffht API. 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...
r"""Fourier Transform using the Digital Linear Filter method. It follows the Filter methodology [Ande75]_, using Cosine- and Sine-filters; see ``fht`` for more information. The function is called from one of the modelling routines in :mod:`model`. Consult these modelling routines for a description of...
"r\"\"\"Fourier Transform using the Digital Linear Filter method.\n\n\n It follows the Filter methodology [Ande75]_, using Cosine- and\n Sine-filters; see ``fht`` for more information.\n\n The function is called from one of the modelling routines in :mod:`model`.\n Consult these modelling routines for a des...
570
false
empymod/empymod
ffht
14,910
LDU_FT/quantumlib/Cirq/insert
LDU_FT
[ "<BEGIN>\n## `_absorb_z_into_w`", "Absorbs a Z^t gate into a W(a) flip.", " [Where W(a) is shorthand for PhasedX(phase_exponent=a).]", " Uses the following identity:\n ───W(a)───Z^t───\n ≡ ───W(a)───────────Z^t/2──────────Z^t/2─── (split Z)\n ≡ ───W(a)───W(a)───Z^-t/2───W(a)───Z^t/2...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API. 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 insert API. 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 ...
Inserts operations into the circuit. Operations are inserted into the moment specified by the index and 'InsertStrategy'. Moments within the operation tree are inserted intact. Args: index: The index to insert all of the operations at. moment_or_opera...
"Inserts operations into the circuit.\n Operations are inserted into the moment specified by the index and\n 'InsertStrategy'.\n Moments within the operation tree are inserted intact.\n\n Args:\n index: The index to insert all of the operations at.\n moment_...
1,764
true
quantumlib/Cirq
insert
14,911
LDU_FT/juju-solutions/charms.reactive/only_once
LDU_FT
[ "<BEGIN>\n## `endpoint_from_name`", "The object used for interacting with the named relations, or None.\n<END>", "<BEGIN>\n## `endpoint_from_flag`", "The object used for interacting with relations tied to a flag, or None.\n<END>", "<BEGIN>\n## `relation_factory`", "Get the RelationFactory for the given re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the only_once API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the only_once API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
.. deprecated:: 0.5.0 Use :func:`when_not` in combination with :func:`set_state` instead. This handler is deprecated because it might actually be `called multiple times <https://github.com/juju-solutions/charms.reactive/issues/22>`_. Register the decorated function to be run once, and only onc...
".. deprecated:: 0.5.0\n Use :func:`when_not` in combination with :func:`set_state` instead. This\n handler is deprecated because it might actually be\n `called multiple times <https://github.com/juju-solutions/charms.reactive/issues/22>`_.\n\n Register the decorated function to be run once, and on...
223
false
juju-solutions/charms.reactive
only_once
14,912
LDU_FT/sosy-lab/benchexec/get_extract_value_function
LDU_FT
[ "<BEGIN>\n## `_program_files_from_executable`", "Get a list of program files by expanding a list of path patterns\n and interpreting it as relative to the executable.\n This method can be used as helper for implementing the method program_files().\n Contrary to the default implementation of p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_extract_value_function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_extract_value_function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
returns a function that extracts the value for a column.
"returns a function that extracts the value for a column."
406
false
sosy-lab/benchexec
get_extract_value_function
14,913
LDU_FT/smdabdoub/phylotoast/load_core_file
LDU_FT
[ "<BEGIN>\n## `sample_group`", "Iterate through all categories in an OrderedDict and return category name if SampleID\n present in that category.", " :type sid: str\n :param sid: SampleID from dataset.", " :type groups: OrderedDict\n :param groups: Returned dict from phylotoast.util.gather_categ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_core_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_core_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 ex...
For core OTU data file, returns Genus-species identifier for each data entry. :type core_fp: str :param core_fp: A file containing core OTU data. :rtype: str :return: Returns genus-species identifier based on identified taxonomical level.
"For core OTU data file, returns Genus-species identifier for each data\n entry.\n :type core_fp: str\n :param core_fp: A file containing core OTU data.\n :rtype: str\n :return: Returns genus-species identifier based on identified taxonomical\n level."
200
false
smdabdoub/phylotoast
load_core_file
14,914
LDU_FT/ByteInternet/amqpconsumer/setup_queue
LDU_FT
[ "<BEGIN>\n## `connect`", "Connect to RabbitMQ, returning the connection handle.", " When the connection is established, the on_connection_open method\n will be invoked by pika.", " :rtype: pika.SelectConnection\n<END>", "<BEGIN>\n## `on_connection_closed`", "Called by pika when the co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_queue API. 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 setup_queue API. 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...
Declare the queue When completed, the on_queue_declareok method will be invoked by pika.
"Declare the queue\n\n When completed, the on_queue_declareok method will be invoked by pika."
43
false
ByteInternet/amqpconsumer
setup_queue
14,915
LDU_FT/lvjiyong/configreset/_load_from_ini_py3
LDU_FT
[ "<BEGIN>\n## `reset`", "重置设置\n :param target:\n :param settings:\n :return:\n<END>", "<BEGIN>\n## `load_package`", "从目录中载入配置文件\n :param package_dir:\n :param package:\n :param exclude:\n :param default_section:\n :return:\n<END>", "<BEGIN>\n## `load`", "从混合类型组中读取配置\n :param defa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_from_ini_py3 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 _load_from_ini_py3 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...
py3从单个配置文件中,获取设置 :param default_section: :param ini: :return:
"py3从单个配置文件中,获取设置\n :param default_section:\n :param ini:\n :return:"
26
false
lvjiyong/configreset
_load_from_ini_py3
14,916
LDU_FT/getsentry/rb/wait_for_responses
LDU_FT
[ "<BEGIN>\n## `add_host`", "Adds a new host to the cluster. This is only really useful for\n unittests as normally hosts are added through the constructor and\n changes after the cluster has been used for the first time are\n unlikely to make sense.\n<END>", "<BEGIN>\n## `remove_host`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_responses 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 wait_for_responses 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...
Waits for all responses to come back and resolves the eventual results.
"Waits for all responses to come back and resolves the\n eventual results."
87
false
getsentry/rb
wait_for_responses
14,917
LDU_FT/stevearc/dynamo3/put_item
LDU_FT
[ "<BEGIN>\n## `build_kwargs`", "Construct the kwargs to pass to batch_get_item\n<END>", "<BEGIN>\n## `set_request_args`", "Set the Limit parameter into the request args\n<END>", "<BEGIN>\n## `complete`", "Return True if the limit has been reached\n<END>", "<BEGIN>\n## `accept`", "Apply the filter and i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_item API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Store an item, overwriting existing data This uses the older version of the DynamoDB API. See also: :meth:`~.put_item2`. Parameters ---------- tablename : str Name of the table to write item : dict Item data expected : dict, optional ...
"Store an item, overwriting existing data\n\n This uses the older version of the DynamoDB API.\n See also: :meth:`~.put_item2`.\n\n Parameters\n ----------\n tablename : str\n Name of the table to write\n item : dict\n Item data\n expected : dict, o...
164
false
stevearc/dynamo3
put_item
14,918
LDU_FT/Element-34/py.saunter/is_element_available
LDU_FT
[ "<BEGIN>\n## `get_random_user`", "Gets a random user from the provider", " :returns: Dictionary\n<END>", "<BEGIN>\n## `is_element_available`", "Synchronization method for making sure the element we're looking for is not only on the page,\n but also visible -- since Se will happily deal with th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_element_available API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_element_available API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Synchronization method for making sure the element we're looking for is not only on the page, but also visible -- since Se will happily deal with things that aren't visible. Use this instead of is_element_present most of the time.
"Synchronization method for making sure the element we're looking for is not only on the page,\n but also visible -- since Se will happily deal with things that aren't visible.\n\n Use this instead of is_element_present most of the time."
81
false
Element-34/py.saunter
is_element_available
14,919
LDU_FT/Naresh1318/crystal/image
LDU_FT
[ "<BEGIN>\n## `adapt_array`", "http://stackoverflow.com/a/31312102/190597 (SoulNibbler)\n<END>", "<BEGIN>\n## `open_data_base_connection`", "Creates a connections to the crystal database.\n :param skip_dir_check: bool, True -> Skips checking database file and creates a new one if not present.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Show image on the Crystal server. :param image: :param name: :return:
"Show image on the Crystal server.\n :param image:\n :param name:\n :return:"
52
false
Naresh1318/crystal
image
14,920
LDU_FT/Min-ops/cruddy/increment
LDU_FT
[ "<BEGIN>\n## `describe`", "Returns descriptive information about this cruddy handler and the\n methods supported by it.\n<END>", "<BEGIN>\n## `search`", "Cruddy provides a limited but useful interface to search GSI indexes in\n DynamoDB with the following limitations (hopefully some of these wil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the increment API. 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 increment API. 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...
Increment a counter attribute atomically
"Increment a counter attribute atomically"
36
false
Min-ops/cruddy
increment
14,921
LDU_FT/tylertreat/BigQuery-Python/write_to_table
LDU_FT
[ "<BEGIN>\n## `get_client`", "Return a singleton instance of BigQueryClient. Either\n AssertionCredentials or a service account and private key combination need\n to be provided in order to authenticate requests to BigQuery.", " Parameters\n ----------\n project_id : str, optional\n The Big...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 ex...
Write query result to table. If dataset or table is not provided, Bigquery will write the result to temporary table. Optional arguments that are not specified are determined by BigQuery as described: https://developers.google.com/bigquery/docs/reference/v2/jobs Parameters ------...
"Write query result to table. If dataset or table is not provided,\n Bigquery will write the result to temporary table. Optional arguments\n that are not specified are determined by BigQuery as described:\n https://developers.google.com/bigquery/docs/reference/v2/jobs\n\n Parameters\n ...
227
false
tylertreat/BigQuery-Python
write_to_table
14,922
LDU_FT/qubell/contrib-python-qubell-client/get_or_create_organization
LDU_FT
[ "<BEGIN>\n## `request_upload_secret`", ":return: json with \"keyId\" as secret and \"url\" for posting key\n<END>", "<BEGIN>\n## `entity`", "CLI for tonomi.com using contrib-python-qubell-client", " To enable completion:", " eval \"$(_NOMI_COMPLETE=source nomi)\"\n<END>", "<BEGIN>\n## `import_ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_or_create_organization API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_or_create_organization API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Gets existing or creates new organization :rtype: Organization
"Gets existing or creates new organization\n :rtype: Organization"
112
false
qubell/contrib-python-qubell-client
get_or_create_organization
14,923
LDU_FT/bkabrda/anymarkup-core/parse
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse input from file-like object, unicode string or byte string.", " Args:\n inp: file-like object, unicode string or byte string with the markup\n format: explicitly override the guessed `inp` markup format\n encoding: `inp` encoding, defaults to utf-8\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d...
Parse input from file-like object, unicode string or byte string. Args: inp: file-like object, unicode string or byte string with the markup format: explicitly override the guessed `inp` markup format encoding: `inp` encoding, defaults to utf-8 force_types: if `True`, in...
"Parse input from file-like object, unicode string or byte string.\n\n Args:\n inp: file-like object, unicode string or byte string with the markup\n format: explicitly override the guessed `inp` markup format\n encoding: `inp` encoding, defaults to utf-8\n force_types:\n if `T...
29
false
bkabrda/anymarkup-core
parse
14,924
LDU_FT/IndicoDataSolutions/IndicoIo-python/batched
LDU_FT
[ "<BEGIN>\n## `analyze_image`", "Given input image, returns the results of specified image apis. Possible apis\r\n include: ['fer', 'facial_features', 'image_features']\r", " Example usage:\r", " .. code-block:: python\r", " >>> import indicoio\r\n >>> import numpy as np\r\n >>> fa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the batched API. 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 batched API. 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...
Split an iterable into constant sized chunks Recipe from http://stackoverflow.com/a/8290514
"Split an iterable into constant sized chunks\n Recipe from http://stackoverflow.com/a/8290514"
148
false
IndicoDataSolutions/IndicoIo-python
batched
14,925
LDU_FT/tehmaze-labs/wright/merge
LDU_FT
[ "<BEGIN>\n## `normal_case`", "Converts \"CamelCaseHere\" to \"camel case here\".\n<END>", "<BEGIN>\n## `merge`", "Merge other (dict or OrderedSet) into this environment.", " Only works for basic types: str, list, tuple, dict and OrderedSet.\n<END>", "<BEGIN>\n## `_have`", "Check if a configure fl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Merge other (dict or OrderedSet) into this environment. Only works for basic types: str, list, tuple, dict and OrderedSet.
"Merge other (dict or OrderedSet) into this environment.\n\n Only works for basic types: str, list, tuple, dict and OrderedSet."
20
false
tehmaze-labs/wright
merge
14,926
LDU_FT/moonso/interval_tree/overlap
LDU_FT
[ "<BEGIN>\n## `get_elementary_intervals`", "Generates a sorted list of elementary intervals\n<END>", "<BEGIN>\n## `recursive_build_tree`", "recursively builds a BST based on the elementary intervals.\n each node is an array: [interval value, left descendent nodes, right descendent nodes, [ids]].\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlap API. 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 overlap API. 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...
Accessory function to check if two ranges overlap
"Accessory function to check if two ranges overlap"
13
false
moonso/interval_tree
overlap
14,927
LDU_FT/bjodah/pycodeexport/model1
LDU_FT
[ "<BEGIN>\n## `get_idxs`", "Finds sympy.tensor.indexed.Idx instances and returns them.\n<END>", "<BEGIN>\n## `model1`", "x[i] = (a[i]/3-1)**i + c\n y[j] = a[j] - j\n<END>", "<BEGIN>\n## `render_mako_template_to`", "template: either string of path or file like obj.", " Beware of the only_update opti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model1 API. 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 model1 API. 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 ...
x[i] = (a[i]/3-1)**i + c y[j] = a[j] - j
"x[i] = (a[i]/3-1)**i + c\n y[j] = a[j] - j"
29
false
bjodah/pycodeexport
model1
14,928
LDU_FT/ReFirmLabs/binwalk/show_help
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 show_help API. 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 show_help API. 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...
Convenience wrapper around binwalk.core.module.Modules.help. @fd - An object with a write method (e.g., sys.stdout, sys.stderr, etc). Returns None.
"Convenience wrapper around binwalk.core.module.Modules.help.\n\n @fd - An object with a write method (e.g., sys.stdout, sys.stderr, etc).\n\n Returns None."
211
false
ReFirmLabs/binwalk
show_help
14,929
LDU_FT/quantumlib/Cirq/to_circuit
LDU_FT
[ "<BEGIN>\n## `_absorb_z_into_w`", "Absorbs a Z^t gate into a W(a) flip.", " [Where W(a) is shorthand for PhasedX(phase_exponent=a).]", " Uses the following identity:\n ───W(a)───Z^t───\n ≡ ───W(a)───────────Z^t/2──────────Z^t/2─── (split Z)\n ≡ ───W(a)───W(a)───Z^-t/2───W(a)───Z^t/2...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_circuit API. 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 to_circuit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Convert the schedule to a circuit. This discards most timing information from the schedule, but does place operations that are scheduled at the same time in the same Moment.
"Convert the schedule to a circuit.\n\n This discards most timing information from the schedule, but does place\n operations that are scheduled at the same time in the same Moment."
1,764
true
quantumlib/Cirq
to_circuit
14,930
LDU_FT/rochacbruno/flasgger/parse_definition_docstring
LDU_FT
[ "<BEGIN>\n## `get`", "Colors API using schema\n This example is using marshmallow schemas\n<END>", "<BEGIN>\n## `drop_id_validate`", "Custom validation function which drops parameter '_id' if present\n in data\n<END>", "<BEGIN>\n## `timestamping_validate`", "Custom validation function which inse...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_definition_docstring API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_definition_docstring API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Gets swag data from docstring for class based definitions
"Gets swag data from docstring for class based definitions"
71
false
rochacbruno/flasgger
parse_definition_docstring
14,931
LDU_FT/dacut/python-aws-sig/query_parameters
LDU_FT
[ "<BEGIN>\n## `normalize_uri_path_component`", "normalize_uri_path_component(path_component) -> str", " Normalize the path component according to RFC 3986. This performs the\n following operations:\n * Alpha, digit, and the symbols '-', '.', '_', and '~' (unreserved\n characters) are left alone.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_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. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_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. The ...
A key to list of values mapping of the query parameters seen in the request.
"A key to list of values mapping of the query parameters seen in the\n request."
37
false
dacut/python-aws-sig
query_parameters
14,932
LDU_FT/idlesign/django-dev/op_bootstrap
LDU_FT
[ "<BEGIN>\n## `configure_logging`", "Switches on logging at a given level.", " :param verbosity_lvl:\n :param format:\n<END>", "<BEGIN>\n## `_run_shell_command`", "Runs the given shell command.", " :param command:\n :return: bool Status\n<END>", "<BEGIN>\n## `run_manage_comman...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the op_bootstrap API. 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 op_bootstrap API. 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...
Bootstraps django-dev by creating required directory structure.
"Bootstraps django-dev by creating required directory structure."
45
false
idlesign/django-dev
op_bootstrap
14,933
LDU_FT/neithere/eav-django/create
LDU_FT
[ "<BEGIN>\n## `clean_name`", "Avoid name clashes between static and dynamic attributes.\n<END>", "<BEGIN>\n## `save`", "Saves this ``form``'s cleaned_data into model instance ``self.instance``\n and related EAV attributes.", " Returns ``instance``.\n<END>", "<BEGIN>\n## `get_field_and_lookup`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. 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 create API. 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 ...
Creates entity instance and related Attr instances. Note that while entity instances may filter schemata by fields, that filtering does not take place here. Attribute of any schema will be saved successfully as long as such schema exists. Note that we cannot create attribute with no pr...
"Creates entity instance and related Attr instances.\n\n Note that while entity instances may filter schemata by fields, that\n filtering does not take place here. Attribute of any schema will be saved\n successfully as long as such schema exists.\n\n Note that we cannot create attribute wit...
37
false
neithere/eav-django
create
14,934
LDU_FT/zyga/morris/assertSignalNotFired
LDU_FT
[ "<BEGIN>\n## `remove_signals_listeners`", "utility function that disconnects all listeners from all signals on an\n object\n<END>", "<BEGIN>\n## `connect`", "Connect a new listener to this signal", " :param listener:\n The listener (callable) to add\n :param pass_signal:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assertSignalNotFired 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 assertSignalNotFired API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Assert that a signal was fired with appropriate arguments. :param signal: The :class:`Signal` that should not have been fired. Typically this is ``SomeClass.on_some_signal`` reference :param args: List of positional arguments passed to the signal handler :par...
"Assert that a signal was fired with appropriate arguments.\n\n :param signal:\n The :class:`Signal` that should not have been fired.\n Typically this is ``SomeClass.on_some_signal`` reference\n :param args:\n List of positional arguments passed to the signal handler\n ...
27
false
zyga/morris
assertSignalNotFired
14,935
LDU_FT/xav/Grapefruit/pil_to_rgb
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 pil_to_rgb API. 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 pil_to_rgb API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Convert the color from a PIL-compatible integer to RGB. Parameters: pil: a PIL compatible color representation (0xBBGGRR) Returns: The color as an (r, g, b) tuple in the range: the range: r: [0...1] g: [0...1] b: [0...1] >>> '(%g, %g, %g)' % pil_to_rgb(0x0080ff) '(1, 0.501961, 0)'
"Convert the color from a PIL-compatible integer to RGB.\n\n Parameters:\n pil: a PIL compatible color representation (0xBBGGRR)\n Returns:\n The color as an (r, g, b) tuple in the range:\n the range:\n r: [0...1]\n g: [0...1]\n b: [0...1]\n\n >>> '(%g, %g, %g)' % pil_to_rgb(0x0080ff)\n '(1, 0.501...
234
false
xav/Grapefruit
pil_to_rgb
14,936
LDU_FT/mottosso/Qt.py/load_ui_type
LDU_FT
[ "<BEGIN>\n## `setup_ui`", "Load a Qt Designer .ui file and returns an instance of the user interface", " Args:\n uifile (str): Absolute path to .ui file\n base_instance (QWidget): The widget into which UI widgets are loaded", " Returns:\n QWidget: the base instance\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_ui_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_ui_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Pyside equivalent for the loadUiType function in PyQt. From the PyQt4 documentation: Load a Qt Designer .ui file and return a tuple of the generated form class and the Qt base class. These can then be used to create any number of instances of the user interface without having to parse the ...
"Pyside equivalent for the loadUiType function in PyQt.\n\n From the PyQt4 documentation:\n Load a Qt Designer .ui file and return a tuple of the generated form\n class and the Qt base class. These can then be used to create any\n number of instances of the user interface without having to parse...
64
false
mottosso/Qt.py
load_ui_type
14,937
LDU_FT/GPflow/GPflow/_expectation
LDU_FT
[ "<BEGIN>\n## `multivariate_normal`", "Computes the log-density of a multivariate normal.\n :param x : Dx1 or DxN sample(s) for which we want the density\n :param mu : Dx1 or DxN mean(s) of the normal distribution\n :param L : DxD Cholesky decomposition of the covariance matrix\n :return p : (1,) or ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _expectation API. 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 _expectation API. 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...
Compute the expectation: expectation[n] = <m1(x_n)^T m2(x_n)>_p(x_n) - m1(.) :: Linear mean function - m2(.) :: Identity mean function :return: NxQxD
"Compute the expectation:\n expectation[n] = <m1(x_n)^T m2(x_n)>_p(x_n)\n - m1(.) :: Linear mean function\n - m2(.) :: Identity mean function\n\n :return: NxQxD"
589
false
GPflow/GPflow
_expectation
14,938
LDU_FT/edx/edx-django-utils/_set_request_cache_if_django_cache_hit
LDU_FT
[ "<BEGIN>\n## `accumulate_metric`", "Accumulate a custom metric (name and value) in the metrics cache.\n<END>", "<BEGIN>\n## `_batch_report`", "Report the collected custom metrics to New Relic.\n<END>", "<BEGIN>\n## `process_response`", "Logs memory data after processing response.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_request_cache_if_django_cache_hit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_request_cache_if_django_cache_hit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
Sets the value in the request cache if the django cached response was a hit. Args: key (string) django_cached_response (CachedResponse)
"Sets the value in the request cache if the django cached response was a hit.\n\n Args:\n key (string)\n django_cached_response (CachedResponse)"
55
false
edx/edx-django-utils
_set_request_cache_if_django_cache_hit
14,939
LDU_FT/Genida/django-meerkat/month_name_to_number
LDU_FT
[ "<BEGIN>\n## `ip_geoloc`", "Get IP geolocation.", " Args:\n ip (str): IP address to use if no data provided.\n hit_api (bool): whether to hit api if info not found.", " Returns:\n str: latitude and longitude, comma-separated.\n<END>", "<BEGIN>\n## `google_maps_geoloc_link`", "Ge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the month_name_to_number 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 month_name_to_number API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Convert a month name (MMM) to its number (01-12). Args: month (str): 3-letters string describing month. to_int (bool): cast number to int or not. Returns: str/int: the month's number (between 01 and 12).
"Convert a month name (MMM) to its number (01-12).\n\n Args:\n month (str): 3-letters string describing month.\n to_int (bool): cast number to int or not.\n\n Returns:\n str/int: the month's number (between 01 and 12)."
71
false
Genida/django-meerkat
month_name_to_number
14,940
LDU_FT/cytoscape/py2cytoscape/cose
LDU_FT
[ "<BEGIN>\n## `to_networkx`", "Return this network in NetworkX graph object.", " :return: Network as NetworkX graph object\n<END>", "<BEGIN>\n## `to_dataframe`", "Return this network in pandas DataFrame.", " :return: Network as DataFrame. This is equivalent to SIF.\n<END>", "<BEGIN>\n## `a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cose API. 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 cose API. 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...
Execute the Compound Spring Embedder (CoSE) on a network :param compoundGravityRange (string, optional): Compound gravity range (0-1 00) :param compoundGravityStrength (string, optional): Compound gravity strengt h (0-100) :param EdgeAttribute (string, optional): The name of the edge column contai ning ...
"Execute the Compound Spring Embedder (CoSE) on a network\n\n\t\t:param compoundGravityRange (string, optional): Compound gravity range (0-1\n\t\t\t00)\n\t\t:param compoundGravityStrength (string, optional): Compound gravity strengt\n\t\t\th (0-100)\n\t\t:param EdgeAttribute (string, optional): The name of the edge col...
598
false
cytoscape/py2cytoscape
cose
14,941
LDU_FT/gouthambs/Flask-Blogging/delete_post
LDU_FT
[ "<BEGIN>\n## `init_app`", "Initialize the engine.", " :param app: The app to use\n :type app: Object\n :param storage: The blog storage instance that implements the\n :type storage: Object\n :param cache: (Optional) A Flask-Cache object to enable caching\n :type cache: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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 extra...
Delete the post defined by ``post_id`` :param post_id: The identifier corresponding to a post :type post_id: int :return: Returns True if the post was successfully deleted and False otherwise.
"Delete the post defined by ``post_id``\n\n :param post_id: The identifier corresponding to a post\n :type post_id: int\n :return: Returns True if the post was successfully deleted and False\n otherwise."
53
false
gouthambs/Flask-Blogging
delete_post
14,942
LDU_FT/coleifer/walrus/revrange
LDU_FT
[ "<BEGIN>\n## `get`", "Retreive a value from the cache. In the event the value\n does not exist, return the ``default``.\n<END>", "<BEGIN>\n## `set`", "Cache the given ``value`` in the specified ``key``. If no\n timeout is specified, the default timeout will be used.\n<END>", "<BEGIN>\n## `flus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the revrange API. 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 revrange API. 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...
Read a range of values from a stream in reverse. :param start: start key of range (inclusive) or '+' for newest message :param stop: stop key of range (inclusive) or '-' for oldest message :param count: limit number of messages returned
"Read a range of values from a stream in reverse.\n\n :param start: start key of range (inclusive) or '+' for newest message\n :param stop: stop key of range (inclusive) or '-' for oldest message\n :param count: limit number of messages returned"
363
false
coleifer/walrus
revrange
14,943
LDU_FT/rstoneback/pysat/download
LDU_FT
[ "<BEGIN>\n## `list_files`", "Return a Pandas Series of every file for chosen satellite data.", " This routine is intended to be used by pysat instrument modules supporting\n a particular NASA CDAWeb dataset.", " Parameters\n -----------\n tag : (string or NoneType)\n Denotes type of file...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API. 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 download API. 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...
Routine to download NASA CDAWeb CDF data. This routine is intended to be used by pysat instrument modules supporting a particular NASA CDAWeb dataset. Parameters ----------- supported_tags : dict dict of dicts. Keys are supported tag names for download. Value is a dict with 'd...
"Routine to download NASA CDAWeb CDF data.\n \n This routine is intended to be used by pysat instrument modules supporting\n a particular NASA CDAWeb dataset.\n\n Parameters\n -----------\n supported_tags : dict\n dict of dicts. Keys are supported tag names for download. Value is \n a di...
525
false
rstoneback/pysat
download
14,944
LDU_FT/pirate/mesh-networking/run_cmd
LDU_FT
[ "<BEGIN>\n## `_generate_MAC`", "generate a non-guaranteed-unique mac address\n<END>", "<BEGIN>\n## `run`", "runloop that gets triggered by node.start()\n reads new packets off the link and feeds them to recv()\n<END>", "<BEGIN>\n## `recv`", "run incoming packet through the filters, then place it in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_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 extracted...
internal helper function to run shell commands and get output
"internal helper function to run shell commands and get output"
44
false
pirate/mesh-networking
run_cmd
14,945
LDU_FT/Zimbra-Community/python-zimbra/send_request
LDU_FT
[ "<BEGIN>\n## `set_context_params`", "Set header context parameters. Refer to the top of <Zimbra\n Server-Root>/docs/soap.txt about specifics.", " The <format>-Parameter cannot be changed, because it is set by the\n implementing class.", " Should be called by implementing method to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_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 extr...
Send the request. Sends the request and retrieves the results, formats them and returns them in a dict or a list (when it's a batchresponse). If something goes wrong, raises a SoapFailure or a HTTPError on system-side failures. Note: AuthRequest raises an HTTPError on failed ...
"Send the request.\n\n Sends the request and retrieves the results, formats them and returns\n them in a dict or a list (when it's a batchresponse). If something\n goes wrong, raises a SoapFailure or a HTTPError on system-side\n failures. Note: AuthRequest raises an HTTPError on failed\n ...
48
false
Zimbra-Community/python-zimbra
send_request
14,946
LDU_FT/LabKey/labkey-api-python/create
LDU_FT
[ "<BEGIN>\n## `create`", "Create a domain\n :param server_context: A LabKey server context. See utils.create_server_context.\n :param domain_definition: A domain definition.\n :param container_path: labkey container path if not already set in context\n :return: Domain\n<END>", "<BEGIN>\n## `drop`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. 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 create API. 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 ...
Create a domain :param server_context: A LabKey server context. See utils.create_server_context. :param domain_definition: A domain definition. :param container_path: labkey container path if not already set in context :return: Domain
"Create a domain\n :param server_context: A LabKey server context. See utils.create_server_context.\n :param domain_definition: A domain definition.\n :param container_path: labkey container path if not already set in context\n :return: Domain"
60
false
LabKey/labkey-api-python
create
14,947
LDU_FT/bwesterb/mirte/change_setting
LDU_FT
[ "<BEGIN>\n## `get_a_manager`", "On first call, creates and returns a @mirte.core.Manager. On\n subsequent calls, returns the previously created instance.", " If it is the first call, it will initialize the threadPool\n with @threadPool_settings.\n<END>", "<BEGIN>\n## `parse_cmdLine_instr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the change_setting API. 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 change_setting API. 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...
Change the settings <key> to <raw_value> of an instance named <instance_name>. <raw_value> should be a string and is properly converted.
"Change the settings <key> to <raw_value> of an instance\n named <instance_name>. <raw_value> should be a string and\n is properly converted."
37
false
bwesterb/mirte
change_setting
14,948
LDU_FT/xzased/lvm2py/deactivate
LDU_FT
[ "<BEGIN>\n## `open`", "Obtains the lvm, vg_t and lv_t handle. Usually you would never need to use this\n method unless you are doing operations using the ctypes function wrappers in\n conversion.py", " *Raises:*", " * HandleError\n<END>", "<BEGIN>\n## `is_active`", "Retur...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deactivate API. 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 deactivate API. 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...
Deactivates the logical volume. *Raises:* * HandleError
"Deactivates the logical volume.\n\n *Raises:*\n\n * HandleError"
189
false
xzased/lvm2py
deactivate
14,949
LDU_FT/wroberts/pygermanet/compute_max_min_depth
LDU_FT
[ "<BEGIN>\n## `load_germanet`", "Loads a GermaNet instance connected to the given MongoDB instance.", " Arguments:\n - `host`: the hostname of the MongoDB instance\n - `port`: the port number of the MongoDB instance\n - `database_name`: the name of the GermaNet database on the\n MongoDB instance...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_max_min_depth 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 compute_max_min_depth API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
For every part of speech in GermaNet, computes the maximum min_depth in that hierarchy. Arguments: - `germanet_db`: a pymongo.database.Database object
"For every part of speech in GermaNet, computes the maximum\n min_depth in that hierarchy.\n\n Arguments:\n - `germanet_db`: a pymongo.database.Database object"
61
false
wroberts/pygermanet
compute_max_min_depth
14,950
LDU_FT/btel/svg_utils/find_id
LDU_FT
[ "<BEGIN>\n## `fromfile`", "Open SVG figure from file.", " Parameters\n ----------\n fname : str\n name of the SVG file", " Returns\n -------\n SVGFigure\n newly created :py:class:`SVGFigure` initialised with the file content\n<END>", "<BEGIN>\n## `fromstring`", "Create a SV...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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 extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_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 extracted...
Find a single element with the given ID. Parameters ---------- element_id : str ID of the element to find Returns ------- found element
"Find a single element with the given ID.\n\n Parameters\n ----------\n element_id : str\n ID of the element to find\n\n Returns\n -------\n found element"
63
false
btel/svg_utils
find_id
14,951
LDU_FT/datajoint/datajoint-python/jobs
LDU_FT
[ "<BEGIN>\n## `is_foreign_key`", ":param line: a line from the table definition\n :return: true if the line appears to be a foreign key definition\n<END>", "<BEGIN>\n## `compile_foreign_key`", ":param line: a line from a table definition\n :param context: namespace containing referenced objects\n :par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the jobs API. 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 jobs API. 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...
schema.jobs provides a view of the job reservation table for the schema :return: jobs table
"schema.jobs provides a view of the job reservation table for the schema\n :return: jobs table"
198
false
datajoint/datajoint-python
jobs
14,952
LDU_FT/Britefury/batchup/samples_by_indices_nomapping
LDU_FT
[ "<BEGIN>\n## `num_batches`", "Compute the number of mini-batches required to cover a data set of\n size `n` using batches of size `batch_size`.", " Parameters\n ----------\n n: int\n the number of samples in the data set\n batch_size: int\n the mini-batch size", " Returns\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the samples_by_indices_nomapping API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the samples_by_indices_nomapping API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Gather a batch of samples by indices *without* applying any index mapping. Parameters ---------- indices: list of either 1D-array of ints or slice A list of index arrays or slices; one for each data source that identify the samples to access Returns ...
"Gather a batch of samples by indices *without* applying any index\n mapping.\n\n Parameters\n ----------\n indices: list of either 1D-array of ints or slice\n A list of index arrays or slices; one for each data source\n that identify the samples to access\n\n Re...
194
false
Britefury/batchup
samples_by_indices_nomapping
14,953
LDU_FT/pmorissette/ffn/to_monthly
LDU_FT
[ "<BEGIN>\n## `memoize`", "Memoize decorator. The refresh keyword is the keyword\n used to bypass the cache (in the function call).\n<END>", "<BEGIN>\n## `parse_arg`", "Parses arguments for convenience. Argument can be a\n csv list ('a,b,c'), a string, a list, a tuple.", " Returns a list.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_monthly API. 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 to_monthly API. 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...
Convenience method that wraps asfreq_actual with 'M' param (method='ffill', how='end').
"Convenience method that wraps asfreq_actual\n with 'M' param (method='ffill', how='end')."
176
false
pmorissette/ffn
to_monthly
14,954
LDU_FT/CSchoel/nolds/plot_lyap
LDU_FT
[ "<BEGIN>\n## `weron_2002_figure2`", "Recreates figure 2 of [w]_ comparing the reported values by Weron to the\n values obtained by the functions in this package.", " The experiment consists of n iterations where the hurst exponent of randomly\n generated gaussian noise is calculated. This is done with differ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_lyap API. 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 plot_lyap API. 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...
Plots a bifurcation plot of the given map and superimposes the true lyapunov exponent as well as the estimates of the largest lyapunov exponent obtained by ``lyap_r`` and ``lyap_e``. The idea for this plot is taken from [ll]_. This function requires the package ``matplotlib``. References: .. [ll] Manfred F...
"Plots a bifurcation plot of the given map and superimposes the true\n lyapunov exponent as well as the estimates of the largest lyapunov exponent\n obtained by ``lyap_r`` and ``lyap_e``. The idea for this plot is taken from [ll]_.\n\n This function requires the package ``matplotlib``.\n\n References:\n\n .. [ll] ...
236
false
CSchoel/nolds
plot_lyap
14,955
LDU_FT/tisimst/mcerp/plot
LDU_FT
[ "<BEGIN>\n## `correlate`", "Force a correlation matrix on a set of statistically distributed objects.\r\n This function works on objects in-place.\r", " Parameters\r\n ----------\r\n params : array\r\n An array of of uv objects.\r\n corrmat : 2d-array\r\n The correlation matrix to b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Plot the distribution of the UncertainFunction. By default, the distribution is shown with a kernel density estimate (kde). Optional -------- hist : bool If true, a density histogram is displayed (histtype='stepfilled') show : bool If ``True``, th...
"Plot the distribution of the UncertainFunction. By default, the\n distribution is shown with a kernel density estimate (kde).\n \n Optional\n --------\n hist : bool\n If true, a density histogram is displayed (histtype='stepfilled')\n show : bool\n If ``T...
166
false
tisimst/mcerp
plot
14,956
LDU_FT/mozilla/mozdownload/query_builds_by_revision
LDU_FT
[ "<BEGIN>\n## `parse_arguments`", "Setup argument parser for command line arguments.\n<END>", "<BEGIN>\n## `query_builds_by_revision`", "Retrieve build folders for a given revision with the help of Treeherder.", " :param revision: Revision of the build to download.\n :param job_type_name: Name ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query_builds_by_revision 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 query_builds_by_revision API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Retrieve build folders for a given revision with the help of Treeherder. :param revision: Revision of the build to download. :param job_type_name: Name of the job to look for. For builds it should be 'Build', 'Nightly', and 'L10n Nightly'. Defaults to `Build`. :param debug_build: Do...
"Retrieve build folders for a given revision with the help of Treeherder.\n\n :param revision: Revision of the build to download.\n :param job_type_name: Name of the job to look for. For builds it should be\n 'Build', 'Nightly', and 'L10n Nightly'. Defaults to `Build`.\n :param debug_bui...
43
false
mozilla/mozdownload
query_builds_by_revision
14,957
LDU_FT/graphql-python/graphql-core/document_from_string
LDU_FT
[ "<BEGIN>\n## `is_valid_value`", "Given a type and any value, return True if that value is valid.\n<END>", "<BEGIN>\n## `get_key_for_schema_and_document_string`", "This method returns a unique key given a schema and a request_string\n<END>", "<BEGIN>\n## `document_from_string`", "This method returns a Grap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the document_from_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the document_from_string API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
This method returns a GraphQLQuery (from cache if present)
"This method returns a GraphQLQuery (from cache if present)"
128
false
graphql-python/graphql-core
document_from_string
14,958
LDU_FT/ensime/ensime-vim/getline
LDU_FT
[ "<BEGIN>\n## `buffer_typechecks_and_display`", "Adds typecheck events to the buffer, and displays them right away.", " This is a workaround for this issue:\n https://github.com/ensime/ensime-server/issues/1616\n<END>", "<BEGIN>\n## `handle_typecheck_complete`", "Handles ``NewScalaNotesEvent```...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getline API. 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 getline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Get a line from the current buffer. Args: lnum (Optional[str]): Number of the line to get, current if ``None``. Todo: - Give this more behavior of Vim ``getline()``? - ``buffer[index]`` is zero-based, this is probably too confusing
"Get a line from the current buffer.\n\n Args:\n lnum (Optional[str]): Number of the line to get, current if ``None``.\n\n Todo:\n - Give this more behavior of Vim ``getline()``?\n - ``buffer[index]`` is zero-based, this is probably too confusing"
150
false
ensime/ensime-vim
getline
14,959
LDU_FT/CitrineInformatics/pypif-sdk/_to_meta_data
LDU_FT
[ "<BEGIN>\n## `replace_by_key`", "Replace values that match a key", " Deeply traverses the pif object, looking for `key` and\n replacing values in accordance with `subs`. If `new_key`\n is set, the replaced values are assigned to that key. If\n `remove` is `True`, the old `key` pairs are removed.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_meta_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_meta_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 ext...
Convert the meta-data from the PIF into MDF
"Convert the meta-data from the PIF into MDF"
61
false
CitrineInformatics/pypif-sdk
_to_meta_data
14,960
LDU_FT/NoviceLive/intellicoder/with_formatter
LDU_FT
[ "<BEGIN>\n## `format`", "Format the record using the corresponding formatter.\n<END>", "<BEGIN>\n## `make_c_header`", "Build a C header from the front and body.\n<END>", "<BEGIN>\n## `reloc_var`", "Build C source code to relocate a variable.\n<END>", "<BEGIN>\n## `make_c_args`", "Build a C argument li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the with_formatter API. 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 with_formatter API. 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...
Apply a formatter function the return value of the decorated function.
"Apply a formatter function the return value\n of the decorated function."
117
false
NoviceLive/intellicoder
with_formatter
14,961
LDU_FT/pettarin/ipapy/_load_data
LDU_FT
[ "<BEGIN>\n## `can_map_ipa_string`", "Return ``True`` if the mapper can map all the IPA characters\n in the given IPA string.", " :param IPAString ipa_string: the IPAString to be parsed\n :rtype: bool\n<END>", "<BEGIN>\n## `map_ipa_string`", "Convert the given IPAString to a string\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_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 extrac...
Load the Kirshenbaum ASCII IPA data from the built-in database.
"Load the Kirshenbaum ASCII IPA data from the built-in database."
205
false
pettarin/ipapy
_load_data
14,962
LDU_FT/tsroten/dragonmapper/to_pinyin
LDU_FT
[ "<BEGIN>\n## `load_data_file`", "Load a data file and return it as a list of lines.", " Parameters:\n filename: The name of the file (no directories included).\n encoding: The file encoding. Defaults to utf-8.\n<END>", "<BEGIN>\n## `_load_data`", "Load the word and character mapping data in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_pinyin API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_pinyin API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Convert *s* to Pinyin. If *accented* is ``True``, diacritics are added to the Pinyin syllables. If it's ``False``, numbers are used to indicate tone.
"Convert *s* to Pinyin.\n\n If *accented* is ``True``, diacritics are added to the Pinyin syllables. If\n it's ``False``, numbers are used to indicate tone."
97
false
tsroten/dragonmapper
to_pinyin
14,963
LDU_FT/ihabunek/toot/select_next
LDU_FT
[ "<BEGIN>\n## `_wc_hard_wrap`", "Wrap text to length characters, breaking when target length is reached,\n taking into account character width.", " Used to wrap lines which cannot be wrapped on whitespace.\n<END>", "<BEGIN>\n## `wc_wrap`", "Wrap text to given length, breaking on whitespace and taking i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select_next API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select_next API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Move to the next status in the timeline.
"Move to the next status in the timeline."
44
false
ihabunek/toot
select_next
14,964
LDU_FT/joeferraro/mm/_handleResultTyping
LDU_FT
[ "<BEGIN>\n## `parse_json`", "Parse a JSON file\n First remove comments and then use the json module package\n Comments look like :\n // ...\n or\n /*\n ...\n */\n<END>", "<BEGIN>\n## `get_meta_type_by_dir`", "> quick and dirty fix for users expe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handleResultTyping 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 _handleResultTyping 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...
If any of the following calls return a single result, and self._strictResultTyping is true, return the single result, rather than [(SaveResult) {...}]: convertLead() create() delete() emptyRecycleBin() invalidateSessions() merge() process() retrieve() undelete(...
"If any of the following calls return a single result, and self._strictResultTyping is true,\n return the single result, rather than [(SaveResult) {...}]:\n\n convertLead()\n create()\n delete()\n emptyRecycleBin()\n invalidateSessions()\n merge()\n process()\n retrieve()\n ...
71
false
joeferraro/mm
_handleResultTyping
14,965
LDU_FT/kata198/NamedAtomicLock/isHeld
LDU_FT
[ "<BEGIN>\n## `acquire`", "acquire - Acquire given lock. Can be blocking or nonblocking by providing a timeout.\n Returns \"True\" if you got the lock, otherwise \"False\"", " @param timeout <None/float> - Max number of seconds to wait, or None to block until we can acquire it.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isHeld API. 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 isHeld API. 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 ...
isHeld - True if anyone holds the lock, otherwise False. @return bool - If lock is held by anyone
"isHeld - True if anyone holds the lock, otherwise False.\n\n @return bool - If lock is held by anyone"
18
false
kata198/NamedAtomicLock
isHeld
14,966
LDU_FT/timothyb0912/pylogit/calc_neg_log_likelihood_and_neg_gradient
LDU_FT
[ "<BEGIN>\n## `get_dataframe_from_data`", "Parameters\n ----------\n data : string or pandas dataframe.\n If string, data should be an absolute or relative path to a CSV file\n containing the long format data for this choice model. Note long format\n has one row per available alternative...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_neg_log_likelihood_and_neg_gradient API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_neg_log_likelihood_and_neg_gradient API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat...
Calculates and returns the negative of the log-likelihood and the negative of the gradient. This function is used as the objective function in scipy.optimize.minimize.
"Calculates and returns the negative of the log-likelihood and the\n negative of the gradient. This function is used as the objective\n function in scipy.optimize.minimize."
871
false
timothyb0912/pylogit
calc_neg_log_likelihood_and_neg_gradient
14,967
LDU_FT/PaulMcMillan/tasa/send
LDU_FT
[ "<BEGIN>\n## `next`", "Retrieve the next item in the queue.", " Returns deserialized value, or None if there were no entries\n in the Queue.\n<END>", "<BEGIN>\n## `send`", "Send a value to this LIFO Queue.", " Provided argument is serialized and pushed out. Don't send None.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. 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 send API. 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...
Send a value to this LIFO Queue. Provided argument is serialized and pushed out. Don't send None.
"Send a value to this LIFO Queue.\n\n Provided argument is serialized and pushed out. Don't send None."
16
false
PaulMcMillan/tasa
send
14,968
LDU_FT/v1k45/python-qBittorrent/torrents
LDU_FT
[ "<BEGIN>\n## `_post`", "Method to perform POST request on the API.", " :param endpoint: Endpoint of the API.\n :param data: POST DATA for the request.\n :param kwargs: Other keyword arguments for requests.", " :return: Response of the POST request.\n<END>", "<BEGIN>\n## `_request...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the torrents API. 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 torrents API. 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 list of torrents matching the supplied filters. :param filter: Current status of the torrents. :param category: Fetch all torrents with the supplied label. :param sort: Sort torrents by. :param reverse: Enable reverse sorting. :param limit: Limit the number of torrents...
"Returns a list of torrents matching the supplied filters.\n\n :param filter: Current status of the torrents.\n :param category: Fetch all torrents with the supplied label.\n :param sort: Sort torrents by.\n :param reverse: Enable reverse sorting.\n :param limit: Limit the number of t...
98
false
v1k45/python-qBittorrent
torrents
14,969
LDU_FT/KnightConan/sspdatatables/get_table_frame
LDU_FT
[ "<BEGIN>\n## `get_table_frame`", "render the structure (or structure_for_superuser) and an instance of the\n footer form", " :param prefix: str: used for unifying the rendered parameter's name,\n such\n that the template of serverside datatables can be used in one page\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_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 e...
render the structure (or structure_for_superuser) and an instance of the footer form :param prefix: str: used for unifying the rendered parameter's name, such that the template of serverside datatables can be used in one page multiple times :param table_id: s...
"render the structure (or structure_for_superuser) and an instance of the\n footer form\n\n :param prefix: str: used for unifying the rendered parameter's name,\n such\n that the template of serverside datatables can be used in one page\n multiple times\n :param tab...
42
false
KnightConan/sspdatatables
get_table_frame
14,970
LDU_FT/rduplain/jeni-python/eager_partial_regardless
LDU_FT
[ "<BEGIN>\n## `see_doc`", "Copy docstring from existing object to the decorated callable.\n<END>", "<BEGIN>\n## `class_in_progress`", "True if currently inside a class definition, else False.\n<END>", "<BEGIN>\n## `get`", "Get initial yield value, or result of send(name) if name given.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eager_partial_regardless 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 eager_partial_regardless API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Wrap a note for injection of an eagerly partially applied function, or don't. Use this instead of `eager_partial partial` when binding a callable that may or may not have annotations.
"Wrap a note for injection of an eagerly partially applied function, or don't.\n\n Use this instead of `eager_partial partial` when binding a callable\n that may or may not have annotations."
91
false
rduplain/jeni-python
eager_partial_regardless
14,971
LDU_FT/aerogear/digger-build-cli/get_highest_build_tool
LDU_FT
[ "<BEGIN>\n## `jarsign`", "Uses Jarsign to sign an apk target file using the provided keystore information.", " :param storepass(str) - keystore storepass\n :param keypass(str) - keystore keypass\n :param keystore(str) - keystore file path\n :param source(str) - apk path\n :param alias(str) - keystore alias...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_highest_build_tool API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_highest_build_tool API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Gets the highest build tool version based on major version sdk version. :param sdk_version(int) - sdk version to be used as the marjor build tool version context. Returns: A string containg the build tool version (default is 23.0.2 if none is found)
"Gets the highest build tool version based on major version sdk version.\n\n :param sdk_version(int) - sdk version to be used as the marjor build tool version context.\n\n Returns:\n A string containg the build tool version (default is 23.0.2 if none is found)"
100
false
aerogear/digger-build-cli
get_highest_build_tool
14,972