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/mozilla/amo-validator/push_state
LDU_FT
[ "<BEGIN>\n## `decode`", "Decode data employing some charset detection and including unicode BOM\n stripping.\n<END>", "<BEGIN>\n## `get_context`", "Returns a tuple containing the context for a line\n<END>", "<BEGIN>\n## `_format_line`", "Formats a line from the data to be the appropriate length\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_state API. 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 push_state API. 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...
Saves the current error state to parse subpackages
"Saves the current error state to parse subpackages"
94
false
mozilla/amo-validator
push_state
15,473
LDU_FT/cloud-custodian/cloud-custodian/delta_stream
LDU_FT
[ "<BEGIN>\n## `factory`", "Factory func for filters.", " data - policy config for filters\n manager - resource type manager (ec2, s3, etc)\n<END>", "<BEGIN>\n## `get_block_operator`", "Determine the immediate parent boolean operator for a filter\n<END>", "<BEGIN>\n## `_validate_resource_count...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delta_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delta_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 extr...
Return an iterator of policy changes along a commit lineage in a repo.
"Return an iterator of policy changes along a commit lineage in a repo."
506
false
cloud-custodian/cloud-custodian
delta_stream
15,474
LDU_FT/jwodder/doapi/last_rate_limit
LDU_FT
[ "<BEGIN>\n## `fetch`", "Fetch & return a new `Action` object representing the action's current\n state", " :rtype: Action\n :raises DOAPIError: if the API endpoint replies with an error\n<END>", "<BEGIN>\n## `fetch_resource`", "Fetch & return the resource that the action operated on, or...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the last_rate_limit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the last_rate_limit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
A `dict` of the rate limit information returned in the most recent response, or `None` if no requests have been made yet. The `dict` consists of all headers whose names begin with ``"RateLimit"`` (case insensitive). The DigitalOcean API specifies the following rate limit headers: ...
"A `dict` of the rate limit information returned in the most recent\n response, or `None` if no requests have been made yet. The `dict`\n consists of all headers whose names begin with ``\"RateLimit\"`` (case\n insensitive).\n\n The DigitalOcean API specifies the following rate limit header...
176
false
jwodder/doapi
last_rate_limit
15,475
LDU_FT/linkedin/luminol/_generic_binary_op
LDU_FT
[ "<BEGIN>\n## `_analyze_root_causes`", "Conduct root cause analysis.\n The first metric of the list is taken as the root cause right now.\n<END>", "<BEGIN>\n## `_load`", "Load time series into a TimeSeries object.\n :param timeseries: a TimeSeries, a dictionary or a path to a csv file(str).\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generic_binary_op 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 _generic_binary_op 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...
Perform the method operation specified in the op parameter on the values within the instance's time series values and either another time series or a constant number value. :param other: Time series of values or a constant number to use in calculations with instance's time series. :para...
"Perform the method operation specified in the op parameter on the values\n within the instance's time series values and either another time series\n or a constant number value.\n\n :param other: Time series of values or a constant number to use in calculations with instance's time series.\n ...
95
false
linkedin/luminol
_generic_binary_op
15,476
LDU_FT/hearsaycorp/normalize/coll_to_tuples
LDU_FT
[ "<BEGIN>\n## `path`", "The path attribute returns a stringified, concise representation of\n the MultiFieldSelector. It can be reversed by the ``from_path``\n constructor.\n<END>", "<BEGIN>\n## `get`", "Creates a copy of the passed object which only contains the parts\n which are pointed...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coll_to_tuples API. 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 coll_to_tuples API. 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...
``coll_to_tuples`` is capable of unpacking its own collection types (`list`), ``collections.Mapping`` objects, as well generators, sequences and iterators. Returns ``(*int*, Value)``. Does not coerce items.
"``coll_to_tuples`` is capable of unpacking its own collection types\n (`list`), ``collections.Mapping`` objects, as well generators,\n sequences and iterators. Returns ``(*int*, Value)``. Does not coerce\n items."
210
false
hearsaycorp/normalize
coll_to_tuples
15,477
LDU_FT/elastic/apm-agent-python/remove_stacktrace_locals
LDU_FT
[ "<BEGIN>\n## `extract_signature`", "Extracts a minimal signature from a given SQL query\n :param sql: the SQL statement\n :return: a string representing the signature\n<END>", "<BEGIN>\n## `_timed_queue_join`", "implementation of Queue.join which takes a 'timeout' argument", " returns True on s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_stacktrace_locals API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_stacktrace_locals API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Removes local variables from any frames. :param client: an ElasticAPM client :param event: a transaction or error event :return: The modified event
"Removes local variables from any frames.\n\n :param client: an ElasticAPM client\n :param event: a transaction or error event\n :return: The modified event"
163
false
elastic/apm-agent-python
remove_stacktrace_locals
15,478
LDU_FT/Aperture-py/aperture-lib/watermark_image
LDU_FT
[ "<BEGIN>\n## `watermark_image`", "Adds a watermark image to an instance of a PIL Image.", " If the provided watermark image (wtrmrk_path) is\n larger than the provided base image (image), then\n the watermark image will be automatically resized to \n roughly 1/8 the size of the base image.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watermark_image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watermark_image API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Adds a watermark image to an instance of a PIL Image. If the provided watermark image (wtrmrk_path) is larger than the provided base image (image), then the watermark image will be automatically resized to roughly 1/8 the size of the base image. Args: image: An instance of a PIL Image. Th...
"Adds a watermark image to an instance of a PIL Image.\n\n If the provided watermark image (wtrmrk_path) is\n larger than the provided base image (image), then\n the watermark image will be automatically resized to \n roughly 1/8 the size of the base image.\n\n Args:\n image: An instance of a PIL ...
21
false
Aperture-py/aperture-lib
watermark_image
15,479
LDU_FT/pbrisk/mathtoolspy/interpolation_linear
LDU_FT
[ "<BEGIN>\n## `minimum_bracketing`", "Given a function func, and given distinct inital points ax and bx, this routine searches\n in the downhill direction (defined by the function as evaluated at the initial points)\n and returns new points at ax, bx, cx that bracket a minimum of the function.\n Also retu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interpolation_linear 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 interpolation_linear API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Linear interpolation returns (y2 - y1) / (x2 - x1) * (x - x1) + y1
"Linear interpolation\n returns (y2 - y1) / (x2 - x1) * (x - x1) + y1"
24
false
pbrisk/mathtoolspy
interpolation_linear
15,480
LDU_FT/goerz/clusterjob/successful
LDU_FT
[ "<BEGIN>\n## `resource_headers`", "Given a :class:`~clusterjob.JobScript` instance, return a list of\n lines that encode the resource requirements, to be added at the top of\n the rendered job script\n<END>", "<BEGIN>\n## `replace_body_vars`", "Given a multiline string that is the body of the jo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the successful API. 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 successful API. 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...
Return True if the job finished with a COMPLETED status, False if it finished with a CANCELLED or FAILED status. Raise an `AssertionError` if the job has not completed
"Return True if the job finished with a COMPLETED status, False if it\n finished with a CANCELLED or FAILED status. Raise an `AssertionError`\n if the job has not completed"
69
false
goerz/clusterjob
successful
15,481
LDU_FT/crm416/semantic/_preprocess
LDU_FT
[ "<BEGIN>\n## `parseUnits`", "Carries out a conversion (represented as a string) and returns the\n result as a human-readable string.", " Args:\n inp (str): Text representing a unit conversion, which should\n include a magnitude, a description of the initial units,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _preprocess API. 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 _preprocess API. 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...
Revise wording to match canonical and expected forms.
"Revise wording to match canonical and expected forms."
75
false
crm416/semantic
_preprocess
15,482
LDU_FT/tornadoweb/tornado/coroutine
LDU_FT
[ "<BEGIN>\n## `start`", "Begins watching source files for changes.", " .. versionchanged:: 5.0\n The ``io_loop`` argument (deprecated since version 4.1) has been removed.\n<END>", "<BEGIN>\n## `main`", "Command-line wrapper to re-run a script whenever its source changes.", " Scripts may be spec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the coroutine API. 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 coroutine API. 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...
Decorator for asynchronous generators. For compatibility with older versions of Python, coroutines may also "return" by raising the special exception `Return(value) <Return>`. Functions with this decorator return a `.Future`. .. warning:: When exceptions occur inside a coroutine, the exce...
"Decorator for asynchronous generators.\n\n For compatibility with older versions of Python, coroutines may\n also \"return\" by raising the special exception `Return(value)\n <Return>`.\n\n Functions with this decorator return a `.Future`.\n\n .. warning::\n\n When exceptions occur inside a corout...
1,291
true
tornadoweb/tornado
coroutine
15,483
LDU_FT/nlppln/nlppln/create_chunked_list
LDU_FT
[ "<BEGIN>\n## `parse_frog`", "Interpret the output of the frog parser.\n Input should be an iterable of lines (i.e. the output of call_frog)\n Result is a sequence of dicts representing the tokens\n<END>", "<BEGIN>\n## `frog_to_saf`", "Convert frog tokens into a new SAF document\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_chunked_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 create_chunked_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...
Create a division of the input files in chunks. The result is stored to a JSON file.
"Create a division of the input files in chunks.\n\n The result is stored to a JSON file."
23
false
nlppln/nlppln
create_chunked_list
15,484
LDU_FT/StanfordBioinformatics/scgpm_seqresults_dnanexus/get_sample_stats_json
LDU_FT
[ "<BEGIN>\n## `log_file_name`", "Function : Creates a logfile name, named after this script and includes the number of seconds since the Epoch.\n An optional extension can be specified to make the logfile name more meaningful regarding its purpose.\n Args : ext - The extension to add to the log fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sample_stats_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sample_stats_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
.. deprecated:: 0.1.0 GSSC has removed the sample_stats.json file since the entire folder it was in has been removed. Use :meth:`get_barcode_stats` instead. Retrieves the JSON object for the stats in the file named sample_stats.json in the project specified by self.dx_proj...
".. deprecated:: 0.1.0\n GSSC has removed the sample_stats.json file since the entire folder it was in has been \n removed. Use :meth:`get_barcode_stats` instead. \n \n Retrieves the JSON object for the stats in the file named sample_stats.json in the project \n specified by self.d...
63
false
StanfordBioinformatics/scgpm_seqresults_dnanexus
get_sample_stats_json
15,485
LDU_FT/lingthio/Flask-User/register_view
LDU_FT
[ "<BEGIN>\n## `send_email_message`", "Send email message via Flask-Sendmail.", " Args:\n recipient: Email address or tuple of (Name, Email-address).\n subject: Subject line.\n html_message: The message body in HTML.\n text_message: The message body in plain text...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_view API. 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 register_view API. 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...
Display registration form and create new User.
"Display registration form and create new User."
186
false
lingthio/Flask-User
register_view
15,486
LDU_FT/ttroy50/pyirishrail/_prune_trains
LDU_FT
[ "<BEGIN>\n## `get_all_stations`", "Returns information of all stations.\n @param<optional> station_type: ['mainline', 'suburban', 'dart']\n<END>", "<BEGIN>\n## `get_all_current_trains`", "Returns all trains that are due to start in the next 10 minutes\n @param train_type: ['mainline', 'suburban'...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prune_trains API. 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 _prune_trains API. 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...
Only return the data matching direction and / or destination. If stops_at is set this may do a number of extra HTTP requests @param trains list of trains to filter @param direction Filter by train direction. Northbound or Southbound @param destination Filter by name of the destination st...
"Only return the data matching direction and / or destination.\n If stops_at is set this may do a number of extra HTTP requests\n @param trains list of trains to filter\n @param direction Filter by train direction. Northbound or Southbound\n @param destination Filter by name of the destinati...
10
false
ttroy50/pyirishrail
_prune_trains
15,487
LDU_FT/thewca/wca-regulations-compiler/p_text
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse an input string, and return an AST\n doctype must have WCADocument as a baseclass\n<END>", "<BEGIN>\n## `_act_on_list`", "Act on the following rule :\n items : items item\n | item\n<END>", "<BEGIN>\n## `p_content`", "content : TITLE opttexts...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_text API. Each 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 p_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
text : TEXT PARBREAK | TEXT | PARBREAK
"text : TEXT PARBREAK\n | TEXT\n | PARBREAK"
36
false
thewca/wca-regulations-compiler
p_text
15,488
LDU_FT/vimalkvn/riboplot/plot_profile
LDU_FT
[ "<BEGIN>\n## `lengths_offsets`", "Split the given comma separated value to multiple integer values.\n<END>", "<BEGIN>\n## `open_pysam_file`", "Open a BAM or FASTA file with pysam (for use with \"with\" statement)\n<END>", "<BEGIN>\n## `is_bam_valid`", "Check if bam file is valid. Raises a ValueError if py...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_profile API. 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 plot_profile API. 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...
Plot read counts (in all 3 frames) and RNA coverage if provided for a single transcript.
"Plot read counts (in all 3 frames) and RNA coverage if provided for a\n single transcript."
53
false
vimalkvn/riboplot
plot_profile
15,489
LDU_FT/SylvanasSun/python-common-cache/statistic_record
LDU_FT
[ "<BEGIN>\n## `_enable_lock`", "The decorator for ensuring thread-safe when current cache instance is concurrent status.\n<END>", "<BEGIN>\n## `_enable_cleanup`", "Execute cleanup operation when the decorated function completed.\n<END>", "<BEGIN>\n## `_enable_thread_pool`", "Use thread pool for executing a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the statistic_record API. 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 statistic_record API. 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 list that each element is a dictionary of the statistic info of the cache item.
"Returns a list that each element is a dictionary of the statistic info of the cache item."
71
false
SylvanasSun/python-common-cache
statistic_record
15,490
LDU_FT/mozilla/DeepSpeech/text_to_char_array
LDU_FT
[ "<BEGIN>\n## `reduce_filename`", "r'''\n Expects something like /tmp/tmpAjry4Gdsbench/test.weights.e5.XXX.YYY.pb\n Where XXX is a variation on the model size for example\n And where YYY is a const related to the training dataset\n<END>", "<BEGIN>\n## `keep_only_digits`", "r'''\n local helper to ju...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the text_to_char_array 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 text_to_char_array API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
r""" Given a Python string ``original``, remove unsupported characters, map characters to integers and return a numpy array representing the processed string.
"r\"\"\"\n Given a Python string ``original``, remove unsupported characters, map characters\n to integers and return a numpy array representing the processed string."
98
false
mozilla/DeepSpeech
text_to_char_array
15,491
LDU_FT/TkTech/Jawa/dependencies
LDU_FT
[ "<BEGIN>\n## `_walk`", "A modified os.walk with support for maximum traversal depth.\n<END>", "<BEGIN>\n## `update`", "Add one or more ClassFile sources to the class loader.", " If a given source is a directory path, it is traversed up to the\n maximum set depth and all files under it are adde...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dependencies API. 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 dependencies API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns a set of all classes referenced by the ClassFile at `path` without reading the entire ClassFile. This is an optimization method that does not load a complete ClassFile, nor does it add the results to the ClassLoader cache. :param path: Fully-qualified path to a ClassFile.
"Returns a set of all classes referenced by the ClassFile at\n `path` without reading the entire ClassFile.\n\n This is an optimization method that does not load a complete ClassFile,\n nor does it add the results to the ClassLoader cache.\n\n :param path: Fully-qualified path to a ClassFile...
226
false
TkTech/Jawa
dependencies
15,492
LDU_FT/wbond/asn1crypto/_download
LDU_FT
[ "<BEGIN>\n## `_pep425_version`", ":return:\n A tuple of integers representing the Python version number\n<END>", "<BEGIN>\n## `_pep425_supports_manylinux`", ":return:\n A boolean indicating if the machine can use manylinux1 packages\n<END>", "<BEGIN>\n## `_pep425_get_abi`", ":return:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Downloads a URL to a directory :param url: The URL to download :param dest: The path to the directory to save the file in :return: The filesystem path to the saved file
"Downloads a URL to a directory\n\n :param url:\n The URL to download\n\n :param dest:\n The path to the directory to save the file in\n\n :return:\n The filesystem path to the saved file"
739
false
wbond/asn1crypto
_download
15,493
LDU_FT/devassistant/devassistant/switch_cursor
LDU_FT
[ "<BEGIN>\n## `is_local_subsection`", "Returns True if command dict is \"local subsection\", meaning\n that it is \"if\", \"else\" or \"for\" (not a real call, but calls\n run_section recursively.\n<END>", "<BEGIN>\n## `_process_req_txt`", "Returns a processed request or raises an exception\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the switch_cursor API. 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 switch_cursor API. 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...
Functions switches the cursor to cursor type
"Functions switches the cursor to cursor type"
399
false
devassistant/devassistant
switch_cursor
15,494
LDU_FT/squidsoup/muddle.py/delete
LDU_FT
[ "<BEGIN>\n## `valid_options`", "Checks that kwargs are valid API options\n<END>", "<BEGIN>\n## `create`", "Create a new course", " :param string fullname: The course's fullname\n :param string shortname: The course's shortname\n :param int category_id: The course's category", " ...
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 ...
Deletes a specified courses Example Usage:: >>> import muddle >>> muddle.course(10).delete()
"Deletes a specified courses\n\n Example Usage::\n\n >>> import muddle\n >>> muddle.course(10).delete()"
44
false
squidsoup/muddle.py
delete
15,495
LDU_FT/robertpeteuil/multi-cloud-control/busy_disp_off
LDU_FT
[ "<BEGIN>\n## `get_conns`", "Collect node data asynchronously using gevent lib.\n<END>", "<BEGIN>\n## `get_data`", "Refresh node data using existing connection-objects.\n<END>", "<BEGIN>\n## `busy_disp_off`", "Turn OFF busy_display to indicate completion.\n<END>", "<BEGIN>\n## `conn_ali`", "Establish c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the busy_disp_off API. 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 busy_disp_off API. 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...
Turn OFF busy_display to indicate completion.
"Turn OFF busy_display to indicate completion."
36
false
robertpeteuil/multi-cloud-control
busy_disp_off
15,496
LDU_FT/noahbenson/pimms/_uncache
LDU_FT
[ "<BEGIN>\n## `to_argv_schema`", "to_argv_schema(instructions) yields a valid tuple of CommandLineParser instructions for the\n given instructions tuple; by itself, this will only return the instructions as they are, but\n optional arguments (below) will override the values in the instructions if provide...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _uncache API. 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 _uncache API. 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...
calc._uncache(cpath, uret) is an internally called function that handles loading of cached data from disk given the afferent parameters.
"calc._uncache(cpath, uret) is an internally called function that handles loading of cached\n data from disk given the afferent parameters."
241
false
noahbenson/pimms
_uncache
15,497
LDU_FT/childsish/lhc-python/_write
LDU_FT
[ "<BEGIN>\n## `_get_sorted_iterator`", "Get the iterator over the sorted items.", " This function decides whether the items can be sorted in memory or on disk.\n :return:\n<END>", "<BEGIN>\n## `_split`", "Splits the file into several chunks.", " If the original file is too big to fit i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Writes a intermediate temporary sorted file :param lines: The lines to write. :param fname: The name of the temporary file. :return:
"Writes a intermediate temporary sorted file\n\n :param lines: The lines to write.\n :param fname: The name of the temporary file.\n :return:"
76
false
childsish/lhc-python
_write
15,498
LDU_FT/inveniosoftware/invenio-admin/load_entry_point_group
LDU_FT
[ "<BEGIN>\n## `admin_permission_factory`", "Default factory for creating a permission for an admin.", " It tries to load a :class:`invenio_access.permissions.Permission`\n instance if `invenio_access` is installed.\n Otherwise, it loads a :class:`flask_principal.Permission` instance.", " :param adm...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_entry_point_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_entry_point_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Load administration interface from entry point group. :param str entry_point_group: Name of the entry point group.
"Load administration interface from entry point group.\n\n :param str entry_point_group: Name of the entry point group."
20
false
inveniosoftware/invenio-admin
load_entry_point_group
15,499
LDU_FT/closeio/tasktiger/tasks_from_queue
LDU_FT
[ "<BEGIN>\n## `set_system_lock`", "Set system lock for the semaphore.", " Sets a system lock that will expire in timeout seconds. This\n overrides all other locks. Existing locks cannot be renewed\n and no new locks will be permitted until the system lock\n expires.", " Argum...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tasks_from_queue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tasks_from_queue API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns a tuple with the following information: * total items in the queue * tasks from the given queue in the given state, latest first. An integer may be passed in the load_executions parameter to indicate how many executions should be loaded (starting from the latest).
"Returns a tuple with the following information:\n * total items in the queue\n * tasks from the given queue in the given state, latest first.\n\n An integer may be passed in the load_executions parameter to indicate\n how many executions should be loaded (starting from the latest)."
124
false
closeio/tasktiger
tasks_from_queue
15,500
LDU_FT/mattlong/hermes/do_invite
LDU_FT
[ "<BEGIN>\n## `connect`", "Connect to the chatroom's server, sets up handlers, invites members as needed.\n<END>", "<BEGIN>\n## `is_member`", "Check if a user is a member of the chatroom\n<END>", "<BEGIN>\n## `kick_user`", "Kicks a member from the chatroom. Kicked user will receive no more messages.\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_invite API. 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 do_invite API. 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...
Invite members to the chatroom on a user's behalf
"Invite members to the chatroom on a user's behalf"
19
false
mattlong/hermes
do_invite
15,501
LDU_FT/Josef-Friedrich/phrydy/serialize
LDU_FT
[ "<BEGIN>\n## `as_string`", "Convert a value to a Unicode object for matching with a query.\n None becomes the empty string. Bytestrings are silently decoded.\n<END>", "<BEGIN>\n## `displayable_path`", "Attempts to decode a bytestring path to a unicode object for the\n purpose of displaying it to the use...
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...
Convert the external Python value to a type that is suitable for storing in a Mutagen file object.
"Convert the external Python value to a type that is suitable for\n storing in a Mutagen file object."
72
false
Josef-Friedrich/phrydy
serialize
15,502
LDU_FT/openstack/networking-arista/_supported_rule
LDU_FT
[ "<BEGIN>\n## `synchronize`", "Synchronizes Router DB from Neturon DB with EOS.", " Walks through the Neturon Db and ensures that all the routers\n created in Netuton DB match with EOS. After creating appropriate\n routers, it ensures to add interfaces as well.\n Uses idempotent prope...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _supported_rule API. 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 _supported_rule API. 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...
Checks that the rule is an IPv4 rule of a supported protocol
"Checks that the rule is an IPv4 rule of a supported protocol"
213
false
openstack/networking-arista
_supported_rule
15,503
LDU_FT/signetlabdei/sem/have_same_structure
LDU_FT
[ "<BEGIN>\n## `configure_and_build`", "Configure and build the ns-3 code.", " Args:\n show_progress (bool): whether or not to display a progress bar\n during compilation.\n optimized (bool): whether to use an optimized build. If False, use\n a standard ....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the have_same_structure 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 have_same_structure 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...
Given two dictionaries (possibly with other nested dictionaries as values), this function checks whether they have the same key structure. >>> from sem import DatabaseManager >>> d1 = {'a': 1, 'b': 2} >>> d2 = {'a': [], 'b': 3} >>> d3 = {'a': 4, 'c': 5} >>> DatabaseManag...
"Given two dictionaries (possibly with other nested dictionaries as\n values), this function checks whether they have the same key structure.\n\n >>> from sem import DatabaseManager\n >>> d1 = {'a': 1, 'b': 2}\n >>> d2 = {'a': [], 'b': 3}\n >>> d3 = {'a': 4, 'c': 5}\n >>> Datab...
148
false
signetlabdei/sem
have_same_structure
15,504
LDU_FT/scot-dev/scot/ffDTF
LDU_FT
[ "<BEGIN>\n## `ignore_patterns`", "Function that can be used as copytree() ignore parameter.", " Patterns is a sequence of glob-style patterns\n that are used to exclude files\n<END>", "<BEGIN>\n## `copytree`", "Recursively copy a directory tree using copy2().", " The destination directory must no...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ffDTF API. Each 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 ffDTF API. Each 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...
Full frequency directed transfer function. .. math:: \mathrm{ffDTF}_{ij}(f) = \\frac{H_{ij}(f)}{\sqrt{\sum_f H_{i:}(f) H_{i:}'(f)}} References ---------- A. Korzeniewska, M. Mańczak, M. Kaminski, K. J. Blinowska, S. Kasicki. Determination of information flow d...
"Full frequency directed transfer function.\n\n .. math:: \\mathrm{ffDTF}_{ij}(f) =\n \\\\frac{H_{ij}(f)}{\\sqrt{\\sum_f H_{i:}(f) H_{i:}'(f)}}\n\n References\n ----------\n A. Korzeniewska, M. Mańczak, M. Kaminski, K. J. Blinowska, S. Kasicki.\n Determination of info...
381
false
scot-dev/scot
ffDTF
15,505
LDU_FT/dwavesystems/penaltymodel/_serialize_quadratic_biases
LDU_FT
[ "<BEGIN>\n## `get_penalty_model`", "Factory function for penaltymodel_maxgap.", " Args:\n specification (penaltymodel.Specification): The specification\n for the desired penalty model.", " Returns:\n :class:`penaltymodel.PenaltyModel`: Penalty model with the given specification....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _serialize_quadratic_biases API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _serialize_quadratic_biases API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Serializes the quadratic biases. Args: quadratic (dict): a dict of the form {edge1: bias1, ...} where each edge is of the form (node1, node2). edgelist (list): a list of the form [(node1, node2), ...]. Returns: str: base 64 encoded string of little endian 8 byte floats, ...
"Serializes the quadratic biases.\n\n Args:\n quadratic (dict): a dict of the form {edge1: bias1, ...} where\n each edge is of the form (node1, node2).\n edgelist (list): a list of the form [(node1, node2), ...].\n\n Returns:\n str: base 64 encoded string of little endian 8 byte fl...
186
false
dwavesystems/penaltymodel
_serialize_quadratic_biases
15,506
LDU_FT/mozilla/socorrolib/_responsive_sleep
LDU_FT
[ "<BEGIN>\n## `klass_to_pypath`", "when a class is defined within the module that is being executed as\n main, the module name will be specified as '__main__' even though the\n module actually had its own real name. This ends up being very confusing\n to Configman as it tries to refer to a class by its p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _responsive_sleep API. 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 _responsive_sleep API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
When there is litte work to do, the queuing thread sleeps a lot. It can't sleep for too long without checking for the quit flag and/or logging about why it is sleeping. parameters: seconds - the number of seconds to sleep wait_log_interval - while sleeping, it is helpful...
"When there is litte work to do, the queuing thread sleeps a lot.\n It can't sleep for too long without checking for the quit flag and/or\n logging about why it is sleeping.\n\n parameters:\n seconds - the number of seconds to sleep\n wait_log_interval - while sleeping, it is ...
155
false
mozilla/socorrolib
_responsive_sleep
15,507
LDU_FT/limodou/ido/execute
LDU_FT
[ "<BEGIN>\n## `get_input`", "If option_value is not None, then return it. Otherwise get the result from \n input.\n<END>", "<BEGIN>\n## `run_from_argv`", "Set up any environment changes requested, then run this command.\n<END>", "<BEGIN>\n## `print_help_info`", "Returns the script's main help text, as a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. Each 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 execute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Given the command-line arguments, this figures out which subcommand is being run, creates a parser appropriate to that command, and runs it.
"Given the command-line arguments, this figures out which subcommand is\n being run, creates a parser appropriate to that command, and runs it."
14
false
limodou/ido
execute
15,508
LDU_FT/chaosim/dao/char_in
LDU_FT
[ "<BEGIN>\n## `char_on_predicate`", "return current char and step if @test succeed, where \r\n @test: a python function with one argument, which tests on one char and return True or False\r\n @test must be registered with register_function\n<END>", "<BEGIN>\n## `char_between`", "return current char an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the char_in API. Each 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 char_in API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
return current char and step if char is in string, where @test: a python function with one argument, which tests on one char and return True or False @test must be registered with register_function
"return current char and step if char is in string, where \r\n @test: a python function with one argument, which tests on one char and return True or False\r\n @test must be registered with register_function"
10
false
chaosim/dao
char_in
15,509
LDU_FT/CellProfiler/centrosome/calculate_perimeters
LDU_FT
[ "<BEGIN>\n## `fill_labeled_holes`", "Fill all background pixels that are holes inside the foreground", " A pixel is a hole inside a foreground object if", " * there is no path from the pixel to the edge AND", " * there is no path from the pixel to any other non-hole\n pixel AND", " * ther...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_perimeters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_perimeters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Count the distances between adjacent pixels in the perimeters of the labels
"Count the distances between adjacent pixels in the perimeters of the labels"
668
false
CellProfiler/centrosome
calculate_perimeters
15,510
LDU_FT/sashs/filebytes/__parseThunkData
LDU_FT
[ "<BEGIN>\n## `isSupportedContent`", "Returns if the files are valid for this filetype\n<END>", "<BEGIN>\n## `__parseKeyValueStore`", "Returns a dictionary filled with the keys and values of the key value store\n<END>", "<BEGIN>\n## `to_raw_address`", "Converts the addr from a rva to a pointer to raw data ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __parseThunkData API. 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 __parseThunkData API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Parses the data of a thunk and sets the data
"Parses the data of a thunk and sets the data"
28
false
sashs/filebytes
__parseThunkData
15,511
LDU_FT/proycon/pynlpl/process
LDU_FT
[ "<BEGIN>\n## `auc`", "Compute Area Under the Curve (AUC) using the trapezoidal rule", " This is a general fuction, given points on a curve. For computing the area\n under the ROC-curve, see :func:`auc_score`.", " Parameters\n ----------\n x : array, shape = [n]\n x coordinates.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Receives input_data in the form of a str or unicode object, passes this to the server, with proper consideration for the encodings, and returns the Frog output as a list of tuples: (word,pos,lemma,morphology), each of these is a proper unicode object unless return_unicode is set to False, in which case raw strings will...
"Receives input_data in the form of a str or unicode object, passes this to the server, with proper consideration for the encodings, and returns the Frog output as a list of tuples: (word,pos,lemma,morphology), each of these is a proper unicode object unless return_unicode is set to False, in which case raw strings wil...
533
false
proycon/pynlpl
process
15,512
LDU_FT/gc3-uzh-ch/elasticluster/temporary_dir
LDU_FT
[ "<BEGIN>\n## `to_vars_dict`", "Return local state which is relevant for the cluster setup process.\n<END>", "<BEGIN>\n## `_init_az_api`", "Initialise client objects for talking to Azure API.", " This is in a separate function so to be called by ``__init__``\n and ``__setstate__``.\n<END>", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the temporary_dir API. 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 temporary_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Make a temporary directory and make it current for the code in this context. Delete temporary directory upon exit from the context, unless ``delete=False`` is passed in the arguments. Arguments *suffix*, *prefix* and *dir* are exactly as in :func:`tempfile.mkdtemp()` (but have different defaults).
"Make a temporary directory and make it current for the code in this context.\n\n Delete temporary directory upon exit from the context, unless\n ``delete=False`` is passed in the arguments.\n\n Arguments *suffix*, *prefix* and *dir* are exactly as in\n :func:`tempfile.mkdtemp()` (but have different default...
378
false
gc3-uzh-ch/elasticluster
temporary_dir
15,513
LDU_FT/tempodb/tempodb-python/multi_series_single_value
LDU_FT
[ "<BEGIN>\n## `from_json`", "Deserialize a JSON object into this object. This method will\n check that the JSON object has the required keys and will set each\n of the keys in that JSON object as an instance attribute of this\n object.", " :param json_text: the JSON text or object to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multi_series_single_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multi_series_single_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Return a single value for multiple series. You can supply a timestamp as the ts argument, otherwise the search defaults to the current time. The direction argument can be one of "exact", "before", "after", or "nearest". The id, key, tag, and attr arguments allow you to filter ...
"Return a single value for multiple series. You can supply a\n timestamp as the ts argument, otherwise the search defaults to the\n current time.\n\n The direction argument can be one of \"exact\", \"before\", \"after\", or\n \"nearest\".\n\n The id, key, tag, and attr arguments allo...
99
false
tempodb/tempodb-python
multi_series_single_value
15,514
LDU_FT/alexhayes/django-toolkit/start_of_month
LDU_FT
[ "<BEGIN>\n## `get_anchor_href`", "Given HTML markup, return a list of hrefs for each anchor tag.\n<END>", "<BEGIN>\n## `get_anchor_contents`", "Given HTML markup, return a list of href inner html for each anchor tag.\n<END>", "<BEGIN>\n## `expire_cache`", "Expire a cache item.", " @param url: The url...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_of_month API. 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 start_of_month API. 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...
Given a date, return a date first day of the month. @param d: The date to base the return value upon. @param d_years: Specify a delta in years to apply to date. @param d_months: Specify a delta in months to apply to date. @see http://code.activestate.com/recipes/476197-first-last-day-of-the-mo...
"Given a date, return a date first day of the month.\n \n @param d: The date to base the return value upon.\n @param d_years: Specify a delta in years to apply to date.\n @param d_months: Specify a delta in months to apply to date.\n \n @see http://code.activestate.com/recipes/476197-first-last-day-of...
155
false
alexhayes/django-toolkit
start_of_month
15,515
LDU_FT/metacloud/gilt/extract
LDU_FT
[ "<BEGIN>\n## `config`", "Construct `Config` object and return a list.", " :parse filename: A string containing the path to YAML file.\n :return: list\n<END>", "<BEGIN>\n## `_get_files_config`", "Construct `FileConfig` object and return a list.", " :param src_dir: A string containing the source di...
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...
Extract the specified repository/version into the given directory and return None. :param repository: A string containing the path to the repository to be extracted. :param destination: A string containing the directory to clone the repository into. Relative to the directory ``gilt`` is running ...
"Extract the specified repository/version into the given directory and\n return None.\n\n :param repository: A string containing the path to the repository to be\n extracted.\n :param destination: A string containing the directory to clone the\n repository into. Relative to the directory ``gilt`` is r...
50
false
metacloud/gilt
extract
15,516
LDU_FT/victorlei/smop/p_case_list
LDU_FT
[ "<BEGIN>\n## `callgraph`", "Build callgraph of func_list, ignoring\n built-in functions\n<END>", "<BEGIN>\n## `recordtype`", "Returns a new class with named fields.", " @keyword field_defaults: A mapping from (a subset of) field names to default \n values.\n @keyword default: If provided, th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_case_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_case_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
case_list : | CASE expr sep stmt_list_opt case_list | CASE expr error stmt_list_opt case_list | OTHERWISE stmt_list
"case_list :\n | CASE expr sep stmt_list_opt case_list\n | CASE expr error stmt_list_opt case_list\n | OTHERWISE stmt_list"
69
false
victorlei/smop
p_case_list
15,517
LDU_FT/SoCo/SoCo/seek
LDU_FT
[ "<BEGIN>\n## `_post`", "Try 3 times to request the content.", " :param headers: The HTTP headers\n :type headers: dict\n :param body: The body of the HTTP post\n :type body: str\n :param retries: The number of times to retry before giving up\n :type retries: int\n :param timeout: The time t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the seek API. Each 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 seek API. Each 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...
Seek to a given timestamp in the current track, specified in the format of HH:MM:SS or H:MM:SS. Raises: ValueError: if the given timestamp is invalid.
"Seek to a given timestamp in the current track, specified in the\n format of HH:MM:SS or H:MM:SS.\n\n Raises:\n ValueError: if the given timestamp is invalid."
663
false
SoCo/SoCo
seek
15,518
LDU_FT/ThomasChiroux/attowiki/view_meta_index
LDU_FT
[ "<BEGIN>\n## `_delta_dir`", "returns the relative path of the current directory to the git\n repository.\n This path will be added the 'filename' path to find the file.\n It current_dir is the git root, this function returns an empty string.", " Keyword Arguments:\n <none>", " Returns:\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view_meta_index API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view_meta_index API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
List all the available .rst files in the directory. view_meta_index is called by the 'meta' url : /__index__
"List all the available .rst files in the directory.\n\n view_meta_index is called by the 'meta' url : /__index__"
102
false
ThomasChiroux/attowiki
view_meta_index
15,519
LDU_FT/SteveMcGrath/pySecurityCenter/plugin_counts
LDU_FT
[ "<BEGIN>\n## `gen_csv`", "csv SecurityCenterObj, AssetListName, CSVFields, EmailAddress\n<END>", "<BEGIN>\n## `login`", "Logs the user into SecurityCenter and stores the needed token and cookies.\n<END>", "<BEGIN>\n## `analysis`", "Analysis\n A thin wrapper to handle vuln/event/mobile/log analysis ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plugin_counts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plugin_counts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
plugin_counts Returns the plugin counts as dictionary with the last updated info if its available.
"plugin_counts\n Returns the plugin counts as dictionary with the last updated info if\n its available."
120
false
SteveMcGrath/pySecurityCenter
plugin_counts
15,520
LDU_FT/TheHive-Project/Cortex-Analyzers/threatlist
LDU_FT
[ "<BEGIN>\n## `auth_string`", "Authenticate based on username and token which is base64-encoded\n<END>", "<BEGIN>\n## `api_related`", "Find related objects through SoltraEdge API\n<END>", "<BEGIN>\n## `tlp_classifiers`", "Classifier between Cortex and Soltra.\n Soltra uses name-TLP, and Cortex \"val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the threatlist API. 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 threatlist API. 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...
Return threatlist information we have for the given IPv{4,6} address with history of changes
"Return threatlist information we have for the given IPv{4,6} address with history of changes"
328
false
TheHive-Project/Cortex-Analyzers
threatlist
15,521
LDU_FT/cortical-io/retina-sdk.py/getFingerprint
LDU_FT
[ "<BEGIN>\n## `getTerms`", "Get term objects\n Args:\n term, str: A term in the retina (optional)\n getFingerprint, bool: Configure if the fingerprint should be returned as part of the results (optional)\n startIndex, int: The start-index for pagination (optional)\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getFingerprint API. 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 getFingerprint API. 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...
Get the semantic fingerprint of the input text. Args: text, str: The text to be evaluated Returns: list of str: the positions of the semantic fingerprint Raises: CorticalioException: if the request was not successful
"Get the semantic fingerprint of the input text.\n Args:\n text, str: The text to be evaluated\n Returns:\n list of str: the positions of the semantic fingerprint\n Raises:\n CorticalioException: if the request was not successful"
64
false
cortical-io/retina-sdk.py
getFingerprint
15,522
LDU_FT/pyapi-gitlab/pyapi-gitlab/createbranch
LDU_FT
[ "<BEGIN>\n## `login`", "Logs the user in and setups the header with the private token", " :param email: Gitlab user Email\n :param user: Gitlab username\n :param password: Gitlab user password\n :return: True if login successful\n :raise: HttpError\n :raise: ValueError\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createbranch API. 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 createbranch API. 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...
Create branch from commit SHA or existing branch :param project_id: The ID of a project :param branch: The name of the branch :param ref: Create branch from commit SHA or existing branch :return: True if success, False if not
"Create branch from commit SHA or existing branch\n\n :param project_id: The ID of a project\n :param branch: The name of the branch\n :param ref: Create branch from commit SHA or existing branch\n :return: True if success, False if not"
239
false
pyapi-gitlab/pyapi-gitlab
createbranch
15,523
LDU_FT/MozillaSecurity/laniakea/filter
LDU_FT
[ "<BEGIN>\n## `list_tags`", "List all used macros within a UserData script.", " :param userdata: The UserData script.\n :type userdata: str\n<END>", "<BEGIN>\n## `handle_tags`", "Insert macro values or auto export variables in UserData scripts.", " :param userdata: The UserData script....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Filter a device by criterias on the root level of the dictionary.
"Filter a device by criterias on the root level of the dictionary."
136
false
MozillaSecurity/laniakea
filter
15,524
LDU_FT/widdowquinn/pyADHoRe/get_multiplicon_seeds
LDU_FT
[ "<BEGIN>\n## `read`", "Returns an IadhoreData object, constructed from the passed\n i-ADHoRe multiplicon and segments output.", " - mfile (str), location of multiplicons.txt\n - sfile (str), location of segments.txt\n<END>", "<BEGIN>\n## `_parse_multiplicons`", "Read the multiplicon out...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_multiplicon_seeds 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_multiplicon_seeds API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return a generator of the IDs of multiplicons that are initial seeding 'pairs' in level 2 multiplicons. Arguments: o redundant - if true, report redundant multiplicons
"Return a generator of the IDs of multiplicons that are initial\n seeding 'pairs' in level 2 multiplicons.\n\n Arguments:\n\n o redundant - if true, report redundant multiplicons"
37
false
widdowquinn/pyADHoRe
get_multiplicon_seeds
15,525
LDU_FT/s4int/robotframework-KafkaLibrary/send
LDU_FT
[ "<BEGIN>\n## `connect_producer`", "A Kafka client that publishes records to the Kafka cluster.", " Keyword Arguments:\n - ``bootstrap_servers``: 'host[:port]' string (or list of 'host[:port]'\n strings) that the producer should contact to bootstrap initial\n cluster metadata. Thi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Publish a message to a topic. - ``topic`` (str): topic where the message will be published - ``value``: message value. Must be type bytes, or be serializable to bytes via configured value_serializer. If value is None, key is required and message acts as a `delete`. - ``timeout`` ...
"Publish a message to a topic.\n\n - ``topic`` (str): topic where the message will be published\n - ``value``: message value. Must be type bytes, or be serializable to bytes via configured value_serializer.\n If value is None, key is required and message acts as a `delete`.\n - ``timeout``...
42
false
s4int/robotframework-KafkaLibrary
send
15,526
LDU_FT/nteract/papermill/parameterize_path
LDU_FT
[ "<BEGIN>\n## `papermill`", "This utility executes a single notebook on a container.", " Papermill takes a source notebook, applies parameters to the source\n notebook, executes the notebook with the specified kernel, and saves the\n output in the destination notebook.\n<END>", "<BEGIN>\n## `catch_nb_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parameterize_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...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parameterize_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...
Format a path with a provided dictionary of parameters Parameters ---------- path : string Path with optional parameters, as a python format string parameters : dict Arbitrary keyword arguments to fill in the path
"Format a path with a provided dictionary of parameters\n\n Parameters\n ----------\n path : string\n Path with optional parameters, as a python format string\n parameters : dict\n Arbitrary keyword arguments to fill in the path"
99
false
nteract/papermill
parameterize_path
15,527
LDU_FT/hickeroar/simplebayes/score
LDU_FT
[ "<BEGIN>\n## `train_token`", "Trains a particular token (increases the weight/count of it)", " :param word: the token we're going to train\n :type word: str\n :param count: the number of occurances in the sample\n :type count: int\n<END>", "<BEGIN>\n## `untrain_token`", "Untrains...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the score API. Each 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 score API. Each 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...
Scores a sample of text :param text: sample text to score :type text: str :return: dict of scores per category :rtype: dict
"Scores a sample of text\n\n :param text: sample text to score\n :type text: str\n :return: dict of scores per category\n :rtype: dict"
40
false
hickeroar/simplebayes
score
15,528
LDU_FT/4degrees/clique/remove
LDU_FT
[ "<BEGIN>\n## `assemble`", "Assemble items in *iterable* into discreet collections.", " *patterns* may be specified as a list of regular expressions to limit\n the returned collection possibilities. Use this when interested in\n collections that only match specific patterns. Each pattern must contain\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove API. Each 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 remove API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Remove *item* from collection. raise :py:class:`~clique.error.CollectionError` if *item* cannot be removed from the collection.
"Remove *item* from collection.\n\n raise :py:class:`~clique.error.CollectionError` if *item* cannot be\n removed from the collection."
51
false
4degrees/clique
remove
15,529
LDU_FT/ph4r05/monero-serialize/container_val
LDU_FT
[ "<BEGIN>\n## `load_uint`", "Constant-width integer serialization\n :param reader:\n :param width:\n :return:\n<END>", "<BEGIN>\n## `dump_uint`", "Constant-width integer serialization\n :param writer:\n :param n:\n :param width:\n :return:\n<END>", "<BEGIN>\n## `load_uvarint_b`", "Vari...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the container_val API. 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 container_val API. 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...
Single cont value :param elem: :param container_type: :param params: :param field_archiver: :return:
"Single cont value\n :param elem:\n :param container_type:\n :param params:\n :param field_archiver:\n :return:"
273
false
ph4r05/monero-serialize
container_val
15,530
LDU_FT/has2k1/plydata/select
LDU_FT
[ "<BEGIN>\n## `set_option`", "Set plydata option", " Parameters\n ----------\n name : str\n Name of the option\n value : object\n New value of the option", " Returns\n -------\n old : object\n Old value of the option", " See also\n --------\n :class:`options...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API. Each 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 select API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Return selected columns for the select verb Parameters ---------- verb : object verb with the column selection attributes: - names - startswith - endswith - contains - matches
"Return selected columns for the select verb\n\n Parameters\n ----------\n verb : object\n verb with the column selection attributes:\n\n - names\n - startswith\n - endswith\n - contains\n - matches"
119
false
has2k1/plydata
select
15,531
LDU_FT/koszullab/metaTOR/distance_to_contact
LDU_FT
[ "<BEGIN>\n## `download_and_install_dependencies`", "Setup URLS and download dependencies for Python 3.6+\n<END>", "<BEGIN>\n## `main`", "This module just acts as an entry point to the bulk of the pipeline.\n All argument parsing is delegated to metator.sh\n<END>", "<BEGIN>\n## `rename_genome`", "Rename...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distance_to_contact API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the distance_to_contact API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Compute contact matrix from input distance matrix. Distance values of zeroes are given the largest contact count otherwise inferred non-zero distance values.
"Compute contact matrix from input distance matrix. Distance values of\n zeroes are given the largest contact count otherwise inferred non-zero\n distance values."
180
false
koszullab/metaTOR
distance_to_contact
15,532
LDU_FT/ababic/django-cogwheels/reset_caches
LDU_FT
[ "<BEGIN>\n## `_set_prefix`", "Called by ``__init()__`` to set the object's ``_prefix`` attribute,\n which determines the prefix app users must use when overriding\n settings associated with this helper. For example:", " If the ``_prefix`` attribute were to be set to \"YOURAPP\", and there\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset_caches API. 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 reset_caches API. 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...
Called by ``__init__()`` to initialise the caches for a helper instance. It is also called by Django's ``setting_changed`` signal to clear the caches when changes to settings are made. Although it requires slightly more memory, separate dictionaries are used for raw values, models, modu...
"Called by ``__init__()`` to initialise the caches for a helper instance.\n It is also called by Django's ``setting_changed`` signal to clear the\n caches when changes to settings are made.\n\n Although it requires slightly more memory, separate dictionaries are\n used for raw values, models...
55
false
ababic/django-cogwheels
reset_caches
15,533
LDU_FT/CI-WATER/mapkit/setCustomColorRamp
LDU_FT
[ "<BEGIN>\n## `getAsKmlGrid`", "Creates a KML file with each cell in the raster represented by a polygon. The result is a vector grid representation of the raster.\n Note that pixels with values between -1 and 0 are omitted as no data values. Also note that this method only works on the first band.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setCustomColorRamp 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 setCustomColorRamp 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...
Accepts a list of RGB tuples and interpolates between them to create a custom color ramp. Returns the color ramp as a list of RGB tuples.
"Accepts a list of RGB tuples and interpolates between them to create a custom color ramp.\n Returns the color ramp as a list of RGB tuples."
62
false
CI-WATER/mapkit
setCustomColorRamp
15,534
LDU_FT/lordmauve/lepton/bind_keys
LDU_FT
[ "<BEGIN>\n## `run_ahead`", "Run the particle system for the specified time frame at the\n specified framerate to move time forward as quickly as possible.\n Useful for \"warming up\" the particle system to reach a steady-state\n before anything is drawn or to simply \"skip ahead\" in time.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind_keys API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind_keys API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Configure name map: My goal here is to associate a named object with a specific function
"Configure name map: My goal here is to associate a named object\r\n with a specific function"
35
false
lordmauve/lepton
bind_keys
15,535
LDU_FT/svenkreiss/pysparkling/saveAsTextFiles
LDU_FT
[ "<BEGIN>\n## `get_fs`", "Find the file system implementation for this path.\n<END>", "<BEGIN>\n## `awaitTermination`", "Wait for context to stop.", " :param float timeout: in seconds\n<END>", "<BEGIN>\n## `binaryRecordsStream`", "Monitor a directory and process all binary files.", " File...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the saveAsTextFiles API. 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 saveAsTextFiles API. 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...
Save every RDD as a text file (or sets of text files). :param string prefix: path prefix of the output :param string suffix: file suffix (e.g. '.gz' to enable compression) Example: >>> from backports import tempfile >>> import os, pysparkling >>> sc = pysparkling.Cont...
"Save every RDD as a text file (or sets of text files).\n\n :param string prefix: path prefix of the output\n :param string suffix: file suffix (e.g. '.gz' to enable compression)\n\n\n Example:\n\n >>> from backports import tempfile\n >>> import os, pysparkling\n >>> sc = pyspa...
109
false
svenkreiss/pysparkling
saveAsTextFiles
15,536
LDU_FT/seb-m/pyinotify/process_default
LDU_FT
[ "<BEGIN>\n## `compatibility_mode`", "Use this function to turn on the compatibility mode. The compatibility\n mode is used to improve compatibility with Pyinotify 0.7.1 (or older)\n programs. The compatibility mode provides additional variables 'is_dir',\n 'event_name', 'EventsCodes.IN_*' and 'EventsCode...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_default API. 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 process_default API. 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...
Commons handling for the followings events: IN_ACCESS, IN_MODIFY, IN_ATTRIB, IN_CLOSE_WRITE, IN_CLOSE_NOWRITE, IN_OPEN, IN_DELETE, IN_DELETE_SELF, IN_UNMOUNT.
"Commons handling for the followings events:\n\n IN_ACCESS, IN_MODIFY, IN_ATTRIB, IN_CLOSE_WRITE, IN_CLOSE_NOWRITE,\n IN_OPEN, IN_DELETE, IN_DELETE_SELF, IN_UNMOUNT."
107
false
seb-m/pyinotify
process_default
15,537
LDU_FT/googleapis/dialogflow-python-client-v2/import_agent
LDU_FT
[ "<BEGIN>\n## `from_service_account_file`", "Creates an instance of this client using the provided credentials\n file.", " Args:\n filename (str): The path to the service account private key json\n file.\n args: Additional arguments to pass to the constructor.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_agent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_agent API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest. Operation <response: ``google.protobuf.Empty``, metadata...
"Imports the specified agent from a ZIP file.\n\n Uploads new intents and entity types without deleting the existing ones.\n Intents and entity types with the same name are replaced with the new\n versions from ImportAgentRequest.\n\n Operation <response: ``google.protobuf.Empty``,\n ...
280
false
googleapis/dialogflow-python-client-v2
import_agent
15,538
LDU_FT/vertexproject/synapse/nom
LDU_FT
[ "<BEGIN>\n## `openDatFile`", "Open a file-like object using a pkg relative path.", " Example:", " fd = openDatFile('foopkg.barpkg/wootwoot.bin')\n<END>", "<BEGIN>\n## `scrape`", "Scrape types from a blob of text and return node tuples.", " Args:\n text (str): Text to scrape.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nom API. Each 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 nom API. Each 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...
Consume chars in set from the string and return (subtxt,offset). Example: text = "foo(bar)" chars = set('abcdefghijklmnopqrstuvwxyz') name,off = nom(text,0,chars)
"Consume chars in set from the string and return (subtxt,offset).\n\n Example:\n\n text = \"foo(bar)\"\n chars = set('abcdefghijklmnopqrstuvwxyz')\n\n name,off = nom(text,0,chars)"
1,135
true
vertexproject/synapse
nom
15,539
LDU_FT/cmheisel/basecampreporting/create_message
LDU_FT
[ "<BEGIN>\n## `people`", "Dictionary of people on the project, keyed by id\n<END>", "<BEGIN>\n## `comments`", "Looks through the last 3 messages and returns those comments.\n<END>", "<BEGIN>\n## `people_per_project`", "This will return all of the people in the given company that can\n access the giv...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_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 ex...
Creates a new message, optionally sending notifications to a selected list of people. Note that you can also upload files using this function, but you need to upload the files first and then attach them. See the description at the top of this document for more information.
"Creates a new message, optionally sending notifications to a selected\n list of people. Note that you can also upload files using this\n function, but you need to upload the files first and then attach them.\n See the description at the top of this document for more information."
44
false
cmheisel/basecampreporting
create_message
15,540
LDU_FT/smarie/python-autoclass/autoprops_decorate
LDU_FT
[ "<BEGIN>\n## `autohash`", "A decorator to makes objects of the class implement __hash__, so that they can be used correctly for example in\n sets.", " Parameters allow to customize the list of attributes that are taken into account in the hash.", " :param include: a tuple of explicit attribute names ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autoprops_decorate 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 autoprops_decorate 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...
To automatically generate all properties getters and setters from the class constructor manually, without using @autoprops decorator. * if a @contract annotation exist on the __init__ method, mentioning a contract for a given parameter, the parameter contract will be added on the generated setter method ...
"To automatically generate all properties getters and setters from the class constructor manually, without using\n @autoprops decorator.\n * if a @contract annotation exist on the __init__ method, mentioning a contract for a given parameter, the\n parameter contract will be added on the generated setter method...
94
false
smarie/python-autoclass
autoprops_decorate
15,541
LDU_FT/pycontribs/jira/delete
LDU_FT
[ "<BEGIN>\n## `translate_resource_args`", "Decorator that converts Issue and Project resources to their keys when used as arguments.\n<END>", "<BEGIN>\n## `_check_update_`", "Check if the current version of the library is outdated.\n<END>", "<BEGIN>\n## `_fetch_pages`", "Fetch pages.", " :param it...
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 this resource from the server, passing the specified query parameters. If this resource doesn't support ``DELETE``, a :py:exc:`.JIRAError` will be raised; subclasses that specialize this method will only raise errors in case of user error. :param params: Parameters for the delet...
"Delete this resource from the server, passing the specified query parameters.\n\n If this resource doesn't support ``DELETE``, a :py:exc:`.JIRAError`\n will be raised; subclasses that specialize this method will only raise errors\n in case of user error.\n\n :param params: Parameters for th...
468
false
pycontribs/jira
delete
15,542
LDU_FT/versae/qbe/get_results
LDU_FT
[ "<BEGIN>\n## `qbe_tree`", "Given a graph, nodes to explore and an optinal root, do a breadth-first\n search in order to return the tree.\n<END>", "<BEGIN>\n## `combine`", "Create a matrix in wich each row is a tuple containing one of solutions or\n solution k-esima.\n<END>", "<BEGIN>\n## `pickle_encod...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_results API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_results API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Fetch all results after perform SQL query and
"Fetch all results after perform SQL query and"
10
false
versae/qbe
get_results
15,543
LDU_FT/seperman/deepdiff/__skip_this
LDU_FT
[ "<BEGIN>\n## `__report_result`", "Add a detected change to the reference-style result dictionary.\n report_type will be added to level.\n (We'll create the text-style report from there later.)\n :param report_type: A well defined string key describing the type of change.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __skip_this API. 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 __skip_this API. 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...
Check whether this comparison should be skipped because one of the objects to compare meets exclusion criteria. :rtype: bool
"Check whether this comparison should be skipped because one of the objects to compare meets exclusion criteria.\n :rtype: bool"
46
false
seperman/deepdiff
__skip_this
15,544
LDU_FT/studionow/pybrightcove/find_by_ids
LDU_FT
[ "<BEGIN>\n## `has_option`", "Wrapper around ConfigParser's ``has_option`` method.\n<END>", "<BEGIN>\n## `get`", "Wrapper around ConfigParser's ``get`` method.\n<END>", "<BEGIN>\n## `item_lister`", "A generator function for listing Video and Playlist objects.\n<END>", "<BEGIN>\n## `get_manifest`", "Con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_by_ids API. 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 find_by_ids API. 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...
List all videos identified by a list of Brightcove video ids
"List all videos identified by a list of Brightcove video ids"
67
false
studionow/pybrightcove
find_by_ids
15,545
LDU_FT/pybluez/pybluez/set_l2cap_mtu
LDU_FT
[ "<BEGIN>\n## `btaddrtochars`", "Takes a bluetooth address and returns a tuple with the corresponding\n char values. This can then be used to construct a\n IOBluetoothDevice object, providing the signature of the withAddress:\n selector has been set (as in _setpyobjcsignatures() in this module).", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_l2cap_mtu API. 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_l2cap_mtu API. 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...
set_l2cap_mtu (sock, mtu) Adjusts the MTU for the specified L2CAP socket. This method needs to be invoked on both sides of the connection for it to work! The default mtu that all L2CAP connections start with is 672 bytes. mtu must be between 48 and 65535, inclusive.
"set_l2cap_mtu (sock, mtu)\n\n Adjusts the MTU for the specified L2CAP socket. This method needs to be\n invoked on both sides of the connection for it to work! The default mtu\n that all L2CAP connections start with is 672 bytes.\n\n mtu must be between 48 and 65535, inclusive."
80
false
pybluez/pybluez
set_l2cap_mtu
15,546
LDU_FT/requests/requests-kerberos/_negotiate_value
LDU_FT
[ "<BEGIN>\n## `get_version`", "Simple function to extract the current version using regular expressions.\n<END>", "<BEGIN>\n## `_negotiate_value`", "Extracts the gssapi authentication token from the appropriate header\n<END>", "<BEGIN>\n## `_get_channel_bindings_application_data`", "https://tools.ietf.org/...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _negotiate_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 _negotiate_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 ...
Extracts the gssapi authentication token from the appropriate header
"Extracts the gssapi authentication token from the appropriate header"
23
false
requests/requests-kerberos
_negotiate_value
15,547
LDU_FT/oanda/v20-python/market_if_touched
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 market_if_touched API. 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 market_if_touched API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Shortcut to create a MarketIfTouched Order in an Account Args: accountID : The ID of the Account kwargs : The arguments to create a MarketIfTouchedOrderRequest Returns: v20.response.Response containing the results from submitting the request
"Shortcut to create a MarketIfTouched Order in an Account\n\n Args:\n accountID : The ID of the Account\n kwargs : The arguments to create a MarketIfTouchedOrderRequest\n\n Returns:\n v20.response.Response containing the results from submitting\n the request"
225
false
oanda/v20-python
market_if_touched
15,548
LDU_FT/KelSolaar/Manager/activate
LDU_FT
[ "<BEGIN>\n## `name`", "Setter for **self.__name** attribute.", " :param value: Attribute value.\n :type value: unicode\n<END>", "<BEGIN>\n## `activated`", "Setter for **self.__activated** attribute.", " :param value: Attribute value.\n :type value: bool\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the activate API. 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 activate API. 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...
Sets Component activation state. :return: Method success. :rtype: bool
"Sets Component activation state.\n\n :return: Method success.\n :rtype: bool"
133
false
KelSolaar/Manager
activate
15,549
LDU_FT/ska-sa/montblanc/_initialise
LDU_FT
[ "<BEGIN>\n## `encode`", "Produces a numpy array of integers which encode\n the supplied cube dimensions.\n<END>", "<BEGIN>\n## `decode`", "Produce a list of dictionaries for each dimension in this transcoder\n<END>", "<BEGIN>\n## `dl_cub`", "Download cub archive from cub_url and store it in cub_arc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _initialise API. 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 _initialise API. 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...
Initialise the object by generating appropriate filenames, opening associated file handles and inspecting the FITS axes of these files.
"Initialise the object by generating appropriate filenames,\n opening associated file handles and inspecting the FITS axes\n of these files."
197
false
ska-sa/montblanc
_initialise
15,550
LDU_FT/pesaply/sarafu/delete
LDU_FT
[ "<BEGIN>\n## `get_account_details`", "This method can be used in a number of scenarios:\n 1. When it is necessary to very account information\n 2. When there's a need to filter transactions by an account id\n 3. When account details (e.g. name of account) are needed\n<END>", "<BEGIN>\n## `g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Delete the customer profile remotely and locally
"Delete the customer profile remotely and locally"
30
false
pesaply/sarafu
delete
15,551
LDU_FT/hitchtest/hitchserve/connect_to_ipykernel
LDU_FT
[ "<BEGIN>\n## `run`", "Run subcommand.", " Args:\n shell (Optional[bool]): Run command using shell (default False)\n ignore_errors (Optional[bool]): If the command has a non-zero return code, don't raise an exception (default False)\n stdin (Optional[bool]): Plug input fro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_to_ipykernel 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 connect_to_ipykernel API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Connect to an IPython kernel as soon as its message is logged.
"Connect to an IPython kernel as soon as its message is logged."
35
false
hitchtest/hitchserve
connect_to_ipykernel
15,552
LDU_FT/nkavaldj/myhdl_lib/hs_join
LDU_FT
[ "<BEGIN>\n## `convert_ram_sp_ar`", "Convert RAM: Single-Port, Asynchronous Read\n<END>", "<BEGIN>\n## `convert_ram_sdp_rf`", "Convert RAM: Simple-Dual-Port, Read-First\n<END>", "<BEGIN>\n## `convert_ram_sdp_wf`", "Convert RAM: Simple-Dual-Port, Write-First\n<END>", "<BEGIN>\n## `convert_ram_sdp_ar`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hs_join API. Each 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 hs_join API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
[Many-to-one] Synchronizes (joins) a list of input handshake interfaces: output is ready when ALL inputs are ready ls_hsi - (i) list of input handshake tuples (ready, valid) hso - (o) an output handshake tuple (ready, valid)
"[Many-to-one] Synchronizes (joins) a list of input handshake interfaces: output is ready when ALL inputs are ready\n ls_hsi - (i) list of input handshake tuples (ready, valid)\n hso - (o) an output handshake tuple (ready, valid)"
111
false
nkavaldj/myhdl_lib
hs_join
15,553
LDU_FT/CivicSpleen/ambry/init_log_rate
LDU_FT
[ "<BEGIN>\n## `_or_join`", "Joins terms using OR operator.", " Args:\n terms (list): terms to join", " Examples:\n self._or_join(['term1', 'term2']) -> 'term1 | term2'", " Returns:\n str\n<END>", "<BEGIN>\n## `search`", "Finds datasets by search phras...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_log_rate API. 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 init_log_rate API. 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...
Initialze the log_rate function. Returnas a partial function to call for each event. If N is not specified but print_rate is specified, the initial N is set to 100, and after the first message, the N value is adjusted to emit print_rate messages per second
"Initialze the log_rate function. Returnas a partial function to call for\n each event.\n\n If N is not specified but print_rate is specified, the initial N is\n set to 100, and after the first message, the N value is adjusted to\n emit print_rate messages per second"
1,165
true
CivicSpleen/ambry
init_log_rate
15,554
LDU_FT/letuananh/chirptext/read
LDU_FT
[ "<BEGIN>\n## `download`", "Download a file at $url and save it to $path\n<END>", "<BEGIN>\n## `parse`", "Use mecab-python3 by default to parse JP text. Fall back to mecab binary app if needed\n<END>", "<BEGIN>\n## `flex_update_obj`", "Pull data from source to target.\n Target's __dict__ (object data) w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each 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 read API. Each 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...
Read tagged doc from mutliple files (sents, tokens, concepts, links, tags)
"Read tagged doc from mutliple files (sents, tokens, concepts, links, tags)"
80
false
letuananh/chirptext
read
15,555
LDU_FT/jahuth/litus/_absolute_spike_times_from_labels
LDU_FT
[ "<BEGIN>\n## `create_timing_signals`", "Creates a linear list/np.array of timestamps and a list of integers, specifying the sequence \n and number of levels.", " The levels are first rotated on the first dimension, then the second and so on. If the \n last dimension is -1, the number of lev...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _absolute_spike_times_from_labels 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 _absolute_spike_times_from_labels API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its ...
internal function that gives absolute_spike_times_from_labels, as well as the factor (maximum range)
"internal function that gives absolute_spike_times_from_labels, as well as \n the factor (maximum range)"
190
false
jahuth/litus
_absolute_spike_times_from_labels
15,556
LDU_FT/hannes-brt/hebel/cudaMemcpy_htod
LDU_FT
[ "<BEGIN>\n## `parameters`", "A property that returns all of the model's parameters.\n<END>", "<BEGIN>\n## `parameters`", "Used to set all of the model's parameters to new values.", " **Parameters:**", " value : array_like\n New values for the model parameters. Must be of length\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cudaMemcpy_htod API. 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 cudaMemcpy_htod API. 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...
Copy memory from host to device. Copy data from host memory to device memory. Parameters ---------- dst : ctypes pointer Device memory pointer. src : ctypes pointer Host memory pointer. count : int Number of bytes to copy.
"Copy memory from host to device.\n\n Copy data from host memory to device memory.\n\n Parameters\n ----------\n dst : ctypes pointer\n Device memory pointer.\n src : ctypes pointer\n Host memory pointer.\n count : int\n Number of bytes to copy."
372
false
hannes-brt/hebel
cudaMemcpy_htod
15,557
LDU_FT/mixmastamyk/console/hidden_cursor
LDU_FT
[ "<BEGIN>\n## `clear_line`", "Clear the current line.", " Arguments:", " mode: | 0 | 'forward' | 'right' - Clear cursor to end of line.\n | 1 | 'backward' | 'left' - Clear cursor to beginning of line.\n | 2 | 'full' - Clear entire line.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hidden_cursor API. 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 hidden_cursor API. 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...
Context Manager that hides the cursor and restores it on exit. :: with screen.hidden_cursor(): print('Clandestine activity…')
"Context Manager that hides the cursor and restores it on exit.\n\n ::\n\n with screen.hidden_cursor():\n print('Clandestine activity…')"
158
false
mixmastamyk/console
hidden_cursor
15,558
LDU_FT/mpdavis/python-jose/_der_to_raw
LDU_FT
[ "<BEGIN>\n## `rsa_private_key_pkcs8_to_pkcs1`", "Convert a PKCS8-encoded RSA private key to PKCS1.\n<END>", "<BEGIN>\n## `rsa_private_key_pkcs1_to_pkcs8`", "Convert a PKCS1-encoded RSA private key to PKCS8.\n<END>", "<BEGIN>\n## `rsa_public_key_pkcs1_to_pkcs8`", "Convert a PKCS1-encoded RSA private key to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _der_to_raw API. 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 _der_to_raw API. 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...
Convert signature from DER encoding to RAW encoding.
"Convert signature from DER encoding to RAW encoding."
85
false
mpdavis/python-jose
_der_to_raw
15,559
LDU_FT/mokelly/wabbit_wappa/save_model
LDU_FT
[ "<BEGIN>\n## `make_command_line`", "Construct a command line for VW, with each named argument corresponding\n to a VW option.\n Single character keys are mapped to single-dash options,\n e.g. 'b=20' yields '-b 20',\n while multiple character keys map to double-dash options:\n 'quiet=True' yield...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Pass a "command example" to the VW subprocess requesting that the current model be serialized to model_filename immediately.
"Pass a \"command example\" to the VW subprocess requesting\n that the current model be serialized to model_filename immediately."
39
false
mokelly/wabbit_wappa
save_model
15,560
LDU_FT/oasiswork/zimsoap/delete_folders
LDU_FT
[ "<BEGIN>\n## `from_dict`", "Given a dict in python-zimbra format or XML, generate\n a Python object.\n<END>", "<BEGIN>\n## `property`", "Returns a property value", " :param: default will return that value if the property is not found,\n else, will raise a KeyError.\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_folders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_folders API. 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...
:param folder_ids: list of ids :param path: list of folder's paths
":param folder_ids: list of ids\n :param path: list of folder's paths"
242
false
oasiswork/zimsoap
delete_folders
15,561
LDU_FT/chaoss/grimoirelab-manuscripts/create
LDU_FT
[ "<BEGIN>\n## `overview`", "Compute metrics in the overview section for enriched github issues\n indexes.\n Returns a dictionary. Each key in the dictionary is the name of\n a metric, the value is the value of that metric. Value can be\n a complex object (eg, a time series).", " :param index: inde...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Generate the data and figs for the report and fill the LaTeX templates with them to generate a PDF file with the report. :return:
"Generate the data and figs for the report and fill the LaTeX templates with them\n to generate a PDF file with the report.\n\n :return:"
271
false
chaoss/grimoirelab-manuscripts
create
15,562
LDU_FT/CityOfZion/neo-boa/to_s
LDU_FT
[ "<BEGIN>\n## `main`", "Return the default method in this module.", " :return: the default method in this module\n :rtype: ``boa.code.method.Method``\n<END>", "<BEGIN>\n## `orderered_methods`", "An ordered list of methods", " :return: A list of ordered methods is this module\n :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_s API. Each 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 to_s API. Each 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...
this method is used to print the output of the executable in a readable/ tokenized format. sample usage: >>> from boa.compiler import Compiler >>> module = Compiler.load('./boa/tests/src/LambdaTest.py').default >>> module.write() >>> print(module.to_s()) 12 3 ...
"this method is used to print the output of the executable in a readable/ tokenized format.\n sample usage:\n\n >>> from boa.compiler import Compiler\n >>> module = Compiler.load('./boa/tests/src/LambdaTest.py').default\n >>> module.write()\n >>> print(module.to_s())\n 12 ...
36
false
CityOfZion/neo-boa
to_s
15,563
LDU_FT/willkg/socorro-siggen/main
LDU_FT
[ "<BEGIN>\n## `_get_file_content`", "Return a tuple, each value being a line of the source file.", " Remove empty lines and comments (lines starting with a '#').\n<END>", "<BEGIN>\n## `main`", "Takes crash data via stdin and generates a Socorro signature\n<END>", "<BEGIN>\n## `convert_to_crash_data`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Generates documentation for signature generation pipeline
"Generates documentation for signature generation pipeline"
66
false
willkg/socorro-siggen
main
15,564
LDU_FT/mozilla-releng/signtool/cygpath
LDU_FT
[ "<BEGIN>\n## `uploadfile`", "Uploads file (given by `filename`) to server at `baseurl`.", " `sesson_key` and `nonce` are string values that get passed as POST\n parameters.\n<END>", "<BEGIN>\n## `is_authenticode_signed`", "Returns True if the file is signed with authenticode\n<END>", "<BEGIN>\n## `p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cygpath API. Each 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 cygpath API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Convert a cygwin path into a windows style path
"Convert a cygwin path into a windows style path"
34
false
mozilla-releng/signtool
cygpath
15,565
LDU_FT/QuantEcon/QuantEcon.py/_generate_a_indptr
LDU_FT
[ "<BEGIN>\n## `backward_induction`", "r\"\"\"\n Solve by backward induction a :math:`T`-period finite horizon\n discrete dynamic program with stationary reward and transition\n probability functions :math:`r` and :math:`q` and discount factor\n :math:`\\beta \\in [0, 1]`.", " The optimal value fun...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generate_a_indptr 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 _generate_a_indptr 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...
Generate `a_indptr`; stored in `out`. `s_indices` is assumed to be in sorted order. Parameters ---------- num_states : scalar(int) s_indices : ndarray(int, ndim=1) out : ndarray(int, ndim=1) Length must be num_states+1.
"Generate `a_indptr`; stored in `out`. `s_indices` is assumed to be\n in sorted order.\n\n Parameters\n ----------\n num_states : scalar(int)\n\n s_indices : ndarray(int, ndim=1)\n\n out : ndarray(int, ndim=1)\n Length must be num_states+1."
1,292
true
QuantEcon/QuantEcon.py
_generate_a_indptr
15,566
LDU_FT/architv/soccer-cli/league_scores
LDU_FT
[ "<BEGIN>\n## `get_team_scores`", "Queries the API and gets the particular team scores\n<END>", "<BEGIN>\n## `get_standings`", "Queries the API and gets the standings for a particular league\n<END>", "<BEGIN>\n## `get_league_scores`", "Queries the API and fetches the scores for fixtures\n based upon...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the league_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 ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the league_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 ext...
Store output of fixtures based on league and time to a JSON file
"Store output of fixtures based on league and time to a JSON file"
50
false
architv/soccer-cli
league_scores
15,567
LDU_FT/learningequality/iceqube/import_stringified_func
LDU_FT
[ "<BEGIN>\n## `wait_for_job_update`", "Blocks until a job given by job_id has updated its state (canceled, completed, progress updated, etc.)\n if timeout is not None, then this function raises iceqube.exceptions.TimeoutError.", " :param job_id: the job's job_id to monitor for changes.\n :pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_stringified_func 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 import_stringified_func API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Import a string that represents a module and function, e.g. {module}.{funcname}. Given a function f, import_stringified_func(stringify_func(f)) will return the same function. :param funcstring: String to try to import :return: callable
"Import a string that represents a module and function, e.g. {module}.{funcname}.\n\n Given a function f, import_stringified_func(stringify_func(f)) will return the same function.\n :param funcstring: String to try to import\n :return: callable"
93
false
learningequality/iceqube
import_stringified_func
15,568
LDU_FT/aio-libs/aiobotocore/get_waiter
LDU_FT
[ "<BEGIN>\n## `read`", "Read at most amt bytes from the stream.", " If the amt argument is omitted, read all data.\n<END>", "<BEGIN>\n## `iter_lines`", "Return an iterator to yield lines from the raw stream.", " This is achieved by reading chunk of bytes (of size chunk_size) at a\n tim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_waiter API. 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_waiter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Returns an object that can wait for some condition. :type waiter_name: str :param waiter_name: The name of the waiter to get. See the waiters section of the service docs for a list of available waiters. :returns: The specified waiter object. :rtype: botocore.waiter.Waiter
"Returns an object that can wait for some condition.\n\n :type waiter_name: str\n :param waiter_name: The name of the waiter to get. See the waiters\n section of the service docs for a list of available waiters.\n\n :returns: The specified waiter object.\n :rtype: botocore.waiter....
23
false
aio-libs/aiobotocore
get_waiter
15,569
LDU_FT/whiteclover/dbpy/database
LDU_FT
[ "<BEGIN>\n## `compile`", "Building the sql expression", " :param db: the database instance\n<END>", "<BEGIN>\n## `find`", "Find and load the user from database by uid(user id)\n<END>", "<BEGIN>\n## `find_by_username`", "Return user by username if find in database otherwise None\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the database API. 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 database API. 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...
datbase dialect :param key: a key for your dabtabase you wanna use :param slave boolean: If True the database can be read only, Defaults False.
"datbase dialect\n\n :param key: a key for your dabtabase you wanna use\n :param slave boolean: If True the database can be read only, Defaults False."
41
false
whiteclover/dbpy
database
15,570
LDU_FT/thomasjiangcy/django-rest-mock/_get_view_details
LDU_FT
[ "<BEGIN>\n## `_get_view_details`", "Recursive function to extract all url details\n<END>", "<BEGIN>\n## `get_store`", "The state of the mock server will be stored in the resulting\n object created here\n<END>", "<BEGIN>\n## `build`", "Builds a server file.", " 1. Extract mock response details from...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_view_details API. 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_view_details API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Recursive function to extract all url details
"Recursive function to extract all url details"
15
false
thomasjiangcy/django-rest-mock
_get_view_details
15,571
LDU_FT/kiwiz/gkeepapi/add
LDU_FT
[ "<BEGIN>\n## `login`", "Authenticate to Google with the provided credentials.", " Args:\n email (str): The account to use.\n password (str): The account password.\n android_id (str): An identifier for this client.", " Raises:\n LoginException: If there...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Register a top level node (and its children) for syncing up to the server. There's no need to call this for nodes created by :py:meth:`createNote` or :py:meth:`createList` as they are automatically added. LoginException: If :py:meth:`login` has not been called. Args: node (gkeep...
"Register a top level node (and its children) for syncing up to the server. There's no need to call this for nodes created by\n :py:meth:`createNote` or :py:meth:`createList` as they are automatically added.\n\n LoginException: If :py:meth:`login` has not been called.\n Args:\n node ...
164
false
kiwiz/gkeepapi
add
15,572