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/runfalk/spans/overlap | LDU_FT | [
"<BEGIN>\n## `format_sec`",
"Format seconds in a more human readable way. It supports units down to\n nanoseconds.",
" :param s: Float of seconds to format\n :return: String second representation, like 12.4 us\n<END>",
"<BEGIN>\n## `fix_timedelta_repr`",
"Account repr change for timedelta in Python... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the overlap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns True if both ranges share any points.
>>> intrange(1, 10).overlap(intrange(5, 15))
True
>>> intrange(1, 5).overlap(intrange(5, 10))
False
This is the same as the ``&&`` operator for two ranges in PostgreSQL.
:param other: Range to test against.
... | "Returns True if both ranges share any points.\n\n >>> intrange(1, 10).overlap(intrange(5, 15))\n True\n >>> intrange(1, 5).overlap(intrange(5, 10))\n False\n\n This is the same as the ``&&`` operator for two ranges in PostgreSQL.\n\n :param other: Range to test... | 137 | false | runfalk/spans | overlap | 7,373 | |
LDU_FT/tornadoweb/tornado/parse_qs_bytes | LDU_FT | [
"<BEGIN>\n## `start`",
"Begins watching source files for changes.",
" .. versionchanged:: 5.0\n The ``io_loop`` argument (deprecated since version 4.1) has been removed.\n<END>",
"<BEGIN>\n## `main`",
"Command-line wrapper to re-run a script whenever its source changes.",
" Scripts may be spec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_qs_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_qs_bytes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Parses a query string like urlparse.parse_qs, but returns the
values as byte strings.
Keys still become type str (interpreted as latin1 in python3!)
because it's too painful to keep them as byte strings in
python3 and in practice they're nearly always ascii anyway. | "Parses a query string like urlparse.parse_qs, but returns the\n values as byte strings.\n\n Keys still become type str (interpreted as latin1 in python3!)\n because it's too painful to keep them as byte strings in\n python3 and in practice they're nearly always ascii anyway." | 1,291 | true | tornadoweb/tornado | parse_qs_bytes | 7,374 | |
LDU_FT/merll/docker-fabric/build | LDU_FT | [
"<BEGIN>\n## `reset_socat`",
"Finds and closes all processes of `socat`.",
" :param use_sudo: Use `sudo` command. As Docker-Fabric does not run `socat` with `sudo`, this is by default set to\n ``False``. Setting it to ``True`` could unintentionally remove instances from other users.\n :type use_sudo:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
Each 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 build API.
Each 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... | Identical to :meth:`dockermap.client.base.DockerClientWrapper.build` with additional logging. | "Identical to :meth:`dockermap.client.base.DockerClientWrapper.build` with additional logging." | 157 | false | merll/docker-fabric | build | 7,375 | |
LDU_FT/dcaune/perseus-lib-python-common/convert_image_to_rgb_mode | LDU_FT | [
"<BEGIN>\n## `convert_image_to_rgb_mode`",
"Convert the specified image instance to RGB mode.",
" @param image: a Python Library Image (PIL) instance to convert its\n pixel format to RGB, discarding the alpha channel.",
" @param fill_color: color to be used to fill transparent pixels when\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_image_to_rgb_mode 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 convert_image_to_rgb_mode API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Convert the specified image instance to RGB mode.
@param image: a Python Library Image (PIL) instance to convert its
pixel format to RGB, discarding the alpha channel.
@param fill_color: color to be used to fill transparent pixels when
discaring the alpha channel. By default, the white color... | "Convert the specified image instance to RGB mode.\n\n\n @param image: a Python Library Image (PIL) instance to convert its\n pixel format to RGB, discarding the alpha channel.\n\n @param fill_color: color to be used to fill transparent pixels when\n discaring the alpha channel. By default, the whi... | 498 | false | dcaune/perseus-lib-python-common | convert_image_to_rgb_mode | 7,376 | |
LDU_FT/MicroPyramid/django-mfa/build_uri | LDU_FT | [
"<BEGIN>\n## `at`",
"Accepts either a Unix timestamp integer or a Time object.\n Time objects will be adjusted to UTC automatically\n @param [Time/Integer] time the time to generate an OTP for\n @param [Integer] counter_offset an amount of ticks to add to the time counter\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_uri API.
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 build_uri API.
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... | Returns the provisioning URI for the OTP; works for either TOTP or HOTP.
This can then be encoded in a QR Code and used to provision the Google
Authenticator app.
For module-internal use.
See also:
http://code.google.com/p/google-authenticator/wiki/KeyUriFormat
@param [String] the hotp/t... | "Returns the provisioning URI for the OTP; works for either TOTP or HOTP.\n\n This can then be encoded in a QR Code and used to provision the Google\n Authenticator app.\n\n For module-internal use.\n\n See also:\n http://code.google.com/p/google-authenticator/wiki/KeyUriFormat\n\n @param [String]... | 15 | false | MicroPyramid/django-mfa | build_uri | 7,377 | |
LDU_FT/Zsailer/phylopandas/_write_method | LDU_FT | [
"<BEGIN>\n## `_dendropy_to_dataframe`",
"Convert Dendropy tree to Pandas dataframe.\n<END>",
"<BEGIN>\n## `_read`",
"Read a phylogenetic tree into a phylopandas.DataFrame.",
" The resulting DataFrame has the following columns:\n - name: label for each taxa or node.\n - id: unique id (create... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_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.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _write_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.
The ext... | Add a write method for named schema to a class. | "Add a write method for named schema to a class." | 65 | false | Zsailer/phylopandas | _write_method | 7,378 | |
LDU_FT/mccutchen/triangulizor/triangulize | LDU_FT | [
"<BEGIN>\n## `triangulize`",
"Processes the given image by breaking it down into tiles of the given\n size and applying a triangular effect to each tile. Returns the processed\n image as a PIL Image object.",
" The image can be given as anything suitable for passing to `Image.open`\n (ie, the path t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the triangulize API.
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 triangulize API.
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... | Processes the given image by breaking it down into tiles of the given
size and applying a triangular effect to each tile. Returns the processed
image as a PIL Image object.
The image can be given as anything suitable for passing to `Image.open`
(ie, the path to an image or as a file-like object contain... | "Processes the given image by breaking it down into tiles of the given\n size and applying a triangular effect to each tile. Returns the processed\n image as a PIL Image object.\n\n The image can be given as anything suitable for passing to `Image.open`\n (ie, the path to an image or as a file-like object c... | 22 | false | mccutchen/triangulizor | triangulize | 7,379 | |
LDU_FT/PyHDI/Pyverilog/p_blocking_substitution | LDU_FT | [
"<BEGIN>\n## `_create_opt_rule`",
"Given a rule name, creates an optional ply.yacc rule\n for it. The name of the optional rule is\n <rulename>_opt\n<END>",
"<BEGIN>\n## `p_pragma_assign`",
"pragma : LPAREN TIMES ID EQUALS expression TIMES RPAREN\n<END>",
"<BEGIN>\n## `p_moduledef`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_blocking_substitution 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 p_blocking_substitution API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | blocking_substitution : delays lvalue EQUALS delays rvalue SEMICOLON | "blocking_substitution : delays lvalue EQUALS delays rvalue SEMICOLON" | 210 | false | PyHDI/Pyverilog | p_blocking_substitution | 7,380 | |
LDU_FT/HPAC/matchpy/as_graph | LDU_FT | [
"<BEGIN>\n## `substitute`",
"Replaces variables in the given *expression* using the given *substitution*.",
" >>> print(substitute(f(x_), {'x': a}))\n f(a)",
" If nothing was substituted, the original expression is returned:",
" >>> expression = f(x_)\n >>> result = substitute(expression, {'y... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_graph API.
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 as_graph API.
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... | Renders the discrimination net as graphviz digraph. | "Renders the discrimination net as graphviz digraph." | 324 | false | HPAC/matchpy | as_graph | 7,381 | |
LDU_FT/ming060/robotframework-uiautomatorlibrary/set_text | LDU_FT | [
"<BEGIN>\n## `set_serial`",
"Specify given *android_serial* device to perform test.",
" You do not have to specify the device when there is only one device connects to the computer.",
" When you need to use multiple devices, do not use this keyword to switch between devices in test execution.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Set *input_text* to the UI object with *selectors* | "Set *input_text* to the UI object with *selectors*" | 115 | false | ming060/robotframework-uiautomatorlibrary | set_text | 7,382 | |
LDU_FT/lpantano/seqcluster/map_to_precursors_on_fly | LDU_FT | [
"<BEGIN>\n## `add_exp`",
"Function to add the counts for each sample",
" :param gr: name of the sample\n :param exp: counts of sample **gr**",
" :returns: dict with key,values equally to name,counts.\n<END>",
"<BEGIN>\n## `MakeJoint`",
"Joint distribution of values from pmf1 and pmf2.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_to_precursors_on_fly API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the map_to_precursors_on_fly API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | map sequences to precursors with franpr algorithm to avoid writting on disk | "map sequences to precursors with franpr algorithm to avoid writting on disk" | 491 | false | lpantano/seqcluster | map_to_precursors_on_fly | 7,383 | |
LDU_FT/wikimedia/ores/format_v2_score_response | LDU_FT | [
"<BEGIN>\n## `redis_from_url`",
"Converts a redis URL used by celery into a `redis.Redis` object.\n<END>",
"<BEGIN>\n## `process_model_scores`",
"Generates a score map for a set of models based on a `root_cache`.\n This method performs no substantial IO, but may incur substantial CPU\n usage.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_v2_score_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_v2_score_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | {
"scores": {
"<context>": {
"<model_name>": {
"scores": {
"<rev_id>": <score>,
"<rev_id>": <score>
},
"features": {
"<rev_id>": <features>,
... | "{\n \"scores\": {\n \"<context>\": {\n \"<model_name>\": {\n \"scores\": {\n \"<rev_id>\": <score>,\n \"<rev_id>\": <score>\n },\n \"features\": {\n \"<rev_id>\... | 52 | false | wikimedia/ores | format_v2_score_response | 7,384 | |
LDU_FT/ternaris/marv/marvcli_query | LDU_FT | [
"<BEGIN>\n## `encode_setid`",
"Encode uint128 setid as stripped b32encoded string\n<END>",
"<BEGIN>\n## `marvcli_cleanup`",
"Cleanup unused tags and discarded datasets.\n<END>",
"<BEGIN>\n## `marvcli_develop_server`",
"Run development webserver.",
" ATTENTION: By default it is only served on localhos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the marvcli_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the marvcli_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Query datasets.
Use --collection=* to list all datasets across all collections. | "Query datasets.\n\n Use --collection=* to list all datasets across all collections." | 76 | false | ternaris/marv | marvcli_query | 7,385 | |
LDU_FT/d11wtq/dockerpty/read | LDU_FT | [
"<BEGIN>\n## `before_all`",
"Pulls down busybox:latest before anything is tested.\n<END>",
"<BEGIN>\n## `after_scenario`",
"Cleans up docker containers used as test fixtures after test completes.\n<END>",
"<BEGIN>\n## `set_blocking`",
"Set the given file-descriptor blocking or non-blocking.",
" Retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return `n` bytes of data from the Stream, or None at end of stream. | "Return `n` bytes of data from the Stream, or None at end of stream." | 66 | false | d11wtq/dockerpty | read | 7,386 | |
LDU_FT/relekang/python-semantic-release/parse_commit_message | LDU_FT | [
"<BEGIN>\n## `parse_commit_message`",
"Parses a commit message according to the 1.0 version of python-semantic-release. It expects\n a tag of some sort in the commit message and will use the rest of the first line as changelog\n content.",
" :param message: A string of a commit message.\n :raises Un... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_commit_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_commit_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Parses a commit message according to the 1.0 version of python-semantic-release. It expects
a tag of some sort in the commit message and will use the rest of the first line as changelog
content.
:param message: A string of a commit message.
:raises UnknownCommitMessageStyleError: If it does not recogni... | "Parses a commit message according to the 1.0 version of python-semantic-release. It expects\n a tag of some sort in the commit message and will use the rest of the first line as changelog\n content.\n\n :param message: A string of a commit message.\n :raises UnknownCommitMessageStyleError: If it does not r... | 103 | false | relekang/python-semantic-release | parse_commit_message | 7,387 | |
LDU_FT/python-hyper/wsproto/handle_connection | LDU_FT | [
"<BEGIN>\n## `validate`",
"Incrementally validate a chunk of bytes provided as string.\n Will return a quad ``(valid?, endsOnCodePoint?, currentIndex, totalIndex)``.\n As soon as an octet is encountered which renders the octet sequence\n invalid, a quad with ``valid? == False`` is returned. `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Handle a connection.
The server operates a request/response cycle, so it performs a synchronous
loop:
1) Read data from network into wsproto
2) Get next wsproto event
3) Handle event
4) Send data from wsproto to network
:param stream: a socket stream | "Handle a connection.\n\n The server operates a request/response cycle, so it performs a synchronous\n loop:\n\n 1) Read data from network into wsproto\n 2) Get next wsproto event\n 3) Handle event\n 4) Send data from wsproto to network\n\n :param stream: a socket stream" | 34 | false | python-hyper/wsproto | handle_connection | 7,388 | |
LDU_FT/troeger/opensubmit/send_hostinfo | LDU_FT | [
"<BEGIN>\n## `read_config`",
"Read configuration file, perform sanity check and return configuration\n dictionary used by other functions.\n<END>",
"<BEGIN>\n## `check_config`",
"Check the executor config file for consistency.\n<END>",
"<BEGIN>\n## `has_config`",
"Determine if the given config file... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_hostinfo API.
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 send_hostinfo API.
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... | Register this host on OpenSubmit test machine. | "Register this host on OpenSubmit test machine." | 254 | false | troeger/opensubmit | send_hostinfo | 7,389 | |
LDU_FT/counsyl/django-pedant/fail_on_template_errors | LDU_FT | [
"<BEGIN>\n## `ifdef`",
"Check if variable is defined in the context.",
" Similar to django.template.defaulttags.do_if.\n<END>",
"<BEGIN>\n## `strict_resolve`",
"Resolves a ``FilterExpression`` within the context of the template.",
" This patched method acts as a proxy to the original, but forces\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fail_on_template_errors 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 fail_on_template_errors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Decorator that causes templates to fail on template errors. | "Decorator that causes templates to fail on template errors." | 19 | false | counsyl/django-pedant | fail_on_template_errors | 7,390 | |
LDU_FT/beerfactory/hbmqtt/from_stream | LDU_FT | [
"<BEGIN>\n## `mqtt_subscribe`",
":param topics: array of topics [{'filter':'/a/b', 'qos': 0x00}, ...]\n :return:\n<END>",
"<BEGIN>\n## `start`",
"Start the broker to serve with the given configuration",
" Start method opens network sockets and will start listening for incoming connections.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Read and decode MQTT message fixed header from stream
:return: FixedHeader instance | "Read and decode MQTT message fixed header from stream\n :return: FixedHeader instance" | 110 | false | beerfactory/hbmqtt | from_stream | 7,391 | |
LDU_FT/pyokagan/pyglreg/import_extension | LDU_FT | [
"<BEGIN>\n## `import_type`",
"Import Type `name` and its dependencies from Registry `src`\n to Registry `dest`.",
" :param Registry dest: Destination Registry\n :param Registry src: Source Registry\n :param str name: Name of type to import\n :param str api: Prefer to import Types with api Name `a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_extension API.
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 import_extension API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Imports Extension `name`, and all its dependencies.
:param Registry dest: Destination Registry
:param Registry src: Source Registry
:param str name: Name of Extension to import
:param str api: Prefer to import types with API name `api`,
or None to prefer Types with no API name.
:typ... | "Imports Extension `name`, and all its dependencies.\n\n :param Registry dest: Destination Registry\n :param Registry src: Source Registry\n :param str name: Name of Extension to import\n :param str api: Prefer to import types with API name `api`,\n or None to prefer Types with no API name.\n... | 84 | false | pyokagan/pyglreg | import_extension | 7,392 | |
LDU_FT/loganasherjones/yapconf/add_arguments | LDU_FT | [
"<BEGIN>\n## `change_case`",
"Changes the case to snake/kebab case depending on the separator.",
" As regexes can be confusing, I'll just go through this line by line as an\n example with the following string: ' Foo2Boo_barBaz bat'",
" 1. Remove whitespaces from beginning/end. => 'Foo2Boo_barBaz bat-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Adds all items to the parser passed in.
Args:
parser (argparse.ArgumentParser): The parser to add all items to.
bootstrap (bool): Flag to indicate whether you only want to mark
bootstrapped items as required on the command-line. | "Adds all items to the parser passed in.\n\n Args:\n parser (argparse.ArgumentParser): The parser to add all items to.\n bootstrap (bool): Flag to indicate whether you only want to mark\n bootstrapped items as required on the command-line." | 139 | false | loganasherjones/yapconf | add_arguments | 7,393 | |
LDU_FT/rossdylan/sham/get_disks | LDU_FT | [
"<BEGIN>\n## `get_volumes`",
"Return a list of all Volumes in this Storage Pool\n<END>",
"<BEGIN>\n## `create_backed_vol`",
"TODO(rdelinger) think about changing _format\n This is a pretty specialized function.\n It takes an existing volume, and creates a new volume\n that is backed by th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_disks API.
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_disks API.
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 list of all the Disks attached to this VM
The disks are returned in a sham.storage.volumes.Volume
object | "Return a list of all the Disks attached to this VM\n The disks are returned in a sham.storage.volumes.Volume\n object" | 23 | false | rossdylan/sham | get_disks | 7,394 | |
LDU_FT/DataONEorg/d1_python/setAccessPolicy | LDU_FT | [
"<BEGIN>\n## `wrap`",
"Work with the AccessPolicy in a SystemMetadata PyXB object.",
" Args:\n access_pyxb : AccessPolicy PyXB object\n The AccessPolicy to modify.",
" read_only: bool\n Do not update the wrapped AccessPolicy.",
" When only a single AccessPolicy operation is nee... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setAccessPolicy API.
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 setAccessPolicy API.
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... | See Also: setAccessPolicyResponse()
Args:
pid:
accessPolicy:
serialVersion:
vendorSpecific:
Returns: | "See Also: setAccessPolicyResponse()\n\n Args:\n pid:\n accessPolicy:\n serialVersion:\n vendorSpecific:\n\n Returns:" | 1,937 | true | DataONEorg/d1_python | setAccessPolicy | 7,395 | |
LDU_FT/Komnomnomnom/swigibpy/reqAccountSummary | LDU_FT | [
"<BEGIN>\n## `placeOrder`",
"placeOrder(EClient self, OrderId id, Contract contract, Order order)\n<END>",
"<BEGIN>\n## `reqMktDepth`",
"reqMktDepth(EClient self, TickerId id, Contract contract, int numRows, TagValueListSPtr const & mktDepthOptions)\n<END>",
"<BEGIN>\n## `exerciseOptions`",
"exerciseOptio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reqAccountSummary API.
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 reqAccountSummary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | reqAccountSummary(EClient self, int reqId, IBString const & groupName, IBString const & tags) | "reqAccountSummary(EClient self, int reqId, IBString const & groupName, IBString const & tags)" | 81 | false | Komnomnomnom/swigibpy | reqAccountSummary | 7,396 | |
LDU_FT/Trax-air/swagger-parser/_add_parameters | LDU_FT | [
"<BEGIN>\n## `_validate_post_body`",
"returns a tuple (boolean, msg)\n to indicate whether the validation passed\n if False then msg contains the reason\n if True then msg is empty\n<END>",
"<BEGIN>\n## `build_definitions_example`",
"Parse all definitions in the swagger specification.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_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 e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_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 e... | Populates the given parameter map with the list of parameters provided, resolving any reference objects encountered.
Args:
parameter_map: mapping from parameter names to parameter objects
parameter_list: list of either parameter objects or reference objects | "Populates the given parameter map with the list of parameters provided, resolving any reference objects encountered.\n\n Args:\n parameter_map: mapping from parameter names to parameter objects\n parameter_list: list of either parameter objects or reference objects" | 100 | false | Trax-air/swagger-parser | _add_parameters | 7,397 | |
LDU_FT/cthoyt/onto2nx/load_file | LDU_FT | [
"<BEGIN>\n## `parse_owl_rdf`",
"Parses an OWL resource that's encoded in OWL/RDF into a NetworkX directional graph",
" :param str iri: The location of the OWL resource to be parsed by Ontospy\n :type iri: str\n :rtype: network.DiGraph\n<END>",
"<BEGIN>\n## `get_or_create_home_repo`",
"Check to make... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_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... | The type of open file objects such as sys.stdout; alias of the built-in file.
@TODO: when is this used? | "The type of open file objects such as sys.stdout; alias of the built-in file.\n @TODO: when is this used?" | 102 | false | cthoyt/onto2nx | load_file | 7,398 | |
LDU_FT/LLNL/certipy/create_key_pair | LDU_FT | [
"<BEGIN>\n## `open_tls_file`",
"Context to ensure correct file permissions for certs and directories",
" Ensures:\n - A containing directory with appropriate permissions\n - Correct file permissions based on what the file is (0o600 for keys\n and 0o644 for certs)\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_key_pair API.
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 create_key_pair API.
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... | Create a public/private key pair.
Arguments: type - Key type, must be one of TYPE_RSA and TYPE_DSA
bits - Number of bits to use in the key
Returns: The public/private key pair in a PKey object | "Create a public/private key pair.\n\n Arguments: type - Key type, must be one of TYPE_RSA and TYPE_DSA\n bits - Number of bits to use in the key\n Returns: The public/private key pair in a PKey object" | 50 | false | LLNL/certipy | create_key_pair | 7,399 | |
LDU_FT/villebro/pyhtzee/score_small_straight_yahztee | LDU_FT | [
"<BEGIN>\n## `score_x_of_a_kind_yahtzee`",
"Return sum of dice if there are a minimum of equal min_same_faces dice, otherwise\n return zero. Only works for 3 or more min_same_faces.\n<END>",
"<BEGIN>\n## `score_x_of_a_kind_yatzy`",
"Similar to yahtzee, but only return the sum of the dice that satisfy min_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the score_small_straight_yahztee 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 score_small_straight_yahztee API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Small straight scoring according to regular yahtzee rules | "Small straight scoring according to regular yahtzee rules" | 12 | false | villebro/pyhtzee | score_small_straight_yahztee | 7,400 | |
LDU_FT/DLR-RM/RAFCON/_load_script | LDU_FT | [
"<BEGIN>\n## `modify_origin`",
"Set both from_state and from_key at the same time to modify data flow origin",
" :param str from_state: State id of the origin state\n :param int from_key: Data port id of the origin port\n :raises exceptions.ValueError: If parameters have wrong types or the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_script API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_script API.
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... | Loads the script from the filesystem
:raises exceptions.IOError: if the script file could not be opened | "Loads the script from the filesystem\n\n :raises exceptions.IOError: if the script file could not be opened" | 2,325 | true | DLR-RM/RAFCON | _load_script | 7,401 | |
LDU_FT/sarugaku/requirementslib/_strip_marker_elem | LDU_FT | [
"<BEGIN>\n## `pep517_subprocess_runner`",
"The default method of calling the wrapper subprocess.\n<END>",
"<BEGIN>\n## `run_setup`",
"Run a `setup.py` script with a target **egg_base** if provided.",
" :param S script_path: The path to the `setup.py` script to run\n :param Optional[S] egg_base: The me... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _strip_marker_elem 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 _strip_marker_elem 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... | Remove the supplied element from the marker.
This is not a comprehensive implementation, but relies on an important
characteristic of metadata generation: The element's operand is always
associated with an "and" operator. This means that we can simply remove the
operand and the "and" operator associate... | "Remove the supplied element from the marker.\n\n This is not a comprehensive implementation, but relies on an important\n characteristic of metadata generation: The element's operand is always\n associated with an \"and\" operator. This means that we can simply remove the\n operand and the \"and\" operator... | 26 | false | sarugaku/requirementslib | _strip_marker_elem | 7,402 | |
LDU_FT/xiaocong/uiautomator/screen | LDU_FT | [
"<BEGIN>\n## `cmd`",
"adb command, add -s serial by default. return the subprocess.Popen object.\n<END>",
"<BEGIN>\n## `devices`",
"get a dict of attached devices. key is the device serial, value is device name.\n<END>",
"<BEGIN>\n## `dump`",
"dump device window and pull to local file.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the screen API.
Each 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 screen API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Turn on/off screen.
Usage:
d.screen.on()
d.screen.off()
d.screen == 'on' # Check if the screen is on, same as 'd.screenOn'
d.screen == 'off' # Check if the screen is off, same as 'not d.screenOn' | "Turn on/off screen.\n Usage:\n d.screen.on()\n d.screen.off()\n\n d.screen == 'on' # Check if the screen is on, same as 'd.screenOn'\n d.screen == 'off' # Check if the screen is off, same as 'not d.screenOn'" | 33 | false | xiaocong/uiautomator | screen | 7,403 | |
LDU_FT/cs50/check50/install_dependencies | LDU_FT | [
"<BEGIN>\n## `install_dependencies`",
"Install all packages in dependency list via pip.\n<END>",
"<BEGIN>\n## `install_translations`",
"Add check translations according to ``config`` as a fallback to existing translations\n<END>",
"<BEGIN>\n## `await_results`",
"Ping {url} until it returns a results paylo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Install all packages in dependency list via pip. | "Install all packages in dependency list via pip." | 125 | false | cs50/check50 | install_dependencies | 7,404 | |
LDU_FT/django-userena-ce/django-userena-ce/get_gravatar | LDU_FT | [
"<BEGIN>\n## `activate`",
"Activate a user with an activation key.",
" The key is a SHA1 string. When the SHA1 is found with an\n :class:`UserenaSignup`, the :class:`User` of that account will be\n activated. After a successful activation the view will redirect to\n ``success_url``. If the SHA1 is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_gravatar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_gravatar API.
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... | Get's a Gravatar for a email address.
:param size:
The size in pixels of one side of the Gravatar's square image.
Optional, if not supplied will default to ``80``.
:param default:
Defines what should be displayed if no image is found for this user.
Optional argument which defau... | "Get's a Gravatar for a email address.\n\n :param size:\n The size in pixels of one side of the Gravatar's square image.\n Optional, if not supplied will default to ``80``.\n\n :param default:\n Defines what should be displayed if no image is found for this user.\n Optional argument wh... | 241 | false | django-userena-ce/django-userena-ce | get_gravatar | 7,405 | |
LDU_FT/redhat-cip/dci-control-server/create_user_dci | LDU_FT | [
"<BEGIN>\n## `get_user_and_check_auth`",
"Check the combination username/password that is valid on the\n database.\n<END>",
"<BEGIN>\n## `retrieve_info`",
"Query the Github API to retrieve the needed infos.\n<END>",
"<BEGIN>\n## `get_last_rconfiguration_id`",
"Get the rconfiguration_id of the last ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_user_dci API.
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 create_user_dci API.
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... | Create the a dci user.
username=dci, password=dci, email=dci@distributed-ci.io | "Create the a dci user.\n username=dci, password=dci, email=dci@distributed-ci.io" | 86 | false | redhat-cip/dci-control-server | create_user_dci | 7,406 | |
LDU_FT/oauthlib/oauthlib/parse_request_uri_response | LDU_FT | [
"<BEGIN>\n## `signature_base_string`",
"**Construct the signature base string.**\n Per `section 3.4.1.1`_ of the spec.",
" For example, the HTTP request::",
" POST /request?b5=%3D%253D&a3=a&c%40=&a2=r%20b HTTP/1.1\n Host: example.com\n Content-Type: application/x-www-form-urlencoded... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_request_uri_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_request_uri_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Parse the URI query for code and state.
If the resource owner grants the access request, the authorization
server issues an authorization code and delivers it to the client by
adding the following parameters to the query component of the
redirection URI using the "application/x-www-form... | "Parse the URI query for code and state.\n\n If the resource owner grants the access request, the authorization\n server issues an authorization code and delivers it to the client by\n adding the following parameters to the query component of the\n redirection URI using the \"application/x-w... | 651 | false | oauthlib/oauthlib | parse_request_uri_response | 7,407 | |
LDU_FT/lreis2415/PyGeoC/check_infile_and_wp | LDU_FT | [
"<BEGIN>\n## `get_cell_length`",
"Get flow direction induced cell length dict.\n Args:\n flow_model: Currently, \"TauDEM\", \"ArcGIS\", and \"Whitebox\" are supported.\n<END>",
"<BEGIN>\n## `get_cell_shift`",
"Get flow direction induced cell shift dict.\n Args:\n flow_model... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_infile_and_wp 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 check_infile_and_wp 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... | Check the existence of the given file and directory path.
1. Raise Runtime exception of both not existed.
2. If the ``curwp`` is None, the set the base folder of ``curinf`` to it. | "Check the existence of the given file and directory path.\n 1. Raise Runtime exception of both not existed.\n 2. If the ``curwp`` is None, the set the base folder of ``curinf`` to it." | 259 | false | lreis2415/PyGeoC | check_infile_and_wp | 7,408 | |
LDU_FT/concordusapps/alchemist/is_table_included | LDU_FT | [
"<BEGIN>\n## `shell`",
"Runs the command-line client for the specified database.\n<END>",
"<BEGIN>\n## `make_module_class`",
"Takes the module referenced by name and make it a full class.\n<END>",
"<BEGIN>\n## `_component_of`",
"Get the root package or module of the passed module.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_table_included API.
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 is_table_included API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Determines if the table is included by reference in the names.
A table can be named by its component or its model (using the short-name
or a full python path).
eg. 'package.models.SomeModel' or 'package:SomeModel' or 'package'
would all include 'SomeModel'. | "Determines if the table is included by reference in the names.\n\n A table can be named by its component or its model (using the short-name\n or a full python path).\n\n eg. 'package.models.SomeModel' or 'package:SomeModel' or 'package'\n would all include 'SomeModel'." | 27 | false | concordusapps/alchemist | is_table_included | 7,409 | |
LDU_FT/honzajavorek/redis-collections/setdefault | LDU_FT | [
"<BEGIN>\n## `getmany`",
"Return a list of values corresponding to the keys in the iterable of\n *keys*.\n If a key is not present in the collection, its corresponding value will\n be :obj:`None`.",
" .. note::\n This method is not implemented by standard Python dictionary... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setdefault API.
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 setdefault API.
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... | If *key* is in the dictionary, return its value.
If not, insert *key* with a value of *default* and
return *default*. *default* defaults to :obj:`None`. | "If *key* is in the dictionary, return its value.\n If not, insert *key* with a value of *default* and\n return *default*. *default* defaults to :obj:`None`." | 147 | false | honzajavorek/redis-collections | setdefault | 7,410 | |
LDU_FT/BD2KGenomics/toil-scripts/add_read_groups | LDU_FT | [
"<BEGIN>\n## `kmer_dag`",
"Optionally launches a Spark cluster and then runs ADAM to count k-mers on an\n input file.",
" :param job: Toil job\n :param input_file: URL/path to input file to count k-mers on\n :param output_path: URL/path to save k-mer counts at\n :param kmer_length: The length of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_read_groups API.
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 add_read_groups API.
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 function adds read groups to the headers
job_vars: tuple Tuple of dictionaries: input_args and ids | "This function adds read groups to the headers\n\n job_vars: tuple Tuple of dictionaries: input_args and ids" | 278 | false | BD2KGenomics/toil-scripts | add_read_groups | 7,411 | |
LDU_FT/twitterdev/tweet_parser/get_bio | LDU_FT | [
"<BEGIN>\n## `get_entities`",
"Helper function to simply grabbing the entities. \\n\n Caveat: In the case of Retweets, a Retweet is stored as\n \"RT @someone: Some awesome status\". In the case where pre-appending\n the string \"RT @someone:\" causes the Tweet to exceed 140 characters,\n entites (hash... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bio API.
Each 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 get_bio API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Get the bio text of the user who posted the Tweet
Args:
tweet (Tweet): A Tweet object (or a dictionary)
Returns:
str: the bio text of the user who posted the Tweet
In a payload the abscence of a bio seems to be represented by an
empty string or a None, this getter always return... | "Get the bio text of the user who posted the Tweet\n\n Args:\n tweet (Tweet): A Tweet object (or a dictionary)\n\n Returns:\n str: the bio text of the user who posted the Tweet\n In a payload the abscence of a bio seems to be represented by an\n empty string or a None, this getter alwa... | 170 | false | twitterdev/tweet_parser | get_bio | 7,412 | |
LDU_FT/twidi/py-dataql/get_args_and_kwargs | LDU_FT | [
"<BEGIN>\n## `EntryPoints`",
"Returns an object to use as entry point when calling ``registry.solve_resource``.",
" When calling ``registry.solve_resource`` on a \"root\" resource, we don't have any value.\n This function will create a object to use as a first value and is used to specify which\n entry... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_args_and_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_args_and_kwargs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Return a list and a dict usable as ``*args, **kwargs`` to pass to a callable."
If the entity is known to not accept arguments (``self.args`` is ``None``), then this
method returns ``None`` for both args and kwargs.
Returns
-------
tuple (list or None, dict or None)
... | "Return a list and a dict usable as ``*args, **kwargs`` to pass to a callable.\"\n\n If the entity is known to not accept arguments (``self.args`` is ``None``), then this\n method returns ``None`` for both args and kwargs.\n\n Returns\n -------\n tuple (list or None, dict or None)\n ... | 210 | false | twidi/py-dataql | get_args_and_kwargs | 7,413 | |
LDU_FT/kgaughan/dbkit/strip_accents | LDU_FT | [
"<BEGIN>\n## `strip_accents`",
"Strip accents to prepare for slugification.\n<END>",
"<BEGIN>\n## `slugify`",
"Converts the given string to a URL slug.\n<END>",
"<BEGIN>\n## `_make_connect`",
"Returns a function capable of making connections with a particular\n driver given the supplied credentials.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strip_accents API.
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 strip_accents API.
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... | Strip accents to prepare for slugification. | "Strip accents to prepare for slugification." | 55 | false | kgaughan/dbkit | strip_accents | 7,414 | |
LDU_FT/cytomine/Cytomine-python-client/dump | LDU_FT | [
"<BEGIN>\n## `download`",
"Download the original image.",
" Parameters\n ----------\n dest_pattern : str, optional\n Destination path for the downloaded image. \"{X}\" patterns are replaced by the value of X attribute\n if it exists.\n override : bool, optional\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump API.
Each 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 dump API.
Each 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... | Download the image with optional image modifications.
Parameters
----------
dest_pattern : str, optional
Destination path for the downloaded image. "{X}" patterns are replaced by the value of X attribute
if it exists.
override : bool, optional
True if... | "Download the image with optional image modifications.\n\n Parameters\n ----------\n dest_pattern : str, optional\n Destination path for the downloaded image. \"{X}\" patterns are replaced by the value of X attribute\n if it exists.\n override : bool, optional\n ... | 59 | false | cytomine/Cytomine-python-client | dump | 7,415 | |
LDU_FT/ekiro/haps/inject | LDU_FT | [
"<BEGIN>\n## `inject`",
"A decorator for injection dependencies into functions/methods, based\n on their type annotations.",
" .. code-block:: python",
" class SomeClass:\n @inject\n def __init__(self, my_dep: DepType) -> None:\n self.my_dep = my_dep",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inject API.
Each 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 inject API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | A decorator for injection dependencies into functions/methods, based
on their type annotations.
.. code-block:: python
class SomeClass:
@inject
def __init__(self, my_dep: DepType) -> None:
self.my_dep = my_dep
.. important::
On the opposite to :cla... | "A decorator for injection dependencies into functions/methods, based\n on their type annotations.\n\n .. code-block:: python\n\n class SomeClass:\n @inject\n def __init__(self, my_dep: DepType) -> None:\n self.my_dep = my_dep\n\n .. important::\n\n On the opp... | 50 | false | ekiro/haps | inject | 7,416 | |
LDU_FT/thanethomson/statik/dict_strip | LDU_FT | [
"<BEGIN>\n## `list_files`",
"Lists all of the files in the given base directory, optionally only\n including whose extension(s) match the ext string/list of strings.\n This is non-recursive.",
" Args:\n base_path: The directory in which to search.\n ext: The extension(s) to match in the g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dict_strip API.
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 dict_strip API.
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... | Strips whitespace from the string values of the given dictionary (recursively).
Args:
d: A dictionary object.
Returns:
A new dictionary object, whose string values' whitespace has been stripped out. | "Strips whitespace from the string values of the given dictionary (recursively).\n\n Args:\n d: A dictionary object.\n\n Returns:\n A new dictionary object, whose string values' whitespace has been stripped out." | 117 | false | thanethomson/statik | dict_strip | 7,417 | |
LDU_FT/widdowquinn/pyani/calculate_tetra | LDU_FT | [
"<BEGIN>\n## `clean_axis`",
"Remove ticks, tick labels, and frame from axis\n<END>",
"<BEGIN>\n## `get_seaborn_colorbar`",
"Return a colorbar representing classes, for a Seaborn plot.",
" The aim is to get a pd.Series for the passed dataframe columns,\n in the form:\n 0 colour for class in col 0... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_tetra API.
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 calculate_tetra API.
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... | Calculate TETRA for files in input directory.
- infiles - paths to each input file
- org_lengths - dictionary of input sequence lengths, keyed by sequence
Calculates TETRA correlation scores, as described in:
Richter M, Rossello-Mora R (2009) Shifting the genomic gold standard for
the prokaryotic... | "Calculate TETRA for files in input directory.\n\n - infiles - paths to each input file\n - org_lengths - dictionary of input sequence lengths, keyed by sequence\n\n Calculates TETRA correlation scores, as described in:\n\n Richter M, Rossello-Mora R (2009) Shifting the genomic gold standard for\n the pr... | 244 | false | widdowquinn/pyani | calculate_tetra | 7,418 | |
LDU_FT/mgraffg/EvoDAG/random_leaf | LDU_FT | [
"<BEGIN>\n## `compute_weight`",
"Returns the weight (w) using OLS of r * w = gp._ytr\n<END>",
"<BEGIN>\n## `isfinite`",
"Test whether the predicted values are finite\n<END>",
"<BEGIN>\n## `trace`",
"Restore the position in the history of individual v's nodes\n<END>",
"<BEGIN>\n## `tournament`",
"Tourn... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_leaf API.
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 random_leaf API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns a random variable with the associated weight | "Returns a random variable with the associated weight" | 42 | false | mgraffg/EvoDAG | random_leaf | 7,419 | |
LDU_FT/BlueBrain/NeuroM/n_bifurcation_points | LDU_FT | [
"<BEGIN>\n## `_get_type`",
"get the type of the soma",
" Args:\n points: Soma points\n soma_class(str): one of 'contour' or 'cylinder' to specify the type\n<END>",
"<BEGIN>\n## `make_soma`",
"Make a soma object from a set of points",
" Infers the soma type (SomaSinglePoint, SomaSimpleC... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the n_bifurcation_points 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 n_bifurcation_points API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | number of bifurcation points in a collection of neurites | "number of bifurcation points in a collection of neurites" | 706 | false | BlueBrain/NeuroM | n_bifurcation_points | 7,420 | |
LDU_FT/a1ezzz/wasp-general/scheme_specification | LDU_FT | [
"<BEGIN>\n## `connect`",
":meth:`.WNetworkClientProto.connect` method implementation\n<END>",
"<BEGIN>\n## `scheme_specification`",
":meth:`.WSchemeHandler.scheme_specification` method implementation\n<END>",
"<BEGIN>\n## `upload_file`",
":meth:`.WNetworkClientProto.upload_file` method implementation\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scheme_specification 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 scheme_specification API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | :meth:`.WSchemeHandler.scheme_specification` method implementation | ":meth:`.WSchemeHandler.scheme_specification` method implementation" | 917 | false | a1ezzz/wasp-general | scheme_specification | 7,421 | |
LDU_FT/scanny/python-pptx/smooth | LDU_FT | [
"<BEGIN>\n## `convert_to_xml`",
"Convert signed angle float like -42.42 to int 60000 per degree,\n normalized to positive value.\n<END>",
"<BEGIN>\n## `convert_to_xml`",
"Convert signed angle float like -427.42 to int 60000 per degree.",
" Value is normalized to a positive value less than 360 ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smooth API.
Each 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 smooth API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Read/write boolean specifying whether to use curve smoothing to
form the line connecting the data points in this series into
a continuous curve. If |False|, a series of straight line segments
are used to connect the points. | "Read/write boolean specifying whether to use curve smoothing to\n form the line connecting the data points in this series into\n a continuous curve. If |False|, a series of straight line segments\n are used to connect the points." | 990 | false | scanny/python-pptx | smooth | 7,422 | |
LDU_FT/unt-libraries/codalib/nodeToXML | LDU_FT | [
"<BEGIN>\n## `waitForURL`",
"Give it a URL. Keep trying to get a HEAD request from it until it works.\n If it doesn't work, wait a while and try again\n<END>",
"<BEGIN>\n## `doWaitWebRequest`",
"Same as doWebRequest, but with built in wait-looping\n<END>",
"<BEGIN>\n## `doWebRequest`",
"A urllib2 wrap... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nodeToXML API.
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 nodeToXML API.
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... | Take a Django node object from our CODA store and make an XML
representation | "Take a Django node object from our CODA store and make an XML\n representation" | 40 | false | unt-libraries/codalib | nodeToXML | 7,423 | |
LDU_FT/metglobal/django-exchange/convert_value | LDU_FT | [
"<BEGIN>\n## `update`",
"Actual update process goes here using auxialary ``get_currencies``\n and ``get_exchangerates`` methods. This method creates or updates\n corresponding ``Currency`` and ``ExchangeRate`` models\n<END>",
"<BEGIN>\n## `convert_values`",
"convert_value in bulk.",
" :para... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_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 ext... | Converts the price of a currency to another one using exchange rates
:param price: the price value
:param type: decimal
:param source_currency: source ISO-4217 currency code
:param type: str
:param target_currency: target ISO-4217 currency code
:param type: str
:returns: converted price ... | "Converts the price of a currency to another one using exchange rates\n\n :param price: the price value\n :param type: decimal\n\n :param source_currency: source ISO-4217 currency code\n :param type: str\n\n :param target_currency: target ISO-4217 currency code\n :param type: str\n\n :returns: conv... | 31 | false | metglobal/django-exchange | convert_value | 7,424 | |
LDU_FT/rushter/heamy/idx | LDU_FT | [
"<BEGIN>\n## `concat`",
"Concatenate a sequence of pandas or numpy objects into one entity.\n<END>",
"<BEGIN>\n## `reshape_1d`",
"If parameter is 1D row vector then convert it into 2D matrix.\n<END>",
"<BEGIN>\n## `idx`",
"Universal indexing for numpy and pandas objects.\n<END>",
"<BEGIN>\n## `xgb_progr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the idx API.
Each 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 idx API.
Each 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... | Universal indexing for numpy and pandas objects. | "Universal indexing for numpy and pandas objects." | 91 | false | rushter/heamy | idx | 7,425 | |
LDU_FT/ph4r05/monero-serialize/load_uvarint_b | LDU_FT | [
"<BEGIN>\n## `load_uint`",
"Constant-width integer serialization\n :param reader:\n :param width:\n :return:\n<END>",
"<BEGIN>\n## `dump_uint`",
"Constant-width integer serialization\n :param writer:\n :param n:\n :param width:\n :return:\n<END>",
"<BEGIN>\n## `load_uvarint_b`",
"Vari... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_uvarint_b API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_uvarint_b API.
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... | Variable int deserialization, synchronous from buffer.
:param buffer:
:return: | "Variable int deserialization, synchronous from buffer.\n :param buffer:\n :return:" | 273 | false | ph4r05/monero-serialize | load_uvarint_b | 7,426 | |
LDU_FT/bitprophet/ssh/read_message | LDU_FT | [
"<BEGIN>\n## `start_client`",
"Negotiate a new SSH2 session as a client. This is the first step after\n creating a new L{Transport}. A separate thread is created for protocol\n negotiation.",
" If an event is passed in, this method returns immediately. When\n negotiation is done (... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Only one thread should ever be in this function (no other locking is
done).
@raise SSHException: if the packet is mangled
@raise NeedRekeyException: if the transport should rekey | "Only one thread should ever be in this function (no other locking is\n done).\n\n @raise SSHException: if the packet is mangled\n @raise NeedRekeyException: if the transport should rekey" | 272 | false | bitprophet/ssh | read_message | 7,427 | |
LDU_FT/quantopian/trading_calendars/register_calendar_alias | LDU_FT | [
"<BEGIN>\n## `days_at_time`",
"Create an index of days at time ``t``, interpreted in timezone ``tz``.",
" The returned index is localized to UTC.",
" Parameters\n ----------\n days : DatetimeIndex\n An index of dates (represented as midnight).\n t : datetime.time\n The time to app... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_calendar_alias API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register_calendar_alias API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Register an alias for a calendar.
This is useful when multiple exchanges should share a calendar, or when
there are multiple ways to refer to the same exchange.
After calling ``register_alias('alias', 'real_name')``, subsequent
calls to ``get_calendar('alias')`` will return the same re... | "Register an alias for a calendar.\n\n This is useful when multiple exchanges should share a calendar, or when\n there are multiple ways to refer to the same exchange.\n\n After calling ``register_alias('alias', 'real_name')``, subsequent\n calls to ``get_calendar('alias')`` will return the ... | 150 | false | quantopian/trading_calendars | register_calendar_alias | 7,428 | |
LDU_FT/bwesterb/py-seccure/generate_keypair | LDU_FT | [
"<BEGIN>\n## `serialize_number`",
"Serializes `x' to a string of length `outlen' in format `fmt'\n<END>",
"<BEGIN>\n## `deserialize_number`",
"Deserializes a number from a string `s' in format `fmt'\n<END>",
"<BEGIN>\n## `mod_issquare`",
"Returns whether `a' is a square modulo p\n<END>",
"<BEGIN>\n## `d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_keypair API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_keypair API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Convenience function to generate a random
new keypair (passphrase, pubkey). | "Convenience function to generate a random\n new keypair (passphrase, pubkey)." | 22 | false | bwesterb/py-seccure | generate_keypair | 7,429 | |
LDU_FT/juju/charm-helpers/get_stats_action | LDU_FT | [
"<BEGIN>\n## `get_ubuntu_release_from_sentry`",
"Get Ubuntu release codename from sentry unit.",
" :param sentry_unit: amulet sentry/service unit pointer\n :returns: list of strings - release codename, failure message\n<END>",
"<BEGIN>\n## `validate_services`",
"Validate that lists of commands... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_stats_action API.
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_stats_action API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Action for getting bcache statistics for a given cachespec.
Cachespec can either be a device name, eg. 'sdb', which will retrieve
cache stats for the given device, or 'global', which will retrieve stats
for all cachesets | "Action for getting bcache statistics for a given cachespec.\n Cachespec can either be a device name, eg. 'sdb', which will retrieve\n cache stats for the given device, or 'global', which will retrieve stats\n for all cachesets" | 1,689 | true | juju/charm-helpers | get_stats_action | 7,430 | |
LDU_FT/jorahn/icy/merge | LDU_FT | [
"<BEGIN>\n## `ae`",
"Computes the absolute error.",
" This function computes the absolute error between two numbers,\n or for element between a pair of lists or numpy arrays.",
" Parameters\n ----------\n actual : int, float, list of numbers, numpy array\n The ground truth value\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | WORK IN PROGRESS
Concat, merge, join, drop keys in dictionary of pandas.DataFrames
into one pandas.DataFrame (data) and a pandas.Series (labels).
Parameters
----------
data : dict of pandas.DataFrames
Result of icy.read()
cfg : dict or str, optional
Dictionary of action... | "WORK IN PROGRESS\n \n Concat, merge, join, drop keys in dictionary of pandas.DataFrames\n into one pandas.DataFrame (data) and a pandas.Series (labels).\n \n Parameters\n ----------\n data : dict of pandas.DataFrames\n Result of icy.read()\n cfg : dict or str, optional\n Dictionar... | 86 | false | jorahn/icy | merge | 7,431 | |
LDU_FT/IdentityPython/oidcendpoint/post_authentication | LDU_FT | [
"<BEGIN>\n## `client_authentication`",
"Deal with client authentication",
" :param request: The refresh access token request\n :param auth: Client authentication information\n :param kwargs: Extra keyword arguments\n :return: dictionary containing client id, client authentication met... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_authentication 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 post_authentication 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... | Things that are done after a successful authentication.
:param user:
:param request:
:param sid:
:param kwargs:
:return: A dictionary with 'response_args' | "Things that are done after a successful authentication.\n\n :param user:\n :param request:\n :param sid:\n :param kwargs:\n :return: A dictionary with 'response_args'" | 180 | false | IdentityPython/oidcendpoint | post_authentication | 7,432 | |
LDU_FT/openwisp/django-freeradius/get_inline_instances | LDU_FT | [
"<BEGIN>\n## `set_default`",
"ensures there's only 1 default group\n (logic overridable via custom models)\n<END>",
"<BEGIN>\n## `get_default_queryset`",
"looks for default groups excluding the current one\n overridable by openwisp-radius and other 3rd party apps\n<END>",
"<BEGIN>\n## `authent... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_inline_instances API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_inline_instances API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Adds RadiusGroupInline only for existing objects | "Adds RadiusGroupInline only for existing objects" | 24 | false | openwisp/django-freeradius | get_inline_instances | 7,433 | |
LDU_FT/blazelibs/blazeutils/prettifysql | LDU_FT | [
"<BEGIN>\n## `workbook_to_reader`",
"convert xlwt Workbook instance to an xlrd instance for reading\n<END>",
"<BEGIN>\n## `xlsx_to_strio`",
"convert xlwt Workbook instance to a BytesIO instance\n<END>",
"<BEGIN>\n## `xlsx_to_reader`",
"convert xlwt Workbook instance to an xlrd instance for reading\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prettifysql API.
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 prettifysql API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns a prettified version of the SQL as a list of lines to help
in creating a useful diff between two SQL statements. | "Returns a prettified version of the SQL as a list of lines to help\n in creating a useful diff between two SQL statements." | 135 | false | blazelibs/blazeutils | prettifysql | 7,434 | |
LDU_FT/pyqg/pyqg/step_forward_with_function | LDU_FT | [
"<BEGIN>\n## `run_with_snapshots`",
"Run the model forward, yielding to user code at specified intervals.",
" Parameters\n ----------",
" tsnapstart : int\n The timestep at which to begin yielding.\n tstapint : int\n The interval at which to yield.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_forward_with_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_forward_with_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Advance particles using a function to determine u and v.
Parameters
----------
uv0fun : function
Called like ``uv0fun(x,y)``. Should return the velocity field
u, v at time t.
uv1fun(x,y) : function
Called like ``uv1fun(x,y)``. Should return th... | "Advance particles using a function to determine u and v.\n \n Parameters\n ----------\n uv0fun : function\n Called like ``uv0fun(x,y)``. Should return the velocity field\n u, v at time t.\n uv1fun(x,y) : function\n Called like ``uv1fun(x,y)``. Should ... | 56 | false | pyqg/pyqg | step_forward_with_function | 7,435 | |
LDU_FT/joowani/quadriga/post | LDU_FT | [
"<BEGIN>\n## `_validate_order_book`",
"Check if the given order book is valid.",
" :param book: Order book name.\n :type book: str | unicode\n :raise InvalidOrderBookError: If an invalid order book is given.\n<END>",
"<BEGIN>\n## `_validate_currency`",
"Check if the given order book is ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Send an HTTP POST request to QuadrigaCX.
:param endpoint: API endpoint.
:type endpoint: str | unicode
:param payload: Request payload.
:type payload: dict
:return: Response body from QuadrigaCX.
:rtype: dict
:raise quadriga.exceptions.RequestError: If HTTP OK was... | "Send an HTTP POST request to QuadrigaCX.\n\n :param endpoint: API endpoint.\n :type endpoint: str | unicode\n :param payload: Request payload.\n :type payload: dict\n :return: Response body from QuadrigaCX.\n :rtype: dict\n :raise quadriga.exceptions.RequestError: If HT... | 58 | false | joowani/quadriga | post | 7,436 | |
LDU_FT/jaijuneja/PyTLDR/tokenize_sentences | LDU_FT | [
"<BEGIN>\n## `summarize`",
"Implements the TextRank summarization algorithm, which follows closely to the PageRank algorithm for ranking\n web pages.",
" :param text: a string of text to be summarized, path to a text file, or URL starting with http\n :param length: the length of the output ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tokenize_sentences 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 tokenize_sentences 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... | Returns a list of sentences given an input string of text.
:param text: input string
:param word_threshold: number of significant words that a sentence must contain to be counted
(to count all sentences set equal to 1; 5 by default)
:return: list of sentences | "Returns a list of sentences given an input string of text.\n\n :param text: input string\n :param word_threshold: number of significant words that a sentence must contain to be counted\n (to count all sentences set equal to 1; 5 by default)\n :return: list of sentences" | 30 | false | jaijuneja/PyTLDR | tokenize_sentences | 7,437 | |
LDU_FT/bfontaine/p7magma/fetch | LDU_FT | [
"<BEGIN>\n## `_populate`",
"Populate the list, assuming ``soup`` is a ``BeautifulSoup`` object.\n<END>",
"<BEGIN>\n## `_populate_small_table`",
"Populate the list, given that ``trs`` is a ``BeautifulSoup`` elements\n list from a large table (5 columns).\n<END>",
"<BEGIN>\n## `_populate_large_table`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch API.
Each 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 fetch API.
Each 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... | Fetch this student's courses page. It's recommended to do that when
creating the object (this is the default) because the remote sessions
are short. | "Fetch this student's courses page. It's recommended to do that when\n creating the object (this is the default) because the remote sessions\n are short." | 26 | false | bfontaine/p7magma | fetch | 7,438 | |
LDU_FT/hid-io/layouts-python/squash_layouts | LDU_FT | [
"<BEGIN>\n## `main`",
"Main entry-point for calling layouts directly as a program.\n<END>",
"<BEGIN>\n## `retrieve_github_cache`",
"Retrieves a cache of the layouts git repo from GitHub",
" @param github_path: Location of the git repo on GitHub (e.g. hid-io/layouts)\n @param version: git refer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the squash_layouts API.
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 squash_layouts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns a squashed layout
The first element takes precedence (i.e. left to right).
Dictionaries are recursively merged, overwrites only occur on non-dictionary entries.
[0,1]
0:
test: 'my data'
1:
test: 'stuff'
Result:
test: 'my data'
... | "Returns a squashed layout\n\n The first element takes precedence (i.e. left to right).\n Dictionaries are recursively merged, overwrites only occur on non-dictionary entries.\n\n [0,1]\n\n 0:\n test: 'my data'\n\n 1:\n test: 'stuff'\n\n Result:\n test: 'my... | 35 | false | hid-io/layouts-python | squash_layouts | 7,439 | |
LDU_FT/alvarogzp/telegram-bot-framework/full_format | LDU_FT | [
"<BEGIN>\n## `default_format`",
"Returns full name (first and last) if name is available.\n If not, returns username if available.\n If not available too, returns the user id as a string.\n<END>",
"<BEGIN>\n## `full_name`",
"Returns the first and last name of the user separated by a space.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the full_format API.
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 full_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Returns the full name (first and last parts), and the username between brackets if the user has it.
If there is no info about the user, returns the user id between < and >. | "Returns the full name (first and last parts), and the username between brackets if the user has it.\n If there is no info about the user, returns the user id between < and >." | 36 | false | alvarogzp/telegram-bot-framework | full_format | 7,440 | |
LDU_FT/happyleavesaoc/python-firetv/update | LDU_FT | [
"<BEGIN>\n## `_dump`",
"Perform a service dump.",
" :param service: Service to dump.\n :param grep: Grep for this string.\n :returns: Dump, optionally grepped.\n<END>",
"<BEGIN>\n## `_dump_has`",
"Check if a dump has particular content.",
" :param service: Service to dump.\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 ... | Get the state of the device, the current app, and the running apps.
:param get_running_apps: whether or not to get the ``running_apps`` property
:return state: the state of the device
:return current_app: the current app
:return running_apps: the running apps | "Get the state of the device, the current app, and the running apps.\n\n :param get_running_apps: whether or not to get the ``running_apps`` property\n :return state: the state of the device\n :return current_app: the current app\n :return running_apps: the running apps" | 43 | false | happyleavesaoc/python-firetv | update | 7,441 | |
LDU_FT/opencobra/memote/find_medium_metabolites | LDU_FT | [
"<BEGIN>\n## `validate`",
"Use a defined schema to validate the medium table format.\n<END>",
"<BEGIN>\n## `apply`",
"Set the defined medium on the given model.\n<END>",
"<BEGIN>\n## `find_transported_elements`",
"Return a dictionary showing the amount of transported elements of a rxn.",
" Collects t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_medium_metabolites 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 find_medium_metabolites API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return the list of metabolites ingested/excreted by the model. | "Return the list of metabolites ingested/excreted by the model." | 508 | false | opencobra/memote | find_medium_metabolites | 7,442 | |
LDU_FT/aaren/notedown/pre_process_code_block | LDU_FT | [
"<BEGIN>\n## `ftdetect`",
"Determine if filename is markdown or notebook,\n based on the file extension.\n<END>",
"<BEGIN>\n## `get_caption_comments`",
"Retrieve an id and a caption from a code cell.",
" If the code cell content begins with a commented\n block that looks like",
" ## fig:id\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pre_process_code_block API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pre_process_code_block API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Preprocess the content of a code block, modifying the code
block in place.
Just dedents indented code. | "Preprocess the content of a code block, modifying the code\n block in place.\n\n Just dedents indented code." | 39 | false | aaren/notedown | pre_process_code_block | 7,443 | |
LDU_FT/StorjOld/pyp2p/bootstrap | LDU_FT | [
"<BEGIN>\n## `set_keep_alive`",
"This function instructs the TCP socket to send a heart beat every n\n seconds to detect dead connections. It's the TCP equivalent of the\n IRC ping-pong protocol and allows for better cleanup / detection\n of dead TCP connections.",
" It activates aft... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bootstrap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bootstrap API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | When the software is first started, it needs to retrieve
a list of nodes to connect to the network to. This function
asks the server for N nodes which consists of at least N
passive nodes and N simultaneous nodes. The simultaneous
nodes are prioritized if the node_type for the machin... | "When the software is first started, it needs to retrieve\r\n a list of nodes to connect to the network to. This function\r\n asks the server for N nodes which consists of at least N\r\n passive nodes and N simultaneous nodes. The simultaneous\r\n nodes are prioritized if the node_type for t... | 88 | false | StorjOld/pyp2p | bootstrap | 7,444 | |
LDU_FT/HazardDede/dictmentor/_apply | LDU_FT | [
"<BEGIN>\n## `instance_of`",
"Tests if the given key-value pairs (items) are instances of the given ``target_type``.\n Per default this function yields whether ``True`` or ``False`` depending on the fact if all\n items withstand the validation or not. Per default the validation / evaluation is\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _apply API.
Each 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 _apply API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Replaces any {{env::*}} directives with it's actual environment variable value or a default.
Args:
ctx: The processing context.
Returns:
Returns the altered node key and value. | "Replaces any {{env::*}} directives with it's actual environment variable value or a default.\n\n Args:\n ctx: The processing context.\n\n Returns:\n Returns the altered node key and value." | 91 | false | HazardDede/dictmentor | _apply | 7,445 | |
LDU_FT/classam/silly/_slugify | LDU_FT | [
"<BEGIN>\n## `_slugify`",
"This is not as good as a proper slugification function, but the input space is limited",
" >>> _slugify(\"beets\")\n 'beets'\n >>> _slugify(\"Toaster Strudel\")\n 'toaster-strudel'",
" Here's why: It handles very little. It doesn't handle esoteric whitespace or symbol... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _slugify API.
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 _slugify API.
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... | This is not as good as a proper slugification function, but the input space is limited
>>> _slugify("beets")
'beets'
>>> _slugify("Toaster Strudel")
'toaster-strudel'
Here's why: It handles very little. It doesn't handle esoteric whitespace or symbols:
>>> _slugify("Hat\\nBasket- of justice ... | "This is not as good as a proper slugification function, but the input space is limited\n\n >>> _slugify(\"beets\")\n 'beets'\n >>> _slugify(\"Toaster Strudel\")\n 'toaster-strudel'\n\n\n Here's why: It handles very little. It doesn't handle esoteric whitespace or symbols:\n\n >>> _slugify(\"Hat\\\\nB... | 80 | false | classam/silly | _slugify | 7,446 | |
LDU_FT/bxlab/bx-python/as_bits | LDU_FT | [
"<BEGIN>\n## `abut`",
"Like the |Stat abut command. It concatenates two lists side-by-side\nand returns the result. '2D' lists are also accomodated for either argument\n(source or addon). CAUTION: If one list is shorter, it will be repeated\nuntil it is as long as the longest list. If this behavior is not de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_bits API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the as_bits API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Convert a set of intervals overlapping a region of a chromosome into
a bitset for just that region with the bits covered by the intervals
set. | "Convert a set of intervals overlapping a region of a chromosome into \n a bitset for just that region with the bits covered by the intervals \n set." | 417 | false | bxlab/bx-python | as_bits | 7,447 | |
LDU_FT/sryza/spark-timeseries/add_time_dependent_effects | LDU_FT | [
"<BEGIN>\n## `fit_model`",
"Fits an EWMA model to a time series. Uses the first point in the time series as a starting\n value. Uses sum squared error as an objective function to optimize to find smoothing parameter\n The model for EWMA is recursively defined as S_t = (1 - a) * X_t + a * S_{t-1}, where\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_time_dependent_effects API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_time_dependent_effects API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Given a timeseries, apply a model to it.
Parameters
----------
ts:
Time series of i.i.d. observations as a Numpy array
returns the time series with added time-dependent effects as a Numpy array. | "Given a timeseries, apply a model to it.\n \n Parameters\n ----------\n ts:\n Time series of i.i.d. observations as a Numpy array\n \n returns the time series with added time-dependent effects as a Numpy array." | 137 | false | sryza/spark-timeseries | add_time_dependent_effects | 7,448 | |
LDU_FT/adobe-apiplatform/umapi-client.py/status | LDU_FT | [
"<BEGIN>\n## `status`",
"Return the connection status, both locally and remotely.",
" The local connection status is a dictionary that gives:\n * the count of multiple queries sent to the server.\n * the count of single queries sent to the server.\n * the count of actions sent to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API.
Each 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 status API.
Each 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 the connection status, both locally and remotely.
The local connection status is a dictionary that gives:
* the count of multiple queries sent to the server.
* the count of single queries sent to the server.
* the count of actions sent to the server.
* the count of action... | "Return the connection status, both locally and remotely.\n\n The local connection status is a dictionary that gives:\n * the count of multiple queries sent to the server.\n * the count of single queries sent to the server.\n * the count of actions sent to the server.\n * the count of... | 78 | false | adobe-apiplatform/umapi-client.py | status | 7,449 | |
LDU_FT/MKLab-ITI/reveal-user-annotation/delete_database | LDU_FT | [
"<BEGIN>\n## `safe_twitter_request_handler`",
"This is a safe function handler for any twitter request.",
" Inputs: - twitter_api_func: The twython function object to be safely called.\n - call_rate_limit: THe call rate limit for this specific Twitter API function.\n - call_counter: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_database API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_database API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Delete a mongo database using pymongo. Mongo daemon assumed to be running.
Inputs: - mongo_uri: A MongoDB URI.
- database_name: The mongo database name as a python string. | "Delete a mongo database using pymongo. Mongo daemon assumed to be running.\n\n Inputs: - mongo_uri: A MongoDB URI.\n - database_name: The mongo database name as a python string." | 192 | false | MKLab-ITI/reveal-user-annotation | delete_database | 7,450 | |
LDU_FT/melizalab/arf/get_uuid | LDU_FT | [
"<BEGIN>\n## `open_file`",
"Open an ARF file, creating as necessary.",
" Use this instead of h5py.File to ensure that root-level attributes and group\n creation property lists are set correctly.\n<END>",
"<BEGIN>\n## `create_entry`",
"Create a new ARF entry under group, setting required attributes.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_uuid API.
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 get_uuid API.
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 the uuid for obj, or null uuid if none is set | "Return the uuid for obj, or null uuid if none is set" | 45 | false | melizalab/arf | get_uuid | 7,451 | |
LDU_FT/pyvisa/pyvisa-py/gpib_command | LDU_FT | [
"<BEGIN>\n## `get_debug_info`",
"Return a list of lines with backend info.\n<END>",
"<BEGIN>\n## `_register`",
"Creates a random but unique session handle for a session object,\n register it in the sessions dictionary and return the value",
" :param obj: a session object.\n :return: ses... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gpib_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gpib_command API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Write GPIB command byte on the bus.
Corresponds to viGpibCommand function of the VISA library.
See: https://linux-gpib.sourceforge.io/doc_html/gpib-protocol.html#REFERENCE-COMMAND-BYTES
:param command_byte: command byte to send
:type command_byte: int, must be [0 255]
:return: ... | "Write GPIB command byte on the bus.\n\n Corresponds to viGpibCommand function of the VISA library.\n See: https://linux-gpib.sourceforge.io/doc_html/gpib-protocol.html#REFERENCE-COMMAND-BYTES\n\n :param command_byte: command byte to send\n :type command_byte: int, must be [0 255]\n :... | 71 | false | pyvisa/pyvisa-py | gpib_command | 7,452 | |
LDU_FT/mbi/django-rosetta/get_access_control_function | LDU_FT | [
"<BEGIN>\n## `timestamp_with_timezone`",
"Return a timestamp with a timezone for the configured locale. If all else\n fails, consider localtime to be UTC.\n<END>",
"<BEGIN>\n## `find_pos`",
"scans a couple possible repositories of gettext catalogs for the given\n language code\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_access_control_function 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_access_control_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Return a predicate for determining if a user can
access the Rosetta views | "Return a predicate for determining if a user can\n access the Rosetta views" | 31 | false | mbi/django-rosetta | get_access_control_function | 7,453 | |
LDU_FT/timothycrosley/jiphy/text_till | LDU_FT | [
"<BEGIN>\n## `text_till`",
"Returns all text till it encounters the given string (or one of the given strings)\n<END>",
"<BEGIN>\n## `text_after`",
"Returns all text till it encounters the given string (or one of the given strings)\n<END>",
"<BEGIN>\n## `pop`",
"removes the current character then moves to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the text_till API.
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 text_till API.
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... | Returns all text till it encounters the given string (or one of the given strings) | "Returns all text till it encounters the given string (or one of the given strings)" | 12 | false | timothycrosley/jiphy | text_till | 7,454 | |
LDU_FT/espenak/djangosenchatools/get_installed_extjs_apps | LDU_FT | [
"<BEGIN>\n## `get_installed_extjs_apps`",
"Get all installed extjs apps.",
" :return: List of ``(appdir, module, appname)``.\n<END>",
"<BEGIN>\n## `createJsbConfig`",
"Create JSB config file using ``sencha create jsb``.",
" :return: The created jsb3 config as a string.\n<END>",
"<BEGIN>\n## `c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_installed_extjs_apps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_installed_extjs_apps API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Get all installed extjs apps.
:return: List of ``(appdir, module, appname)``. | "Get all installed extjs apps.\n\n :return: List of ``(appdir, module, appname)``." | 18 | false | espenak/djangosenchatools | get_installed_extjs_apps | 7,455 | |
LDU_FT/bigchaindb/bigchaindb/get | LDU_FT | [
"<BEGIN>\n## `get`",
"API endpoint to retrieve a list of links to transaction\n outputs.",
" Returns:\n A :obj:`list` of :cls:`str` of links to outputs.\n<END>",
"<BEGIN>\n## `run_configure`",
"Run a script to configure the current node.\n<END>",
"<BEGIN>\n## `run_election... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | API endpoint to get the related blocks for a transaction.
Return:
A ``list`` of ``block_id``s that contain the given transaction. The
list may be filtered when provided a status query parameter:
"valid", "invalid", "undecided". | "API endpoint to get the related blocks for a transaction.\n\n Return:\n A ``list`` of ``block_id``s that contain the given transaction. The\n list may be filtered when provided a status query parameter:\n \"valid\", \"invalid\", \"undecided\"." | 398 | false | bigchaindb/bigchaindb | get | 7,456 | |
LDU_FT/sporsh/carnifex/getOutput | LDU_FT | [
"<BEGIN>\n## `attr_string`",
"Build a string consisting of 'key=value' substrings for each keyword\n argument in :kwargs:",
" @param filterKeys: list of key names to ignore\n @param filterValues: list of values to ignore (e.g. None will ignore all\n key=value pairs that has that... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getOutput API.
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 getOutput API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Execute a command and get the output of the finished process. | "Execute a command and get the output of the finished process." | 61 | false | sporsh/carnifex | getOutput | 7,457 | |
LDU_FT/cslarsen/elv/csv_to_transactions | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parses bank CSV file and returns Transactions instance.",
" Args:\n filename: Path to CSV file to read.\n format: CSV format; one of the entries in `elv.formats`.\n encoding: The CSV file encoding.",
" Returns:\n A ``Transactions`` object.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the csv_to_transactions 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 csv_to_transactions 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... | Parses CSV data from stream and returns ``Transactions``.
Args:
index: The index of this row in the original CSV file. Used for
sorting ``Transaction``s by their order of appearance.
row: The row containing strings for [transfer_date, posted_date,
message, money... | "Parses CSV data from stream and returns ``Transactions``.\n\n Args:\n index: The index of this row in the original CSV file. Used for\n sorting ``Transaction``s by their order of appearance.\n\n row: The row containing strings for [transfer_date, posted_date,\n messag... | 43 | false | cslarsen/elv | csv_to_transactions | 7,458 | |
LDU_FT/European-XFEL/karabo-bridge-py/start_gen | LDU_FT | [
"<BEGIN>\n## `gen_filename`",
"Generate a filename from endpoint with timestamp.",
" return: str\n hostname_port_YearMonthDay_HourMinSecFrac.h5\n<END>",
"<BEGIN>\n## `hdf5_to_dict`",
"load the content of an hdf5 file to a dict.",
" # TODO: how to split domain_type_dev : parameter : value ?\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_gen API.
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 start_gen API.
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... | Karabo bridge server simulation.
Simulate a Karabo Bridge server and send random data from a detector,
either AGIPD or LPD.
Parameters
----------
port: str
The port to on which the server is bound.
ser: str, optional
The serialization algorithm, default is msgpack.
version:... | "Karabo bridge server simulation.\n\n Simulate a Karabo Bridge server and send random data from a detector,\n either AGIPD or LPD.\n\n Parameters\n ----------\n port: str\n The port to on which the server is bound.\n ser: str, optional\n The serialization algorithm, default is msgpack.\n... | 22 | false | European-XFEL/karabo-bridge-py | start_gen | 7,459 | |
LDU_FT/linode/linode_api4-python/add_whitelist_entry | LDU_FT | [
"<BEGIN>\n## `nodes`",
"This is a special derived_class relationship because NodeBalancerNode is the\n only api object that requires two parent_ids\n<END>",
"<BEGIN>\n## `load_ssl_data`",
"A convenience method that loads a cert and a key from files and sets them\n on this object. This can make ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_whitelist_entry 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 add_whitelist_entry 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... | Adds a new entry to this user's IP whitelist, if enabled | "Adds a new entry to this user's IP whitelist, if enabled" | 232 | false | linode/linode_api4-python | add_whitelist_entry | 7,460 | |
LDU_FT/ANTsX/ANTsPy/iMath | LDU_FT | [
"<BEGIN>\n## `smooth_image`",
"Smooth an image",
" ANTsR function: `smoothImage`",
" Arguments\n ---------\n image \n Image to smooth",
" sigma \n Smoothing factor. Can be scalar, in which case the same sigma is applied to each dimension, or a vector of length dim(inimage) t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iMath API.
Each 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 iMath API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Perform various (often mathematical) operations on the input image/s.
Additional parameters should be specific for each operation.
See the the full iMath in ANTs, on which this function is based.
ANTsR function: `iMath`
Arguments
---------
image : ANTsImage
input object, usually antsIm... | "Perform various (often mathematical) operations on the input image/s.\n Additional parameters should be specific for each operation.\n See the the full iMath in ANTs, on which this function is based.\n\n ANTsR function: `iMath`\n\n Arguments\n ---------\n image : ANTsImage\n input object, usua... | 1,176 | true | ANTsX/ANTsPy | iMath | 7,461 | |
LDU_FT/gplepage/gvar/solution | LDU_FT | [
"<BEGIN>\n## `deriv`",
"Compute *n*-th derivative of ``self``.",
" :param n: Number of derivatives.\n :type n: positive integer\n :returns: *n*-th derivative of ``self``.\n<END>",
"<BEGIN>\n## `integ`",
"Compute *n*-th indefinite integral of ``self``.",
" If *x0* is specified, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solution API.
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 solution API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Create a solution function ``y(x)`` such that ``y(x0) = y0``.
A list of solution values ``[y(x0), y(x1) ...]`` is returned if the
function is called with a list ``[x0, x1 ...]`` of ``x`` values. | "Create a solution function ``y(x)`` such that ``y(x0) = y0``.\n\n A list of solution values ``[y(x0), y(x1) ...]`` is returned if the\n function is called with a list ``[x0, x1 ...]`` of ``x`` values." | 206 | false | gplepage/gvar | solution | 7,462 | |
LDU_FT/nschloe/colorio/build_grad_matrices | LDU_FT | [
"<BEGIN>\n## `build_grad_matrices`",
"Build the sparse m-by-n matrices that map a coefficient set for a function in V\n to the values of dx and dy at a number m of points.\n<END>",
"<BEGIN>\n## `apply_M`",
"Linear operator that converts ax, ay to abcd.\n<END>",
"<BEGIN>\n## `cost_min2`",
"Residual form... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_grad_matrices 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 build_grad_matrices 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... | Build the sparse m-by-n matrices that map a coefficient set for a function in V
to the values of dx and dy at a number m of points. | "Build the sparse m-by-n matrices that map a coefficient set for a function in V\n to the values of dx and dy at a number m of points." | 35 | false | nschloe/colorio | build_grad_matrices | 7,463 | |
LDU_FT/spotify/gordon-gcp/get_managed_zone | LDU_FT | [
"<BEGIN>\n## `validate`",
"Validate a message given a schema.",
" Args:\n message (dict): Loaded JSON of pulled message from Google\n PubSub.\n schema_name (str): Name of schema to validate ``message``\n against. ``schema_name`` will be used to look up\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_managed_zone API.
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_managed_zone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get the GDNS managed zone name for a DNS zone.
Google uses custom string names with specific `requirements
<https://cloud.google.com/dns/api/v1/managedZones#resource>`_
for storing records. The scheme implemented here chooses a
managed zone name which removes the trailing dot and replac... | "Get the GDNS managed zone name for a DNS zone.\n\n Google uses custom string names with specific `requirements\n <https://cloud.google.com/dns/api/v1/managedZones#resource>`_\n for storing records. The scheme implemented here chooses a\n managed zone name which removes the trailing dot and ... | 72 | false | spotify/gordon-gcp | get_managed_zone | 7,464 | |
LDU_FT/corpusops/pdbclone/user_return | LDU_FT | [
"<BEGIN>\n## `parse_gdb_version`",
"r\"\"\"Parse the gdb version from the gdb header.",
" From GNU coding standards: the version starts after the last space of the\n first line.",
" >>> DOCTEST_GDB_VERSIONS = [\n ... r'~\"GNU gdb (GDB) 7.5.1\\n\"',\n ... r'~\"GNU gdb (Sourcery CodeBench Lite 20... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_return API.
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 user_return API.
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... | This function is called when a return trap is set here. | "This function is called when a return trap is set here." | 129 | false | corpusops/pdbclone | user_return | 7,465 | |
LDU_FT/shtalinberg/django-el-pagination/previous | 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 previous API.
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 previous API.
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 the previous page.
The page label is defined in ``settings.PREVIOUS_LABEL``.
Return an empty string if current page is the first. | "Return the previous page.\n\n The page label is defined in ``settings.PREVIOUS_LABEL``.\n Return an empty string if current page is the first." | 166 | false | shtalinberg/django-el-pagination | previous | 7,466 | |
LDU_FT/awslabs/aws-shell/create_completer_query | LDU_FT | [
"<BEGIN>\n## `_create_key_manager`",
"Create and initialize the keybinding manager.",
" :type get_fuzzy_match: callable\n :param get_fuzzy_match: Gets the fuzzy matching config.",
" :type set_fuzzy_match: callable\n :param set_fuzzy_match: Sets the fuzzy matching config.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_completer_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_completer_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Create a CompleterDescriber for a service.
:type service_name: str
:param service_name: The name of the service, e.g. 'ec2'
:return: A CompleterDescriber object. | "Create a CompleterDescriber for a service.\n\n :type service_name: str\n :param service_name: The name of the service, e.g. 'ec2'\n\n :return: A CompleterDescriber object." | 109 | false | awslabs/aws-shell | create_completer_query | 7,467 | |
LDU_FT/jic-dtool/dtool-info/diff | LDU_FT | [
"<BEGIN>\n## `diff`",
"Report the difference between two datasets.",
" 1. Checks that the identifiers are identicial\n 2. Checks that the sizes are identical\n 3. Checks that the hashes are identical, if the '--full' option is used",
" If a differences is detected in step 1, steps 2 and 3 will not... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the diff API.
Each 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 diff API.
Each 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... | Report the difference between two datasets.
1. Checks that the identifiers are identicial
2. Checks that the sizes are identical
3. Checks that the hashes are identical, if the '--full' option is used
If a differences is detected in step 1, steps 2 and 3 will not be carried
out. Similarly if a dif... | "Report the difference between two datasets.\n\n 1. Checks that the identifiers are identicial\n 2. Checks that the sizes are identical\n 3. Checks that the hashes are identical, if the '--full' option is used\n\n If a differences is detected in step 1, steps 2 and 3 will not be carried\n out. Similarly ... | 25 | false | jic-dtool/dtool-info | diff | 7,468 | |
LDU_FT/calvinku96/labreporthelper/create_dat_file | LDU_FT | [
"<BEGIN>\n## `generate_datasets_list`",
"generate datasets list to activate",
" args:\n settings: dictionary\n from settings file\n argv: list\n from sys.argv\n<END>",
"<BEGIN>\n## `do_label`",
"Create label for x and y axis, title and suptitle\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_dat_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 create_dat_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... | Create and write empty data file in the data directory | "Create and write empty data file in the data directory" | 57 | false | calvinku96/labreporthelper | create_dat_file | 7,469 | |
LDU_FT/observermedia/django-wordpress-rest/load_authors | LDU_FT | [
"<BEGIN>\n## `load_post_webhook`",
"Webhook to insert/update a WordPress.com post on the local Django site.\n Call this after making changes to the post in WP Admin.\n The post is processed asynchronously so that a response can be returned to WordPress.com immediately.",
" :param request: Should contai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_authors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_authors API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Load all WordPress authors from the given site.
:param max_pages: kill counter to avoid infinite looping
:return: None | "Load all WordPress authors from the given site.\n\n :param max_pages: kill counter to avoid infinite looping\n :return: None" | 100 | false | observermedia/django-wordpress-rest | load_authors | 7,470 | |
LDU_FT/MoseleyBioinformaticsLab/mwtab/_to_zipfile | LDU_FT | [
"<BEGIN>\n## `read`",
"Read data into a :class:`~mwtab.mwtab.MWTabFile` instance.",
" :param filehandle: file-like object.\n :type filehandle: :py:class:`io.TextIOWrapper`, :py:class:`gzip.GzipFile`,\n :py:class:`bz2.BZ2File`, :py:class:`zipfile.ZipFile`\n :return: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _to_zipfile API.
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 _to_zipfile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Convert files to zip archive.
:return: None
:rtype: :py:obj:`None` | "Convert files to zip archive.\n :return: None\n :rtype: :py:obj:`None`" | 74 | false | MoseleyBioinformaticsLab/mwtab | _to_zipfile | 7,471 | |
LDU_FT/klen/makesite/upload_to | LDU_FT | [
"<BEGIN>\n## `migrate`",
"Migration utils [create, run, undo, redo].\n<END>",
"<BEGIN>\n## `update`",
"Atomically update instance, setting field/value pairs from kwargs\n<END>",
"<BEGIN>\n## `ls`",
"List sites\n ----------",
" Show list of installed sites.",
" ::",
" usage: makesite ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_to API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload_to API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Auto upload function for File and Image fields. | "Auto upload function for File and Image fields." | 54 | false | klen/makesite | upload_to | 7,472 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.