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/shtalinberg/django-el-pagination/paginate
LDU_FT
[ "<BEGIN>\n## `paginate`", "Paginate objects.", " Usage:", " .. code-block:: html+django", " {% paginate entries %}", " After this call, the *entries* variable in the template context is replaced\n by only the entries of the current page.", " You can also keep your *entries* origina...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Paginate objects. Usage: .. code-block:: html+django {% paginate entries %} After this call, the *entries* variable in the template context is replaced by only the entries of the current page. You can also keep your *entries* original variable (usually a queryset) and add to the con...
"Paginate objects.\n\n Usage:\n\n .. code-block:: html+django\n\n {% paginate entries %}\n\n After this call, the *entries* variable in the template context is replaced\n by only the entries of the current page.\n\n You can also keep your *entries* original variable (usually a queryset)\n and a...
166
false
shtalinberg/django-el-pagination
paginate
5,673
LDU_FT/callowayproject/Calloway/custom_server_error
LDU_FT
[ "<BEGIN>\n## `get_url`", "Returns the reversed url given a string or dict and prints errors if MENU_DEBUG is enabled\n<END>", "<BEGIN>\n## `smart_if`", "A smarter {% if %} tag for django templates.", " While retaining current Django functionality, it also handles equality,\n greater than and less than...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the custom_server_error 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 custom_server_error 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...
500 error handler. Displays a full trackback for superusers and the first line of the traceback for staff members. Templates: `500.html` or `500A.html` (admin) Context: trace Holds the traceback information for debugging.
"500 error handler. Displays a full trackback for superusers and the first line of the\n traceback for staff members.\n\n Templates: `500.html` or `500A.html` (admin)\n Context: trace\n Holds the traceback information for debugging."
58
false
callowayproject/Calloway
custom_server_error
5,674
LDU_FT/afilipovich/gglsbl/hashes
LDU_FT
[ "<BEGIN>\n## `lookup_hash_prefix`", "Lookup hash prefixes by cue (first 4 bytes of hash)", " Returns a tuple of (value, negative_cache_expired).\n<END>", "<BEGIN>\n## `store_full_hash`", "Store full hash found for the given hash prefix\n<END>", "<BEGIN>\n## `get_client_state`", "Get a dict of kno...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hashes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hashes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Hashes of all possible permutations of the URL in canonical form
"Hashes of all possible permutations of the URL in canonical form"
35
false
afilipovich/gglsbl
hashes
5,675
LDU_FT/jrief/django-websocket-redis/run
LDU_FT
[ "<BEGIN>\n## `fetch_message`", "Fetch the first message available for the given ``facility`` and ``audience``, if it has\n been persisted in the Redis datastore.\n The current HTTP ``request`` is used to determine to whom the message belongs.\n A unique string is used to identify the bucket's...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each 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 run API. Each 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...
Function to monkey patch the internal Django command: manage.py runserver
"Function to monkey patch the internal Django command: manage.py runserver"
60
false
jrief/django-websocket-redis
run
5,676
LDU_FT/ebroecker/canmatrix/copy_signal
LDU_FT
[ "<BEGIN>\n## `unpack_bitstring`", "returns a value calculated from bits\n :param length: length of signal in bits\n :param is_float: value is float\n :param bits: value as bits (array/iterable)\n :param is_signed: value is signed\n :return:\n<END>", "<BEGIN>\n## `pack_bitstring`", "returns a va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_signal API. 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 copy_signal API. 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...
Copy Signals identified by name from source CAN matrix to target CAN matrix. In target CanMatrix the signal is put without frame, just on top level. :param signal_glob: Signal glob pattern :param source_db: Source CAN matrix :param target_db: Destination CAN matrix
"Copy Signals identified by name from source CAN matrix to target CAN matrix.\n In target CanMatrix the signal is put without frame, just on top level.\n\n :param signal_glob: Signal glob pattern\n :param source_db: Source CAN matrix\n :param target_db: Destination CAN matrix"
51
false
ebroecker/canmatrix
copy_signal
5,677
LDU_FT/redodo/formats/convert
LDU_FT
[ "<BEGIN>\n## `register`", "Registers a parser and composer of a format.", " You can use this method to overwrite existing formats.", " :param type: The unique name of the format\n :param parser: The method to parse data as the format\n :param composer: The method to compose data as the format\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert API. Each 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 convert API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Parsers data from with one format and composes with another. :param type_from: The unique name of the format to parse with :param type_to: The unique name of the format to compose with :param data: The text to convert
"Parsers data from with one format and composes with another.\n\n :param type_from: The unique name of the format to parse with\n :param type_to: The unique name of the format to compose with\n :param data: The text to convert"
59
false
redodo/formats
convert
5,678
LDU_FT/bkjones/pyrabbit/create_binding
LDU_FT
[ "<BEGIN>\n## `do_call`", "Send an HTTP request to the REST API.", " :param string path: A URL\n :param string method: The HTTP method (GET, POST, etc.) to use\n in the request.\n :param string body: A string representing any data to be sent in the\n body of the HTTP re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_binding API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_binding API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Creates a binding between an exchange and a queue on a given vhost. :param string vhost: vhost housing the exchange/queue to bind :param string exchange: the target exchange of the binding :param string queue: the queue to bind to the exchange :param string rt_key: the routing key to us...
"Creates a binding between an exchange and a queue on a given vhost.\n\n :param string vhost: vhost housing the exchange/queue to bind\n :param string exchange: the target exchange of the binding\n :param string queue: the queue to bind to the exchange\n :param string rt_key: the routing key...
112
false
bkjones/pyrabbit
create_binding
5,679
LDU_FT/pytorn/torn/uri_creator
LDU_FT
[ "<BEGIN>\n## `settings`", "Definition to set settings from config file to the app instance.\n<END>", "<BEGIN>\n## `uri_creator`", "Creates url and replaces regex and gives variables\n<END>", "<BEGIN>\n## `warning`", "Display Warning.", " Method prints the warning message, message being given\n as ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uri_creator API. 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 uri_creator API. 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...
Creates url and replaces regex and gives variables
"Creates url and replaces regex and gives variables"
18
false
pytorn/torn
uri_creator
5,680
LDU_FT/DocNow/twarc/dehydrate
LDU_FT
[ "<BEGIN>\n## `rate_limit`", "A decorator to handle rate limiting from the Twitter API. If\n a rate limit error is encountered we will sleep until we can\n issue the API call again.\n<END>", "<BEGIN>\n## `catch_conn_reset`", "A decorator to handle connection reset errors even ones from pyOpenSSL\n unt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dehydrate API. 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 dehydrate API. 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...
Pass in an iterator of tweets' JSON and get back an iterator of the IDs of each tweet.
"Pass in an iterator of tweets' JSON and get back an iterator of the\n IDs of each tweet."
58
false
DocNow/twarc
dehydrate
5,681
LDU_FT/Knio/pynmea2/dm_to_sd
LDU_FT
[ "<BEGIN>\n## `next`", "consume `data` (if given, or calls `stream.read()` if `stream` was given\r\n in the constructor) and yield a list of `NMEASentence` objects parsed\r\n from the stream (may be empty)\n<END>", "<BEGIN>\n## `parse`", "parse(line)\r", " Parses a string representing a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dm_to_sd API. 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 dm_to_sd API. 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...
Converts a geographic co-ordinate given in "degrees/minutes" dddmm.mmmm format (eg, "12319.943281" = 123 degrees, 19.943281 minutes) to a signed decimal (python float) format
"Converts a geographic co-ordinate given in \"degrees/minutes\" dddmm.mmmm\r\n format (eg, \"12319.943281\" = 123 degrees, 19.943281 minutes) to a signed\r\n decimal (python float) format"
16
false
Knio/pynmea2
dm_to_sd
5,682
LDU_FT/django-admin-tools/django-admin-tools/admin_tools_render_menu_css
LDU_FT
[ "<BEGIN>\n## `set_preferences`", "This view serves and validates a preferences form.\n<END>", "<BEGIN>\n## `admin_tools_render_menu`", "Template tag that renders the menu, it takes an optional ``Menu`` instance\n as unique argument, if not given, the menu will be retrieved with the\n ``get_admin_menu`` ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the admin_tools_render_menu_css 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 admin_tools_render_menu_css API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Template tag that renders the menu css files,, it takes an optional ``Menu`` instance as unique argument, if not given, the menu will be retrieved with the ``get_admin_menu`` function.
"Template tag that renders the menu css files,, it takes an optional\n ``Menu`` instance as unique argument, if not given, the menu will be\n retrieved with the ``get_admin_menu`` function."
60
false
django-admin-tools/django-admin-tools
admin_tools_render_menu_css
5,683
LDU_FT/fronzbot/blinkpy/download_videos
LDU_FT
[ "<BEGIN>\n## `refresh`", "Get all blink cameras and pulls their most recent status.\n<END>", "<BEGIN>\n## `attributes`", "Return dictionary of all camera attributes.\n<END>", "<BEGIN>\n## `snap_picture`", "Take a picture with camera to create a new thumbnail.\n<END>", "<BEGIN>\n## `image_to_file`", "W...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download_videos API. 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 download_videos API. 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...
Download all videos from server since specified time. :param path: Path to write files. /path/<cameraname>_<recorddate>.mp4 :param since: Date and time to get videos from. Ex: "2018/07/28 12:33:00" to retrieve videos since July 28th 2018 at 12:33:00 ...
"Download all videos from server since specified time.\n\n :param path: Path to write files. /path/<cameraname>_<recorddate>.mp4\n :param since: Date and time to get videos from.\n Ex: \"2018/07/28 12:33:00\" to retrieve videos since\n July 28th 2018 at 12:3...
71
false
fronzbot/blinkpy
download_videos
5,684
LDU_FT/trentm/cmdln/do_move
LDU_FT
[ "<BEGIN>\n## `mkmanpage`", "Return man page content for the given `cmdln.Cmdln` subclass name.\n<END>", "<BEGIN>\n## `do_crush`", "${cmd_name}: crush your enemies!", " ${cmd_usage}\n ${cmd_option_list}\n C.f. Conan the Barbarian.\n<END>", "<BEGIN>\n## `do_add`", "Put files and direc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_move API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_move API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Move and/or rename something in working copy or repository. usage: move SRC DST Note: this subcommand is equivalent to a 'copy' and 'delete'. SRC and DST can both be working copy (WC) paths or URLs: WC -> WC: move and schedule for addition (with histo...
"Move and/or rename something in working copy or repository.\n\n usage:\n move SRC DST\n \n Note: this subcommand is equivalent to a 'copy' and 'delete'.\n \n SRC and DST can both be working copy (WC) paths or URLs:\n WC -> WC: move and schedule for addition (w...
207
false
trentm/cmdln
do_move
5,685
LDU_FT/ereOn/azmq/write
LDU_FT
[ "<BEGIN>\n## `metadata_to_buffers`", "Transform a dict of metadata into a sequence of buffers.", " :param metadata: The metadata, as a dict.\n :returns: A list of buffers.\n<END>", "<BEGIN>\n## `buffer_to_metadata`", "Transform a buffer to a metadata dictionary.", " :param buffer: The buffer, as ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Write an item in the queue. :param item: The item.
"Write an item in the queue.\n\n :param item: The item."
111
false
ereOn/azmq
write
5,686
LDU_FT/Aluriak/bubble-tools/from_bubble_file
LDU_FT
[ "<BEGIN>\n## `bubble_to_dot`", "Write in dotfile a graph equivalent to those depicted in bubble file\n<END>", "<BEGIN>\n## `bubble_to_gexf`", "Write in bblfile a graph equivalent to those depicted in bubble file\n<END>", "<BEGIN>\n## `bubble_to_js`", "Write in jsdir a graph equivalent to those depicted in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_bubble_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_bubble_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Extract data from given bubble file, then call from_bubble_data method
"Extract data from given bubble file,\n then call from_bubble_data method"
88
false
Aluriak/bubble-tools
from_bubble_file
5,687
LDU_FT/IBM-Cloud/gp-python-client/__get_bundles_data
LDU_FT
[ "<BEGIN>\n## `__get_user_env_vars`", "Return the user defined environment variables\n<END>", "<BEGIN>\n## `__parse_vcap_services_env_var`", "Parse the ``VCAP_SERVICES`` env var and search for the necessary\r\n values\n<END>", "<BEGIN>\n## `__get_language_match`", "Compares ``languageCode`` to the p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_bundles_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __get_bundles_data API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
``GET {url}/{serviceInstanceId}/v2/bundles`` Gets a list of bundle IDs.
"``GET {url}/{serviceInstanceId}/v2/bundles``\r\n\r\n Gets a list of bundle IDs."
71
false
IBM-Cloud/gp-python-client
__get_bundles_data
5,688
LDU_FT/Aluriak/bubble-tools/bubble_to_gexf
LDU_FT
[ "<BEGIN>\n## `bubble_to_dot`", "Write in dotfile a graph equivalent to those depicted in bubble file\n<END>", "<BEGIN>\n## `bubble_to_gexf`", "Write in bblfile a graph equivalent to those depicted in bubble file\n<END>", "<BEGIN>\n## `bubble_to_js`", "Write in jsdir a graph equivalent to those depicted in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bubble_to_gexf API. 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 bubble_to_gexf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Write in bblfile a graph equivalent to those depicted in bubble file
"Write in bblfile a graph equivalent to those depicted in bubble file"
88
false
Aluriak/bubble-tools
bubble_to_gexf
5,689
LDU_FT/ctuning/ck/get_os_ck
LDU_FT
[ "<BEGIN>\n## `call_ck`", "Input: {\n Input for CK\n }", " Output: {\n return - return code = 0, if successful\n > 0, if error\n (error) - error text if return > 0", " (stdout) - stdout, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_os_ck API. 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 get_os_ck API. 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...
Input: { (bits) - force OS bits } Output: { return - return code = 0 platform - 'win' or 'linux' bits - OS bits in string: 32 or 64 python_bits - Python installation bits in string: 32 or 64 }
"Input: {\n (bits) - force OS bits\n }\n\n Output: {\n return - return code = 0\n platform - 'win' or 'linux'\n bits - OS bits in string: 32 or 64\n python_bits - Python installation bits in string: 32 or 64\n\n ...
640
false
ctuning/ck
get_os_ck
5,690
LDU_FT/MrYsLab/pymata-aio/analog_callback
LDU_FT
[ "<BEGIN>\n## `start`", "This method opens an IP connection on the IP device", " :return: None\n<END>", "<BEGIN>\n## `write`", "This method writes sends data to the IP device\n :param data:", " :return: None\n<END>", "<BEGIN>\n## `loop`", "Function that gets called again as soon as...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analog_callback API. 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 analog_callback API. 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...
This method handles the analog message received from pymata_core :param data: analog callback message :returns:{"method": "analog_message_reply", "params": [PIN, DATA_VALUE}
"This method handles the analog message received from pymata_core\n :param data: analog callback message\n :returns:{\"method\": \"analog_message_reply\", \"params\": [PIN, DATA_VALUE}"
561
false
MrYsLab/pymata-aio
analog_callback
5,691
LDU_FT/HazyResearch/fonduer/build_node
LDU_FT
[ "<BEGIN>\n## `construct_stable_id`", "Contruct a stable ID for a Context given its parent and its character\n offsets relative to the parent.\n<END>", "<BEGIN>\n## `split_stable_id`", "Split stable id, returning:", " * Document (root) stable ID\n * Context polymorphic type\n * Charac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Wrap up content in to a html node. :param type: content type (e.g., doc, section, text, figure) :type path: str :param name: content name (e.g., the name of the section) :type path: str :param name: actual content :type path: str :return: new String with content in html format
"Wrap up content in to a html node.\n\n :param type: content type (e.g., doc, section, text, figure)\n :type path: str\n :param name: content name (e.g., the name of the section)\n :type path: str\n :param name: actual content\n :type path: str\n :return: new String with content in html format"
540
false
HazyResearch/fonduer
build_node
5,692
LDU_FT/AmesCornish/buttersink/iterDiffs
LDU_FT
[ "<BEGIN>\n## `update`", "Update self and parent with intermediate progress.\n<END>", "<BEGIN>\n## `close`", "Stop overwriting display, or update parent.\n<END>", "<BEGIN>\n## `transfer`", "Transfer (large) data from sender to receiver.\n<END>", "<BEGIN>\n## `display`", "Friendly string for volume, usi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iterDiffs API. 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 iterDiffs API. 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...
Return all diffs used in optimal network.
"Return all diffs used in optimal network."
148
false
AmesCornish/buttersink
iterDiffs
5,693
LDU_FT/MoseleyBioinformaticsLab/ctfile/neighbor_atoms
LDU_FT
[ "<BEGIN>\n## `tokenizer`", "A lexical analyzer for the `CTfile` formatted files.", " :param str text: `CTfile` formatted text.\n :return: Tuples of data.\n :rtype: py:class:`~collections.namedtuple`\n<END>", "<BEGIN>\n## `_molfile`", "Process ``Molfile``.", " :param stream: Queue containing li...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the neighbor_atoms API. 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 neighbor_atoms API. 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...
Access neighbor atoms. :param str atom_symbol: Atom symbol. :return: List of neighbor atoms. :rtype: :py:class:`list`.
"Access neighbor atoms.\n\n :param str atom_symbol: Atom symbol.\n :return: List of neighbor atoms.\n :rtype: :py:class:`list`."
93
false
MoseleyBioinformaticsLab/ctfile
neighbor_atoms
5,694
LDU_FT/albahnsen/CostSensitiveClassification/predict
LDU_FT
[ "<BEGIN>\n## `_partition_estimators`", "Private function used to partition estimators between jobs.\n<END>", "<BEGIN>\n## `_parallel_build_estimators`", "Private function used to build a batch of estimators within a job.\n<END>", "<BEGIN>\n## `_parallel_predict_proba`", "Private function used to compute (...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Predict class of X. The predicted class for each sample in X is returned. Parameters ---------- X : array-like of shape = [n_samples, n_features] The input samples. Returns ------- y : array of shape = [n_samples] The predicted classes,
"Predict class of X.\n\n The predicted class for each sample in X is returned.\n\n Parameters\n ----------\n\n X : array-like of shape = [n_samples, n_features]\n The input samples.\n\n Returns\n -------\n y : array of shape = [n_samples]\n The pred...
334
false
albahnsen/CostSensitiveClassification
predict
5,695
LDU_FT/pebble/libpebble2/send
LDU_FT
[ "<BEGIN>\n## `send_notification`", "Sends a notification. Blocks as long as necessary.", " :param subject: The subject.\n :type subject: str\n :param message: The message.\n :type message: str\n :param sender: The sender.\n :type sender: str\n :param source: The ...
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...
Sends the object to the watch. Block until completion, or raises :exc:`.PutBytesError` on failure. During transmission, a "progress" event will be periodically emitted with the following signature: :: (sent_this_interval, sent_so_far, total_object_size)
"Sends the object to the watch. Block until completion, or raises :exc:`.PutBytesError` on failure.\n\n During transmission, a \"progress\" event will be periodically emitted with the following signature: ::\n\n (sent_this_interval, sent_so_far, total_object_size)"
121
false
pebble/libpebble2
send
5,696
LDU_FT/LasLabs/python-helpscout/delete
LDU_FT
[ "<BEGIN>\n## `create`", "Create an object on HelpScout.", " Args:\n session (requests.sessions.Session): Authenticated session.\n record (helpscout.BaseModel): The record to be created.\n endpoint_override (str, optional): Override the default\n endpoint us...
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 ...
Send a DELETE request and return the JSON decoded result. Args: json (dict, optional): Object to encode and send in request. Returns: mixed: JSON decoded response data.
"Send a DELETE request and return the JSON decoded result.\n\n Args:\n json (dict, optional): Object to encode and send in request.\n\n Returns:\n mixed: JSON decoded response data."
178
false
LasLabs/python-helpscout
delete
5,697
LDU_FT/openstax/cnx-archive/xpath
LDU_FT
[ "<BEGIN>\n## `redirect_legacy_content`", "Redirect from legacy /content/id/version to new /contents/uuid@version.", " Handles collection context (book) as well.\n<END>", "<BEGIN>\n## `robots`", "Return a simple \"don't index me\" robots.txt file.\n<END>", "<BEGIN>\n## `_get_sql`", "Returns the conten...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xpath API. Each 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 xpath API. Each 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...
View for the route. Determines UUID and version from input request and determines the type of UUID (collection or module) and executes the corresponding method.
"View for the route. Determines UUID and version from input request\n and determines the type of UUID (collection or module) and executes\n the corresponding method."
208
false
openstax/cnx-archive
xpath
5,698
LDU_FT/ldiary/marigoso/submit_btn
LDU_FT
[ "<BEGIN>\n## `trim_start`", "Removes the starting substring.\n :param string: The entire string.\n :param start: The starting substring to be removed.\n :param end: An optional point in the string, defaults to the strings ending\n :return: A substring consists of the subseque...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit_btn API. 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 submit_btn API. 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...
This presses an input button with type=submit. Success must be given as a tuple of a (coordinate, timeout). Use (coordinate,) if you want to use the default timeout.
"This presses an input button with type=submit.\n Success must be given as a tuple of a (coordinate, timeout).\n Use (coordinate,) if you want to use the default timeout."
10
false
ldiary/marigoso
submit_btn
5,699
LDU_FT/Josef-Friedrich/tmep/ex_literal
LDU_FT
[ "<BEGIN>\n## `ex_literal`", "An int, float, long, bool, string, or None literal with the given\n value.\n<END>", "<BEGIN>\n## `ex_varassign`", "Assign an expression into a single variable. The expression may\n either be an `ast.expr` object or a value to be used as a literal.\n<END>", "<BEGIN>\n## `ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ex_literal API. 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 ex_literal API. 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...
An int, float, long, bool, string, or None literal with the given value.
"An int, float, long, bool, string, or None literal with the given\n value."
72
false
Josef-Friedrich/tmep
ex_literal
5,700
LDU_FT/ssalentin/plip/pool_args
LDU_FT
[ "<BEGIN>\n## `process_pdb`", "Analysis of a single PDB file. Can generate textual reports XML, PyMOL session files and images as output.\n<END>", "<BEGIN>\n## `download_structure`", "Given a PDB ID, downloads the corresponding PDB structure.\n Checks for validity of ID and handles error while downloading.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pool_args API. 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 pool_args API. 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...
Return a single iterator of n elements of lists of length 3, given a sequence of len n.
"Return a single iterator of n elements of lists of length 3, given a sequence of len n."
176
false
ssalentin/plip
pool_args
5,701
LDU_FT/eyeseast/python-tablefu/_saferound
LDU_FT
[ "<BEGIN>\n## `sort`", "Sort rows in this table, preserving a record of how that\n sorting is done in TableFu.options['sorted_by']\n<END>", "<BEGIN>\n## `filter`", "Tables can be filtered in one of two ways:\n - Simple keyword arguments return rows where values match *exactly*\n - Pass i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _saferound API. 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 _saferound API. 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...
Rounds a float value off to the desired precision
"Rounds a float value off to the desired precision"
51
false
eyeseast/python-tablefu
_saferound
5,702
LDU_FT/squaresLab/BugZoo/unload
LDU_FT
[ "<BEGIN>\n## `is_installed`", "Determines whether the Docker image for a given bug has been installed\n on the server.\n<END>", "<BEGIN>\n## `register`", "Dynamically registers a given bug with the server. Note that the\n registration will not persist beyond the lifetime of the server.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unload API. Each 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 unload API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Unloads a registered source, causing all of its associated bugs, tools, and blueprints to also be unloaded. If the given source is not loaded, this function will do nothing.
"Unloads a registered source, causing all of its associated bugs, tools,\n and blueprints to also be unloaded. If the given source is not loaded,\n this function will do nothing."
247
false
squaresLab/BugZoo
unload
5,703
LDU_FT/twisted/txaws/get_bucket_acl
LDU_FT
[ "<BEGIN>\n## `get_ca_certs`", "Retrieve a list of CAs at either the DEFAULT_CERTS_PATH or the env\n override, TXAWS_CERTS_PATH.", " In order to find .pem files, this function checks first for presence of the\n TXAWS_CERTS_PATH environment variable that should point to a directory\n containing cert f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bucket_acl API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bucket_acl API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Get the access control policy for a bucket.
"Get the access control policy for a bucket."
465
false
twisted/txaws
get_bucket_acl
5,704
LDU_FT/ihmeuw/vivarium/reset
LDU_FT
[ "<BEGIN>\n## `setup`", "Performs this component's simulation setup.", " The ``setup`` method is automatically called by the simulation\n framework. The framework passes in a ``builder`` object which\n provides access to a variety of framework subsystems and metadata.", " Parameters...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API. Each 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 reset API. Each 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...
Reset the simulation to its initial state.
"Reset the simulation to its initial state."
370
false
ihmeuw/vivarium
reset
5,705
LDU_FT/DinoTools/python-ssdeep/update
LDU_FT
[ "<BEGIN>\n## `compare`", "Computes the match score between two fuzzy hash signatures.", " Returns a value from zero to 100 indicating the match score of the\n two signatures. A match score of zero indicates the signatures\n did not match.", " :param Bytes|String sig1: First fuzzy hash signature\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Feed the data contained in the given buffer to the state. :param String|Byte buf: The data to be hashed :param String encoding: Encoding is used if buf is String :raises InternalError: If lib returns an internal error :raises TypeError: If buf is not Bytes, String or Unicode
"Feed the data contained in the given buffer to the state.\n\n :param String|Byte buf: The data to be hashed\n :param String encoding: Encoding is used if buf is String\n :raises InternalError: If lib returns an internal error\n :raises TypeError: If buf is not Bytes, String or Unicode"
21
false
DinoTools/python-ssdeep
update
5,706
LDU_FT/Salamek/cron-descriptor/get_time_of_day_description
LDU_FT
[ "<BEGIN>\n## `parse_cron_line`", "Parses crontab line and returns only starting time string", " Args:\n line: crontab line\n Returns:\n Time part of cron line\n<END>", "<BEGIN>\n## `parse`", "Parses the cron expression string\n Returns:\n A 7 part string...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time_of_day_description 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 get_time_of_day_description API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Generates a description for only the TIMEOFDAY portion of the expression Returns: The TIMEOFDAY description
"Generates a description for only the TIMEOFDAY portion of the expression\n\n Returns:\n The TIMEOFDAY description"
52
false
Salamek/cron-descriptor
get_time_of_day_description
5,707
LDU_FT/ApproxEng/approxeng.input/scan_system
LDU_FT
[ "<BEGIN>\n## `map_into_range`", "Map an input function into an output value, clamping such that the magnitude of the output is at most 1.0", " :param low:\n The value in the input range corresponding to zero.\n :param high:\n The value in the input range corresponding to 1.0 or -1.0, dependi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_system API. 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 scan_system API. 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...
Scans /sys/class/leds looking for entries, then examining their .../device/uevent file to obtain unique hardware IDs corresponding to the associated hardware. This then allows us to associate InputDevice based controllers with sets of zero or more LEDs. The result is a dict from hardware address to a dict of na...
"Scans /sys/class/leds looking for entries, then examining their .../device/uevent file to obtain unique hardware\n IDs corresponding to the associated hardware. This then allows us to associate InputDevice based controllers with\n sets of zero or more LEDs. The result is a dict from hardware address to a dict of...
86
false
ApproxEng/approxeng.input
scan_system
5,708
LDU_FT/secdev/scapy/_npcap_set
LDU_FT
[ "<BEGIN>\n## `_get_npcap_config`", "Get a Npcap parameter matching key in the registry.", " List:\n AdminOnly, DefaultFilterSettings, DltNull, Dot11Adapters, Dot11Support\n LoopbackAdapter, LoopbackSupport, NdisImPlatformBindingOptions, VlanSupport\n WinPcapCompatible\n<END>", "<BEGIN>\n## `_exec_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _npcap_set API. 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 _npcap_set API. 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...
Internal function. Set a [key] parameter to [value]
"Internal function. Set a [key] parameter to [value]"
1,329
true
secdev/scapy
_npcap_set
5,709
LDU_FT/liftoff/pyminifier/join_multiline_pairs
LDU_FT
[ "<BEGIN>\n## `obfuscation_machine`", "A generator that returns short sequential combinations of lower and\n upper-case letters that will never repeat.", " If *use_unicode* is ``True``, use nonlatin cryllic, arabic, and syriac\n letters instead of the usual ABCs.", " The *identifier_length* represe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join_multiline_pairs 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 join_multiline_pairs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Finds and removes newlines in multiline matching pairs of characters in *source*. By default it joins parens () but it will join any two characters given via the *pair* variable. .. note:: Doesn't remove extraneous whitespace that ends up between the pair. Use `reduce_operators()` for...
"Finds and removes newlines in multiline matching pairs of characters in\n *source*.\n\n By default it joins parens () but it will join any two characters given via\n the *pair* variable.\n\n .. note::\n\n Doesn't remove extraneous whitespace that ends up between the pair.\n Use `reduce_operat...
160
false
liftoff/pyminifier
join_multiline_pairs
5,710
LDU_FT/frictionlessdata/tableschema-sql-py/write
LDU_FT
[ "<BEGIN>\n## `buckets`", "https://github.com/frictionlessdata/tableschema-sql-py#storage\n<END>", "<BEGIN>\n## `create`", "https://github.com/frictionlessdata/tableschema-sql-py#storage\n<END>", "<BEGIN>\n## `delete`", "https://github.com/frictionlessdata/tableschema-sql-py#storage\n<END>", "<BEGIN>\n##...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
https://github.com/frictionlessdata/tableschema-sql-py#storage
"https://github.com/frictionlessdata/tableschema-sql-py#storage"
16
false
frictionlessdata/tableschema-sql-py
write
5,711
LDU_FT/sonyxperiadev/pygerrit/run
LDU_FT
[ "<BEGIN>\n## `run`", "Listen to the stream and send events to the client.\n<END>", "<BEGIN>\n## `run_command`", "Run a command.", " :arg str command: The command to run.", " :Return: The result as a string.", " :Raises: `ValueError` if `command` is not a string.\n<END>", "<BEGIN>\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each 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 run API. Each 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...
Listen to the stream and send events to the client.
"Listen to the stream and send events to the client."
71
false
sonyxperiadev/pygerrit
run
5,712
LDU_FT/cozy/python_cozy_management/rebuild_app
LDU_FT
[ "<BEGIN>\n## `rebuild_app`", "Rebuild cozy apps with deletion of npm directory & new npm build\n<END>", "<BEGIN>\n## `rebuild_all_apps`", "Get all cozy apps & rebuild npm repository\n<END>", "<BEGIN>\n## `restore`", "Restore a Cozy\n backup_file: path to .tar.gz\n<END>", "<BEGIN>\n## `generate_ce...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rebuild_app API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rebuild_app API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Rebuild cozy apps with deletion of npm directory & new npm build
"Rebuild cozy apps with deletion of npm directory & new npm build"
24
false
cozy/python_cozy_management
rebuild_app
5,713
LDU_FT/jaraco/jaraco.mongodb/connect_db
LDU_FT
[ "<BEGIN>\n## `extract_param`", "From a list of args, extract the one param if supplied,\n returning the value and unused args.", " >>> extract_param('port', ['foo', '--port=999', 'bar'], type=int)\n (999, ['foo', 'bar'])\n >>> extract_param('port', ['foo', '--port', '999', 'bar'], type=int)\n (99...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect_db API. 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 connect_db API. 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...
Use pymongo to parse a uri (possibly including database name) into a connected database object. This serves as a convenience function for the common use case where one wishes to get the Database object and is less concerned about the intermediate MongoClient object that pymongo creates (though the ...
"Use pymongo to parse a uri (possibly including database name) into\n a connected database object.\n\n This serves as a convenience function for the common use case where one\n wishes to get the Database object and is less concerned about the\n intermediate MongoClient object that pymongo creates (though th...
82
false
jaraco/jaraco.mongodb
connect_db
5,714
LDU_FT/jasedit/pymmd/value
LDU_FT
[ "<BEGIN>\n## `_expand_source`", "Expands source text to include headers, footers, and expands Multimarkdown transclusion\n directives.", " Keyword arguments:\n source -- string containing the Multimarkdown text to expand\n dname -- directory name to use as the base directory for transclusion referen...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d...
Extracts value for the specified metadata key from the given extension set. Keyword arguments: source -- string containing MultiMarkdown text ext -- extension bitfield for processing text key -- key to extract
"Extracts value for the specified metadata key from the given extension set.\n\n Keyword arguments:\n source -- string containing MultiMarkdown text\n ext -- extension bitfield for processing text\n key -- key to extract"
21
false
jasedit/pymmd
value
5,715
LDU_FT/Gbps/fastlog/parse
LDU_FT
[ "<BEGIN>\n## `addHandler`", "Setups a new internal logging handler. For fastlog loggers,\n handlers are kept track of in the self._handlers list\n<END>", "<BEGIN>\n## `setStyle`", "Adjusts the output format of messages based on the style name provided", " Styles are loaded like python modules,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Creates a text styling from a descriptor A descriptor is a dictionary containing any of the following keys: * fg: The foreground color (name or int) See `bgseq` * bg: The background color (name or int) See `fgseq` * fmt: The types of s...
"Creates a text styling from a descriptor\n\n A descriptor is a dictionary containing any of the following keys:\n * fg: The foreground color (name or int)\n See `bgseq`\n * bg: The background color (name or int)\n See `fgseq`\n * fmt: The ty...
63
false
Gbps/fastlog
parse
5,716
LDU_FT/johnnoone/json-spec/rfc3339_to_datetime
LDU_FT
[ "<BEGIN>\n## `check`", "Check if value exists into object.", " :param doc: the document base\n :param pointer: the path to search in\n :param expected: the expected value\n :param raise_onerror: should raise on error?\n :return: boolean\n<END>", "<BEGIN>\n## `add`", "Add element to sequence, ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rfc3339_to_datetime 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 rfc3339_to_datetime 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...
convert a rfc3339 date representation into a Python datetime
"convert a rfc3339 date representation into a Python datetime"
113
false
johnnoone/json-spec
rfc3339_to_datetime
5,717
LDU_FT/mlavin/django-selectable/paginate_results
LDU_FT
[ "<BEGIN>\n## `has_changed`", "Detects if the data was changed. This is added in 1.6.\n<END>", "<BEGIN>\n## `results_decorator`", "Helper for constructing simple decorators around Lookup.results.", " func is a function which takes a request as the first parameter. If func\n returns an HttpReponse it is...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginate_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 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginate_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 ...
Return a django.core.paginator.Page of results.
"Return a django.core.paginator.Page of results."
21
false
mlavin/django-selectable
paginate_results
5,718
LDU_FT/oasis-open/cti-stix-validator/vocab_windows_pebinary_type
LDU_FT
[ "<BEGIN>\n## `pretty_error`", "Return an error message that is easier to read and more useful.\n May require updating if the schemas change significantly.\n<END>", "<BEGIN>\n## `_iter_errors_custom`", "Perform additional validation not possible merely with JSON schemas.", " Args:\n instance: Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vocab_windows_pebinary_type 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 vocab_windows_pebinary_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Ensure file objects with the windows-pebinary-ext extension have a 'pe-type' property that is from the windows-pebinary-type-ov vocabulary.
"Ensure file objects with the windows-pebinary-ext extension have a\n 'pe-type' property that is from the windows-pebinary-type-ov vocabulary."
220
false
oasis-open/cti-stix-validator
vocab_windows_pebinary_type
5,719
LDU_FT/chrismattmann/nutch-python/create
LDU_FT
[ "<BEGIN>\n## `defaultCrawlId`", "Provide a reasonable default crawl name using the user name and date\n<END>", "<BEGIN>\n## `call`", "Call the Nutch Server, do some error checking, and return the response.", " :param verb: One of nutch.RequestVerbs\n :param servicePath: path component of URL t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Create a new named (sid) Seed from a list of seed URLs :param sid: the name to assign to the new seed list :param seedList: the list of seeds to use :return: the created Seed object
"Create a new named (sid) Seed from a list of seed URLs\n\n :param sid: the name to assign to the new seed list\n :param seedList: the list of seeds to use\n :return: the created Seed object"
46
false
chrismattmann/nutch-python
create
5,720
LDU_FT/ChrisBeaumont/smother/csv
LDU_FT
[ "<BEGIN>\n## `parse_intervals`", "Parse a diff into an iterator of Intervals.\n<END>", "<BEGIN>\n## `_filldown`", "Copy current_context into `lines` down up until lineno\n<END>", "<BEGIN>\n## `_add_section`", "Register the current node as a new context block\n<END>", "<BEGIN>\n## `_module_name`", "Try...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the csv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the csv API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Flatten a coverage file into a CSV of source_context, testname
"Flatten a coverage file into a CSV\n of source_context, testname"
47
false
ChrisBeaumont/smother
csv
5,721
LDU_FT/maxalbert/tohu/add_new_reset_method
LDU_FT
[ "<BEGIN>\n## `augment_init_method`", "Replace the existing cls.__init__() method with a new one which\n also initialises the field generators and similar bookkeeping.\n<END>", "<BEGIN>\n## `find_field_generators`", "Return dictionary with the names and instances of\n all tohu.BaseGenerator occurring in ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_new_reset_method 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 add_new_reset_method API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Replace existing cls.reset() method with a new one which also calls reset() on any clones.
"Replace existing cls.reset() method with a new one which also\n calls reset() on any clones."
142
false
maxalbert/tohu
add_new_reset_method
5,722
LDU_FT/stain/forgetSQL/save
LDU_FT
[ "<BEGIN>\n## `prepareClasses`", "Fix _userClasses and some stuff in classes.", " Traverses locals, which is a locals() dictionary from\n the namespace where Forgetter subclasses have been\n defined, and resolves names in _userClasses to real\n class-references.", " Normally you would call forge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Save to database if anything has changed since last load
"Save to database if anything has changed since last load"
66
false
stain/forgetSQL
save
5,723
LDU_FT/asweigart/PyMsgBox/prompt
LDU_FT
[ "<BEGIN>\n## `alert`", "Displays a simple message box with text and a single OK button. Returns the text of the button clicked on.\n<END>", "<BEGIN>\n## `confirm`", "Displays a message box with OK and Cancel buttons. Number and text of buttons can be customized. Returns the text of the button clicked on.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prompt API. Each 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 prompt API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Displays a message box with text input, and OK & Cancel buttons. Returns the text entered, or None if Cancel was clicked.
"Displays a message box with text input, and OK & Cancel buttons. Returns the text entered, or None if Cancel was clicked."
15
false
asweigart/PyMsgBox
prompt
5,724
LDU_FT/twidi/django-adv-cache-tag/render_nocache
LDU_FT
[ "<BEGIN>\n## `prepare_params`", "Prepare the parameters passed to the templatetag\n<END>", "<BEGIN>\n## `get_expire_time`", "Return the expire time passed to the templatetag.\n Must be None or an integer.\n<END>", "<BEGIN>\n## `get_version`", "Return the stringified version passed to the templateta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_nocache API. 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 render_nocache API. 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...
Render the `nocache` blocks of the content and return the whole html
"Render the `nocache` blocks of the content and return the whole\n html"
34
false
twidi/django-adv-cache-tag
render_nocache
5,725
LDU_FT/rq/rq-scheduler/schedule
LDU_FT
[ "<BEGIN>\n## `get_next_scheduled_time`", "Calculate the next scheduled time by creating a crontab object\n with a cron string\n<END>", "<BEGIN>\n## `rationalize_until`", "Rationalizes the `until` argument used by other functions. This function\n accepts datetime and timedelta instances as well as intege...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Schedule a job to be periodically executed, at a certain interval.
"Schedule a job to be periodically executed, at a certain interval."
37
false
rq/rq-scheduler
schedule
5,726
LDU_FT/olivier-m/rafter/add_resource
LDU_FT
[ "<BEGIN>\n## `model_node`", "Decorates a ``schematics.Model`` class to add it as a field\n of type ``schematic.types.ModelType``.", " Keyword arguments are passed to ``schematic.types.ModelType``.", " Example:", " .. code-block:: python\n :emphasize-lines: 8,13", " from schematic...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_resource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_resource API. 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 a blueprint resource route from a function. :param uri: endpoint at which the route will be accessible. :param methods: list of acceptable HTTP methods. :param host: :param strict_slashes: :param version: :param name: user defined route name for url_for :r...
"Create a blueprint resource route from a function.\n\n :param uri: endpoint at which the route will be accessible.\n :param methods: list of acceptable HTTP methods.\n :param host:\n :param strict_slashes:\n :param version:\n :param name: user defined route name for url_for\n ...
41
false
olivier-m/rafter
add_resource
5,727
LDU_FT/mozilla/python_moztelemetry/add_expiration_postfix
LDU_FT
[ "<BEGIN>\n## `add_expiration_postfix`", "Formats the expiration version and adds a version postfix if needed.", " :param expiration: the expiration version string.\n :return: the modified expiration string.\n<END>", "<BEGIN>\n## `load_yaml_file`", "Load a YAML file from disk, throw a ParserError on fa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_expiration_postfix 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 add_expiration_postfix API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Formats the expiration version and adds a version postfix if needed. :param expiration: the expiration version string. :return: the modified expiration string.
"Formats the expiration version and adds a version postfix if needed.\n\n :param expiration: the expiration version string.\n :return: the modified expiration string."
122
false
mozilla/python_moztelemetry
add_expiration_postfix
5,728
LDU_FT/martijnvermaat/monoseq/partition_range
LDU_FT
[ "<BEGIN>\n## `_fasta_iter`", "Given an open FASTA file, yield tuples of (`header`, `sequence`).\n<END>", "<BEGIN>\n## `_bed_iter`", "Given an open BED file, yield tuples of (`chrom`, `chrom_iter`) where\n `chrom_iter` yields tuples of (`start`, `stop`).\n<END>", "<BEGIN>\n## `_pprint_fasta`", "Pretty-p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the partition_range API. 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 partition_range API. 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...
Partition the range from 0 to `stop` based on annotations. >>> partition_range(50, annotations=[[(0, 21), (30, 35)], ... [(15, 32), (40, 46)]]) [(0, 15, {0}), (15, 21, {0, 1}), (21, 30, {1}), (30, 32, {0, 1}), (32, 35, {0}), ...
"Partition the range from 0 to `stop` based on annotations.\n\n >>> partition_range(50, annotations=[[(0, 21), (30, 35)],\n ... [(15, 32), (40, 46)]])\n [(0, 15, {0}),\n (15, 21, {0, 1}),\n (21, 30, {1}),\n (30, 32, {0, 1}),\n (32, 35...
27
false
martijnvermaat/monoseq
partition_range
5,729
LDU_FT/uber/tchannel-python/initiate_handshake
LDU_FT
[ "<BEGIN>\n## `should_retry_on_error`", "rules for retry", " :param error:\n ProtocolException that returns from Server\n<END>", "<BEGIN>\n## `client_for`", "Build a synchronous client class for the given Thrift service.", " The generated class accepts a TChannelSyncClient and an optio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initiate_handshake 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 initiate_handshake 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...
Initiate a handshake with the remote host. :param headers: A dictionary of headers to send. :returns: A future that resolves (with a value of None) when the handshake is complete.
"Initiate a handshake with the remote host.\n\n :param headers:\n A dictionary of headers to send.\n :returns:\n A future that resolves (with a value of None) when the handshake\n is complete."
422
false
uber/tchannel-python
initiate_handshake
5,730
LDU_FT/globocom/GloboNetworkAPI-client-python/edit_vlan
LDU_FT
[ "<BEGIN>\n## `deploy`", "Deploy network in equipments and set column 'active = 1' in tables redeipv4", " :param id_networkv4: ID for NetworkIPv4", " :return: Equipments configuration output\n<END>", "<BEGIN>\n## `get_by_id`", "Get IPv4 network", " :param id_networkv4: ID for Network...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_vlan API. 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 edit_vlan API. 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...
Edit a VLAN :param id_vlan: ID for Vlan :param environment_id: ID for Environment. :param name: The name of VLAN. :param description: Some description to VLAN. :param number: Number of Vlan :param acl_file: Acl IPv4 File name to VLAN. :param acl_file_v6: Acl IPv6...
"Edit a VLAN\n\n :param id_vlan: ID for Vlan\n :param environment_id: ID for Environment.\n :param name: The name of VLAN.\n :param description: Some description to VLAN.\n :param number: Number of Vlan\n :param acl_file: Acl IPv4 File name to VLAN.\n :param acl_file_v6:...
1,966
true
globocom/GloboNetworkAPI-client-python
edit_vlan
5,731
LDU_FT/TylerTemp/docpie/help_handler
LDU_FT
[ "<BEGIN>\n## `docpie`", "match the argv for each usages, return dict.", " if argv is None, it will use sys.argv instead.\n if argv is str, it will call argv.split() first.\n this function will check the options in self.extra and handle it first.\n Which means it may not try to match ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the help_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the help_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Default help(`--help`, `-h`) handler. print help string and exit. when help = 'short_brief', flag startswith `--` will print the full `doc`, `-` for "Usage" section and "Option" section only. when help = 'short_brief_notice', flag startswith `--` will print the full `doc`, `-` for "Usag...
"Default help(`--help`, `-h`) handler. print help string and exit.\n\n when help = 'short_brief', flag startswith `--` will print\n the full `doc`, `-` for \"Usage\" section and \"Option\" section only.\n when help = 'short_brief_notice', flag startswith `--` will print\n the full `doc`, `-`...
51
false
TylerTemp/docpie
help_handler
5,732
LDU_FT/OLC-Bioinformatics/sipprverse/find_nucleotid_mismatches
LDU_FT
[ "<BEGIN>\n## `cmd2list`", "Executes a command through the operating system and returns the output\n as a list, or on error a string with the standard error.\n EXAMPLE:\n >>> from subprocess import Popen, PIPE\n >>> CMDout2array('ls -l')\n<END>", "<BEGIN>\n## `print_timers`", "PRINT EXECUTION TIM...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_nucleotid_mismatches 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 find_nucleotid_mismatches API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
This function takes two alligned sequence (subject and query), and the position on the subject where the alignment starts. The sequences are compared one nucleotide at a time. If mis matches are found they are saved. If a gap is found the function find_nuc_indel is called to find the entire indel and...
"This function takes two alligned sequence (subject and query), and the \n position on the subject where the alignment starts. The sequences are \n compared one nucleotide at a time. If mis matches are found they are \n saved. If a gap is found the function find_nuc_indel is called to find\n the entire inde...
255
false
OLC-Bioinformatics/sipprverse
find_nucleotid_mismatches
5,733
LDU_FT/PonteIneptique/collatinus-python/lignesFichier
LDU_FT
[ "<BEGIN>\n## `assims`", "Cherche si la chaîne a peut subir une assimilation, renvoie cette chaîne éventuellement assimilée.", " :param mot: Mot pour lequel on doit vérifier des assimilations\n :type mot: str\n :return: Mot assimilé\n :rtype: str\n<END>", "<BEGIN>\n## `morpho`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lignesFichier API. 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 lignesFichier API. 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...
L'ensemble de lignes du fichier qui ne sont ni vides ni commentées. * Les fichiers de Collatinus ont adopté le point d'exclamation * en début de ligne pour introduire un commentaire. * Ces lignes doivent être ignorées par le programme. :param nf: Nom du fichier :type nf: str :yield...
"L'ensemble de lignes du fichier qui ne sont ni vides ni commentées.\n\n * Les fichiers de Collatinus ont adopté le point d'exclamation\n * en début de ligne pour introduire un commentaire.\n * Ces lignes doivent être ignorées par le programme.\n\n :param nf: Nom du fichier\n :type nf: str\n ...
109
false
PonteIneptique/collatinus-python
lignesFichier
5,734
LDU_FT/thespacedoctor/frankenstein/_join_all_filenames_and_text
LDU_FT
[ "<BEGIN>\n## `_copy_folder_and_get_directory_listings`", "*copy template folder to /tmp and get directory listings*\n<END>", "<BEGIN>\n## `_collect_placeholders_required`", "*collect placeholders required from filename etc*\n<END>", "<BEGIN>\n## `_join_all_filenames_and_text`", "*join all file names, drie...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _join_all_filenames_and_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _join_all_filenames_and_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
*join all file names, driectory names and text content together*
"*join all file names, driectory names and text content together*"
20
false
thespacedoctor/frankenstein
_join_all_filenames_and_text
5,735
LDU_FT/minhhoit/yacms/signup_verify
LDU_FT
[ "<BEGIN>\n## `formfield`", "Apply the widget class defined by the\n ``RICHTEXT_WIDGET_CLASS`` setting.\n<END>", "<BEGIN>\n## `as_tag`", "Creates a tag expecting the format:\n ``{% tag_name as var_name %}``\n The decorated func returns the value that is given to\n ``var_name`` in th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the signup_verify API. 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 signup_verify API. 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...
View for the link in the verification email sent to a new user when they create an account and ``ACCOUNTS_VERIFICATION_REQUIRED`` is set to ``True``. Activates the user and logs them in, redirecting to the URL they tried to access when signing up.
"View for the link in the verification email sent to a new user\n when they create an account and ``ACCOUNTS_VERIFICATION_REQUIRED``\n is set to ``True``. Activates the user and logs them in,\n redirecting to the URL they tried to access when signing up."
502
false
minhhoit/yacms
signup_verify
5,736
LDU_FT/keunwoochoi/kapre/_spectrogram_mono
LDU_FT
[ "<BEGIN>\n## `_spectrogram_mono`", "x.shape : (None, 1, len_src),\n returns 2D batch of a mono power-spectrogram\n<END>", "<BEGIN>\n## `mel`", "[np] create a filterbank matrix to combine stft bins into mel-frequency bins\n use Slaney (said Librosa)", " n_mels: numbre of mel bands\n fmin : lo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _spectrogram_mono API. 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 _spectrogram_mono API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
x.shape : (None, 1, len_src), returns 2D batch of a mono power-spectrogram
"x.shape : (None, 1, len_src),\n returns 2D batch of a mono power-spectrogram"
26
false
keunwoochoi/kapre
_spectrogram_mono
5,737
LDU_FT/bububa/pyTOP/customer_stop
LDU_FT
[ "<BEGIN>\n## `ordersku_update`", "taobao.trade.ordersku.update 更新交易订单的销售属性", " 需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能\n<END>", "<BEGIN>\n## `get`", "taobao.topats.result.get 获取异步任务结果", " 使用指南:http://open.taobao.com/doc/detail.htm?id=30 ", " - 1.此接口用于获取异步任务处理的结果,传入的task_id必需属...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the customer_stop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the customer_stop API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
taobao.increment.customer.stop 关闭用户的增量消息服务 供应用关闭其用户的增量消息服务功能,这样可以节省ISV的流量。
"taobao.increment.customer.stop 关闭用户的增量消息服务\n \n 供应用关闭其用户的增量消息服务功能,这样可以节省ISV的流量。"
619
false
bububa/pyTOP
customer_stop
5,738
LDU_FT/aichaos/rivescript-python/sort_trigger_set
LDU_FT
[ "<BEGIN>\n## `format_message`", "Format a user's message for safe processing.", " This runs substitutions on the message and strips out any remaining\n symbols (depending on UTF-8 mode).", " :param str msg: The user's message.\n :param bool botreply: Whether this formatting is bein...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_trigger_set API. 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 sort_trigger_set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Sort a group of triggers in optimal sorting order. The optimal sorting order is, briefly: * Atomic triggers (containing nothing but plain words and alternation groups) are on top, with triggers containing the most words coming first. Triggers with equal word counts are sorted by length, and then ...
"Sort a group of triggers in optimal sorting order.\n\n The optimal sorting order is, briefly:\n * Atomic triggers (containing nothing but plain words and alternation\n groups) are on top, with triggers containing the most words coming\n first. Triggers with equal word counts are sorted by length, and t...
218
false
aichaos/rivescript-python
sort_trigger_set
5,739
LDU_FT/rdussurget/py-altimetry/modis2cnes
LDU_FT
[ "<BEGIN>\n## `bilinear_interpolation`", "Interpolate (x,y) from values associated with four points.\r", " The four points are a list of four triplets: (x, y, value).\r\n The four points can be in any order. They should form a rectangle.\r", " >>> bilinear_interpolation(12, 5.5,\r\n ... ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modis2cnes API. 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 modis2cnes API. 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...
#+ # MODIS2CNES : Convert MODIS date format to CNES JULIAN DAYS (YYYYDDD or YYYYDDDHHMM) # # @author: Renaud DUSSURGET (LER PAC/IFREMER) # @history: Created by RD on 29/10/2012 # #-
"#+\r\n # MODIS2CNES : Convert MODIS date format to CNES JULIAN DAYS (YYYYDDD or YYYYDDDHHMM)\r\n # \r\n # @author: Renaud DUSSURGET (LER PAC/IFREMER)\r\n # @history: Created by RD on 29/10/2012\r\n #\r\n #-"
320
false
rdussurget/py-altimetry
modis2cnes
5,740
LDU_FT/alexandrovteam/pyimzML/_get_previous_mz
LDU_FT
[ "<BEGIN>\n## `getionimage`", "Get an image representation of the intensity distribution\n of the ion with specified m/z value.", " By default, the intensity values within the tolerance region are summed.", " :param p:\n the ImzMLParser (or anything else with similar attributes) for the desired...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_previous_mz API. 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_previous_mz API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
given an mz array, return the mz_data (disk location) if the mz array was not previously written, write to disk first
"given an mz array, return the mz_data (disk location)\n if the mz array was not previously written, write to disk first"
36
false
alexandrovteam/pyimzML
_get_previous_mz
5,741
LDU_FT/Pelagicore/qface/_script_reload
LDU_FT
[ "<BEGIN>\n## `open_ns`", "generates a open namespace from symbol namespace x { y { z {\n<END>", "<BEGIN>\n## `close_ns`", "generates a closing names statement from a symbol\n<END>", "<BEGIN>\n## `ns`", "generates a namespace x::y::z statement from a symbol\n<END>", "<BEGIN>\n## `app`", "Takes several ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _script_reload API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _script_reload API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
run the named generator and monitor the input and generator folder
"run the named generator and monitor the input and generator folder"
56
false
Pelagicore/qface
_script_reload
5,742
LDU_FT/fuzeman/trakt.py/construct_url
LDU_FT
[ "<BEGIN>\n## `lookup`", "Lookup items by their Trakt, IMDB, TMDB, TVDB, or TVRage ID.", " **Note:** If you lookup an identifier without a :code:`media` type specified it\n might return multiple items if the :code:`service` is not globally unique.", " :param id: Identifier value to lookup\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the construct_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Construct a full trakt request URI, with `params` and `query`.
"Construct a full trakt request URI, with `params` and `query`."
227
false
fuzeman/trakt.py
construct_url
5,743
LDU_FT/DeepHorizons/iarm/ADR
LDU_FT
[ "<BEGIN>\n## `ADR`", "ADR Ra, [PC, #imm10_4]\n ADR Ra, label", " Load the address of label or the PC offset into Ra\n Ra must be a low register\n<END>", "<BEGIN>\n## `LDR`", "LDR Ra, [PC, #imm10_4]\n LDR Ra, label\n LDR Ra, =equate\n LDR Ra, [Rb, Rc]\n LDR Ra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ADR API. Each 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 ADR API. Each 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...
ADR Ra, [PC, #imm10_4] ADR Ra, label Load the address of label or the PC offset into Ra Ra must be a low register
"ADR Ra, [PC, #imm10_4]\n ADR Ra, label\n\n Load the address of label or the PC offset into Ra\n Ra must be a low register"
253
false
DeepHorizons/iarm
ADR
5,744
LDU_FT/skioo/django-customer-billing/charge_credit_card
LDU_FT
[ "<BEGIN>\n## `close`", "Closes the account.", " :param account_id: the account to close\n :return: Nothing\n<END>", "<BEGIN>\n## `create_invoices`", "Creates the invoices for any due positive charges in the account.\n If there are due positive charges in different currencies, one invoice is created...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the charge_credit_card 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 charge_credit_card 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...
:param credit_card_psp_object: an instance representing the credit card in the psp :param amount: the amount to charge :param client_ref: a reference that will appear on the customer's credit card report :return: a tuple (success, payment_psp_object)
":param credit_card_psp_object: an instance representing the credit card in the psp\n :param amount: the amount to charge\n :param client_ref: a reference that will appear on the customer's credit card report\n :return: a tuple (success, payment_psp_object)"
40
false
skioo/django-customer-billing
charge_credit_card
5,745
LDU_FT/phac-nml/sistr_cmd/parse_cgmlst_alleles
LDU_FT
[ "<BEGIN>\n## `parse_cgmlst_alleles`", "Parse cgMLST alleles from fasta file\n cgMLST FASTA file must have a header format of \">{marker name}|{allele name}\"", " Args:\n cgmlst_fasta (str): cgMLST fasta file path", " Returns:\n dict of list: Marker name to list of allele sequences\n<END...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_cgmlst_alleles 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 parse_cgmlst_alleles API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Parse cgMLST alleles from fasta file cgMLST FASTA file must have a header format of ">{marker name}|{allele name}" Args: cgmlst_fasta (str): cgMLST fasta file path Returns: dict of list: Marker name to list of allele sequences
"Parse cgMLST alleles from fasta file\n cgMLST FASTA file must have a header format of \">{marker name}|{allele name}\"\n\n Args:\n cgmlst_fasta (str): cgMLST fasta file path\n\n Returns:\n dict of list: Marker name to list of allele sequences"
148
false
phac-nml/sistr_cmd
parse_cgmlst_alleles
5,746
LDU_FT/capless/warrant/snake_to_camel
LDU_FT
[ "<BEGIN>\n## `dict_to_cognito`", ":param attributes: Dictionary of User Pool attribute names/values\n :return: list of User Pool attribute formatted dicts: {'Name': <attr_name>, 'Value': <attr_value>}\n<END>", "<BEGIN>\n## `snake_to_camel`", ":param snake_str: string\n :return: string converted from a s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the snake_to_camel API. 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 snake_to_camel API. 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 snake_str: string :return: string converted from a snake_case to a CamelCase
":param snake_str: string\n :return: string converted from a snake_case to a CamelCase"
61
false
capless/warrant
snake_to_camel
5,747
LDU_FT/facetoe/zenpy/as_plural
LDU_FT
[ "<BEGIN>\n## `agents`", "| Description: IDs of agents involved in the chat\n<END>", "<BEGIN>\n## `department`", "| Description: The ID of the department to which the chat is directed\n<END>", "<BEGIN>\n## `zendesk_ticket`", "| Description: The ID of the Zendesk Support ticket created from this chat. Av...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_plural API. 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 as_plural API. 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...
Given a result key, return in the plural form.
"Given a result key, return in the plural form."
321
false
facetoe/zenpy
as_plural
5,748
LDU_FT/ivanyu/idx2numpy/convert_to_file
LDU_FT
[ "<BEGIN>\n## `convert_from_file`", "Reads the content of file in IDX format, converts it into numpy.ndarray and\n returns it.\n file is a file-like object (with read() method) or a file name.\n<END>", "<BEGIN>\n## `_internal_convert`", "Converts file in IDX format provided by file-like input into numpy....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_to_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_to_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Writes the contents of the numpy.ndarray ndarr to file in IDX format. file is a file-like object (with write() method) or a file name.
"Writes the contents of the numpy.ndarray ndarr to file in IDX format.\n file is a file-like object (with write() method) or a file name."
10
false
ivanyu/idx2numpy
convert_to_file
5,749
LDU_FT/genepattern/genepattern-python/ODF
LDU_FT
[ "<BEGIN>\n## `GCT`", "Create a Dataframe with the contents of the GCT file\n<END>", "<BEGIN>\n## `ODF`", "Create a Dataframe with the contents of the ODF file", " For more information on the ODF format see:\n http://software.broadinstitute.org/cancer/software/genepattern/file-formats-guide", " :o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ODF API. Each 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 ODF API. Each 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...
Create a Dataframe with the contents of the ODF file For more information on the ODF format see: http://software.broadinstitute.org/cancer/software/genepattern/file-formats-guide :odf_obj: The ODF file. Accepts a file-like object, a file path, a URL to the file or a string containing the raw...
"Create a Dataframe with the contents of the ODF file\n\n For more information on the ODF format see:\n http://software.broadinstitute.org/cancer/software/genepattern/file-formats-guide\n\n :odf_obj: The ODF file. Accepts a file-like object, a file path, a URL to the file\n or a string containing ...
156
false
genepattern/genepattern-python
ODF
5,750
LDU_FT/BlueBrain/nat/enrich
LDU_FT
[ "<BEGIN>\n## `check_ocrmypdf`", "Run ocrmypdf and confirmed that a valid file was created\n<END>", "<BEGIN>\n## `run_ocrmypdf`", "Run ocrmypdf and let caller deal with results\n<END>", "<BEGIN>\n## `getParamValues`", "Return the rows of sampleDF that are associated to the parameter\n specified in p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enrich API. Each 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 enrich API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Class Enrichment Service from: /analyzer/enrichment Arguments: sample: A list of CURIEs for nodes whose attributes are to be tested for enrichment. For example, a list of genes. ontologyClass: CURIE for parent ontology class for the attribute to be tested. For example, GO biological ...
"Class Enrichment Service from: /analyzer/enrichment\n Arguments:\n sample: A list of CURIEs for nodes whose attributes are to be tested for enrichment. For example, a list of genes.\n ontologyClass: CURIE for parent ontology class for the attribute to be tested. For example, GO biologi...
56
false
BlueBrain/nat
enrich
5,751
LDU_FT/f3at/feat/woven
LDU_FT
[ "<BEGIN>\n## `parse_incoming_query`", "Effect factory parsing the query value from params and merging in\n the static_conditions specified.", " @param factory: IQueryView\n @param static_conditions: effect to be called to build up static\n conditions of the query\n @par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the woven API. Each 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 woven API. Each 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...
Decorator that will initialize and eventually start nested fibers.
"Decorator that will initialize and eventually start nested fibers."
658
false
f3at/feat
woven
5,752
LDU_FT/jupyterhub/kubespawner/_start_watching_events
LDU_FT
[ "<BEGIN>\n## `make_pod`", "Make a k8s pod specification for running a user notebook.", " Parameters\n ----------\n name:\n Name of pod. Must be unique within the namespace the object is\n going to be created in. Must be a valid DNS label.\n image:\n Image specification - usually...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _start_watching_events 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 _start_watching_events API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Start the events reflector If replace=False and the event reflector is already running, do nothing. If replace=True, a running pod reflector will be stopped and a new one started (for recovering from possible errors).
"Start the events reflector\n\n If replace=False and the event reflector is already running,\n do nothing.\n\n If replace=True, a running pod reflector will be stopped\n and a new one started (for recovering from possible errors)."
98
false
jupyterhub/kubespawner
_start_watching_events
5,753
LDU_FT/SuperCowPowers/workbench/tags
LDU_FT
[ "<BEGIN>\n## `conn_log_graph`", "Build up a graph (nodes and edges from a Bro conn.log)\n<END>", "<BEGIN>\n## `dns_log_graph`", "Build up a graph (nodes and edges from a Bro dns.log)\n<END>", "<BEGIN>\n## `weird_log_graph`", "Build up a graph (nodes and edges from a Bro weird.log)\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tags API. Each 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 tags API. Each 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...
Display tag information for all samples in database
"Display tag information for all samples in database"
328
false
SuperCowPowers/workbench
tags
5,754
LDU_FT/gpoulter/python-ngram/finditem
LDU_FT
[ "<BEGIN>\n## `copy`", "Return a new NGram object with the same settings, and\n referencing the same items. Copy is shallow in that\n each item is not recursively copied. Optionally specify\n alternate items to populate the copy.", " >>> from ngram import NGram\n >>> from co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the finditem API. 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 finditem API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return most similar item to the provided one, or None if nothing exceeds the threshold. >>> from ngram import NGram >>> n = NGram([(0, "Spam"), (1, "Ham"), (2, "Eggsy"), (3, "Egggsy")], ... key=lambda x:x[1].lower()) >>> n.finditem((3, 'Hom')) (1, 'Ham') >>> ...
"Return most similar item to the provided one, or None if\n nothing exceeds the threshold.\n\n >>> from ngram import NGram\n >>> n = NGram([(0, \"Spam\"), (1, \"Ham\"), (2, \"Eggsy\"), (3, \"Egggsy\")],\n ... key=lambda x:x[1].lower())\n >>> n.finditem((3, 'Hom'))\n (1, 'Ha...
59
false
gpoulter/python-ngram
finditem
5,755
LDU_FT/toumorokoshi/transmute-core/get_parameters
LDU_FT
[ "<BEGIN>\n## `from_argspec`", "retrieve a FunctionSignature object\n from the argspec and the annotations passed.\n<END>", "<BEGIN>\n## `split_args`", "given a dictionary of arguments, split them into\n args and kwargs", " note: this destroys the arg_dict passed. if you need it,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parameters API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
given a function, categorize which arguments should be passed by what types of parameters. The choices are: * query parameters: passed in as query parameters in the url * body parameters: retrieved from the request body (includes forms) * header parameters: retrieved from the request header * path ...
"given a function, categorize which arguments should be passed by\n what types of parameters. The choices are:\n\n * query parameters: passed in as query parameters in the url\n * body parameters: retrieved from the request body (includes forms)\n * header parameters: retrieved from the request header\n ...
100
false
toumorokoshi/transmute-core
get_parameters
5,756
LDU_FT/holtjma/msbwt/initLogger
LDU_FT
[ "<BEGIN>\n## `extendSeed`", "This function is intended to be an interactive technique for constructing transcripts, probably to be released\n in a future version of msbwt\n @param bwtFN - the filename of the BWT to load\n @param seedKmer - the seed sequence to use for construction\n @p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the initLogger API. 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 initLogger API. 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...
This code taken from Matt's Suspenders for initializing a logger
"This code taken from Matt's Suspenders for initializing a logger"
84
false
holtjma/msbwt
initLogger
5,757
LDU_FT/miguelgrinberg/python-socketio/emit
LDU_FT
[ "<BEGIN>\n## `get_participants`", "Return an iterable with the active participants in a room.\n<END>", "<BEGIN>\n## `connect`", "Register a client connection to a namespace.\n<END>", "<BEGIN>\n## `pre_disconnect`", "Put the client in the to-be-disconnected list.", " This allows the client data st...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API. Each 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 emit API. Each 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...
Emit a custom event to one or more connected clients. :param event: The event name. It can be any string. The event names ``'connect'``, ``'message'`` and ``'disconnect'`` are reserved and should not be used. :param data: The data to send to the client or cli...
"Emit a custom event to one or more connected clients.\n\n :param event: The event name. It can be any string. The event names\n ``'connect'``, ``'message'`` and ``'disconnect'`` are\n reserved and should not be used.\n :param data: The data to send to the client ...
172
false
miguelgrinberg/python-socketio
emit
5,758
LDU_FT/onelogin/python3-saml/check_sp_certs
LDU_FT
[ "<BEGIN>\n## `get_issuer`", "Gets the Issuer of the Logout Response Message\n :return: The Issuer\n :rtype: string\n<END>", "<BEGIN>\n## `get_status`", "Gets the Status\n :return: The Status\n :rtype: string\n<END>", "<BEGIN>\n## `is_valid`", "Determines if the SAML LogoutRespo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_sp_certs API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_sp_certs API. 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...
Checks if the x509 certs of the SP exists and are valid. :returns: If the x509 certs of the SP exists and are valid :rtype: boolean
"Checks if the x509 certs of the SP exists and are valid.\n :returns: If the x509 certs of the SP exists and are valid\n :rtype: boolean"
302
false
onelogin/python3-saml
check_sp_certs
5,759
LDU_FT/square/connect-python-sdk/refund_id
LDU_FT
[ "<BEGIN>\n## `attribute_name`", "Sets the attribute_name of this CatalogQueryRange.\n The name of the attribute to be searched.", " :param attribute_name: The attribute_name of this CatalogQueryRange.\n :type: str\n<END>", "<BEGIN>\n## `idempotency_key`", "Sets the idempotency_key of th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refund_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refund_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Sets the refund_id of this AdditionalRecipientReceivableRefund. The ID of the refund that is associated to this receivable refund. :param refund_id: The refund_id of this AdditionalRecipientReceivableRefund. :type: str
"Sets the refund_id of this AdditionalRecipientReceivableRefund.\n The ID of the refund that is associated to this receivable refund.\n\n :param refund_id: The refund_id of this AdditionalRecipientReceivableRefund.\n :type: str"
148
false
square/connect-python-sdk
refund_id
5,760
LDU_FT/klahnakoski/mo-logs/between
LDU_FT
[ "<BEGIN>\n## `_deep_json_to_string`", ":param value: SOME STRUCTURE\n :param depth: THE MAX DEPTH OF PROPERTIES, DEEPER WILL BE STRING-IFIED\n :return: FLATTER STRUCTURE\n<END>", "<BEGIN>\n## `read_settings`", ":param filename: Force load a file\n :param defs: arguments you want to accept\n :param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the between API. Each 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 between API. Each 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 first substring between `prefix` and `suffix` :param value: :param prefix: if None then return the prefix that ends with `suffix` :param suffix: if None then return the suffix that begins with `prefix` :param start: where to start the search :return:
"Return first substring between `prefix` and `suffix`\n :param value:\n :param prefix: if None then return the prefix that ends with `suffix`\n :param suffix: if None then return the suffix that begins with `prefix`\n :param start: where to start the search\n :return:"
74
false
klahnakoski/mo-logs
between
5,761
LDU_FT/guyskk/flask-restaction/generate_code
LDU_FT
[ "<BEGIN>\n## `resp_json`", "Get JSON from response if success, raise requests.HTTPError otherwise.", " Args:\n resp: requests.Response or flask.Response\n Retuens:\n JSON value\n<END>", "<BEGIN>\n## `res_to_url`", "Convert resource.action to (url, HTTP_METHOD)\n<END>", "<BEGIN>\n## `_r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_code API. 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 generate_code API. 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...
Generate res.js Args: meta: tuple(url_prefix, auth_header, resources) or metadata of API Returns: res.js source code
"Generate res.js\n\n Args:\n meta: tuple(url_prefix, auth_header, resources) or metadata of API\n Returns:\n res.js source code"
58
false
guyskk/flask-restaction
generate_code
5,762
LDU_FT/BreakingBytes/simkit/pause
LDU_FT
[ "<BEGIN>\n## `register`", "Register outputs and metadata.", " * ``initial_value`` - used in dynamic calculations\n * ``size`` - number of elements per timestep\n * ``uncertainty`` - in percent of nominal value\n * ``variance`` - dictionary of covariances, diagonal is square of\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pause API. Each 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 pause API. Each 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...
Pause the simulation. How is this different from stopping it? Maintain info sufficient to restart simulation. Sets ``is_paused`` to True. Will this state allow analysis? changing parameters? What can you do with a paused simulation? Should be capable of saving paused simulation for loadi...
"Pause the simulation. How is this different from stopping it? Maintain\n info sufficient to restart simulation. Sets ``is_paused`` to True.\n Will this state allow analysis? changing parameters? What can you do\n with a paused simulation?\n Should be capable of saving paused simulation for ...
227
false
BreakingBytes/simkit
pause
5,763
LDU_FT/python-visualization/folium/get_bounds
LDU_FT
[ "<BEGIN>\n## `_get_self_bounds`", "Computes the bounds of the object itself (not including it's children)\n in the form [[lat_min, lon_min], [lat_max, lon_max]].\n<END>", "<BEGIN>\n## `path_options`", "Contains options and constants shared between vector overlays\n (Polygon, Polyline, Circle, Circle...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bounds API. 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_bounds API. 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...
Computes the bounds of the object itself (not including it's children) in the form [[lat_min, lon_min], [lat_max, lon_max]]
"Computes the bounds of the object itself (not including it's children)\n in the form [[lat_min, lon_min], [lat_max, lon_max]]"
111
false
python-visualization/folium
get_bounds
5,764
LDU_FT/mozillazg/baidu-pcs-python-sdk/mkdir
LDU_FT
[ "<BEGIN>\n## `upload`", "上传单个文件(<2G).", " | 百度PCS服务目前支持最大2G的单个文件上传。\n | 如需支持超大文件(>2G)的断点续传,请参考下面的“分片文件上传”方法。", " :param remote_path: 网盘中文件的保存路径(包含文件名)。\n 必须以 /apps/ 开头。", " .. warning::\n * 路径长度限制为1000;...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mkdir API. Each 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 mkdir API. Each 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...
为当前用户创建一个目录. :param remote_path: 网盘中目录的路径,必须以 /apps/ 开头。 .. warning:: * 路径长度限制为1000; * 径中不能包含以下字符:``\\\\ ? | " > < : *``; * 文件名或路径名开头结尾不能是 ``.`` 或空白字符,空...
"为当前用户创建一个目录.\n\n :param remote_path: 网盘中目录的路径,必须以 /apps/ 开头。\n\n .. warning::\n * 路径长度限制为1000;\n * 径中不能包含以下字符:``\\\\\\\\ ? | \" > < : *``;\n * 文件名或路径名开头结尾不能是 ``.``\n ...
126
false
mozillazg/baidu-pcs-python-sdk
mkdir
5,765
LDU_FT/icgood/pysasl/server_mechanisms
LDU_FT
[ "<BEGIN>\n## `check_secret`", "Checks if the secret string used in the authentication attempt\n matches the \"known\" secret string. Some mechanisms will override this\n method to control how this comparison is made.", " Args:\n secret: The secret string to compare against what w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the server_mechanisms API. 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 server_mechanisms API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
List of available :class:`ServerMechanism` objects.
"List of available :class:`ServerMechanism` objects."
22
false
icgood/pysasl
server_mechanisms
5,766
LDU_FT/CamDavidsonPilon/lifelines/rank
LDU_FT
[ "<BEGIN>\n## `right_censor_lifetimes`", "Right censor the deaths, uniformly\n lifetimes: (n,) array of positive random variables\n max_: the max time a censorship can occur\n min_: the min time a censorship can occur", " Returns\n The actual observations including uniform right censoring,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rank API. Each 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 rank API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Returns the rank and count of the value in the btree.
"Returns the rank and count of the value in the btree."
603
false
CamDavidsonPilon/lifelines
rank
5,767
LDU_FT/benknight/hue-python-rgb-converter/hex_to_xy
LDU_FT
[ "<BEGIN>\n## `hex_to_rgb`", "Converts a valid hex color string to an RGB array.\n<END>", "<BEGIN>\n## `cross_product`", "Returns the cross product of two XYPoints.\n<END>", "<BEGIN>\n## `get_distance_between_two_points`", "Returns the distance between two XYPoints.\n<END>", "<BEGIN>\n## `get_xy_point_fr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hex_to_xy API. 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 hex_to_xy API. 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...
Converts hexadecimal colors represented as a String to approximate CIE 1931 x and y coordinates.
"Converts hexadecimal colors represented as a String to approximate CIE\n 1931 x and y coordinates."
20
false
benknight/hue-python-rgb-converter
hex_to_xy
5,768
LDU_FT/globocom/GloboNetworkAPI-client-python/get_available_ip6_for_vip
LDU_FT
[ "<BEGIN>\n## `deploy`", "Deploy network in equipments and set column 'active = 1' in tables redeipv4", " :param id_networkv4: ID for NetworkIPv4", " :return: Equipments configuration output\n<END>", "<BEGIN>\n## `get_by_id`", "Get IPv4 network", " :param id_networkv4: ID for Network...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_available_ip6_for_vip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_available_ip6_for_vip API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Get and save a available IP in the network ipv6 for vip request :param id_evip: Vip environment identifier. Integer value and greater than zero. :param name: Ip description :return: Dictionary with the following structure: :: {'ip': {'bloco1':<bloco1>, 'bloco2...
"Get and save a available IP in the network ipv6 for vip request\n\n :param id_evip: Vip environment identifier. Integer value and greater than zero.\n :param name: Ip description\n\n :return: Dictionary with the following structure:\n\n ::\n\n {'ip': {'bloco1':<bloco1>,\n ...
1,966
true
globocom/GloboNetworkAPI-client-python
get_available_ip6_for_vip
5,769
LDU_FT/EelcoHoogendoorn/Numpy_arraysetops_EP/any_unique
LDU_FT
[ "<BEGIN>\n## `group_by`", "construct a grouping object on the given keys, optionally performing the given reduction on the given values", " Parameters\n ----------\n keys : indexable object\n keys to group by\n values : array_like, optional\n sequence of values, of the same length as k...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the any_unique API. 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 any_unique API. 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 true if any of the keys is unique
"returns true if any of the keys is unique"
198
false
EelcoHoogendoorn/Numpy_arraysetops_EP
any_unique
5,770
LDU_FT/DaveMcEwan/ndim/pts_change_axis
LDU_FT
[ "<BEGIN>\n## `pt_on_bezier_curve`", "Return point at t on bezier curve defined by control points P.\n<END>", "<BEGIN>\n## `pts_on_bezier_curve`", "Return list N+1 points representing N line segments on bezier curve\n defined by control points P.\n<END>", "<BEGIN>\n## `bezier_curve_approx_len`", "Return a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pts_change_axis API. 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 pts_change_axis API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Return given point with axes flipped and offset, converting points between cartesian axis layouts. For example, SVG Y-axis increases top to bottom but DXF is bottom to top.
"Return given point with axes flipped and offset, converting points between cartesian axis layouts.\nFor example, SVG Y-axis increases top to bottom but DXF is bottom to top."
40
false
DaveMcEwan/ndim
pts_change_axis
5,771
LDU_FT/samuelcolvin/grablib/_delete_stale
LDU_FT
[ "<BEGIN>\n## `_delete_stale`", "Delete files left in self._stale_files. Also delete their directories if empty.\n<END>", "<BEGIN>\n## `_file_path`", "check src_path complies with regex and generate new filename\n<END>", "<BEGIN>\n## `_lock`", "Add details of the files downloaded to _new_lock so they can b...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _delete_stale API. 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 _delete_stale API. 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...
Delete files left in self._stale_files. Also delete their directories if empty.
"Delete files left in self._stale_files. Also delete their directories if empty."
15
false
samuelcolvin/grablib
_delete_stale
5,772