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/ikegami-yukino/madoka-python/inc
LDU_FT
[ "<BEGIN>\n## `create`", "Create new sketch\n Params:\n <int> width\n <str> path\n <int> flags\n <int> seed\n<END>", "<BEGIN>\n## `get`", "Add key-value\n Params:\n <str> key\n <int> key_length\n Return:\n <int> k...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inc API. 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 inc API. 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...
Add value to key-value Params: <str> key <int> value <int> key_length Return: <int> key_value
"Add value to key-value\n Params:\n <str> key\n <int> value\n <int> key_length\n Return:\n <int> key_value"
26
false
ikegami-yukino/madoka-python
inc
19,173
LDU_FT/aio-libs/aiomysql/close
LDU_FT
[ "<BEGIN>\n## `terminate`", "Terminate pool.", " Close pool with instantly closing all acquired connections also.\n<END>", "<BEGIN>\n## `release`", "Release free connection back to the connection pool.", " This is **NOT** a coroutine.\n<END>", "<BEGIN>\n## `close`", "Closing a cursor just...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the close API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Closing a cursor just exhausts all remaining data.
"Closing a cursor just exhausts all remaining data."
114
false
aio-libs/aiomysql
close
19,174
LDU_FT/GeorgeArgyros/sfalearn/get_mealy_conjecture
LDU_FT
[ "<BEGIN>\n## `_add_training_data`", "Training_data is a dictionary from strings to lists.\n - Each string (key) is an access string\n - Each list (value) is a list of tuples (target_state, [symbols directed to that\n state]). These represent that a transition exists from the state used as key...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_mealy_conjecture 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_mealy_conjecture API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Utilize the observation table to construct a Mealy Machine. The library used for representing the Mealy Machine is the python bindings of the openFST library (pyFST). Args: None Returns: MealyMachine: A mealy machine build based on a closed and consistent ...
"Utilize the observation table to construct a Mealy Machine.\n The library used for representing the Mealy Machine is the python\n bindings of the openFST library (pyFST).\n Args:\n None\n Returns:\n MealyMachine: A mealy machine build based on a closed and consistent\n...
60
false
GeorgeArgyros/sfalearn
get_mealy_conjecture
19,175
LDU_FT/malramsay64/experi/iterator_zip
LDU_FT
[ "<BEGIN>\n## `parse_setup`", "Convert potentially a list of commands into a single string.", " This creates a single string with newlines between each element of the list\n so that they will all run after each other in a bash script.\n<END>", "<BEGIN>\n## `create_scheduler_file`", "Substitute values i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterator_zip API. 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 iterator_zip API. 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...
Apply the zip operator to a set of variables. This uses the python zip iterator to combine multiple lists of variables such that the nth variable in each list is aligned. Args: variables: The variables object parent: Unused
"Apply the zip operator to a set of variables.\n\n This uses the python zip iterator to combine multiple lists of variables such that\n the nth variable in each list is aligned.\n\n Args:\n variables: The variables object\n parent: Unused"
52
false
malramsay64/experi
iterator_zip
19,176
LDU_FT/thiagopbueno/rddl2tf/next_state_scope
LDU_FT
[ "<BEGIN>\n## `constant`", "Returns a constant `value` TensorFluent with given `dtype`.", " Args:\n value: The constant value.\n dtype: The output's data type.", " Returns:\n A constant TensorFluent.\n<END>", "<BEGIN>\n## `Bernoulli`", "Returns a TensorFluent ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_state_scope API. 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 next_state_scope API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns a partial scope with current next state-fluents. Args: next_state_fluents (Sequence[tf.Tensor]): The next state fluents. Returns: A mapping from next state fluent names to :obj:`rddl2tf.fluent.TensorFluent`.
"Returns a partial scope with current next state-fluents.\n\n Args:\n next_state_fluents (Sequence[tf.Tensor]): The next state fluents.\n\n Returns:\n A mapping from next state fluent names to :obj:`rddl2tf.fluent.TensorFluent`."
297
false
thiagopbueno/rddl2tf
next_state_scope
19,177
LDU_FT/dnephin/PyStaticConfiguration/register_value_proxy
LDU_FT
[ "<BEGIN>\n## `build_attributes`", "Return an attributes dictionary with ValueTokens replaced by a\n property which returns the config value.\n<END>", "<BEGIN>\n## `cache_as_field`", "Cache a functions return value as the field 'cache_name'.\n<END>", "<BEGIN>\n## `extract_value`", "Given a value pro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_value_proxy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_value_proxy API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Register a value proxy with the namespace, and add the help_text.
"Register a value proxy with the namespace, and add the help_text."
49
false
dnephin/PyStaticConfiguration
register_value_proxy
19,178
LDU_FT/xapple/plumbing/reversed_lines
LDU_FT
[ "<BEGIN>\n## `plot_and_save`", "Used when the plot method defined does not create a figure nor calls save_plot\n Then the plot method has to use self.fig\n<END>", "<BEGIN>\n## `plot`", "An example plot function. You have to subclass this method.\n<END>", "<BEGIN>\n## `count_processors`", "How many ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reversed_lines API. 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 reversed_lines API. 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...
Generate the lines of file in reverse order.
"Generate the lines of file in reverse order."
150
false
xapple/plumbing
reversed_lines
19,179
LDU_FT/fhamborg/news-please/extract
LDU_FT
[ "<BEGIN>\n## `rss_parse`", "Extracts all article links and initiates crawling them.", " :param obj response: The scrapy response\n<END>", "<BEGIN>\n## `article_parse`", "Checks any given response on being an article and if positiv,\n passes the response to the pipeline.", " :param obj...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract API. 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 extract API. 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...
Compares the extracted titles. :param item: The corresponding NewscrawlerItem :param list_article_candidate: A list, the list of ArticleCandidate-Objects which have been extracted :return: A string, the most likely title
"Compares the extracted titles.\n\n :param item: The corresponding NewscrawlerItem\n :param list_article_candidate: A list, the list of ArticleCandidate-Objects which have been extracted\n :return: A string, the most likely title"
277
false
fhamborg/news-please
extract
19,180
LDU_FT/marcomusy/vtkplotter/load
LDU_FT
[ "<BEGIN>\n## `add_particle`", "Adds a new particle with specified properties (in SI units)\n<END>", "<BEGIN>\n## `simulate`", "Runs the particle simulation. Simulates one time step, dt, of the particle motion.\n Calculates the force between each pair of particles and updates particles' motion accor...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Returns a ``vtkActor`` from reading a file, directory or ``vtkPolyData``. :param c: color in RGB format, hex, symbol or name :param alpha: transparency (0=invisible) :param wire: show surface as wireframe :param bc: backface color of internal surface :param texture: an...
"Returns a ``vtkActor`` from reading a file, directory or ``vtkPolyData``.\n\n :param c: color in RGB format, hex, symbol or name\n :param alpha: transparency (0=invisible)\n :param wire: show surface as wireframe\n :param bc: backface color of internal surface\n :param text...
801
false
marcomusy/vtkplotter
load
19,181
LDU_FT/AtteqCom/zsl/exec_task
LDU_FT
[ "<BEGIN>\n## `_nested_transactional`", "In a transactional method create a nested transaction.\n<END>", "<BEGIN>\n## `exec_task`", "Execute task.", " :param task_path: task path\n :type task_path: str|Callable\n :param data: task's data\n :type data: Any\n :return:\n<END>", "<BEGIN>\n## `ap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exec_task API. 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 exec_task API. 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...
Execute task. :param task_path: task path :type task_path: str|Callable :param data: task's data :type data: Any :return:
"Execute task.\n\n :param task_path: task path\n :type task_path: str|Callable\n :param data: task's data\n :type data: Any\n :return:"
292
false
AtteqCom/zsl
exec_task
19,182
LDU_FT/yougov/vr.common/str_to_pool
LDU_FT
[ "<BEGIN>\n## `str_to_pool`", "Given a string containing an nginx upstream section, return the pool name\n and list of nodes.\n<END>", "<BEGIN>\n## `get_buildfile_path`", "Path to which a build tarball should be downloaded.\n<END>", "<BEGIN>\n## `_retry`", "Try to call f(*args, **kwargs) \"n\" times bef...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the str_to_pool API. 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 str_to_pool API. 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...
Given a string containing an nginx upstream section, return the pool name and list of nodes.
"Given a string containing an nginx upstream section, return the pool name\n and list of nodes."
49
false
yougov/vr.common
str_to_pool
19,183
LDU_FT/datamachine/twx.botapi/set_webhook
LDU_FT
[ "<BEGIN>\n## `export_chat_invite_link`", "Use this method to generate a new invite link for a chat; any previously generated link is revoked.\n The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.\n :param chat_id: Unique identifier for the target chat or...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_webhook API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_webhook API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Use this method to specify a url and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified url, containing a JSON-serialized Update. In case of an unsuccessful request, we will give up after a reasonable amount of attempts....
"Use this method to specify a url and receive incoming updates via an outgoing webhook.\n Whenever there is an update for the bot, we will send an HTTPS POST request to the specified url, containing a\n JSON-serialized Update. In case of an unsuccessful request, we will give up after a reasonable amount of attemp...
194
false
datamachine/twx.botapi
set_webhook
19,184
LDU_FT/timknip/pyswf/readSB
LDU_FT
[ "<BEGIN>\n## `export`", "Export this SWF using the specified exporter. \n When no exporter is passed in the default exporter used \n is swf.export.SVGExporter.", " Exporters should extend the swf.export.BaseExporter class.", " @param exporter : the exporter to use\n @param f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readSB API. 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 readSB API. 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 ...
Read a signed int using the specified number of bits
"Read a signed int using the specified number of bits"
43
false
timknip/pyswf
readSB
19,185
LDU_FT/jangler/readlike/_transpose_words
LDU_FT
[ "<BEGIN>\n## `_backward_kill_word`", "Kill the word behind pos. Word boundaries are the same as those\n used by _backward_word.\n<END>", "<BEGIN>\n## `_backward_word`", "Move pos back to the start of the current or previous word. Words\n are composed of alphanumeric characters (letters and digits).\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _transpose_words API. 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 _transpose_words API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Drag the word before pos past the word after pos, moving pos over that word as well. If pos is at the end of text, this transposes the last two words in text.
"Drag the word before pos past the word after pos, moving pos over\n that word as well. If pos is at the end of text, this transposes the\n last two words in text."
24
false
jangler/readlike
_transpose_words
19,186
LDU_FT/Robpol86/sphinxcontrib-disqus/get_shortname
LDU_FT
[ "<BEGIN>\n## `event_html_page_context`", "Called when the HTML builder has created a context dictionary to render a template with.", " Conditionally adding disqus.js to <head /> if the directive is used in a page.", " :param sphinx.application.Sphinx app: Sphinx application object.\n :param str pagen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_shortname API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_shortname API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Validate and returns disqus_shortname config value. :returns: disqus_shortname config value. :rtype: str
"Validate and returns disqus_shortname config value.\n\n :returns: disqus_shortname config value.\n :rtype: str"
19
false
Robpol86/sphinxcontrib-disqus
get_shortname
19,187
LDU_FT/internetarchive/doublethink/heartbeat
LDU_FT
[ "<BEGIN>\n## `_server_whitelist`", "Returns list of servers that have not errored in the last five minutes.\n If all servers have errored in the last five minutes, returns list with\n one item, the server that errored least recently.\n<END>", "<BEGIN>\n## `parse_rethinkdb_url`", "Parses a url li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the heartbeat API. 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 heartbeat API. 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...
Update service status, indicating "up"-ness. Args: status_info (dict): a dictionary representing the status of the service `status_info` must have at least the fields 'role', 'load', and 'ttl'. Some additional fields are populated automatically by this method. I...
"Update service status, indicating \"up\"-ness.\n\n Args:\n status_info (dict): a dictionary representing the status of the\n service\n\n `status_info` must have at least the fields 'role', 'load', and\n 'ttl'. Some additional fields are populated automatically by this\n ...
43
false
internetarchive/doublethink
heartbeat
19,188
LDU_FT/senseobservationsystems/commonsense-python-lib/AuthenticateSessionId
LDU_FT
[ "<BEGIN>\n## `MD5Hash`", "Returns md5 hash of a string.\r", " @param password (string) - String to be hashed.\r", " @return (string) - Md5 hash of password.\n<END>", "<BEGIN>\n## `setVerbosity`", "Set verbosity of the SenseApi object.\r", " @param verbose (boolean) - True of Fal...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AuthenticateSessionId 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 AuthenticateSessionId API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Authenticate using a username and password. The SenseApi object will store the obtained session_id internally until a call to LogoutSessionId is performed. @param username (string) - CommonSense username @param password (string) - MD5Hash of CommonSense password ...
"Authenticate using a username and password. \r\n The SenseApi object will store the obtained session_id internally until a call to LogoutSessionId is performed.\r\n \r\n @param username (string) - CommonSense username\r\n @param password (string) - MD5Hash of CommonSense pas...
243
false
senseobservationsystems/commonsense-python-lib
AuthenticateSessionId
19,189
LDU_FT/Koed00/django-q/schedule
LDU_FT
[ "<BEGIN>\n## `loads`", "Reverse of dumps(), raise BadSignature if signature fails.", " The serializer is expected to accept a bytestring.\n<END>", "<BEGIN>\n## `unsign`", "Retrieve original value and check it wasn't signed more\n than max_age seconds ago.\n<END>", "<BEGIN>\n## `get_broker`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule API. 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 schedule API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Create a schedule. :param func: function to schedule. :param args: function arguments. :param name: optional name for the schedule. :param hook: optional result hook function. :type schedule_type: Schedule.TYPE :param repeats: how many times to repeat. 0=never, -1=always. :param next_run: N...
"Create a schedule.\n\n :param func: function to schedule.\n :param args: function arguments.\n :param name: optional name for the schedule.\n :param hook: optional result hook function.\n :type schedule_type: Schedule.TYPE\n :param repeats: how many times to repeat. 0=never, -1=always.\n :param ne...
96
false
Koed00/django-q
schedule
19,190
LDU_FT/xflows/rdm/background_knowledge
LDU_FT
[ "<BEGIN>\n## `cv_split`", "Returns a list of pairs (train_context, test_context), one for each cross-validation fold.", " The split is stratified.", " :param context: DBContext to be split\n :param folds: number of folds\n :param random_seed: random seed to be used", " :return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the background_knowledge 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 background_knowledge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Emits the background knowledge in prolog form for Aleph.
"Emits the background knowledge in prolog form for Aleph."
102
false
xflows/rdm
background_knowledge
19,191
LDU_FT/andreasjansson/head-in-the-clouds/pricing
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new base with specified field names\r\n A keyword argument mode can be specified ; it is used if a file\r\n with the base name already exists\r\n - if mode = 'open' : open the existing base, ignore the fields\r\n - if mode = 'override' : erase the exis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pricing API. 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 pricing API. 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...
Print pricing tables for all enabled providers
"Print pricing tables for all enabled providers"
101
false
andreasjansson/head-in-the-clouds
pricing
19,192
LDU_FT/Bogdanp/anom-py/count
LDU_FT
[ "<BEGIN>\n## `_transactions`", "list[Transaction]: The current stack of Transactions.\n<END>", "<BEGIN>\n## `transactional`", "Decorates functions so that all of their operations (except for\n queries) run inside a Datastore transaction.", " Parameters:\n adapter(Adapter, optional): The Adapter t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the count API. 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 count API. 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...
Counts the number of entities that match this query. Note: Since Datastore doesn't provide a native way to count entities by query, this method paginates through all the entities' keys and counts them. Parameters: \**options(QueryOptions, optional) Retu...
"Counts the number of entities that match this query.\n\n Note:\n Since Datastore doesn't provide a native way to count\n entities by query, this method paginates through all the\n entities' keys and counts them.\n\n Parameters:\n \\**options(QueryOptions, optional)\n\n...
91
false
Bogdanp/anom-py
count
19,193
LDU_FT/IRC-SPHERE/HyperStream/update_channels
LDU_FT
[ "<BEGIN>\n## `func_load`", "Reload a function\n :param code: The code object\n :param defaults: Default values\n :param closure: The closure\n :param globs: globals\n :return:\n<END>", "<BEGIN>\n## `func_reconstruct_closure`", "Deserialization helper that reconstructs a closure\n :param valu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_channels API. 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 update_channels API. 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...
Pulls out all of the stream definitions from the database, and populates the channels with stream references
"Pulls out all of the stream definitions from the database, and populates the channels with stream references"
292
false
IRC-SPHERE/HyperStream
update_channels
19,194
LDU_FT/evhub/coconut/evaluate_tokens
LDU_FT
[ "<BEGIN>\n## `single_import`", "Generate import statements from a fully qualified import and the name to bind it to.\n<END>", "<BEGIN>\n## `universal_import`", "Generate code for a universal import of imports from imp_from on target.\n imports = [[imp1], [imp2, as], ...]\n<END>", "<BEGIN>\n## `bind`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate_tokens API. 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 evaluate_tokens API. 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...
Evaluate the given tokens in the computation graph.
"Evaluate the given tokens in the computation graph."
219
false
evhub/coconut
evaluate_tokens
19,195
LDU_FT/openego/eTraGo/extension_preselection
LDU_FT
[ "<BEGIN>\n## `tsam_cluster`", "Parameters\n ----------\n df : pd.DataFrame\n DataFrame with timeseries to cluster", " Returns\n -------\n timeseries : pd.DataFrame\n Clustered timeseries\n<END>", "<BEGIN>\n## `update_data_frames`", "Updates the snapshots, snapshots weights and t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extension_preselection 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 extension_preselection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Function that preselects lines which are extendend in snapshots leading to overloading to reduce nubmer of extension variables. Parameters ---------- network : :class:`pypsa.Network Overall container of PyPSA args : dict Arguments set in appl.py method: str Choose...
"Function that preselects lines which are extendend in snapshots leading to \n overloading to reduce nubmer of extension variables. \n \n Parameters\n ----------\n network : :class:`pypsa.Network\n Overall container of PyPSA\n args : dict\n Arguments set in appl.py\n method: str\n ...
318
false
openego/eTraGo
extension_preselection
19,196
LDU_FT/onelogin/python3-saml/decrypt_element
LDU_FT
[ "<BEGIN>\n## `get_issuer`", "Gets the Issuer of the Logout Response Message\n :return: The Issuer\n :rtype: string\n<END>", "<BEGIN>\n## `get_status`", "Gets the Status\n :return: The Status\n :rtype: string\n<END>", "<BEGIN>\n## `is_valid`", "Determines if the SAML LogoutRespo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt_element API. 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 decrypt_element API. 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...
Decrypts an encrypted element. :param encrypted_data: The encrypted data. :type: lxml.etree.Element | DOMElement | basestring :param key: The key. :type: string :param debug: Activate the xmlsec debug :type: bool :param inplace: update passed data with decrypt...
"Decrypts an encrypted element.\n\n :param encrypted_data: The encrypted data.\n :type: lxml.etree.Element | DOMElement | basestring\n\n :param key: The key.\n :type: string\n\n :param debug: Activate the xmlsec debug\n :type: bool\n\n :param inplace: update passed data ...
302
false
onelogin/python3-saml
decrypt_element
19,197
LDU_FT/franciscogarate/pyliferisk/Axn
LDU_FT
[ "<BEGIN>\n## `qx`", "qx: Returns the probability that a life aged x dies before 1 year\n With the convention: the true probability is qx/1000\n Args:\n mt: the mortality table\n x: the age as integer number.\n<END>", "<BEGIN>\n## `lx`", "lx : Returns the number of survivors at begi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Axn API. 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 Axn API. 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...
(A^1)x:n : Returns the EPV (net single premium) of a term insurance.
"(A^1)x:n : Returns the EPV (net single premium) of a term insurance."
39
false
franciscogarate/pyliferisk
Axn
19,198
LDU_FT/xiaocong/uiautomator/pinch
LDU_FT
[ "<BEGIN>\n## `cmd`", "adb command, add -s serial by default. return the subprocess.Popen object.\n<END>", "<BEGIN>\n## `devices`", "get a dict of attached devices. key is the device serial, value is device name.\n<END>", "<BEGIN>\n## `dump`", "dump device window and pull to local file.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pinch API. 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 pinch API. 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...
Perform two point gesture from edge to center(in) or center to edge(out). Usages: d().pinch.In(percent=100, steps=10) d().pinch.Out(percent=100, steps=100)
"Perform two point gesture from edge to center(in) or center to edge(out).\n Usages:\n d().pinch.In(percent=100, steps=10)\n d().pinch.Out(percent=100, steps=100)"
33
false
xiaocong/uiautomator
pinch
19,199
LDU_FT/mapnik/Cascadenik/postprocess_value
LDU_FT
[ "<BEGIN>\n## `xindexes`", "Generate list of possible indexes into a list of slots.", " Best way to think of this is as a number where each digit might have a different radix.\n E.g.: (10, 10, 10) would return 10 x 10 x 10 = 1000 responses from (0, 0, 0) to (9, 9, 9),\n (2, 2, 2, 2) would re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the postprocess_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the postprocess_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Convert a list of property value tokens into a single Value instance. Values can be numbers, strings, colors, uris, or booleans: http://www.w3.org/TR/CSS2/syndata.html#values
"Convert a list of property value tokens into a single Value instance.\n \n Values can be numbers, strings, colors, uris, or booleans:\n http://www.w3.org/TR/CSS2/syndata.html#values"
123
false
mapnik/Cascadenik
postprocess_value
19,200
LDU_FT/brbsix/subsystem/have
LDU_FT
[ "<BEGIN>\n## `devnull`", "Temporarily redirect stdout and stderr to /dev/null.\n<END>", "<BEGIN>\n## `error`", "Display error message via stderr or GUI.\n<END>", "<BEGIN>\n## `failure`", "Display warning message via stderr or GUI.\n<END>", "<BEGIN>\n## `have`", "Determine whether supplied argument is ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the have API. 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 have API. 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...
Determine whether supplied argument is a command on the PATH.
"Determine whether supplied argument is a command on the PATH."
18
false
brbsix/subsystem
have
19,201
LDU_FT/leonjza/pytel/_send
LDU_FT
[ "<BEGIN>\n## `_connect`", "Connect", " Setup a socket connection to the specified telegram-cli socket", " --\n @return None\n<END>", "<BEGIN>\n## `_send`", "Send", " Send a payload to a telegram-cli socket.", " --\n @param payload:str ...
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 d...
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 d...
Send Send a payload to a telegram-cli socket. -- @param payload:str The Payload to send over a socket connection. @return bool
"Send\n\n Send a payload to a telegram-cli socket.\n\n --\n @param payload:str The Payload to send over a socket connection.\n @return bool"
24
false
leonjza/pytel
_send
19,202
LDU_FT/OpenGov/carpenter/insert_column
LDU_FT
[ "<BEGIN>\n## `get_cell_type`", "Returns a type to be used in table cell analysis. This is either\n 'basestring' or '(int, float)'.\n<END>", "<BEGIN>\n## `check_cell_type`", "Checks the cell type to see if it represents the cell_type passed in.", " Args:\n cell_type: The type id for a cell match...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_column API. 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 insert_column API. 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...
Inserts a new column before another specified column (by name or index). Args: insert_column: The column index or first row name where the insertion should occur col_name: The name to insert into the first row of the column. Leaving this argument to the default of None will apply t...
"Inserts a new column before another specified column (by name or index).\r\n\r\n Args:\r\n insert_column: The column index or first row name where the insertion should occur\r\n col_name: The name to insert into the first row of the column. Leaving this argument\r\n to the default of None w...
123
false
OpenGov/carpenter
insert_column
19,203
LDU_FT/mattjj/pyslds/expected_log_joint_probability
LDU_FT
[ "<BEGIN>\n## `generate_states`", "Jointly sample the discrete and continuous states\n<END>", "<BEGIN>\n## `_set_gaussian_expected_stats`", "Both meanfield and VBEM require expected statistics of the continuous latent\n states, x. This is a helper function to take E[x_t], E[x_t x_t^T] and E[x_{t+1}, x_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expected_log_joint_probability API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the expected_log_joint_probability API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Compute E_{q(z) q(x)} [log p(z) + log p(x | z) + log p(y | x, z)]
"Compute E_{q(z) q(x)} [log p(z) + log p(x | z) + log p(y | x, z)]"
29
false
mattjj/pyslds
expected_log_joint_probability
19,204
LDU_FT/jrief/djangocms-cascade/get_context_override
LDU_FT
[ "<BEGIN>\n## `_enrich_link`", "Enrich the dict glossary['link'] with an identifier onto the model\n<END>", "<BEGIN>\n## `get_form`", "Extend the form for the given plugin with the form SharableCascadeForm\n<END>", "<BEGIN>\n## `get_picture_elements`", "Create a context, used to render a <picture> together...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_context_override 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_override API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Override the request object with an emulated user.
"Override the request object with an emulated user."
78
false
jrief/djangocms-cascade
get_context_override
19,205
LDU_FT/Kromey/django-simplecaptcha/_setsetting
LDU_FT
[ "<BEGIN>\n## `_getsetting`", "Get `setting` if set, fallback to `default` if not", " This method tries to return the value of the specified setting from Django's\n settings module, after prefixing the name with _DJANGO_SETTING_PREFIX. If\n this fails for any reason, the value supplied in `default` will...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setsetting API. 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 _setsetting API. 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...
Dynamically sets the variable named in `setting` This method uses `_getsetting()` to either fetch the setting from Django's settings module, or else fallback to the default value; it then sets a variable in this module with the returned value.
"Dynamically sets the variable named in `setting`\n\n This method uses `_getsetting()` to either fetch the setting from Django's\n settings module, or else fallback to the default value; it then sets a\n variable in this module with the returned value."
29
false
Kromey/django-simplecaptcha
_setsetting
19,206
LDU_FT/9b/google-alerts/set_log_level
LDU_FT
[ "<BEGIN>\n## `obfuscate`", "Obfuscate the auth details to avoid easy snatching.", " It's best to use a throw away account for these alerts to avoid having\n your authentication put at risk by storing it locally.\n<END>", "<BEGIN>\n## `_config_bootstrap`", "Go through and establish the defaults on the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_log_level API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_log_level API. 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...
Override the default log level of the class
"Override the default log level of the class"
23
false
9b/google-alerts
set_log_level
19,207
LDU_FT/ldo/dbussy/cancel
LDU_FT
[ "<BEGIN>\n## `data_key`", "returns a unique value that allows data to be used as a dict/set key.\n<END>", "<BEGIN>\n## `get_version`", "returns the libdbus library version as a tuple of integers (major, minor, micro).\n<END>", "<BEGIN>\n## `matches_rule`", "does Message message match against the specified...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cancel API. 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 cancel API. 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 ...
tells libdbus you no longer care about the pending incoming message.
"tells libdbus you no longer care about the pending incoming message."
74
false
ldo/dbussy
cancel
19,208
LDU_FT/zhanglab/psamm/parse_reaction_list
LDU_FT
[ "<BEGIN>\n## `_combine_transfers`", "Combine multiple pair transfers into one.\n<END>", "<BEGIN>\n## `parse_compound_file`", "Iterate over the compound entries in the given file\n<END>", "<BEGIN>\n## `parse_compound`", "Parse a compound specification.", " If no compartment is specified in the string,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_reaction_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_reaction_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Parse a structured list of reactions as obtained from a YAML file Yields tuples of reaction ID and reaction object. Path can be given as a string or a context.
"Parse a structured list of reactions as obtained from a YAML file\n\n Yields tuples of reaction ID and reaction object. Path can be given as a\n string or a context."
584
false
zhanglab/psamm
parse_reaction_list
19,209
LDU_FT/musicmetric/mmpy/next
LDU_FT
[ "<BEGIN>\n## `_construct_timeseries`", "wraps response_from for timeseries calls, returns the resulting dict\n<END>", "<BEGIN>\n## `response_from`", "fetches and parses data from the semetric API, returning whatever is\n in the 'response' field in the top level dict on success (200)\n if the end...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
fetch the chart identified by this chart's next_id attribute if the next_id is either null or not present for this chart return None returns the new chart instance on sucess
"fetch the chart identified by this chart's next_id attribute\n if the next_id is either null or not present for this chart return None\n returns the new chart instance on sucess"
13
false
musicmetric/mmpy
next
19,210
LDU_FT/ssato/python-anyconfig/load_from_stream
LDU_FT
[ "<BEGIN>\n## `_load_plugins_itr`", ".. seealso:: the doc of :func:`load_plugins`\n<END>", "<BEGIN>\n## `select_by_key`", ":param items: A list of tuples of keys and values, [([key], val)]\n :return: A list of tuples of key and values, [(key, [val])]", " >>> select_by_key([([\"a\", \"aaa\"], 1), ([\"b\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_from_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_from_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Load data from given stream 'stream'. :param stream: Stream provides configuration data :param container: callble to make a container object :param options: keyword options passed to '_load_from_stream_fn' :return: container object holding the configuration data
"Load data from given stream 'stream'.\n\n :param stream: Stream provides configuration data\n :param container: callble to make a container object\n :param options: keyword options passed to '_load_from_stream_fn'\n\n :return: container object holding the configuration data"
534
false
ssato/python-anyconfig
load_from_stream
19,211
LDU_FT/konstantint/pyliftover/add_interval
LDU_FT
[ "<BEGIN>\n## `add_interval`", "Inserts an interval to the tree. \n Note that when inserting we do not maintain appropriate sorting of the \"mid\" data structure.\n This should be done after all intervals are inserted.\n<END>", "<BEGIN>\n## `sort`", "Must be invoked after all intevals have been a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_interval API. 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 add_interval API. 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...
Inserts an interval to the tree. Note that when inserting we do not maintain appropriate sorting of the "mid" data structure. This should be done after all intervals are inserted.
"Inserts an interval to the tree. \n Note that when inserting we do not maintain appropriate sorting of the \"mid\" data structure.\n This should be done after all intervals are inserted."
21
false
konstantint/pyliftover
add_interval
19,212
LDU_FT/scottgigante/tasklogger/log_debug
LDU_FT
[ "<BEGIN>\n## `set_level`", "Set the logging level", " Parameters\n ----------\n level : `int` or `bool` (optional, default: 1)\n If False or 0, prints WARNING and higher messages.\n If True or 1, prints INFO and higher messages.\n If 2 or higher, prints all ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log_debug API. 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 log_debug API. 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...
Log a DEBUG message Convenience function to log a message to the default Logger Parameters ---------- msg : str Message to be logged logger : str, optional (default: "TaskLogger") Unique name of the logger to retrieve Returns ------- logger : TaskLogger
"Log a DEBUG message\n\n Convenience function to log a message to the default Logger\n\n Parameters\n ----------\n msg : str\n Message to be logged\n logger : str, optional (default: \"TaskLogger\")\n Unique name of the logger to retrieve\n\n Returns\n -------\n logger : TaskLogger...
65
false
scottgigante/tasklogger
log_debug
19,213
LDU_FT/toidi/hadoop-yarn-api-python-client/job_task
LDU_FT
[ "<BEGIN>\n## `node_applications`", "With the Applications API, you can obtain a collection of resources,\n each of which represents an application.", " :param str state: application state\n :param str user: user name\n :returns: API response object with JSON data\n :rtype: :py...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the job_task API. 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 job_task API. 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...
A Task resource contains information about a particular task within a job. :param str application_id: The application id :param str job_id: The job id :param str task_id: The task id :returns: API response object with JSON data :rtype: :py:class:`yarn_api_client.base.Res...
"A Task resource contains information about a particular\n task within a job.\n\n :param str application_id: The application id\n :param str job_id: The job id\n :param str task_id: The task id\n :returns: API response object with JSON data\n :rtype: :py:class:`yarn_api_client....
71
false
toidi/hadoop-yarn-api-python-client
job_task
19,214
LDU_FT/rq/django-rq/get_connection
LDU_FT
[ "<BEGIN>\n## `handle`", "Queues the function given with the first argument with the\n parameters given with the rest of the argument list.\n<END>", "<BEGIN>\n## `get_worker_class`", "Return worker class from RQ settings, otherwise return Worker.\n If `worker_class` is not None, it is used as an over...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_connection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Returns a Redis connection to use based on parameters in settings.RQ_QUEUES
"Returns a Redis connection to use based on parameters in settings.RQ_QUEUES"
33
false
rq/django-rq
get_connection
19,215
LDU_FT/jldantas/libmft/_find_datastream
LDU_FT
[ "<BEGIN>\n## `apply_fixup_array`", "This function reads the fixup array and apply the correct values\n to the underlying binary stream. This function changes the bin_view\n in memory.", " Args:\n bin_view (memoryview of bytearray) - The binary stream\n fx_offset (int) - Offset to the fixu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_datastream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _find_datastream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Find and return if a datastream exists, by name.
"Find and return if a datastream exists, by name."
107
false
jldantas/libmft
_find_datastream
19,216
LDU_FT/memphis-iis/GLUDB/add_package
LDU_FT
[ "<BEGIN>\n## `read_rec`", "Generator that yields keyed recs from store.\n<END>", "<BEGIN>\n## `set_db_application_prefix`", "Set the global app prefix and separator.\n<END>", "<BEGIN>\n## `find_by_index`", "Find records matching index query - defer to backend.\n<END>", "<BEGIN>\n## `_auto_init`", "Our...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_package API. 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 add_package API. 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...
Add all classes to the backup in the specified package (including all modules and all sub-packages) for which is_backup_class returns True. Note that self.add_class is used, so base classes will added as well. Parameters: * pkg_name - a string representing the package name. It m...
"Add all classes to the backup in the specified package (including\n all modules and all sub-packages) for which is_backup_class returns\n True. Note that self.add_class is used, so base classes will added as\n well.\n\n Parameters:\n * pkg_name - a string representing the package nam...
57
false
memphis-iis/GLUDB
add_package
19,217
LDU_FT/fake-name/ChromeController/DOMDebugger_setXHRBreakpoint
LDU_FT
[ "<BEGIN>\n## `close_chromium`", "Close the remote chromium instance.", "\t\tThis command is normally executed as part of the class destructor.\n\t\tIt can be called early without issue, but calling ANY class functions\n\t\tafter the remote chromium instance is shut down will have unknown effects.", "\t\tNote ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DOMDebugger_setXHRBreakpoint 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 DOMDebugger_setXHRBreakpoint API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Function path: DOMDebugger.setXHRBreakpoint Domain: DOMDebugger Method name: setXHRBreakpoint Parameters: Required arguments: 'url' (type: string) -> Resource URL substring. All XHRs having this substring in the URL will get stopped upon. No return value. Description: Sets breakpoint on XM...
"Function path: DOMDebugger.setXHRBreakpoint\n\t\t\tDomain: DOMDebugger\n\t\t\tMethod name: setXHRBreakpoint\n\t\t\n\t\t\tParameters:\n\t\t\t\tRequired arguments:\n\t\t\t\t\t'url' (type: string) -> Resource URL substring. All XHRs having this substring in the URL will get stopped upon.\n\t\t\tNo return value.\n\t\t\n\t...
709
false
fake-name/ChromeController
DOMDebugger_setXHRBreakpoint
19,218
LDU_FT/Azure/azure-multiapi-storage-python/_convert_xml_to_service_stats
LDU_FT
[ "<BEGIN>\n## `_extract_encryption_metadata`", "Extracts the encryption metadata from the given entity, setting them to be utf-8 strings.\n If no encryption metadata is present, will return None for all return values unless\n require_encryption is true, in which case the method will throw.", " :param en...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_xml_to_service_stats API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _convert_xml_to_service_stats API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
<?xml version="1.0" encoding="utf-8"?> <StorageServiceStats> <GeoReplication> <Status>live|bootstrap|unavailable</Status> <LastSyncTime>sync-time|<empty></LastSyncTime> </GeoReplication> </StorageServiceStats>
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n <StorageServiceStats>\n <GeoReplication> \n <Status>live|bootstrap|unavailable</Status>\n <LastSyncTime>sync-time|<empty></LastSyncTime>\n </GeoReplication>\n </StorageServiceStats>"
364
false
Azure/azure-multiapi-storage-python
_convert_xml_to_service_stats
19,219
LDU_FT/bitshares/uptick/settlements
LDU_FT
[ "<BEGIN>\n## `orderbook`", "Show the orderbook of a particular market\n<END>", "<BEGIN>\n## `buy`", "Buy a specific asset at a certain rate against a base asset\n<END>", "<BEGIN>\n## `cancelall`", "Cancel all orders of an account in a market\n<END>", "<BEGIN>\n## `spread`", "Place multiple orders", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the settlements API. 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 settlements API. 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...
Show pending settlement orders of a bitasset
"Show pending settlement orders of a bitasset"
50
false
bitshares/uptick
settlements
19,220
LDU_FT/ambitioninc/django-entity/remove_duplicates
LDU_FT
[ "<BEGIN>\n## `remove_duplicates`", "Remove any duplicates from the entity relationship table\n :param apps:\n :param schema_editor:\n :return:\n<END>", "<BEGIN>\n## `transaction_atomic_with_retry`", "This is a decorator that will wrap the decorated method in an atomic transaction and\n retry the t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_duplicates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_duplicates API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Remove any duplicates from the entity relationship table :param apps: :param schema_editor: :return:
"Remove any duplicates from the entity relationship table\n :param apps:\n :param schema_editor:\n :return:"
83
false
ambitioninc/django-entity
remove_duplicates
19,221
LDU_FT/idlesign/uwsgiconf/set_reload_params
LDU_FT
[ "<BEGIN>\n## `set_exit_events`", "Do exit on certain events", " :param bool no_workers: Shutdown uWSGI when no workers are running.", " :param bool idle: Shutdown uWSGI when idle.", " :param bool reload: Force exit even if a reload is requested.", " :param bool sig_term: Exit o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_reload_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_reload_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Sets workers reload parameters. :param int min_lifetime: A worker cannot be destroyed/reloaded unless it has been alive for N seconds (default 60). This is an anti-fork-bomb measure. Since 1.9 :param int max_lifetime: Reload workers after this many seconds. Disabled by default....
"Sets workers reload parameters.\n\n :param int min_lifetime: A worker cannot be destroyed/reloaded unless it has been alive\n for N seconds (default 60). This is an anti-fork-bomb measure.\n Since 1.9\n\n :param int max_lifetime: Reload workers after this many seconds. Disabled by d...
1,094
true
idlesign/uwsgiconf
set_reload_params
19,222
LDU_FT/antiboredom/videogrep/get_ngrams
LDU_FT
[ "<BEGIN>\n## `parse_auto_sub`", "Parses webvtt and returns timestamps for words and lines\n Tested on automatically generated subtitles from YouTube\n<END>", "<BEGIN>\n## `framerate`", "setter for the framerate attribute\n :param framerate:\n :return:\n<END>", "<BEGIN>\n## `frames_to_tc`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ngrams API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ngrams API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get ngrams from a text Sourced from: https://gist.github.com/dannguyen/93c2c43f4e65328b85af
"Get ngrams from a text\n Sourced from:\n https://gist.github.com/dannguyen/93c2c43f4e65328b85af"
37
false
antiboredom/videogrep
get_ngrams
19,223
LDU_FT/by46/simplekit/get_namespace
LDU_FT
[ "<BEGIN>\n## `_bin_update_items`", "Subclassed from omdict._bin_update_items() to make update() and\n updateall() process lists of values as multiple values.", " <replacements and <leftovers> are modified directly, ala pass by\n reference.\n<END>", "<BEGIN>\n## `import_string`", "Import...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_namespace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_namespace API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Returns a dictionary containing a subset of configuration options that match the specified namespace/prefix. Example usage: app.config['IMAGE_STORE_TYPE']='fs' app.config['IMAGE_STORE_PATH']='/var/app/images' app.config['IMAGE_STORE_BASE_URL']='http://img.website.com' ...
"Returns a dictionary containing a subset of configuration options\r\n that match the specified namespace/prefix. Example usage:\r\n app.config['IMAGE_STORE_TYPE']='fs'\r\n app.config['IMAGE_STORE_PATH']='/var/app/images'\r\n app.config['IMAGE_STORE_BASE_URL']='http://img.website...
73
false
by46/simplekit
get_namespace
19,224
LDU_FT/pyviz/imagen/function
LDU_FT
[ "<BEGIN>\n## `_threeDdot_simple`", "Return Ma, where M is a 3x3 transformation matrix, for each pixel\n<END>", "<BEGIN>\n## `_swaplch`", "Reverse the order of an LCH numpy dstack or tuple for analysis.\n<END>", "<BEGIN>\n## `convert`", "Convert image or color \"what\" from \"from_\" colorpace to \"to\"\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the function API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Selects and returns one of the patterns in the list.
"Selects and returns one of the patterns in the list."
127
false
pyviz/imagen
function
19,225
LDU_FT/lucapinello/Haystack/denoise
LDU_FT
[ "<BEGIN>\n## `sample_wr`", "Chooses k random elements (with replacement) from a population\n<END>", "<BEGIN>\n## `summary`", "m.summary() -- Return a text string one-line summary of motif and its metrics\n<END>", "<BEGIN>\n## `minimal_raw_seqs`", "m.minimal_raw_seqs() -- Return minimal list of seqs that r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the denoise API. 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 denoise API. 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...
m.denoise(bitthresh=0.5) -- Set low-information positions (below bitthresh) to Ns
"m.denoise(bitthresh=0.5) -- Set low-information positions (below bitthresh) to Ns"
87
false
lucapinello/Haystack
denoise
19,226
LDU_FT/SiLab-Bonn/pyBAR/get_scan_parameter
LDU_FT
[ "<BEGIN>\n## `thunkify`", "Make a function immediately return a function of no args which, when called,\n waits for the result, which will start being processed in another thread.\n Taken from https://wiki.python.org/moin/PythonDecoratorLibrary.\n<END>", "<BEGIN>\n## `set_event_when_keyboard_interrupt`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scan_parameter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_scan_parameter 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...
Takes the numpy meta data array and returns the different scan parameter settings and the name aligned in a dictionary Parameters ---------- meta_data_array : numpy.ndarray unique: boolean If true only unique values for each scan parameter are returned Returns ------- python.dict{s...
"Takes the numpy meta data array and returns the different scan parameter settings and the name aligned in a dictionary\n\n Parameters\n ----------\n meta_data_array : numpy.ndarray\n unique: boolean\n If true only unique values for each scan parameter are returned\n\n Returns\n -------\n py...
501
false
SiLab-Bonn/pyBAR
get_scan_parameter
19,227
LDU_FT/alorence/pysvg-py3/getTopLeft
LDU_FT
[ "<BEGIN>\n## `getAllElementsOfHirarchy`", "returns ALL elements of the complete hirarchy as a flat list\n<END>", "<BEGIN>\n## `getElementByID`", "returns an element with the specific id and the position of that element within the svg elements array\n<END>", "<BEGIN>\n## `getElementsByType`", "retrieves al...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getTopLeft API. 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 getTopLeft API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Retrieves a tuple with the x,y coordinates of the upper left point of the rect. Requires the coordinates, width, height to be numbers
"Retrieves a tuple with the x,y coordinates of the upper left point of the rect. \n Requires the coordinates, width, height to be numbers"
75
false
alorence/pysvg-py3
getTopLeft
19,228
LDU_FT/hadrianl/huobi/get_all_last_24h_kline
LDU_FT
[ "<BEGIN>\n## `async_request`", "异步并发请求\n :param reqs: 请求列表\n :return:\n<END>", "<BEGIN>\n## `get_kline`", "获取KLine\n :param symbol\n :param period: 可选值:{1min, 5min, 15min, 30min, 60min, 1day, 1mon, 1week, 1year }\n :param size: 可选值: [1,2000]\n :return:\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_last_24h_kline 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_all_last_24h_kline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
获取所有ticker :param _async: :return:
"获取所有ticker\n :param _async:\n :return:"
108
false
hadrianl/huobi
get_all_last_24h_kline
19,229
LDU_FT/BetterWorks/django-anonymizer/positive_small_integer
LDU_FT
[ "<BEGIN>\n## `varchar`", "Returns a chunk of text, of maximum length 'max_length'\n<END>", "<BEGIN>\n## `simple_pattern`", "Use a simple pattern to make the field - # is replaced with a random number,\n ? with a random letter.\n<END>", "<BEGIN>\n## `datetime`", "Returns a random datetime. If 'val' ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the positive_small_integer 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 positive_small_integer API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Returns a positive small random integer (for a Django PositiveSmallIntegerField)
"Returns a positive small random integer (for a Django PositiveSmallIntegerField)"
57
false
BetterWorks/django-anonymizer
positive_small_integer
19,230
LDU_FT/theonion/django-bulbs/apply_published_filter
LDU_FT
[ "<BEGIN>\n## `save`", "Kicks off celery task to re-save associated special coverages to percolator", " :param args: inline arguments (optional)\n :param kwargs: keyword arguments\n :return: `bulbs.campaigns.Campaign`\n<END>", "<BEGIN>\n## `get_field_info`", "This method is basically a m...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_published_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_published_filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Add the appropriate Published filter to a given elasticsearch query. :param queryset: The DJES queryset object to be filtered. :param operation: The type of filter (before/after). :param value: The date or datetime value being applied to the filter.
"Add the appropriate Published filter to a given elasticsearch query.\n\n :param queryset: The DJES queryset object to be filtered.\n :param operation: The type of filter (before/after).\n :param value: The date or datetime value being applied to the filter."
277
false
theonion/django-bulbs
apply_published_filter
19,231
LDU_FT/quodlibet/mutagen/delete
LDU_FT
[ "<BEGIN>\n## `_parse_sv8_int`", "Reads (max limit) bytes from fileobj until the MSB is zero.\n All 7 LSB will be merged to a big endian uint.", " Raises ValueError in case not MSB is zero, or EOFError in\n case the file ended before limit is reached.", " Returns (parsed number, number of bytes rea...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
delete(filething) Arguments: filething (filething) Raises: mutagen.MutagenError Remove tags from a file.
"delete(filething)\n\n Arguments:\n filething (filething)\n Raises:\n mutagen.MutagenError\n\n Remove tags from a file."
518
false
quodlibet/mutagen
delete
19,232
LDU_FT/freeman-lab/regional/getcolors
LDU_FT
[ "<BEGIN>\n## `getcolor`", "Turn optional color string spec into an array.\n<END>", "<BEGIN>\n## `getcolors`", "Turn list of color specs into list of arrays.\n<END>", "<BEGIN>\n## `getbase`", "Construct a base array from optional arguments.\n<END>", "<BEGIN>\n## `bbox`", "Bounding box as minimum and ma...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getcolors API. 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 getcolors API. 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...
Turn list of color specs into list of arrays.
"Turn list of color specs into list of arrays."
53
false
freeman-lab/regional
getcolors
19,233
LDU_FT/cthorey/pdsimage/_user_yes_no_query
LDU_FT
[ "<BEGIN>\n## `_category`", "Type of the image: LOLA or WAC", " Note: Specify the attribute ``grid``, ``img`` and ``lbl`\n<END>", "<BEGIN>\n## `_user_yes_no_query`", "Helper asking if the user want to download the file", " Note:\n Dowloading huge file can take a while\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _user_yes_no_query 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 _user_yes_no_query 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...
Helper asking if the user want to download the file Note: Dowloading huge file can take a while
"Helper asking if the user want to download the file\n\n Note:\n Dowloading huge file can take a while"
106
false
cthorey/pdsimage
_user_yes_no_query
19,234
LDU_FT/ergoithz/browsepy/reload
LDU_FT
[ "<BEGIN>\n## `defaultsnamedtuple`", "Generate namedtuple with default values.", " :param name: name\n :param fields: iterable with field names\n :param defaults: iterable or mapping with field defaults\n :returns: defaultdict with given fields and given defaults\n :rtype: collections.defaultdict\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reload API. 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 reload API. 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 ...
Clear plugin manager state and reload plugins. This method will make use of :meth:`clear` and :meth:`load_plugin`, so all internal state will be cleared, and all plugins defined in :data:`self.app.config['plugin_modules']` will be loaded.
"Clear plugin manager state and reload plugins.\n\n This method will make use of :meth:`clear` and :meth:`load_plugin`,\n so all internal state will be cleared, and all plugins defined in\n :data:`self.app.config['plugin_modules']` will be loaded."
207
false
ergoithz/browsepy
reload
19,235
LDU_FT/tmux-python/tmuxp/oh_my_zsh_auto_title
LDU_FT
[ "<BEGIN>\n## `get_config_dir`", "Return tmuxp configuration directory.", " ``TMUXP_CONFIGDIR`` environmental variable has precedence if set. We also \n evaluate XDG default directory from XDG_CONFIG_HOME environmental variable \n if set or its default. Then the old default ~/.tmuxp is returned for \n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the oh_my_zsh_auto_title 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 oh_my_zsh_auto_title API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Give warning and offer to fix ``DISABLE_AUTO_TITLE``. see: https://github.com/robbyrussell/oh-my-zsh/pull/257
"Give warning and offer to fix ``DISABLE_AUTO_TITLE``.\n\n see: https://github.com/robbyrussell/oh-my-zsh/pull/257"
161
false
tmux-python/tmuxp
oh_my_zsh_auto_title
19,236
LDU_FT/modlinltd/django-advanced-filters/clean
LDU_FT
[ "<BEGIN>\n## `changelist_view`", "Add advanced_filters form to changelist context\n<END>", "<BEGIN>\n## `filter_by_user`", "All filters that should be displayed to a user (by users/group)\n<END>", "<BEGIN>\n## `query`", "De-serialize, decode and return an ORM query stored in b64_query.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean API. 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 clean API. 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...
>>> import django.forms >>> class MyForm(CleanWhiteSpacesMixin, django.forms.Form): ... some_field = django.forms.CharField() >>> >>> form = MyForm({'some_field': ' a weird value '}) >>> assert form.is_valid() >>> assert form.cleaned_data == {'some_field': 'a weird...
">>> import django.forms\n >>> class MyForm(CleanWhiteSpacesMixin, django.forms.Form):\n ... some_field = django.forms.CharField()\n >>>\n >>> form = MyForm({'some_field': ' a weird value '})\n >>> assert form.is_valid()\n >>> assert form.cleaned_data == {'some_field': '...
37
false
modlinltd/django-advanced-filters
clean
19,237
LDU_FT/TissueMAPS/TmDeploy/remove_node
LDU_FT
[ "<BEGIN>\n## `__init_os_api`", "Initialise client objects for talking to OpenStack API.", " This is in a separate function so to be called by ``__init__`` and\n ``__setstate__``.\n<END>", "<BEGIN>\n## `stop_instance`", "Stops the instance gracefully.", " :param str instance_id: instan...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_node API. 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 remove_node API. 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...
Removes a node from the cluster. By default, it doesn't also stop the node, just remove from the known hosts of this cluster. :param node: node to remove :type node: :py:class:`Node` :param stop: Stop the node :type stop: bool
"Removes a node from the cluster.\n\n By default, it doesn't also stop the node, just remove from\n the known hosts of this cluster.\n\n :param node: node to remove\n :type node: :py:class:`Node`\n\n :param stop: Stop the node\n :type stop: bool"
192
false
TissueMAPS/TmDeploy
remove_node
19,238
LDU_FT/JoeVirtual/KonFoo/serialize
LDU_FT
[ "<BEGIN>\n## `to_json`", "Returns the selected field *attributes* for each :class:`Field` *nested*\n in the `Container` as a JSON formatted string.", " The *attributes* of each :class:`Field` for containers *nested* in the\n `Container` are viewed as well (chained method call).", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize API. 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 serialize API. 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...
Serializes the `Structure` to the byte *buffer* starting at begin of the *buffer* or with the given *index* by mapping the :attr:`~Field.value` for each :class:`Field` in the `Structure` to the byte *buffer* in accordance with the encoding *byte order* for the serialization and the encod...
"Serializes the `Structure` to the byte *buffer* starting at begin\n of the *buffer* or with the given *index* by mapping the\n :attr:`~Field.value` for each :class:`Field` in the `Structure` to the\n byte *buffer* in accordance with the encoding *byte order* for the\n serialization and the ...
233
false
JoeVirtual/KonFoo
serialize
19,239
LDU_FT/raiden-network/raiden/generate_accounts
LDU_FT
[ "<BEGIN>\n## `events_for_onchain_secretreveal`", "Emits the event for revealing the secret on-chain if the transfer\n can not be settled off-chain.\n<END>", "<BEGIN>\n## `handle_inittarget`", "Handles an ActionInitTarget state change.\n<END>", "<BEGIN>\n## `handle_offchain_secretreveal`", "Validates an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_accounts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_accounts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Create private keys and addresses for all seeds.
"Create private keys and addresses for all seeds."
1,120
true
raiden-network/raiden
generate_accounts
19,240
LDU_FT/raphaelm/python-fints/serialize_message
LDU_FT
[ "<BEGIN>\n## `parse_message`", "Takes a FinTS 3.0 message as byte array, and returns a parsed segment sequence\n<END>", "<BEGIN>\n## `serialize_message`", "Serialize a message (as SegmentSequence, list of FinTS3Segment, or FinTS3Segment) into a byte array\n<END>", "<BEGIN>\n## `terminal_flicker_unix`", "R...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serialize_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Serialize a message (as SegmentSequence, list of FinTS3Segment, or FinTS3Segment) into a byte array
"Serialize a message (as SegmentSequence, list of FinTS3Segment, or FinTS3Segment) into a byte array"
79
false
raphaelm/python-fints
serialize_message
19,241
LDU_FT/redhat-cip/python-dciclient/update
LDU_FT
[ "<BEGIN>\n## `list`", "list(context, verbose)", " List all tags.", " >>> dcictl tag-list", " :param boolean verbose: Display verbose output\n<END>", "<BEGIN>\n## `create`", "create(context, name)", " Create a tag.", " >>> dcictl tag-create [OPTIONS]", " :param string name: Name o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
update(context, id, export_control, active) Update a component >>> dcictl component-update [OPTIONS] :param string id: ID of the component [required] :param boolean export-control: Set the component visible for users :param boolean active: Set the component in the active state
"update(context, id, export_control, active)\n\n Update a component\n\n >>> dcictl component-update [OPTIONS]\n\n :param string id: ID of the component [required]\n :param boolean export-control: Set the component visible for users\n :param boolean active: Set the component in the active state"
310
false
redhat-cip/python-dciclient
update
19,242
LDU_FT/RI-imaging/ODTbrain/align_unwrapped
LDU_FT
[ "<BEGIN>\n## `integrate_2d`", "r\"\"\"(slow) 2D reconstruction with the Fourier diffraction theorem", " Two-dimensional diffraction tomography reconstruction\n algorithm for scattering of a plane wave\n :math:`u_0(\\mathbf{r}) = u_0(x,z)`\n by a dielectric object with refractive index\n :math:`n(...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the align_unwrapped API. 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 align_unwrapped API. 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...
Align an unwrapped phase array to zero-phase All operations are performed in-place.
"Align an unwrapped phase array to zero-phase\n\n All operations are performed in-place."
155
false
RI-imaging/ODTbrain
align_unwrapped
19,243
LDU_FT/Karaage-Cluster/python-tldap/check_password
LDU_FT
[ "<BEGIN>\n## `check_password`", "Check a plaintext password against a hashed password.\n<END>", "<BEGIN>\n## `reset`", "Reset transaction back to original state, discarding all\n uncompleted transactions.\n<END>", "<BEGIN>\n## `_cache_get_for_dn`", "Object state is cached. When an update is require...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_password API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_password API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Check a plaintext password against a hashed password.
"Check a plaintext password against a hashed password."
151
false
Karaage-Cluster/python-tldap
check_password
19,244
LDU_FT/crate/crash/_parse_statements
LDU_FT
[ "<BEGIN>\n## `_padleft`", "Flush right.", " >>> _padleft(6, '\\u044f\\u0439\\u0446\\u0430') == ' \\u044f\\u0439\\u0446\\u0430'\n True\n<END>", "<BEGIN>\n## `_visible_width`", "Visible width of a printed string. ANSI color codes are removed.", " >>> _visible_width('\\x1b[31mhello\\x1b[0m'), _visi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_statements API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_statements API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Return a generator of statements Args: A list of strings that can contain one or more statements. Statements are separated using ';' at the end of a line Everything after the last ';' will be treated as the last statement. >>> list(_parse_statements(['select * from ', 't1;', 'select name']...
"Return a generator of statements\n\n Args: A list of strings that can contain one or more statements.\n Statements are separated using ';' at the end of a line\n Everything after the last ';' will be treated as the last statement.\n\n >>> list(_parse_statements(['select * from ', 't1;', 'select...
90
false
crate/crash
_parse_statements
19,245
LDU_FT/mardix/flask-cloudy/save_to
LDU_FT
[ "<BEGIN>\n## `get_file_extension_type`", "Return the group associated to the file\n :param filename:\n :return: str\n<END>", "<BEGIN>\n## `get_driver_class`", "Return the driver class\n :param provider: str - provider name\n :return:\n<END>", "<BEGIN>\n## `get_provider_name`", "Return the prov...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_to API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_to API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
To save the object in a local path :param destination: str - The directory to save the object to :param name: str - To rename the file name. Do not add extesion :param overwrite: :param delete_on_failure: :return: The new location of the file or None
"To save the object in a local path\n :param destination: str - The directory to save the object to\n :param name: str - To rename the file name. Do not add extesion\n :param overwrite:\n :param delete_on_failure:\n :return: The new location of the file or None"
33
false
mardix/flask-cloudy
save_to
19,246
LDU_FT/fprimex/zdesk/help_center_user_segment_sections
LDU_FT
[ "<BEGIN>\n## `batch`", "Helper to setup batch requests.", " There are endpoints which support updating multiple resources at once,\n but they are often limited to 100 updates per request.\n This function helps with splitting bigger requests into sequence of\n smaller ones.", " Example:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the help_center_user_segment_sections 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 help_center_user_segment_sections API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
https://developer.zendesk.com/rest_api/docs/help_center/user_segments#list-sections-using-a-user-segment
"https://developer.zendesk.com/rest_api/docs/help_center/user_segments#list-sections-using-a-user-segment"
803
false
fprimex/zdesk
help_center_user_segment_sections
19,247
LDU_FT/goldhand/django-nupages/get_queryset
LDU_FT
[ "<BEGIN>\n## `process_request`", "checks if the host domain is one of the site objects\n and sets request.site_id\n<END>", "<BEGIN>\n## `get_queryset`", "If MultiTenantMiddleware is used, filter queryset by request.site_id\n<END>", "<BEGIN>\n## `get_context_data`", "Adds a 'base_template' attribute...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_queryset API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_queryset API. 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...
If MultiTenantMiddleware is used, filter queryset by request.site_id
"If MultiTenantMiddleware is used, filter queryset by request.site_id"
12
false
goldhand/django-nupages
get_queryset
19,248
LDU_FT/cocagne/txdbus/validateInterfaceName
LDU_FT
[ "<BEGIN>\n## `isSignatureValid`", "Verifies that the received signature matches the expected value\n<END>", "<BEGIN>\n## `notifyOnDisconnect`", "Registers a callback that will be called when the DBus connection\n underlying the remote object is lost", " @type callback: Callable object acceptin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validateInterfaceName 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 validateInterfaceName API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Verifies that the supplied name is a valid DBus Interface name. Throws an L{error.MarshallingError} if the format is invalid @type n: C{string} @param n: A DBus interface name
"Verifies that the supplied name is a valid DBus Interface name. Throws\n an L{error.MarshallingError} if the format is invalid\n\n @type n: C{string}\n @param n: A DBus interface name"
160
false
cocagne/txdbus
validateInterfaceName
19,249
LDU_FT/user-cont/colin/get_checks
LDU_FT
[ "<BEGIN>\n## `run`", "Runs the sanity checks for the target.", " :param timeout: timeout per-check (in seconds)\n :param skips: name of checks to skip\n :param target: str (image name, ostree or dockertar)\n or ImageTarget\n or path/file-like object for dockerfile\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_checks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_checks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Get all checks for given type/tags. :param skips: list of str :param target_type: TargetType class :param tags: list of str :return: list of check instances
"Get all checks for given type/tags.\n\n :param skips: list of str\n :param target_type: TargetType class\n :param tags: list of str\n :return: list of check instances"
114
false
user-cont/colin
get_checks
19,250
LDU_FT/svartalf/python-opus/decode
LDU_FT
[ "<BEGIN>\n## `create`", "Allocates and initializes an encoder state.\n<END>", "<BEGIN>\n## `encode`", "Encodes an Opus frame", " Returns string output payload\n<END>", "<BEGIN>\n## `encode_float`", "Encodes an Opus frame from floating point input\n<END>", "<BEGIN>\n## `query`", "Query encoder/dec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Decode an Opus frame Unlike the `opus_decode` function , this function takes an additional parameter `channels`, which indicates the number of channels in the frame
"Decode an Opus frame\n\n Unlike the `opus_decode` function , this function takes an additional parameter `channels`,\n which indicates the number of channels in the frame"
20
false
svartalf/python-opus
decode
19,251
LDU_FT/YosaiProject/yosai/create_subject
LDU_FT
[ "<BEGIN>\n## `on_successful_login`", "Reacts to the successful login attempt by first always\n forgetting any previously stored identity. Then if the authc_token\n is a ``RememberMe`` type of token, the associated identity\n will be remembered for later retrieval during a new user session.",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_subject API. 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_subject API. 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...
Creates a ``Subject`` instance for the user represented by the given method arguments. It is an overloaded method, due to porting java to python, and is consequently highly likely to be refactored. It gets called in one of two ways: 1) when creating an anonymous subject, passin...
"Creates a ``Subject`` instance for the user represented by the given method\n arguments.\n\n It is an overloaded method, due to porting java to python, and is\n consequently highly likely to be refactored.\n\n It gets called in one of two ways:\n 1) when creating an anonymous subject...
335
false
YosaiProject/yosai
create_subject
19,252
LDU_FT/datajoint/datajoint-python/head
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 head API. 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 head API. 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...
shortcut to fetch the first few entries from query expression. Equivalent to fetch(order_by="KEY", limit=25) :param limit: number of entries :param fetch_kwargs: kwargs for fetch :return: query result
"shortcut to fetch the first few entries from query expression.\n Equivalent to fetch(order_by=\"KEY\", limit=25)\n :param limit: number of entries\n :param fetch_kwargs: kwargs for fetch\n :return: query result"
198
false
datajoint/datajoint-python
head
19,253
LDU_FT/sacherjj/array_devices/start_program
LDU_FT
[ "<BEGIN>\n## `setting`", "Load setting (Amps, Watts, or Ohms depending on program mode)\n<END>", "<BEGIN>\n## `partial_steps_data`", "Iterates 5 steps from start position and\n provides tuple for packing into buffer.", " returns (0, 0) if stpe doesn't exist.", " :param start: Position...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_program API. 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 start_program API. 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...
Starts running programmed test sequence :return: None
"Starts running programmed test sequence\n :return: None"
44
false
sacherjj/array_devices
start_program
19,254
LDU_FT/standage/tag/consume_file
LDU_FT
[ "<BEGIN>\n## `accession`", "Parse accession number from commonly supported formats.", " If the defline does not match one of the following formats, the entire\n description (sans leading caret) will be returned.", " * >gi|572257426|ref|XP_006607122.1|\n * >gnl|Tcas|XP_008191512.1\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume_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 extr...
Load the specified GFF3 file into memory.
"Load the specified GFF3 file into memory."
114
false
standage/tag
consume_file
19,255
LDU_FT/Samreay/ChainConsumer/get_latex_table
LDU_FT
[ "<BEGIN>\n## `dic`", "r\"\"\" Returns the corrected Deviance Information Criterion (DIC) for all chains loaded into ChainConsumer.", " If a chain does not have a posterior, this method will return `None` for that chain. **Note that\n the DIC metric is only valid on posterior surfaces which closely...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_latex_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 e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_latex_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 e...
Generates a LaTeX table from parameter summaries. Parameters ---------- parameters : list[str], optional A list of what parameters to include in the table. By default, includes all parameters transpose : bool, optional Defaults to False, which gives each column a...
"Generates a LaTeX table from parameter summaries.\n\n Parameters\n ----------\n parameters : list[str], optional\n A list of what parameters to include in the table. By default, includes all parameters\n transpose : bool, optional\n Defaults to False, which gives each ...
155
false
Samreay/ChainConsumer
get_latex_table
19,256
LDU_FT/kytos/kytos-utils/_get_local_folder
LDU_FT
[ "<BEGIN>\n## `get_napp`", "Return napp metadata or None if not found.\n<END>", "<BEGIN>\n## `reload_napps`", "Reload a specific NApp or all Napps.", " Args:\n napp (list): NApp list to be reload.\n Raises:\n requests.HTTPError: When there's a server error.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_local_folder API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_local_folder API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Return local NApp root folder. Search for kytos.json in _./_ folder and _./user/napp_. Args: root (pathlib.Path): Where to begin searching. Return: pathlib.Path: NApp root folder. Raises: FileNotFoundError: If there is no such local NApp.
"Return local NApp root folder.\n\n Search for kytos.json in _./_ folder and _./user/napp_.\n\n Args:\n root (pathlib.Path): Where to begin searching.\n\n Return:\n pathlib.Path: NApp root folder.\n\n Raises:\n FileNotFoundError: If there is no such local NAp...
128
false
kytos/kytos-utils
_get_local_folder
19,257
LDU_FT/intuition-io/intuition/lookup_symbol
LDU_FT
[ "<BEGIN>\n## `update`", "Actualizes the portfolio universe with the alog state\n<END>", "<BEGIN>\n## `trade_signals_handler`", "Process buy and sell signals from the simulation\n<END>", "<BEGIN>\n## `advise`", "General parameters or user settings\n (maw_weigth, max_assets, max_frequency, commission...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup_symbol API. 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 lookup_symbol API. 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...
Fetch company info >>> lookup_symbol("Apple Inc.") {u'exch': u'NMS', u'market': u'NASDAQ', u'name': u'Apple Inc.', u'symbol': u'AAPL', u'type': u'Equity'}
"Fetch company info\n >>> lookup_symbol(\"Apple Inc.\")\n {u'exch': u'NMS',\n u'market': u'NASDAQ',\n u'name': u'Apple Inc.',\n u'symbol': u'AAPL',\n u'type': u'Equity'}"
73
false
intuition-io/intuition
lookup_symbol
19,258
LDU_FT/JasonKessler/scattertext/get_rudder_scores
LDU_FT
[ "<BEGIN>\n## `coarse_tag_str`", "Convert POS sequence to our coarse system, formatted as a string.\n<END>", "<BEGIN>\n## `extract_finditer`", "The \"GreedyFSA\" method in Handler et al. 2016.\n\tReturns token position spans of valid ngrams.\n<END>", "<BEGIN>\n## `extract_ngram_filter`", "The \"FilterFSA\"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rudder_scores API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_rudder_scores API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Computes Rudder score. Parameters ---------- category : str category name to score Returns ------- np.array
"Computes Rudder score.\n Parameters\n ----------\n category : str\n category name to score\n\n Returns\n -------\n np.array"
419
false
JasonKessler/scattertext
get_rudder_scores
19,259
LDU_FT/ly0/baidupcsapi/_locatedownload
LDU_FT
[ "<BEGIN>\n## `__err_handler`", "百度网盘下载错误控制\n :param act: 出错时的行为, 有 download\n :param errno: 出错时的errno,这个要配合act才有实际意义\n :param callback: 返回时的调用函数, 为空时返回None\n :param args: 给callback函数的参数tuple\n :param kwargs: 给callback函数的带名参数字典", " 在本函数调用后一定可以解决提交过来的问题, 在外部不需要重复检查是否存在原问题...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _locatedownload API. 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 _locatedownload API. 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...
百度云管家获得方式 :param remote_path: 需要下载的文件路径 :type remote_path: str
"百度云管家获得方式\n :param remote_path: 需要下载的文件路径\n :type remote_path: str"
222
false
ly0/baidupcsapi
_locatedownload
19,260
LDU_FT/oanda/v20-python/trailing_stop_loss
LDU_FT
[ "<BEGIN>\n## `from_dict`", "Instantiate a new Trade from a dict (generally from loading a JSON\n response). The data used to instantiate the Trade is a shallow copy of\n the dict passed in, with any complex child types instantiated\n appropriately.\n<END>", "<BEGIN>\n## `from_dict`", "Ins...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trailing_stop_loss 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 trailing_stop_loss 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...
Shortcut to create a Trailing Stop Loss Order in an Account Args: accountID : The ID of the Account kwargs : The arguments to create a TrailingStopLossOrderRequest Returns: v20.response.Response containing the results from submitting the request
"Shortcut to create a Trailing Stop Loss Order in an Account\n\n Args:\n accountID : The ID of the Account\n kwargs : The arguments to create a TrailingStopLossOrderRequest\n\n Returns:\n v20.response.Response containing the results from submitting\n the request...
225
false
oanda/v20-python
trailing_stop_loss
19,261
LDU_FT/jciskey/pygraph/union
LDU_FT
[ "<BEGIN>\n## `build_cycle_graph`", "Builds a cycle graph with the specified number of nodes.\n Ref: http://mathworld.wolfram.com/CycleGraph.html\n<END>", "<BEGIN>\n## `build_wheel_graph`", "Builds a wheel graph with the specified number of nodes.\n Ref: http://mathworld.wolfram.com/WheelGraph.html...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the union API. 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 union API. 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...
Joins two sets into a single new set. label_a, label_b can be any nodes within the sets
"Joins two sets into a single new set.\n label_a, label_b can be any nodes within the sets"
189
false
jciskey/pygraph
union
19,262
LDU_FT/nikcub/floyd/setup
LDU_FT
[ "<BEGIN>\n## `get_file_contents`", "Get the context of the file using full path name\n<END>", "<BEGIN>\n## `import_model`", "imports a model of name from path, returning from local model\n cache if it has been previously loaded otherwise importing\n<END>", "<BEGIN>\n## `parse_md`", "Takes a post path a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API. 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 setup API. 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...
Setup Jinja enviroment eg. sketch.jinja.setup({ 'app': self.config.paths['app_template_basedir'], 'sketch': self.config.paths['sketch_template_dir'], }) :param template_paths: Dictionary of paths to templates (template_name => template_path) :param autoescape: Autoescape :param cache_size:...
"Setup Jinja enviroment\n \n eg. sketch.jinja.setup({\n 'app': self.config.paths['app_template_basedir'],\n 'sketch': self.config.paths['sketch_template_dir'],\n })\n \n :param template_paths: Dictionary of paths to templates (template_name => template_path)\n :param autoescape: Autoescape\n :param c...
71
false
nikcub/floyd
setup
19,263
LDU_FT/emilydolson/avida-spatial-tools/agg_grid
LDU_FT
[ "<BEGIN>\n## `gen_gradient`", "Returns a line of text to add to an environment file, initializing a\n gradient resource with the specified\n name (string), inflow(int), radius(int), and location (tuple of ints)\n<END>", "<BEGIN>\n## `gen_res`", "Returns a line of text to add to an environment file, init...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the agg_grid API. 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 agg_grid API. 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...
Many functions return a 2d list with a complex data type in each cell. For instance, grids representing environments have a set of resources, while reading in multiple data files at once will yield a list containing the values for that cell from each file. In order to visualize these data types it is he...
"Many functions return a 2d list with a complex data type in each cell.\n For instance, grids representing environments have a set of resources,\n while reading in multiple data files at once will yield a list\n containing the values for that cell from each file. In order to visualize\n these data types it ...
189
false
emilydolson/avida-spatial-tools
agg_grid
19,264
LDU_FT/rstoneback/pysat/update_smag_metadata
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 update_smag_metadata 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 update_smag_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Update SuperMAG metadata Parameters ----------- col_name : (str) Data column name Returns -------- col_dict : (dict) Dictionary of strings detailing the units and long-form name of the data
"Update SuperMAG metadata\n\n Parameters\n -----------\n col_name : (str)\n Data column name\n\n Returns\n --------\n col_dict : (dict)\n Dictionary of strings detailing the units and long-form name of the data"
525
false
rstoneback/pysat
update_smag_metadata
19,265
LDU_FT/xiyouMc/ncmbot/search
LDU_FT
[ "<BEGIN>\n## `login`", "登录接口,返回 :class:'Response' 对象\n :param password: 网易云音乐的密码\n :param phone: (optional) 手机登录\n :param email: (optional) 邮箱登录\n :param rememberLogin: (optional) 是否记住密码,默认 True\n<END>", "<BEGIN>\n## `user_play_list`", "获取用户歌单,包含收藏的歌单", " :param uid: 用户的ID,可通过登录或者其他接口获取\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
搜索歌曲,支持搜索歌曲、歌手、专辑等 :param keyword: 关键词 :param type: (optional) 搜索类型,1: 单曲, 100: 歌手, 1000: 歌单, 1002: 用户 :param offset: (optional) 分段起始位置,默认 0 :param limit: (optional) 数据上限多少行,默认 30
"搜索歌曲,支持搜索歌曲、歌手、专辑等\n\n :param keyword: 关键词\n :param type: (optional) 搜索类型,1: 单曲, 100: 歌手, 1000: 歌单, 1002: 用户\n :param offset: (optional) 分段起始位置,默认 0\n :param limit: (optional) 数据上限多少行,默认 30"
39
false
xiyouMc/ncmbot
search
19,266
LDU_FT/pdkit/pdkit/speed_of_gait
LDU_FT
[ "<BEGIN>\n## `load`", "This is a general load data method where the format of data to load can be passed as a parameter,", " :param str filename: The path to load data from\n :param str format_file: format of the file. Default is CloudUPDRS. Set to mpower for mpower data.\n :ret...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the speed_of_gait API. 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 speed_of_gait API. 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...
This method assess the speed of gait following :cite:`g-MartinSB11`. It extracts the gait speed from the energies of the approximation coefficients of wavelet functions. Prefferably you should use the magnitude of x, y and z (mag_acc_sum) here, as the time series. :param x: The tim...
"This method assess the speed of gait following :cite:`g-MartinSB11`.\n\n It extracts the gait speed from the energies of the approximation coefficients of wavelet functions.\n Prefferably you should use the magnitude of x, y and z (mag_acc_sum) here, as the time series.\n\n :param x: T...
344
false
pdkit/pdkit
speed_of_gait
19,267
LDU_FT/ninuxorg/nodeshot/_node_participation_settings
LDU_FT
[ "<BEGIN>\n## `get_formset`", "Load Synchronizer schema to display specific fields in admin\n<END>", "<BEGIN>\n## `public_broadcaster`", "Thread which runs in parallel and constantly checks for new messages\n in the public pipe and broadcasts them publicly to all connected clients.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _node_participation_settings 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 _node_participation_settings API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Return node_participation_settings record or create it if it does not exist usage: node = Node.objects.get(pk=1) node.participation_settings
"Return node_participation_settings record\n or create it if it does not exist\n\n usage:\n node = Node.objects.get(pk=1)\n node.participation_settings"
261
false
ninuxorg/nodeshot
_node_participation_settings
19,268
LDU_FT/blueset/ehForwarderBot/get_config_path
LDU_FT
[ "<BEGIN>\n## `self`", "Set the chat as yourself.\n In this context, \"yourself\" means the user behind the master channel.\n Every channel should relate this to the corresponding target.", " Returns:\n EFBChat: This object.\n<END>", "<BEGIN>\n## `system`", "Set the chat as a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Get path for configuration file. Defaulted to ``~/.ehforwarderbot/profiles/profile_name/channel_id/config.yaml``. This method creates the queried path if not existing. The config file will not be created, however. Args: module_id (str): Module ID. ext (Optional[Str]): Extension...
"Get path for configuration file. Defaulted to\n ``~/.ehforwarderbot/profiles/profile_name/channel_id/config.yaml``.\n \n This method creates the queried path if not existing. The config file will\n not be created, however.\n \n Args:\n module_id (str): Module ID.\n ext (Optional[Str]): ...
66
false
blueset/ehForwarderBot
get_config_path
19,269
LDU_FT/danielperna84/pyhomematic/set_effect
LDU_FT
[ "<BEGIN>\n## `start`", "Start the server thread if it wasn't created with autostart = True.\n<END>", "<BEGIN>\n## `getSystemVariable`", "Get single system variable from CCU / Homegear\n<END>", "<BEGIN>\n## `deleteSystemVariable`", "Delete a system variable from CCU / Homegear\n<END>", "<BEGIN>\n## `setI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_effect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_effect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Sets the color change program of the light.
"Sets the color change program of the light."
83
false
danielperna84/pyhomematic
set_effect
19,270
LDU_FT/brettcannon/gidgethub/_decode_body
LDU_FT
[ "<BEGIN>\n## `_parse_content_type`", "Tease out the content-type and character encoding.", " A default character encoding of UTF-8 is used, so the content-type\n must be used to determine if any decoding is necessary to begin\n with.\n<END>", "<BEGIN>\n## `_decode_body`", "Decode an HTTP body based...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode_body API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode_body API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Decode an HTTP body based on the specified content type. If 'strict' is true, then raise ValueError if the content type is not recognized. Otherwise simply returned the body as a decoded string.
"Decode an HTTP body based on the specified content type.\n\n If 'strict' is true, then raise ValueError if the content type\n is not recognized. Otherwise simply returned the body as a decoded\n string."
49
false
brettcannon/gidgethub
_decode_body
19,271
LDU_FT/karel-brinda/rnftools/recode_curesim_reads
LDU_FT
[ "<BEGIN>\n## `recode_curesim_reads`", "Recode CuReSim output FASTQ file to the RNF-compatible output FASTQ file.", "\t\tArgs:\n\t\t\tcuresim_fastq_fo (file object): File object of CuReSim FASTQ file.\n\t\t\tfastq_rnf_fo (file object): File object of RNF FASTQ.\n\t\t\tfai_fo (file object): File object for FAI fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recode_curesim_reads 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 recode_curesim_reads API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Recode CuReSim output FASTQ file to the RNF-compatible output FASTQ file. Args: curesim_fastq_fo (file object): File object of CuReSim FASTQ file. fastq_rnf_fo (file object): File object of RNF FASTQ. fai_fo (file object): File object for FAI file of the reference genome. genome_id (int): RNF genome ID t...
"Recode CuReSim output FASTQ file to the RNF-compatible output FASTQ file.\n\n\t\tArgs:\n\t\t\tcuresim_fastq_fo (file object): File object of CuReSim FASTQ file.\n\t\t\tfastq_rnf_fo (file object): File object of RNF FASTQ.\n\t\t\tfai_fo (file object): File object for FAI file of the reference genome.\n\t\t\tgenome_id (...
84
false
karel-brinda/rnftools
recode_curesim_reads
19,272