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/guaix-ucm/pyemir/extract_slitlet2d
LDU_FT
[ "<BEGIN>\n## `merge2images`", "Merge 2 EMIR images, averaging the common region.", " Parameters\n ----------\n hdu1 : HDUList object\n Input image #1.\n hdu2 : HDUList object\n Input image #2.\n debugplot : int\n Determines whether intermediate computations and/or plots\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_slitlet2d API. 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 extract_slitlet2d API. 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 slitlet 2d image from image with original EMIR dimensions. Parameters ---------- image_2k2k : 2d numpy array, float Original image (dimensions NAXIS1 * NAXIS2) sltlim : instance of SlitLimits class Object containing relevant information concerning the slitlet region to b...
"Extract slitlet 2d image from image with original EMIR dimensions.\n\n Parameters\n ----------\n image_2k2k : 2d numpy array, float\n Original image (dimensions NAXIS1 * NAXIS2)\n sltlim : instance of SlitLimits class\n Object containing relevant information concerning the slitlet\n re...
282
false
guaix-ucm/pyemir
extract_slitlet2d
6,973
LDU_FT/liminspace/dju-common/paginator
LDU_FT
[ "<BEGIN>\n## `is_in`", "{% if tag|is_in:'div|p|span' %}is block tag{% endif %}\n {% if tag|is_in:tags_list %}is block tag{% endif %}\n<END>", "<BEGIN>\n## `captureas`", "example: {% captureas myvar 1 %}content...{% endcaptureas %} - {{ myvar }}\n result: content... - content...", " example: {% capt...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the paginator API. 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 paginator API. 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...
Render paginator. <<_1_2 3 4 5 6 7 8 9 ... 55 56 57 >> # leading=9 (1..9) out=3 (55..57) << 1 2 3 ... 23 24 25 26_27_28 29 30 31 ... 55 56 57 >> # adjacent = 4 (23..26, 28..31)
"Render paginator.\n <<_1_2 3 4 5 6 7 8 9 ... 55 56 57 >> # leading=9 (1..9) out=3 (55..57)\n << 1 2 3 ... 23 24 25 26_27_28 29 30 31 ... 55 56 57 >> # adjacent = 4 (23..26, 28..31)"
60
false
liminspace/dju-common
paginator
6,974
LDU_FT/jorisroovers/pymarkdownlint/_apply_line_rules
LDU_FT
[ "<BEGIN>\n## `find_files`", "Finds files with an (optional) given extension in a given path.\n<END>", "<BEGIN>\n## `apply_on_csv_string`", "Splits a given string by comma, trims whitespace on the resulting strings and applies a given ```func``` to\n each item.\n<END>", "<BEGIN>\n## `get_lint_config`"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _apply_line_rules API. 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 _apply_line_rules API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Iterates over the lines in a given markdown string and applies all the enabled line rules to each line
"Iterates over the lines in a given markdown string and applies all the enabled line rules to each line"
12
false
jorisroovers/pymarkdownlint
_apply_line_rules
6,975
LDU_FT/mrcagney/make_gtfs/build_shapes
LDU_FT
[ "<BEGIN>\n## `make_gtfs`", "Create a GTFS feed from the files in the directory SOURCE_PATH.\n See the project README for a description of the required source\n files.\n Save the feed to the file or directory TARGET_PATH.\n If the target path ends in '.zip', then write the feed as a zip\n archive.\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_shapes API. 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 build_shapes API. 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...
Given a ProtoFeed, return DataFrame representing ``shapes.txt``. Only use shape IDs that occur in both ``pfeed.shapes`` and ``pfeed.frequencies``. Create reversed shapes where routes traverse shapes in both directions.
"Given a ProtoFeed, return DataFrame representing ``shapes.txt``.\n Only use shape IDs that occur in both ``pfeed.shapes`` and\n ``pfeed.frequencies``.\n Create reversed shapes where routes traverse shapes in both\n directions."
67
false
mrcagney/make_gtfs
build_shapes
6,976
LDU_FT/mozilla-b2g/fxos-certsuite/reboot
LDU_FT
[ "<BEGIN>\n## `to_ints`", "Turn version string into a numeric representation for easy comparison.\n Undeclared point versions are assumed to be 0.\n :param version: a NSS version string\n :return: array of [major, minor, point, pointpoint, tag value]\n<END>", "<BEGIN>\n## `first_older_than_s...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reboot API. 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 reboot API. 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 ...
Reboot the device, waiting for the adb connection to become stable. :param timeout: Maximum time to wait for reboot. :param wait_polling_interval: Interval at which to poll for device readiness.
"Reboot the device, waiting for the adb connection to become stable.\n\n :param timeout: Maximum time to wait for reboot.\n :param wait_polling_interval: Interval at which to poll for device readiness."
58
false
mozilla-b2g/fxos-certsuite
reboot
6,977
LDU_FT/frejanordsiek/GeminiMotorDrive/to_motor_velocity_acceleration
LDU_FT
[ "<BEGIN>\n## `get_driver`", "Gets a driver for a Parker Motion Gemini drive.", " Gets and connects a particular driver in ``drivers`` to a Parker\n Motion Gemini GV-6 or GT-6 servo/stepper motor drive.", " The only driver currently supported is the ``'ASCII_RS232'`` driver\n which corresponds to `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_motor_velocity_acceleration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_motor_velocity_acceleration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Convert velocities/accelerations to motor units. Converts velocity/ies and/or acceleration/s to units of motor pitch per second (or second squared), which is what the drive requires when given move instructions. Parameters ---------- va : int, float, or iterable of ints...
"Convert velocities/accelerations to motor units.\n\n Converts velocity/ies and/or acceleration/s to units of motor\n pitch per second (or second squared), which is what the drive\n requires when given move instructions.\n\n Parameters\n ----------\n va : int, float, or iterabl...
159
false
frejanordsiek/GeminiMotorDrive
to_motor_velocity_acceleration
6,978
LDU_FT/autokey/autokey/wait_for_click
LDU_FT
[ "<BEGIN>\n## `save`", "Called by the parent settings dialog when the user clicks on the Save button.\n Stores the current settings in the ConfigManager.\n<END>", "<BEGIN>\n## `_settings_str`", "Returns a human readable settings representation for logging purposes.\n<END>", "<BEGIN>\n## `_should_trigg...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait_for_click API. 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 wait_for_click API. 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...
Wait for a mouse click Usage: C{mouse.wait_for_click(self, button, timeOut=10.0)} @param button: they mouse button click to wait for as a button number, 1-9 @param timeOut: maximum time, in seconds, to wait for the keypress to occur
"Wait for a mouse click\n \n Usage: C{mouse.wait_for_click(self, button, timeOut=10.0)}\n\n @param button: they mouse button click to wait for as a button number, 1-9\n @param timeOut: maximum time, in seconds, to wait for the keypress to occur"
363
false
autokey/autokey
wait_for_click
6,979
LDU_FT/wroberts/fsed/dfs
LDU_FT
[ "<BEGIN>\n## `open_file`", "Opens a file for access with the given mode. This function\n transparently wraps gzip and xz files as well as normal files.\n You can also open zip files using syntax like:", " f = utils.open_file('../semcor-parsed.zip:semcor000.txt')\n<END>", "<BEGIN>\n## `boundary_trans...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dfs API. 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 dfs API. 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...
Depth-first search generator. Yields `(node, parent)` for every node in the tree, beginning with `(self.root, None)`.
"Depth-first search generator. Yields `(node, parent)` for every\n node in the tree, beginning with `(self.root, None)`."
50
false
wroberts/fsed
dfs
6,980
LDU_FT/wdecoster/nanoget/extract_all_from_fastq
LDU_FT
[ "<BEGIN>\n## `process_summary`", "Extracting information from an albacore summary file.", " Only reads which have a >0 length are returned.", " The fields below may or may not exist, depending on the type of sequencing performed.\n Fields 1-14 are for 1D sequencing.\n Fields 1-23 for 2D sequencing...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_all_from_fastq 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 extract_all_from_fastq API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Extract metrics from a fastq file. Return identifier, read length, average quality and median quality
"Extract metrics from a fastq file.\n\n Return identifier, read length, average quality and median quality"
63
false
wdecoster/nanoget
extract_all_from_fastq
6,981
LDU_FT/commonwealth-of-puerto-rico/libre/get_renderer_context
LDU_FT
[ "<BEGIN>\n## `copy_data`", "Copy the data from the it's point of origin, serializing it,\n storing it serialized as well as in it's raw form and calculate\n a running hash of the serialized representation\n<END>", "<BEGIN>\n## `get_binary_iterator`", "Generator to stream the remote file piece by...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_renderer_context 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_renderer_context API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Returns a dict that is passed through to Renderer.render(), as the `renderer_context` keyword argument.
"Returns a dict that is passed through to Renderer.render(),\n as the `renderer_context` keyword argument."
28
false
commonwealth-of-puerto-rico/libre
get_renderer_context
6,982
LDU_FT/bennylope/smartystreets.py/get
LDU_FT
[ "<BEGIN>\n## `chunker`", "Generates n-sized chunks from the list l\n<END>", "<BEGIN>\n## `post`", "Executes most of the request.", " The parallelism parameter is useful to avoid swamping the API service with calls. Thus\n the entire set of requests won't be all made at once, but in chunked gro...
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...
Returns an address by user controlled input ID :param key: an input_id used to tag a lookup address :return: a matching Address
"Returns an address by user controlled input ID\n\n :param key: an input_id used to tag a lookup address\n :return: a matching Address"
35
false
bennylope/smartystreets.py
get
6,983
LDU_FT/viswa-swami/python-foscam/flip_video
LDU_FT
[ "<BEGIN>\n## `execute_command`", "Execute a command and return a parsed response.\n<END>", "<BEGIN>\n## `set_ip_info`", "isDHCP: 0(False), 1(True)\n System will reboot automatically to take effect after call this CGI command.\n<END>", "<BEGIN>\n## `get_wifi_list`", "Get the aps around after refresh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flip_video API. 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 flip_video API. 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...
Flip video ``is_flip``: 0 Not flip, 1 Flip
"Flip video\n ``is_flip``: 0 Not flip, 1 Flip"
34
false
viswa-swami/python-foscam
flip_video
6,984
LDU_FT/agermanidis/autosub/vtt_formatter
LDU_FT
[ "<BEGIN>\n## `srt_formatter`", "Serialize a list of subtitles according to the SRT format, with optional time padding.\n<END>", "<BEGIN>\n## `vtt_formatter`", "Serialize a list of subtitles according to the VTT format, with optional time padding.\n<END>", "<BEGIN>\n## `json_formatter`", "Serialize a list ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vtt_formatter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vtt_formatter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Serialize a list of subtitles according to the VTT format, with optional time padding.
"Serialize a list of subtitles according to the VTT format, with optional time padding."
14
false
agermanidis/autosub
vtt_formatter
6,985
LDU_FT/openstack/proliantutils/get_current_bios_settings
LDU_FT
[ "<BEGIN>\n## `_exec_ipmitool`", "Execute the ipmitool command.", " This uses the lanplus interface to communicate with the BMC device driver.", " :param driver_info: the ipmitool parameters for accessing a node.\n :param command: the ipmitool command to be executed.\n<END>", "<BEGIN>\n## `get_nic_c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_bios_settings API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_bios_settings API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Get current BIOS settings. :param: only_allowed_settings: True when only allowed BIOS settings are to be returned. If False, All the BIOS settings supported by iLO are returned. :return: a dictionary of current BIOS settings is returned. Depending on the...
"Get current BIOS settings.\n\n :param: only_allowed_settings: True when only allowed BIOS settings\n are to be returned. If False, All the BIOS settings supported\n by iLO are returned.\n :return: a dictionary of current BIOS settings is returned. Depending\n ...
929
false
openstack/proliantutils
get_current_bios_settings
6,986
LDU_FT/mapbox/mapbox-cli-py/match
LDU_FT
[ "<BEGIN>\n## `match`", "Mapbox Map Matching API lets you use snap your GPS traces\nto the OpenStreetMap road and path network.", " $ mapbox mapmatching trace.geojson", "An access token is required, see `mapbox --help`.\n<END>", "<BEGIN>\n## `staticmap`", "Generate static map images from existing Mapb...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match API. 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 match API. 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...
Mapbox Map Matching API lets you use snap your GPS traces to the OpenStreetMap road and path network. $ mapbox mapmatching trace.geojson An access token is required, see `mapbox --help`.
"Mapbox Map Matching API lets you use snap your GPS traces\nto the OpenStreetMap road and path network.\n\n $ mapbox mapmatching trace.geojson\n\nAn access token is required, see `mapbox --help`."
81
false
mapbox/mapbox-cli-py
match
6,987
LDU_FT/vintasoftware/django-role-permissions/available_perm_names
LDU_FT
[ "<BEGIN>\n## `camelToSnake`", "https://gist.github.com/jaytaylor/3660565\n Is it ironic that this function is written in camel case, yet it\n converts to snake case? hmm..\n<END>", "<BEGIN>\n## `get_app_name`", "Returns a app name from new app config if is\n a class or the same app name if is not a c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the available_perm_names 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 available_perm_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return a list of permissions codenames available to a user, based on that user's roles. i.e., keys for all "True" permissions from available_perm_status(user): Assert: set(available_perm_names(user)) == set(perm for perm,has_perm in available_perm_status(user) if has_perm) Query efficient; especiall...
"Return a list of permissions codenames available to a user, based on that user's roles.\n i.e., keys for all \"True\" permissions from available_perm_status(user):\n Assert: set(available_perm_names(user)) == set(perm for perm,has_perm in available_perm_status(user) if has_perm)\n Query efficient; esp...
20
false
vintasoftware/django-role-permissions
available_perm_names
6,988
LDU_FT/corpusops/pdbclone/do_p
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 do_p API. 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 do_p API. 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...
p expression Print the value of the expression.
"p expression\n Print the value of the expression."
129
false
corpusops/pdbclone
do_p
6,989
LDU_FT/Addvilz/hemp/clone
LDU_FT
[ "<BEGIN>\n## `release_local`", "Tag given repository with a new semver tag (bump version),\n optionally merging a integration branch.", " This will:\n - clone the repository to temporary directory\n - checkout branch indicated via base argument\n - retrieve all the tags, sort them in ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API. 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 clone API. 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...
Clone a repository, optionally using shallow clone :rtype: Repo :param url: URL of the repository :param directory: Directory to clone to :param single_branch: branch to clone if shallow clone is preferred :return: GitPython repository object of the newly cloned repository
"Clone a repository, optionally using shallow clone\n :rtype: Repo\n :param url: URL of the repository\n :param directory: Directory to clone to\n :param single_branch: branch to clone if shallow clone is preferred\n :return: GitPython repository object of the newly cloned repository"
13
false
Addvilz/hemp
clone
6,990
LDU_FT/wooga/play-deliver/upload
LDU_FT
[ "<BEGIN>\n## `list`", "convinent access method for list.", " service_name describes the endpoint to call\n the `list` function on.", " images.list or apks.list.\n<END>", "<BEGIN>\n## `build_params`", "build a params dictionary with current editId and packageName.", " use opti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload API. 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 upload API. 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 ...
Upload listing files in source_dir. folder herachy.
"Upload listing files in source_dir. folder herachy."
27
false
wooga/play-deliver
upload
6,991
LDU_FT/moonso/vcf_parser/format_variant
LDU_FT
[ "<BEGIN>\n## `build_models_dict`", "Take a list with annotated genetic inheritance patterns for each\n family and returns a dictionary with family_id as key and a list of\n genetic models as value.", " Args:\n annotated_models : A list on the form ['1:AD','2:AR_comp|AD_dn']", " Returns:\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_variant API. 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 format_variant API. 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...
Yield the variant in the right format. If the variants should be splitted on alternative alles one variant for each alternative will be yielded. Arguments: line (str): A string that represents a variant line in the vcf format header_parser (HeaderParser): A HeaderParser object ...
"Yield the variant in the right format. \n \n If the variants should be splitted on alternative alles one variant \n for each alternative will be yielded.\n \n Arguments:\n line (str): A string that represents a variant line in the vcf format\n header_parser (HeaderParser): A HeaderParser o...
71
false
moonso/vcf_parser
format_variant
6,992
LDU_FT/erikrose/more-itertools/sort_together
LDU_FT
[ "<BEGIN>\n## `first`", "Return the first item of *iterable*, or *default* if *iterable* is\n empty.", " >>> first([0, 1, 2, 3])\n 0\n >>> first([], 'some default')\n 'some default'", " If *default* is not provided and there are no items in the iterable,\n raise ``ValueErro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_together API. 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 sort_together API. 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...
Return the input iterables sorted together, with *key_list* as the priority for sorting. All iterables are trimmed to the length of the shortest one. This can be used like the sorting function in a spreadsheet. If each iterable represents a column of data, the key list determines which columns are ...
"Return the input iterables sorted together, with *key_list* as the\n priority for sorting. All iterables are trimmed to the length of the\n shortest one.\n\n This can be used like the sorting function in a spreadsheet. If each\n iterable represents a column of data, the key list determines which\n colum...
342
false
erikrose/more-itertools
sort_together
6,993
LDU_FT/alvations/lazyme/color_print
LDU_FT
[ "<BEGIN>\n## `iter_paragraph`", "A helper function to iterate through the diff types of Wikipedia data inputs.\n :param arguments: The docopt arguments\n :type arguments: dict\n :return: A generator yielding a pargraph of text for each iteration.\n<END>", "<BEGIN>\n## `deduplicate`", "From http://sta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the color_print API. 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 color_print API. 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...
From http://stackoverflow.com/a/287944/610569 See also https://gist.github.com/Sheljohn/68ca3be74139f66dbc6127784f638920
"From http://stackoverflow.com/a/287944/610569\n See also https://gist.github.com/Sheljohn/68ca3be74139f66dbc6127784f638920"
27
false
alvations/lazyme
color_print
6,994
LDU_FT/sods/ods/epomeo_gpx
LDU_FT
[ "<BEGIN>\n## `display_url`", "Displaying URL in an IPython notebook to allow the user to click and check on information. With thanks to Fernando Perez for putting together the implementation!\n :param target: the url to display.\n :type target: string.\n<END>", "<BEGIN>\n## `iframe_url`", "Produce an if...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the epomeo_gpx API. 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 epomeo_gpx API. 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...
Data set of three GPS traces of the same movement on Mt Epomeo in Ischia. Requires gpxpy to run.
"Data set of three GPS traces of the same movement on Mt Epomeo in Ischia. Requires gpxpy to run."
67
false
sods/ods
epomeo_gpx
6,995
LDU_FT/pyblish/pyblish-qml/_listen
LDU_FT
[ "<BEGIN>\n## `process`", "Given JSON objects from client, perform actual processing", " Arguments:\n plugin (dict): JSON representation of plug-in to process\n instance (dict, optional): JSON representation of Instance to\n be processed.\n action (str, opti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _listen API. 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 _listen API. 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...
Listen for messages passed from parent This method distributes messages received via stdin to their corresponding channel. Based on the format of the incoming message, the message is forwarded to its corresponding channel to be processed by its corresponding handler.
"Listen for messages passed from parent\n\n This method distributes messages received via stdin to their\n corresponding channel. Based on the format of the incoming\n message, the message is forwarded to its corresponding channel\n to be processed by its corresponding handler."
272
false
pyblish/pyblish-qml
_listen
6,996
LDU_FT/aiven/pghoard/get_total_memory
LDU_FT
[ "<BEGIN>\n## `atomic_create_file`", "Open a temporary file for writing, rename to final name when done\n<END>", "<BEGIN>\n## `_stream_blob`", "Streams contents of given key to given fileobj. Data is read sequentially in chunks\n without any seeks. This requires duplicating some functionality of the Azu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_total_memory API. 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_total_memory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
return total system memory in mebibytes (or None if parsing meminfo fails)
"return total system memory in mebibytes (or None if parsing meminfo fails)"
66
false
aiven/pghoard
get_total_memory
6,997
LDU_FT/anteater/anteater/url_report
LDU_FT
[ "<BEGIN>\n## `scan_file`", "Sends a file to virus total for assessment\n<END>", "<BEGIN>\n## `send_ip`", "Send IP address for list of past malicous domain associations\n<END>", "<BEGIN>\n## `url_report`", "Send URLS for list of past malicous associations\n<END>", "<BEGIN>\n## `prepare_patchset`", "Cre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the url_report API. 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 url_report API. 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...
Send URLS for list of past malicous associations
"Send URLS for list of past malicous associations"
16
false
anteater/anteater
url_report
6,998
LDU_FT/hactar-is/frink/filter
LDU_FT
[ "<BEGIN>\n## `delete`", "Delete the current instance from the DB.\n<END>", "<BEGIN>\n## `get`", "Get a single instance by pk id.", " :param id: The UUID of the instance you want to retrieve.\n<END>", "<BEGIN>\n## `filter`", "Fetch a list of instances.", " :param order_by: column ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Fetch a list of instances. :param order_by: column on which to order the results. \ To change the sort, prepend with < or >. :param limit: How many rows to fetch. :param kwargs: keyword args on which to filter, column=value
"Fetch a list of instances.\n\n :param order_by: column on which to order the results. \\\n To change the sort, prepend with < or >.\n :param limit: How many rows to fetch.\n :param kwargs: keyword args on which to filter, column=value"
19
false
hactar-is/frink
filter
6,999
LDU_FT/gwastro/pycbc/ifo
LDU_FT
[ "<BEGIN>\n## `compute_u_val_for_sky_loc_stat`", "The max-over-sky location detection statistic maximizes over a phase,\n an amplitude and the ratio of F+ and Fx, encoded in a variable called u.\n Here we return the value of u for the given indices.\n<END>", "<BEGIN>\n## `compute_max_snr_over_sky_loc_stat_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ifo API. 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 ifo API. 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...
If only one ifo in the ifo_list this will be that ifo. Otherwise an error is raised.
"If only one ifo in the ifo_list this will be that ifo. Otherwise an\n error is raised."
4,120
true
gwastro/pycbc
ifo
7,000
LDU_FT/garnaat/placebo/_serialize_json
LDU_FT
[ "<BEGIN>\n## `_serialize_json`", "Serialize ``obj`` as a JSON formatted stream to ``fp``\n<END>", "<BEGIN>\n## `get_serializer`", "Get the serializer for a specific format\n<END>", "<BEGIN>\n## `get_deserializer`", "Get the deserializer for a specific format\n<END>", "<BEGIN>\n## `_set_logger`", "Conv...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _serialize_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _serialize_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Serialize ``obj`` as a JSON formatted stream to ``fp``
"Serialize ``obj`` as a JSON formatted stream to ``fp``"
18
false
garnaat/placebo
_serialize_json
7,001
LDU_FT/jssimporter/python-jss/umount
LDU_FT
[ "<BEGIN>\n## `get`", "GET a url, handle errors, and return an etree.", " In general, it is better to use a higher level interface for\n API requests, like the search methods on this class, or the\n JSSObjects themselves.", " Args:\n url_path: String API endpoint path to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the umount API. 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 umount API. 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 ...
Umount all mountable distribution points. Defaults to using forced method.
"Umount all mountable distribution points.\n\n Defaults to using forced method."
331
false
jssimporter/python-jss
umount
7,002
LDU_FT/eisensheng/kaviar/kv_format
LDU_FT
[ "<BEGIN>\n## `_version_find_existing`", "Returns set of existing versions in this repository. This\n information is backed by previously used version tags in git.\n Available tags are pulled from origin repository before.", " :return:\n available versions\n :rtype:\n set\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kv_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 extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the kv_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 extract...
Formats any given list of Key-Value pairs or dictionaries in ``*args`` and any given keyword argument in ``**kwargs``. Any item within a given list or dictionary will also be visited and added to the output. Strings will be escaped to prevent leaking binary data, ambiguous characters or other control ...
"Formats any given list of Key-Value pairs or dictionaries in ``*args``\n and any given keyword argument in ``**kwargs``.\n\n Any item within a given list or dictionary will also be visited and\n added to the output. Strings will be escaped to prevent leaking binary\n data, ambiguous characters or other co...
27
false
eisensheng/kaviar
kv_format
7,003
LDU_FT/BreakingBytes/simkit/register
LDU_FT
[ "<BEGIN>\n## `register`", "Register outputs and metadata.", " * ``initial_value`` - used in dynamic calculations\n * ``size`` - number of elements per timestep\n * ``uncertainty`` - in percent of nominal value\n * ``variance`` - dictionary of covariances, diagonal is square of\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API. 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 register API. 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...
register simulation and metadata. * ``commands`` - list of methods to callable from model :param sim: new simulation
"register simulation and metadata.\n\n * ``commands`` - list of methods to callable from model\n\n :param sim: new simulation"
227
false
BreakingBytes/simkit
register
7,004
LDU_FT/corpusops/pdbclone/onecmd
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 onecmd API. 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 onecmd API. 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 ...
Interpret the argument as though it had been typed in response to the prompt. Checks whether this line is typed at the normal prompt or in a breakpoint command list definition.
"Interpret the argument as though it had been typed in response\n to the prompt.\n\n Checks whether this line is typed at the normal prompt or in\n a breakpoint command list definition."
129
false
corpusops/pdbclone
onecmd
7,005
LDU_FT/tilezen/tilequeue/tilequeue_load_tiles_of_interest
LDU_FT
[ "<BEGIN>\n## `merge`", "Retrieve a list of OSciMap4 tile responses and merge them into one.", " get_tiles() retrieves data and performs basic integrity checks.\n<END>", "<BEGIN>\n## `_make_valid_if_necessary`", "attempt to correct invalid shapes if necessary", " After simplification, even when p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tilequeue_load_tiles_of_interest API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tilequeue_load_tiles_of_interest API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c...
Given a newline-delimited file containing tile coordinates in `zoom/column/row` format, load those tiles into the tiles of interest.
"Given a newline-delimited file containing tile coordinates in\n `zoom/column/row` format, load those tiles into the tiles of interest."
135
false
tilezen/tilequeue
tilequeue_load_tiles_of_interest
7,006
LDU_FT/fjwCode/cerium/pull_screenrecord
LDU_FT
[ "<BEGIN>\n## `version`", "Show the version number of Android Debug Bridge.\n<END>", "<BEGIN>\n## `devices_l`", "List connected devices (-l for long output).\n<END>", "<BEGIN>\n## `connect`", "Connect to a device via TCP/IP directly.\n<END>", "<BEGIN>\n## `disconnect`", "Disconnect from given TCP/IP de...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pull_screenrecord API. 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 pull_screenrecord API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Recording the display of devices running Android 4.4 (API level 19) and higher. Then copy it to your computer. Args: bit_rate:You can increase the bit rate to improve video quality, but doing so results in larger movie files. time_limit: Sets the maximum recording time, in seconds, and ...
"Recording the display of devices running Android 4.4 (API level 19) and higher. Then copy it to your computer.\n\n Args:\n bit_rate:You can increase the bit rate to improve video quality, but doing so results in larger movie files.\n time_limit: Sets the maximum recording time, in seconds,...
95
false
fjwCode/cerium
pull_screenrecord
7,007
LDU_FT/Sanji-IO/sanji/getAll
LDU_FT
[ "<BEGIN>\n## `add`", "Add a object\n Args:\n Object: Object will be added\n Returns:\n Object: Object with id\n Raises:\n TypeError: If add object is not a dict\n MultipleInvalid: If input object is invaild\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAll API. 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 getAll API. 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 all objects Returns: List: list of all objects
"Get all objects\n Returns:\n List: list of all objects"
45
false
Sanji-IO/sanji
getAll
7,008
LDU_FT/dlecocq/nsq-py/ready
LDU_FT
[ "<BEGIN>\n## `pack_iterable`", "Pack an iterable of messages in the TCP protocol format\n<END>", "<BEGIN>\n## `hexify`", "Print out printable characters, but others in hex\n<END>", "<BEGIN>\n## `distribute`", "Generator for (count, object) tuples that distributes count evenly among\n the provided objec...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ready API. 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 ready API. 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...
Whether or not enough time has passed since the last failure
"Whether or not enough time has passed since the last failure"
54
false
dlecocq/nsq-py
ready
7,009
LDU_FT/aalireza/SimpleAudioIndexer/_prepare_audio
LDU_FT
[ "<BEGIN>\n## `set_username_ibm`", "Parameters\n ----------\n username_ibm : str", " Raises\n ------\n Exception\n If mode is not `ibm`\n<END>", "<BEGIN>\n## `set_password_ibm`", "Parameters\n ----------\n password_ibm : str", " Raises\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_audio API. 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 _prepare_audio API. 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...
Prepares and stages the audio file to be indexed. Parameters ---------- basename : str, None A basename of `/home/random-guy/some-audio-file.wav` is `some-audio-file.wav` If basename is `None`, it'll prepare all the audio files.
"Prepares and stages the audio file to be indexed.\n\n Parameters\n ----------\n basename : str, None\n A basename of `/home/random-guy/some-audio-file.wav` is\n `some-audio-file.wav`\n If basename is `None`, it'll prepare all the audio files."
159
false
aalireza/SimpleAudioIndexer
_prepare_audio
7,010
LDU_FT/robertdfrench/psychic-disco/fetch_method
LDU_FT
[ "<BEGIN>\n## `_apply_args_to_func`", "Unpacks the argparse Namespace object and applies its\n contents as normal arguments to the function func\n<END>", "<BEGIN>\n## `subcommand`", "Define a subcommand for the psychic_disco function\n Expects functions to supply a list of their arguments\n Converts t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_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 extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fetch_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 extr...
Fetch extra metadata for this particular method
"Fetch extra metadata for this particular method"
10
false
robertdfrench/psychic-disco
fetch_method
7,011
LDU_FT/piotr-rusin/spam-lists/_request_address
LDU_FT
[ "<BEGIN>\n## `is_valid_host`", "Check if given value is a valid host string.", " :param value: a value to test\n :returns: True if the value is valid\n<END>", "<BEGIN>\n## `is_valid_url`", "Check if given value is a valid URL string.", " :param value: a value to test\n :returns: True if the va...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _request_address API. 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 _request_address API. 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 address of a POST request to the service.
"Get address of a POST request to the service."
78
false
piotr-rusin/spam-lists
_request_address
7,012
LDU_FT/bpython/curtsies/tictactoe
LDU_FT
[ "<BEGIN>\n## `tictactoe`", "Put two strategies to a classic battle of wits.\n<END>", "<BEGIN>\n## `memo`", "Return a function like f that remembers and reuses results of past calls.\n<END>", "<BEGIN>\n## `max_play`", "Play like Spock, except breaking ties by drunk_value.\n<END>", "<BEGIN>\n## `drunk_val...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tictactoe API. 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 tictactoe API. 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...
Put two strategies to a classic battle of wits.
"Put two strategies to a classic battle of wits."
163
false
bpython/curtsies
tictactoe
7,013
LDU_FT/shad7/tvrenamer/parse_filename
LDU_FT
[ "<BEGIN>\n## `execute`", "Renames a file based on the name generated using metadata.", " :param str filename: absolute path and filename of original file\n :param str formatted_name: absolute path and new filename\n<END>", "<BEGIN>\n## `get_series_by_name`", "Perform lookup for series", " :pa...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_filename API. 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_filename API. 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...
Parse media filename for metadata. :param str filename: the name of media file :returns: dict of metadata attributes found in filename or None if no matching expression. :rtype: dict
"Parse media filename for metadata.\n\n :param str filename: the name of media file\n :returns: dict of metadata attributes found in filename\n or None if no matching expression.\n :rtype: dict"
135
false
shad7/tvrenamer
parse_filename
7,014
LDU_FT/JamesRamm/longclaw/product_requests_button
LDU_FT
[ "<BEGIN>\n## `shipping_cost`", "Returns the shipping cost for a given country\n If the shipping cost for the given country has not been set, it will\n fallback to the default shipping cost if it has been enabled in the app\n settings\n<END>", "<BEGIN>\n## `shipping_options`", "Get the shipping option...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the product_requests_button 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 product_requests_button API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Renders a 'requests' button on the page index showing the number of times the product has been requested. Attempts to only show such a button for valid product/variant pages
"Renders a 'requests' button on the page index showing the number\n of times the product has been requested.\n\n Attempts to only show such a button for valid product/variant pages"
49
false
JamesRamm/longclaw
product_requests_button
7,015
LDU_FT/ckoepp/TwitterSearch/set_search_url
LDU_FT
[ "<BEGIN>\n## `set_source_filter`", "Only search for tweets entered via given source", " :param source: String. Name of the source to search for. An example \\\n would be ``source=twitterfeed`` for tweets submitted via TwitterFeed\n :raises: TwitterSearchException\n<END>", "<BEGIN>\n## `ad...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_search_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_search_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Reads given query string and stores key-value tuples :param url: A string containing a valid URL to parse arguments from
"Reads given query string and stores key-value tuples\n\n :param url: A string containing a valid URL to parse arguments from"
91
false
ckoepp/TwitterSearch
set_search_url
7,016
LDU_FT/MacHu-GWU/pyknackhq-project/insert_one
LDU_FT
[ "<BEGIN>\n## `get_field_key`", "Given a field key or name, return it's field key.\n<END>", "<BEGIN>\n## `get_object_key`", "Given a object key or name, return it's object key.\n<END>", "<BEGIN>\n## `install`", "Install your package to all Python version you have installed on Windows.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert_one API. 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 insert_one API. 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...
Insert one record. Ref: http://helpdesk.knackhq.com/support/solutions/articles/5000446111-api-reference-root-access#create For more information of the raw structure of all data type, read this: http://helpdesk.knackhq.com/support/solutions/articles/5000446405-field-types ...
"Insert one record.\n \n Ref: http://helpdesk.knackhq.com/support/solutions/articles/5000446111-api-reference-root-access#create\n \n For more information of the raw structure of all data type, read this:\n http://helpdesk.knackhq.com/support/solutions/articles/5000446405-field-types\...
122
false
MacHu-GWU/pyknackhq-project
insert_one
7,017
LDU_FT/samuelcolvin/pydantic/field_type_schema
LDU_FT
[ "<BEGIN>\n## `validate_email`", "Brutally simple email address validation. Note unlike most email address validation\n * raw ip address (literal) domain parts are not allowed.\n * \"John Doe <local_part@domain.com>\" style \"pretty\" email addresses are processed\n * the local part check is extremely bas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the field_type_schema API. 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 field_type_schema API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Used by ``field_schema()``, you probably should be using that function. Take a single ``field`` and generate the schema for its type only, not including additional information as title, etc. Also return additional schema definitions, from sub-models.
"Used by ``field_schema()``, you probably should be using that function.\n\n Take a single ``field`` and generate the schema for its type only, not including additional\n information as title, etc. Also return additional schema definitions, from sub-models."
113
false
samuelcolvin/pydantic
field_type_schema
7,018
LDU_FT/MechanicalSoup/MechanicalSoup/requirements_from_file
LDU_FT
[ "<BEGIN>\n## `new_control`", "Call :func:`Form.new_control` on the currently selected form.\n<END>", "<BEGIN>\n## `open`", "Open the URL and store the Browser's state in this object.\n All arguments are forwarded to :func:`Browser.get`.", " :return: Forwarded from :func:`Browser.get`.\n<END>",...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requirements_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the requirements_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Parses a pip requirements file into a list.
"Parses a pip requirements file into a list."
119
false
MechanicalSoup/MechanicalSoup
requirements_from_file
7,019
LDU_FT/twidi/django-adv-cache-tag/prepare_params
LDU_FT
[ "<BEGIN>\n## `prepare_params`", "Prepare the parameters passed to the templatetag\n<END>", "<BEGIN>\n## `get_expire_time`", "Return the expire time passed to the templatetag.\n Must be None or an integer.\n<END>", "<BEGIN>\n## `get_version`", "Return the stringified version passed to the templateta...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_params API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Prepare the parameters passed to the templatetag
"Prepare the parameters passed to the templatetag"
34
false
twidi/django-adv-cache-tag
prepare_params
7,020
LDU_FT/Kortemme-Lab/klab/fraction_correct_fuzzy_linear_create_vector
LDU_FT
[ "<BEGIN>\n## `retrieve`", "Creates a PDBML object by using a cached copy of the files if they exists or by retrieving the files from the RCSB.\n<END>", "<BEGIN>\n## `parse_deprecation`", "Checks to see if the PDB file has been deprecated and, if so, what the new ID is.\n<END>", "<BEGIN>\n## `parse_atoms`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fraction_correct_fuzzy_linear_create_vector API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fraction_correct_fuzzy_linear_create_vector API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indi...
A helper function for fraction_correct_fuzzy_linear.
"A helper function for fraction_correct_fuzzy_linear."
725
false
Kortemme-Lab/klab
fraction_correct_fuzzy_linear_create_vector
7,021
LDU_FT/square/pylink/exec_command
LDU_FT
[ "<BEGIN>\n## `main`", "Prints the core's information.", " Args:\n jlink_serial (str): the J-Link serial number\n device (str): the target CPU", " Returns:\n Always returns ``0``.", " Raises:\n JLinkException: on error\n<END>", "<BEGIN>\n## `acquire`", "Attempts to acquire a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exec_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 exec_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...
Executes the given command. This method executes a command by calling the DLL's exec method. Direct API methods should be prioritized over calling this method. Args: self (JLink): the ``JLink`` instance cmd (str): the command to run Returns: The return co...
"Executes the given command.\n\n This method executes a command by calling the DLL's exec method.\n Direct API methods should be prioritized over calling this method.\n\n Args:\n self (JLink): the ``JLink`` instance\n cmd (str): the command to run\n\n Returns:\n Th...
949
false
square/pylink
exec_command
7,022
LDU_FT/getsentry/raven-python/get_sentry_data_from_request
LDU_FT
[ "<BEGIN>\n## `async_send`", "Spawn an async request to a remote webserver.\n<END>", "<BEGIN>\n## `send`", "Sends a request to a remote webserver using HTTP POST.\n<END>", "<BEGIN>\n## `extract_auth_vars`", "raven-js will pass both Authorization and X-Sentry-Auth depending on the browser\n and server co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_sentry_data_from_request 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 get_sentry_data_from_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Extracts the data required for 'sentry.interfaces.Http' from the current request being handled by the request handler :param return: A dictionary.
"Extracts the data required for 'sentry.interfaces.Http' from the\n current request being handled by the request handler\n\n :param return: A dictionary."
126
false
getsentry/raven-python
get_sentry_data_from_request
7,023
LDU_FT/BoboTiG/python-mss/pixel
LDU_FT
[ "<BEGIN>\n## `to_png`", "Dump data to a PNG file. If `output` is `None`, create no file but return\n the whole PNG data.", " :param bytes data: RGBRGB...RGB data.\n :param tuple size: The (width, height) pair.\n :param int level: PNG compression level.\n :param str output: Output file name.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pixel API. 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 pixel API. 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...
Returns the pixel value at a given position. :param int coord_x: The x coordinate. :param int coord_y: The y coordinate. :return tuple: The pixel value as (R, G, B).
"Returns the pixel value at a given position.\n\n :param int coord_x: The x coordinate.\n :param int coord_y: The y coordinate.\n :return tuple: The pixel value as (R, G, B)."
62
false
BoboTiG/python-mss
pixel
7,024
LDU_FT/lablup/backend.ai-client-py/execute
LDU_FT
[ "<BEGIN>\n## `generate_signature`", "Generates the API request signature from the given parameters.\n<END>", "<BEGIN>\n## `list_with_limit`", "Fetches the list of agents with the given status with limit and offset for\n pagination.", " :param limit: number of agents to get\n :param offs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Executes a code snippet directly in the compute session or sends a set of build/clean/execute commands to the compute session. For more details about using this API, please refer :doc:`the official API documentation <user-api/intro>`. :param run_id: A unique identifier for a particular...
"Executes a code snippet directly in the compute session or sends a set of\n build/clean/execute commands to the compute session.\n\n For more details about using this API, please refer :doc:`the official API\n documentation <user-api/intro>`.\n\n :param run_id: A unique identifier for a par...
207
false
lablup/backend.ai-client-py
execute
7,025
LDU_FT/PyCQA/pyflakes/addBinding
LDU_FT
[ "<BEGIN>\n## `syntaxError`", "There was a syntax error in C{filename}.", " @param filename: The path to the file with the syntax error.\n @ptype filename: C{unicode}\n @param msg: An explanation of the syntax error.\n @ptype msg: C{unicode}\n @param lineno: The line number whe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addBinding API. 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 addBinding API. 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...
Called when a binding is altered. - `node` is the statement responsible for the change - `value` is the new value, a Binding instance
"Called when a binding is altered.\n\n - `node` is the statement responsible for the change\n - `value` is the new value, a Binding instance"
54
false
PyCQA/pyflakes
addBinding
7,026
LDU_FT/alertot/detectem/get_valid_har
LDU_FT
[ "<BEGIN>\n## `get_detection_results`", "Return results from detector.", " This function prepares the environment loading the plugins,\n getting the response and passing it to the detector.", " In case of errors, it raises exceptions to be handled externally.\n<END>", "<BEGIN>\n## `get_plugins`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_valid_har API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_valid_har API. 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...
Return list of valid HAR entries. :rtype: list
"Return list of valid HAR entries.\n\n :rtype: list"
48
false
alertot/detectem
get_valid_har
7,027
LDU_FT/devision-io/metasdk/config_param
LDU_FT
[ "<BEGIN>\n## `get_feed`", "Получение настроек для фида\n :param datasource_id: идентификатор фида\n :return: FeedDataSource\n<END>", "<BEGIN>\n## `get_data`", "Сохранение медиафайла\n :param task:\n :param media_metadata:\n :param file_suffix:\n :param callback:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the config_param API. 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 config_param API. 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...
Получает настройки с сервера, кеширует локально и дает простой интерфейс их получения :param conf_alias: :param param: :return:
"Получает настройки с сервера, кеширует локально и дает простой интерфейс их получения\n :param conf_alias:\n :param param:\n :return:"
88
false
devision-io/metasdk
config_param
7,028
LDU_FT/zapier/django-drip/get_fields
LDU_FT
[ "<BEGIN>\n## `get_fields`", "Given a Model, return a list of lists of strings with important stuff:\n ...\n ['test_user__user__customuser', 'customuser', 'User', 'RelatedObject']\n ['test_user__unique_id', 'unique_id', 'TestUser', 'CharField']\n ['test_user__confirmed', 'confirmed', 'TestUser', 'Boole...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fields API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fields API. 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...
Given a Model, return a list of lists of strings with important stuff: ... ['test_user__user__customuser', 'customuser', 'User', 'RelatedObject'] ['test_user__unique_id', 'unique_id', 'TestUser', 'CharField'] ['test_user__confirmed', 'confirmed', 'TestUser', 'BooleanField'] ...
"Given a Model, return a list of lists of strings with important stuff:\n ...\n ['test_user__user__customuser', 'customuser', 'User', 'RelatedObject']\n ['test_user__unique_id', 'unique_id', 'TestUser', 'CharField']\n ['test_user__confirmed', 'confirmed', 'TestUser', 'BooleanField']\n ..."
20
false
zapier/django-drip
get_fields
7,029
LDU_FT/jic-dtool/dtoolcore/_get_config_dict_from_file
LDU_FT
[ "<BEGIN>\n## `generous_parse_uri`", "Return a urlparse.ParseResult object with the results of parsing the\n given URI. This has the same properties as the result of parse_uri.", " When passed a relative path, it determines the absolute path, sets the\n scheme to file, the netloc to localhost and return...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_config_dict_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_config_dict_from_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Return value if key exists in file. Return empty string ("") if key or file does not exist.
"Return value if key exists in file.\n\n Return empty string (\"\") if key or file does not exist."
111
false
jic-dtool/dtoolcore
_get_config_dict_from_file
7,030
LDU_FT/jkenlooper/chill/render_value_for_node
LDU_FT
[ "<BEGIN>\n## `multiple_directory_files_loader`", "Loads all the files in each directory as values in a dict with the key\n being the relative file path of the directory. Updates the value if\n subsequent file paths are the same.\n<END>", "<BEGIN>\n## `send_root_file`", "Function used to send static fil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_value_for_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_value_for_node API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Wrap render_node for usage in operate scripts. Returns without template rendered.
"Wrap render_node for usage in operate scripts. Returns without template\n rendered."
63
false
jkenlooper/chill
render_value_for_node
7,031
LDU_FT/j3ffhubb/pymarshal/unmarshal_json
LDU_FT
[ "<BEGIN>\n## `factory`", "desc: >\n Creates a DocStringArg and recursively includes child\n docstrings if they are not JSON types.\n args:\n - name: name\n desc: The name of the argument\n type: str\n - name: desc\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unmarshal_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unmarshal_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Unmarshal @obj into @cls Args: obj: dict, A JSON object cls: type, The class to unmarshal into allow_extra_keys: bool, False to raise an exception when extra keys are present, True to ignore ctor: None-or-static-method:...
"Unmarshal @obj into @cls\n\n Args:\n obj: dict, A JSON object\n cls: type, The class to unmarshal into\n allow_extra_keys: bool, False to raise an exception when extra\n keys are present, True to ignore\n ctor: None-or-static...
63
false
j3ffhubb/pymarshal
unmarshal_json
7,032
LDU_FT/chovanecm/sacredboard/add_mongo_config
LDU_FT
[ "<BEGIN>\n## `get_file`", "Get a specific file from GridFS.", " Returns a binary stream response or HTTP 404 if not found.\n<END>", "<BEGIN>\n## `get_files_zip`", "Send all artifacts or sources of a run as ZIP.\n<END>", "<BEGIN>\n## `get`", "Return the file identified by a file_id string.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_mongo_config API. 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 add_mongo_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Configure the application to use MongoDB. :param app: Flask application :param simple_connection_string: Expects host:port:database_name or database_name Mutally_exclusive with mongo_uri :param mongo_uri: Expects mongodb://... as defined in https://docs.mongo...
"Configure the application to use MongoDB.\n\n :param app: Flask application\n :param simple_connection_string:\n Expects host:port:database_name or database_name\n Mutally_exclusive with mongo_uri\n :param mongo_uri: Expects mongodb://... as defined\n in https://do...
128
false
chovanecm/sacredboard
add_mongo_config
7,033
LDU_FT/APSL/transmanager/save
LDU_FT
[ "<BEGIN>\n## `create_translation_tasks`", "Creates the translations tasks from the instance and its translatable children", " :param instance:\n :return:\n<END>", "<BEGIN>\n## `update_task`", "Updates a task as done if we have a new value for this alternative language", " :param diffe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Method that creates the translations tasks for every selected instance :param kwargs: :return:
"Method that creates the translations tasks for every selected instance\n\n :param kwargs:\n :return:"
92
false
APSL/transmanager
save
7,034
LDU_FT/frictionlessdata/datapackage-pipelines/badge_collection
LDU_FT
[ "<BEGIN>\n## `_filehash`", "Return the hash object for the file `filepath', processing the file\n by chunk of `blocksize'.", " :type filepath: str\n :param filepath: Path to file", " :type blocksize: int\n :param blocksize: Size of the chunk when processing the file\n<END>", "<BEGIN>\n## `com...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the badge_collection API. 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 badge_collection API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Status badge for a collection of pipelines.
"Status badge for a collection of pipelines."
51
false
frictionlessdata/datapackage-pipelines
badge_collection
7,035
LDU_FT/yolothreat/utilitybelt/reverse_dns_sna
LDU_FT
[ "<BEGIN>\n## `ip_between`", "Checks to see if IP is between start and finish\n<END>", "<BEGIN>\n## `is_rfc1918`", "Checks to see if an IP address is used for local communications within\n a private network as specified by RFC 1918\n<END>", "<BEGIN>\n## `is_reserved`", "Checks to see if an IP address is...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reverse_dns_sna API. 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 reverse_dns_sna API. 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...
Returns a list of the dns names that point to a given ipaddress using StatDNS API
"Returns a list of the dns names that point to a given ipaddress using StatDNS API"
25
false
yolothreat/utilitybelt
reverse_dns_sna
7,036
LDU_FT/QunarOPS/qg.core/import_class
LDU_FT
[ "<BEGIN>\n## `import_class`", "Returns a class from a string including module and class.\n<END>", "<BEGIN>\n## `import_object_ns`", "Tries to import object from default namespace.", " Imports a class and return an instance of it, first by trying\n to find the class in a default namespace, then failing...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns a class from a string including module and class.
"Returns a class from a string including module and class."
74
false
QunarOPS/qg.core
import_class
7,037
LDU_FT/remram44/rpaths/open
LDU_FT
[ "<BEGIN>\n## `pattern2re`", "Makes a unicode regular expression from a pattern.", " Returns ``(start, full_re, int_re)`` where:", " * `start` is either empty or the subdirectory in which to start searching,\n * `full_re` is a regular expression object that matches the requested\n files, i.e. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open API. 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 open API. 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...
Opens this file, or a file under this directory. ``path.open(mode, name)`` is a shortcut for ``(path/name).open(mode)``. Note that this uses :func:`io.open()` which behaves differently from :func:`open()` on Python 2; see the appropriate documentation. :param name: Path component to a...
"Opens this file, or a file under this directory.\n\n ``path.open(mode, name)`` is a shortcut for ``(path/name).open(mode)``.\n\n Note that this uses :func:`io.open()` which behaves differently from\n :func:`open()` on Python 2; see the appropriate documentation.\n\n :param name: Path compon...
95
false
remram44/rpaths
open
7,038
LDU_FT/luismasuelli/django-trackmodels-ritual/get_report_column_builders
LDU_FT
[ "<BEGIN>\n## `lookups`", "Performs lookup in the same way the reporting tool allows to generate a report.\n :param request: Current request\n :param model_admin: Current model admin. It must implement get_period_options as returning a list of (k, v).\n :raises: AttributeError, ValueError, or ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_report_column_builders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_report_column_builders API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Returns builders for column names and column values for the elements, being each element like this: 1. A header fetcher: will retrieve the title for the column. 2. A value fetcher: will retrieve the value for the column. :param model: model to analyze and fetch. :param requ...
"Returns builders for column names and column values\n for the elements, being each element like this:\n 1. A header fetcher: will retrieve the title for the column.\n 2. A value fetcher: will retrieve the value for the column.\n :param model: model to analyze and fetch.\n :para...
28
false
luismasuelli/django-trackmodels-ritual
get_report_column_builders
7,039
LDU_FT/saulpw/visidata/drawRightStatus
LDU_FT
[ "<BEGIN>\n## `expand_cols_deep`", "expand all visible columns of containers to the given depth (0=fully)\n<END>", "<BEGIN>\n## `load_pyobj`", "Return Sheet object of appropriate type for given sources in `args`.\n<END>", "<BEGIN>\n## `getPublicAttrs`", "Return all public attributes (not methods or `_`-pre...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the drawRightStatus API. 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 drawRightStatus API. 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...
Draw right side of status bar. Return length displayed.
"Draw right side of status bar. Return length displayed."
249
false
saulpw/visidata
drawRightStatus
7,040
LDU_FT/kennethreitz/clint/contains_at
LDU_FT
[ "<BEGIN>\n## `_indent`", "Indent util function, compute new indent_string\n<END>", "<BEGIN>\n## `open`", "Returns file object from given filename.\n<END>", "<BEGIN>\n## `append`", "Appends given content to given filename.\n<END>", "<BEGIN>\n## `delete`", "Deletes given file or directory. If no filenam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the contains_at API. 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 contains_at API. 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...
Tests if given [list of] string is at given index.
"Tests if given [list of] string is at given index."
66
false
kennethreitz/clint
contains_at
7,041
LDU_FT/klmitch/bark/set_conversion
LDU_FT
[ "<BEGIN>\n## `pop_state`", "Pops off the most recent state.", " :param idx: If provided, specifies the index at which the next\n string begins.\n<END>", "<BEGIN>\n## `add_text`", "Adds the text from string beginning to the specified ending\n index to the format.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_conversion API. 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 set_conversion API. 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...
Adds the conversion to the format. :param idx: The ending index of the conversion name.
"Adds the conversion to the format.\n\n :param idx: The ending index of the conversion name."
160
false
klmitch/bark
set_conversion
7,042
LDU_FT/altair-viz/pdvega/validate_aggregation
LDU_FT
[ "<BEGIN>\n## `infer_vegalite_type`", "From an array-like input, infer the correct vega typecode\n ('ordinal', 'nominal', 'quantitative', or 'temporal')", " Parameters\n ----------\n data: Numpy array or Pandas Series\n data for which the type will be inferred\n ordinal_threshold: integer (...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_aggregation 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 validate_aggregation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Validate an aggregation for use in Vega-Lite. Translate agg to one of the following supported named aggregations: ['mean', 'sum', 'median', 'min', 'max', 'count'] Parameters ---------- agg : string or callable A string Supported reductions are ['mean', 'sum', 'median', 'min', 'max', '...
"Validate an aggregation for use in Vega-Lite.\n\n Translate agg to one of the following supported named aggregations:\n ['mean', 'sum', 'median', 'min', 'max', 'count']\n\n Parameters\n ----------\n agg : string or callable\n A string\n\n Supported reductions are ['mean', 'sum', 'median', 'min...
48
false
altair-viz/pdvega
validate_aggregation
7,043
LDU_FT/hammerlab/cohorts/_load_single_patient_cufflinks
LDU_FT
[ "<BEGIN>\n## `download_to_path`", "This method is analogous to \"gsutil cp gsuri localpath\", but in a\n programatically accesible way. The only difference is that we\n have to make a guess about the encoding of the file to not upset\n downstream file operations. If you are downloading a VCF,...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_single_patient_cufflinks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_single_patient_cufflinks API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Load Cufflinks gene quantification given a patient Parameters ---------- patient : Patient filter_ok : bool, optional If true, filter Cufflinks data to row with FPKM_status == "OK" Returns ------- data: Pandas dataframe Pandas dataframe o...
"Load Cufflinks gene quantification given a patient\n\n Parameters\n ----------\n patient : Patient\n filter_ok : bool, optional\n If true, filter Cufflinks data to row with FPKM_status == \"OK\"\n\n Returns\n -------\n data: Pandas dataframe\n Pand...
230
false
hammerlab/cohorts
_load_single_patient_cufflinks
7,044
LDU_FT/nabla-c0d3/sslyze/parse_command_line
LDU_FT
[ "<BEGIN>\n## `do_handshake_with_robot`", "Modified do_handshake() to send a ROBOT payload and return the result.\n<END>", "<BEGIN>\n## `get_client_key_exchange_record`", "A client key exchange record with a hardcoded pre_master_secret, and a valid or invalid padding.\n<END>", "<BEGIN>\n## `get_finished_reco...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_command_line 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 parse_command_line 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...
Parses the command line used to launch SSLyze.
"Parses the command line used to launch SSLyze."
92
false
nabla-c0d3/sslyze
parse_command_line
7,045
LDU_FT/timothycrosley/deprecated.frosted/check_plugins
LDU_FT
[ "<BEGIN>\n## `node_name`", "Convenience function: Returns node.id, or node.name, or None\n<END>", "<BEGIN>\n## `names`", "Return a list of the names referenced by this binding.\n<END>", "<BEGIN>\n## `unusedAssignments`", "Return a generator for the assignments which have not been used.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_plugins API. 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 check_plugins API. 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...
collect plugins from entry point 'frosted.plugins' and run their check() method, passing the filename
"collect plugins from entry point 'frosted.plugins'\n\n and run their check() method, passing the filename"
41
false
timothycrosley/deprecated.frosted
check_plugins
7,046
LDU_FT/mathiasertl/django-ca/bundle
LDU_FT
[ "<BEGIN>\n## `init`", "Create a new certificate authority.", " Parameters\n ----------", " name : str\n The name of the CA. This is a human-readable string and is used for administrative purposes only.\n subject : dict or str or :py:class:`~django_ca.subject.Subject`\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bundle API. 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 bundle API. 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 list of any parent CAs, including this CA. The list is ordered so the Root CA will be the first.
"A list of any parent CAs, including this CA.\n\n The list is ordered so the Root CA will be the first."
164
false
mathiasertl/django-ca
bundle
7,047
LDU_FT/mixmastamyk/console/_read_until
LDU_FT
[ "<BEGIN>\n## `clear_line`", "Clear the current line.", " Arguments:", " mode: | 0 | 'forward' | 'right' - Clear cursor to end of line.\n | 1 | 'backward' | 'left' - Clear cursor to beginning of line.\n | 2 | 'full' - Clear entire line.", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_until API. 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 _read_until API. 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 a terminal response of up to a few characters from stdin.
"Read a terminal response of up to a few characters from stdin."
158
false
mixmastamyk/console
_read_until
7,048
LDU_FT/RaRe-Technologies/smart_open/_my_urlsplit
LDU_FT
[ "<BEGIN>\n## `extract_kwargs`", "Extract keyword argument documentation from a function's docstring.", " Parameters\n ----------\n docstring: str\n The docstring to extract keyword arguments from.", " Returns\n -------\n list of (str, str, list str)", " str\n The name of t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _my_urlsplit API. 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 _my_urlsplit API. 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...
This is a hack to prevent the regular urlsplit from splitting around question marks. A question mark (?) in a URL typically indicates the start of a querystring, and the standard library's urlparse function handles the querystring separately. Unfortunately, question marks can also appear _inside_ the ...
"This is a hack to prevent the regular urlsplit from splitting around question marks.\n\n A question mark (?) in a URL typically indicates the start of a\n querystring, and the standard library's urlparse function handles the\n querystring separately. Unfortunately, question marks can also appear\n _inside...
150
false
RaRe-Technologies/smart_open
_my_urlsplit
7,049
LDU_FT/zero-os/0-core/migrate
LDU_FT
[ "<BEGIN>\n## `stdout`", "The job stdout\n :return: string or None\n<END>", "<BEGIN>\n## `stderr`", "The job stderr\n :return: string or None\n<END>", "<BEGIN>\n## `exists`", "Returns true if the job is still running or zero-os still knows about this job ID", " After a job is finishe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the migrate API. 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 migrate API. 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...
Migrate a vm to another node :param uuid: uuid of the kvm container (same as the used in create) :param desturi: the uri of the destination node :return:
"Migrate a vm to another node\n :param uuid: uuid of the kvm container (same as the used in create)\n :param desturi: the uri of the destination node\n :return:"
236
false
zero-os/0-core
migrate
7,050
LDU_FT/berkerpeksag/astor/dump_tree
LDU_FT
[ "<BEGIN>\n## `convert`", "Walk the srctree, and convert/copy all python files\n into the dsttree\n<END>", "<BEGIN>\n## `split_lines`", "Split inputs according to lines.\n If a line is short enough, just yield it.\n Otherwise, fix it.\n<END>", "<BEGIN>\n## `wrap_line`", "We have a line that ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dump_tree API. 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 dump_tree API. 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...
Dumps an AST or similar structure: - Pretty-prints with indentation - Doesn't print line/column/ctx info
"Dumps an AST or similar structure:\n\n - Pretty-prints with indentation\n - Doesn't print line/column/ctx info"
63
false
berkerpeksag/astor
dump_tree
7,051
LDU_FT/edx/i18n-tools/run
LDU_FT
[ "<BEGIN>\n## `default_config_filename`", "Returns the default name of the configuration file.\n<END>", "<BEGIN>\n## `read_config`", "Returns data found in config file (as dict), or raises exception if file not found\n<END>", "<BEGIN>\n## `rtl_langs`", "Returns the set of translated RTL language codes pres...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Generate dummy strings for all source po files.
"Generate dummy strings for all source po files."
117
false
edx/i18n-tools
run
7,052
LDU_FT/hayd/pep8radius/get_diff
LDU_FT
[ "<BEGIN>\n## `fix_file`", "Calls fix_code on the source code from the passed in file over the given\n line_ranges.", " - If diff then this returns the udiff for the changes, otherwise\n returns the fixed code.\n - If in_place the changes are written to the file.\n<END>", "<BEGIN>\n## `fix_code`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extracte...
Return text of unified diff between original and fixed.
"Return text of unified diff between original and fixed."
57
false
hayd/pep8radius
get_diff
7,053
LDU_FT/WoLpH/python-statsd/get_average
LDU_FT
[ "<BEGIN>\n## `send`", "Send the data over UDP while taking the sample_rate in account", " The sample rate should be a number between `0` and `1` which indicates\n the probability that a message will be sent. The sample_rate is also\n communicated to `statsd` so it knows what multiplier to u...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_average API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_average API. 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...
Shortcut for getting an :class:`~statsd.average.Average` instance :keyword name: See :func:`~statsd.client.Client.get_client` :type name: str
"Shortcut for getting an :class:`~statsd.average.Average` instance\n\n :keyword name: See :func:`~statsd.client.Client.get_client`\n :type name: str"
67
false
WoLpH/python-statsd
get_average
7,054
LDU_FT/ellmetha/django-machina/get_urls
LDU_FT
[ "<BEGIN>\n## `recurseforumcontents`", "Iterates over the content nodes and renders the contained forum block for each node.\n<END>", "<BEGIN>\n## `forum_list`", "Renders the considered forum list.", " This will render the given list of forums by respecting the order and the depth of each\n forum in th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_urls API. 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_urls API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns the URLs associated with the admin abstraction.
"Returns the URLs associated with the admin abstraction."
293
false
ellmetha/django-machina
get_urls
7,055
LDU_FT/eventable/vobject/dquoteEscape
LDU_FT
[ "<BEGIN>\n## `toVName`", "Turn a Python name into an iCalendar style name,\n optionally uppercase and with characters stripped off.\n<END>", "<BEGIN>\n## `dquoteEscape`", "Return param, or \"param\" if ',' or ';' or ':' is in param.\n<END>", "<BEGIN>\n## `readComponents`", "Generate one Component at a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dquoteEscape API. 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 dquoteEscape API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return param, or "param" if ',' or ';' or ':' is in param.
"Return param, or \"param\" if ',' or ';' or ':' is in param."
138
false
eventable/vobject
dquoteEscape
7,056
LDU_FT/kelproject/pykube/patch
LDU_FT
[ "<BEGIN>\n## `iterator`", "Execute the API request and return an iterator over the objects. This\n method does not use the query cache.\n<END>", "<BEGIN>\n## `get_kwargs`", "Creates a full URL to request based on arguments.", " :Parametes:\n - `kwargs`: All keyword arguments to build...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch API. 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 patch API. 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...
Executes an HTTP PATCH. :Parameters: - `args`: Non-keyword arguments - `kwargs`: Keyword arguments
"Executes an HTTP PATCH.\n\n :Parameters:\n - `args`: Non-keyword arguments\n - `kwargs`: Keyword arguments"
54
false
kelproject/pykube
patch
7,057
LDU_FT/juergberinger/cmdhelper/parse
LDU_FT
[ "<BEGIN>\n## `getLogLevelNo`", "Return numerical log level or raise ValueError.", " A valid level is either an integer or a string such as WARNING etc.\n<END>", "<BEGIN>\n## `cmdLine`", "Return full command line with any necessary quoting.\n<END>", "<BEGIN>\n## `handleError`", "Error handling utility...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Parse options and handle defaults. When using OptionParser, returns tuple (options,args) of options and list of non-option command line arguments. When using ArgumentParser, returns Namespace object containing both options and arguments. In other words, parse() returns the same ...
"Parse options and handle defaults.\n\n When using OptionParser, returns tuple (options,args) of\n options and list of non-option command line arguments. When\n using ArgumentParser, returns Namespace object containing both\n options and arguments. In other words, parse() returns the\n ...
43
false
juergberinger/cmdhelper
parse
7,058
LDU_FT/pylast/pylast/get_next_page
LDU_FT
[ "<BEGIN>\n## `cleanup_nodes`", "Remove text nodes containing only whitespace\n<END>", "<BEGIN>\n## `_collect_nodes`", "Returns a sequence of dom.Node objects about as close to limit as possible\n<END>", "<BEGIN>\n## `_extract_all`", "Extracts all the values from the xml string. returning a list.\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_next_page API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Returns the next page of results as a sequence of Artist objects.
"Returns the next page of results as a sequence of Artist objects."
146
false
pylast/pylast
get_next_page
7,059
LDU_FT/ixc/python-edtf/_strict_date
LDU_FT
[ "<BEGIN>\n## `pre_save`", "Updates the edtf value from the value of the display_field.\n If there's a valid edtf, then set the date values.\n<END>", "<BEGIN>\n## `apply_delta`", "Apply a `relativedelta` to a `struct_time` data structure.", " `op` is an operator function, probably always `add` or `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _strict_date API. 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 _strict_date API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return a `time.struct_time` representation of the date.
"Return a `time.struct_time` representation of the date."
83
false
ixc/python-edtf
_strict_date
7,060
LDU_FT/jaredLunde/redis_structures/rand_readable
LDU_FT
[ "<BEGIN>\n## `_hashed_key`", "Returns 16-digit numeric hash of the redis key\n<END>", "<BEGIN>\n## `expire_at`", "Sets the expiration time of :prop:key_prefix to @_time\n @_time: absolute Unix timestamp (seconds since January 1, 1970)\n<END>", "<BEGIN>\n## `pexpire_at`", "Sets the expiration ti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rand_readable API. 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 rand_readable API. 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...
Generates a random string with readable characters using random module specified in @use @*size: #int size range for the length of the string @use: the random module to use @density: how often to include a vowel, you can expect a vowel about once every (density) nth characte...
"Generates a random string with readable characters using\n random module specified in @use\n\n @*size: #int size range for the length of the string\n @use: the random module to use\n @density: how often to include a vowel, you can expect a vowel about\n once every (density) nth c...
216
false
jaredLunde/redis_structures
rand_readable
7,061
LDU_FT/honeynet/beeswarm/_get_links
LDU_FT
[ "<BEGIN>\n## `setup_db`", "Sets up the database schema and adds defaults.\n :param connection_string: Database URL. e.g: sqlite:///filename.db\n This is usually taken from the config file.\n<END>", "<BEGIN>\n## `start_pty_request`", "Start a PTY - intended to run it a (green)th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_links API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_links API. 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...
Parses the response text and returns all the links in it. :param response: The Response object.
"Parses the response text and returns all the links in it.\n\n :param response: The Response object."
112
false
honeynet/beeswarm
_get_links
7,062
LDU_FT/heuer/segno/write_terminal_win
LDU_FT
[ "<BEGIN>\n## `make`", "\\\n Creates a (Micro) QR Code.", " This is main entry point to create QR Codes and Micro QR Codes.", " Aside from `content`, all parameters are optional and an optimal (minimal)\n (Micro) QR Code with a maximal error correction level (minimum \"M\") is\n generated.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_terminal_win 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 write_terminal_win 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...
\ Function to write a QR Code to a MS Windows terminal. :param matrix: The matrix to serialize. :param int version: The (Micro) QR code version :param int border: Integer indicating the size of the quiet zone. If set to ``None`` (default), the recommended border size will be use...
"\\\n Function to write a QR Code to a MS Windows terminal.\n\n :param matrix: The matrix to serialize.\n :param int version: The (Micro) QR code version\n :param int border: Integer indicating the size of the quiet zone.\n If set to ``None`` (default), the recommended border size\n wi...
436
false
heuer/segno
write_terminal_win
7,063
LDU_FT/saltstack/salt-pylint/visit_import
LDU_FT
[ "<BEGIN>\n## `_parse_requirements_file`", "Parse requirements.txt and return list suitable for\n passing to ``install_requires`` parameter in ``setup()``.\n<END>", "<BEGIN>\n## `visit_functiondef`", "Verifies no logger statements inside __virtual__\n<END>", "<BEGIN>\n## `process_module`", "process a mo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_import API. 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 visit_import API. 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...
triggered when an import statement is seen
"triggered when an import statement is seen"
26
false
saltstack/salt-pylint
visit_import
7,064
LDU_FT/striglia/pyramid_swagger/build_swagger12_handler
LDU_FT
[ "<BEGIN>\n## `includeme`", ":type config: :class:`pyramid.config.Configurator`\n<END>", "<BEGIN>\n## `validate_swagger_schema`", "Validate the structure of Swagger schemas against the spec.", " **Valid only for Swagger v1.2 spec**", " Note: It is possible that resource_listing is not present in\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_swagger12_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_swagger12_handler API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Builds a swagger12 handler or returns None if no schema is present. :type schema: :class:`pyramid_swagger.model.SwaggerSchema` :rtype: :class:`SwaggerHandler` or None
"Builds a swagger12 handler or returns None if no schema is present.\n\n :type schema: :class:`pyramid_swagger.model.SwaggerSchema`\n :rtype: :class:`SwaggerHandler` or None"
101
false
striglia/pyramid_swagger
build_swagger12_handler
7,065
LDU_FT/NASA-AMMOS/AIT-Core/intersect
LDU_FT
[ "<BEGIN>\n## `crc32File`", "Computes the CRC-32 of the contents of filename, optionally\n skipping a certain number of bytes at the beginning of the file.\n<END>", "<BEGIN>\n## `endianSwapU16`", "Swaps pairs of bytes (16-bit words) in the given bytearray.\n<END>", "<BEGIN>\n## `setDictDefaults`", "Sets...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the intersect API. 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 intersect API. 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...
intersect(line) -> Point | None Returns the point at which the line segment and Plane intersect or None if they do not intersect.
"intersect(line) -> Point | None\n\n Returns the point at which the line segment and Plane intersect\n or None if they do not intersect."
688
false
NASA-AMMOS/AIT-Core
intersect
7,066
LDU_FT/Netflix-Skunkworks/historical/create_delete_model
LDU_FT
[ "<BEGIN>\n## `handler`", "Historical security group event differ.", " Listens to the Historical current table and determines if there are differences that need to be persisted in the\n historical record.\n<END>", "<BEGIN>\n## `serialize`", "Serializes the JSON for the Polling Event Model.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_delete_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_delete_model API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Create a security group model from a record.
"Create a security group model from a record."
146
false
Netflix-Skunkworks/historical
create_delete_model
7,067
LDU_FT/ryanjdillon/pylleo/read_meta
LDU_FT
[ "<BEGIN>\n## `create_bokeh_server`", "Start bokeh server with applications paths\n<END>", "<BEGIN>\n## `get_n_header`", "Get the nummber of header rows in a Little Leonardo data file", " Args\n ----\n f : file stream\n File handle for the file from which header rows will be read\n header_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_meta API. 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 read_meta API. 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...
Read meta data from Little Leonardo data header rows Args ---- path_dir: str Parent directory containing lleo data files tag_model: str Little Leonardo tag model name tag_id: str, int Little Leonardo tag ID number Returns ------- meta: dict dictionary wi...
"Read meta data from Little Leonardo data header rows\n\n Args\n ----\n path_dir: str\n Parent directory containing lleo data files\n tag_model: str\n Little Leonardo tag model name\n tag_id: str, int\n Little Leonardo tag ID number\n\n Returns\n -------\n meta: dict\n ...
60
false
ryanjdillon/pylleo
read_meta
7,068
LDU_FT/echinopsii/net.echinopsii.ariane.community.cli.python3/del_routing_area
LDU_FT
[ "<BEGIN>\n## `find_location`", "find the location according location id (prioritary) or location name\n :param loc_id: the location id\n :param loc_name: the location name\n :return: found location or None if not found\n<END>", "<BEGIN>\n## `json_2_location`", "transform JSON obj coming f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the del_routing_area API. 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 del_routing_area API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
delete routing area from this location :param routing_area: the routing area to be deleted from this location :param sync: If sync=True(default) synchronize with Ariane server. If sync=False, add the routing area object on list to be removed on next save(). :return:
"delete routing area from this location\n :param routing_area: the routing area to be deleted from this location\n :param sync: If sync=True(default) synchronize with Ariane server. If sync=False,\n add the routing area object on list to be removed on next save().\n :return:"
303
false
echinopsii/net.echinopsii.ariane.community.cli.python3
del_routing_area
7,069
LDU_FT/ch3pjw/junction/_set_align
LDU_FT
[ "<BEGIN>\n## `_do_crop`", "Crops a list of strings to the specified width/height\n<END>", "<BEGIN>\n## `_set_align`", "We define a setter because it's better to diagnose this kind of\n programmatic error here than have to work out why alignment is odd when\n we sliently fail!\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_align API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_align API. 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...
We define a setter because it's better to diagnose this kind of programmatic error here than have to work out why alignment is odd when we sliently fail!
"We define a setter because it's better to diagnose this kind of\n programmatic error here than have to work out why alignment is odd when\n we sliently fail!"
37
false
ch3pjw/junction
_set_align
7,070
LDU_FT/debrouwere/google-analytics/interval
LDU_FT
[ "<BEGIN>\n## `serialize`", "Greedy serialization requires the value to either be a column\n or convertible to a column, whereas non-greedy serialization\n will pass through any string as-is and will only serialize\n Column objects.", " Non-greedy serialization is useful when preparin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interval API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the interval API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Note that if you don't specify a granularity (either through the `interval` method or through the `hourly`, `daily`, `weekly`, `monthly` or `yearly` shortcut methods) you will get only a single result, encompassing the entire date range, per metric.
"Note that if you don't specify a granularity (either through the `interval`\n method or through the `hourly`, `daily`, `weekly`, `monthly` or `yearly`\n shortcut methods) you will get only a single result, encompassing the\n entire date range, per metric."
76
false
debrouwere/google-analytics
interval
7,071
LDU_FT/horazont/aioxmpp/create_query_future
LDU_FT
[ "<BEGIN>\n## `get_commands`", "Return the list of commands offered by the peer.", " :param peer_jid: JID of the peer to query\n :type peer_jid: :class:`~aioxmpp.JID`\n :rtype: :class:`list` of :class:`~.disco.xso.Item`\n :return: List of command items", " In the returned lis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_query_future API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_query_future API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Create and return a :class:`asyncio.Future` for the given `hash_` function and `node` URL. The future is referenced internally and used by any calls to :meth:`lookup` which are made while the future is pending. The future is removed from the internal storage automatically when a result o...
"Create and return a :class:`asyncio.Future` for the given `hash_`\n function and `node` URL. The future is referenced internally and used\n by any calls to :meth:`lookup` which are made while the future is\n pending. The future is removed from the internal storage automatically\n when a res...
1,660
true
horazont/aioxmpp
create_query_future
7,072