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/ContinuumIO/flask-ldap-login/scalar
LDU_FT
[ "<BEGIN>\n## `validate_ldap`", "Validate the username/password data against ldap directory\n<END>", "<BEGIN>\n## `validate`", "Validates the form by calling `validate` on each field, passing any\n extra `Form.validate_<fieldname>` validators to the field validator.", " also calls `validate_lda...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scalar API. 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 scalar API. 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 ...
Take return a value[0] if `value` is a list of length 1
"Take return a value[0] if `value` is a list of length 1"
19
false
ContinuumIO/flask-ldap-login
scalar
39,073
LDU_FT/bukun/TorCMS/_chuli_cookie_relation
LDU_FT
[ "<BEGIN>\n## `view_or_add`", "To judge if there is a post of the title.\n Then, to show, or to add.\n<END>", "<BEGIN>\n## `gen_array_crud`", "Return the dictionay of the switcher form XLXS file.\n if valud of the column of the row is `1`, it will be added to the array.\n<END>", "<BEGIN>\n## `__ge...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _chuli_cookie_relation 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 _chuli_cookie_relation API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
The current Info and the Info viewed last should have some relation. And the last viewed Info could be found from cookie.
"The current Info and the Info viewed last should have some relation.\n And the last viewed Info could be found from cookie."
189
false
bukun/TorCMS
_chuli_cookie_relation
39,074
LDU_FT/gawel/irc3/ip
LDU_FT
[ "<BEGIN>\n## `dcc_event`", "Work like :class:`~irc3.dec.event` but occurs during DCC CHATs\n<END>", "<BEGIN>\n## `extend`", "Allow to extend a bot:", " Create a module with some useful routine:", " .. literalinclude:: ../examples/myextends.py\n ..\n >>> import sys\n >>> sys.path.app...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ip API. 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 docu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ip API. 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 docu...
return bot's ip as an ``ip_address`` object
"return bot's ip as an ``ip_address`` object"
95
false
gawel/irc3
ip
39,075
LDU_FT/openpermissions/perch/migrate_user
LDU_FT
[ "<BEGIN>\n## `collect`", "Import all modules inside the perch.migrations package and return the\n registered migrations\n<END>", "<BEGIN>\n## `run_migrations`", "Run migrations for a resource type", " :param: a dicitionary of migrations\n<END>", "<BEGIN>\n## `_migrate_resource`", "Migrate a resour...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the migrate_user API. 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 migrate_user API. 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...
Move User.organisations['global']['role'] to top-level property and remove verified flag
"Move User.organisations['global']['role'] to top-level property and remove\n verified flag"
177
false
openpermissions/perch
migrate_user
39,076
LDU_FT/linnarsson-lab/loompy/normalize_attr_strings
LDU_FT
[ "<BEGIN>\n## `create_append`", "**DEPRECATED** - Use `new` instead; see https://github.com/linnarsson-lab/loompy/issues/42\n<END>", "<BEGIN>\n## `new`", "Create an empty Loom file, and return it as a context manager.\n<END>", "<BEGIN>\n## `create`", "Create a new Loom file from the given data.", "\tArgs...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_attr_strings 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 normalize_attr_strings API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Take an np.ndarray of all kinds of string-like elements, and return an array of ascii (np.string_) objects
"Take an np.ndarray of all kinds of string-like elements, and return an array of ascii (np.string_) objects"
170
false
linnarsson-lab/loompy
normalize_attr_strings
39,077
LDU_FT/polysquare/cmake-ast/consume_token
LDU_FT
[ "<BEGIN>\n## `run`", "Set up language runtimes and pass control to python project script.\n<END>", "<BEGIN>\n## `_node`", "Return an _AbstractSyntaxTreeNode with some elements defaulted.\n<END>", "<BEGIN>\n## `_recurse`", "Recursive print worker - recurses the AST and prints each node.\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume_token API. 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 consume_token API. 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...
Consume a token. Returns a tuple of (tokens, tokens_len, index) when consumption is completed and tokens have been merged together.
"Consume a token.\n\n Returns a tuple of (tokens, tokens_len, index) when consumption is\n completed and tokens have been merged together."
66
false
polysquare/cmake-ast
consume_token
39,078
LDU_FT/hannes-brt/hebel/dot
LDU_FT
[ "<BEGIN>\n## `parameters`", "A property that returns all of the model's parameters.\n<END>", "<BEGIN>\n## `parameters`", "Used to set all of the model's parameters to new values.", " **Parameters:**", " value : array_like\n New values for the model parameters. Must be of length\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dot API. 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 dot API. 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...
Dot product of two arrays. For 1D arrays, this function computes the inner product. For 2D arrays of shapes `(m, k)` and `(k, n)`, it computes the matrix product; the result has shape `(m, n)`. Parameters ---------- x_gpu : pycuda.gpuarray.GPUArray Input array. y_gpu : pycuda.gpuar...
"Dot product of two arrays.\n\n For 1D arrays, this function computes the inner product. For 2D\n arrays of shapes `(m, k)` and `(k, n)`, it computes the matrix\n product; the result has shape `(m, n)`.\n\n Parameters\n ----------\n x_gpu : pycuda.gpuarray.GPUArray\n Input array.\n y_gpu : p...
372
false
hannes-brt/hebel
dot
39,079
LDU_FT/biolink/biolink-model/add_prefix
LDU_FT
[ "<BEGIN>\n## `cli`", "Generate JSON Schema representation of a biolink model\n<END>", "<BEGIN>\n## `root_representer`", "YAML callback -- used to filter out empty values (None, {}, [] and false)", " @param dumper: data dumper\n @param data: data to be dumped\n @return:\n<END>", "<BEGIN>\n## `cli`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_prefix API. 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 add_prefix API. 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...
Look up ncname and add it to the prefix map if necessary @param ncname: name to add
"Look up ncname and add it to the prefix map if necessary\n\n @param ncname: name to add"
119
false
biolink/biolink-model
add_prefix
39,080
LDU_FT/listen-lavender/webcrawl/_daemonize
LDU_FT
[ "<BEGIN>\n## `_daemonize`", "do the UNIX double-fork magic, see Stevens' \"Advanced \n Programming in the UNIX Environment\" for details (ISBN 0201563177)\n http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16\n<END>", "<BEGIN>\n## `monitor`", "Monitor the process, check whether it runs out of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _daemonize API. 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 _daemonize API. 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...
do the UNIX double-fork magic, see Stevens' "Advanced Programming in the UNIX Environment" for details (ISBN 0201563177) http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16
"do the UNIX double-fork magic, see Stevens' \"Advanced \n Programming in the UNIX Environment\" for details (ISBN 0201563177)\n http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16"
23
false
listen-lavender/webcrawl
_daemonize
39,081
LDU_FT/meraki-analytics/datapipelines-python/put_many
LDU_FT
[ "<BEGIN>\n## `_transform`", "Transform data to a new type.", " Args:\n transformer_chain: A sequence of (transformer, type) pairs to convert the data.\n data: The data to be transformed.\n context: The context of the transformations (mutable).", " Returns:\n The transformed d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_many API. 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 put_many API. 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...
Puts multiple objects of the same type into the data sink. The objects may be transformed into a new type for insertion if necessary. Args: items: An iterable (e.g. list) of objects to be inserted into the data sink. context: The context of the insertions (mutable).
"Puts multiple objects of the same type into the data sink. The objects may be transformed into a new type for insertion if necessary.\n\n Args:\n items: An iterable (e.g. list) of objects to be inserted into the data sink.\n context: The context of the insertions (mutable)."
54
false
meraki-analytics/datapipelines-python
put_many
39,082
LDU_FT/emc-openstack/storops/attach
LDU_FT
[ "<BEGIN>\n## `attach`", "Attaches lun, snap or member snap of cg snap to host.", " Don't pass cg snapshot in as `lun_or_snap`.", " :param lun_or_snap: the lun, snap, or a member snap of cg snap\n :param skip_hlu_0: whether to skip hlu 0\n :return: the hlu number\n<END>", "<BEGIN>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach API. 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 attach API. 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 ...
Attaches lun, snap or member snap of cg snap to host. Don't pass cg snapshot in as `lun_or_snap`. :param lun_or_snap: the lun, snap, or a member snap of cg snap :param skip_hlu_0: whether to skip hlu 0 :return: the hlu number
"Attaches lun, snap or member snap of cg snap to host.\n\n Don't pass cg snapshot in as `lun_or_snap`.\n\n :param lun_or_snap: the lun, snap, or a member snap of cg snap\n :param skip_hlu_0: whether to skip hlu 0\n :return: the hlu number"
222
false
emc-openstack/storops
attach
39,083
LDU_FT/gunthercox/mathparse/word_groups_for_language
LDU_FT
[ "<BEGIN>\n## `is_symbol`", "Return true if the string is a mathematical symbol.\n<END>", "<BEGIN>\n## `find_word_groups`", "Find matches for words in the format \"3 thousand 6 hundred 2\".\n The words parameter should be the list of words to check for\n such as \"hundred\".\n<END>", "<BEGIN>\n## `repl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the word_groups_for_language API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the word_groups_for_language API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Return the math word groups for a language code. The language_code should be an ISO 639-2 language code. https://www.loc.gov/standards/iso639-2/php/code_list.php
"Return the math word groups for a language code.\n The language_code should be an ISO 639-2 language code.\n https://www.loc.gov/standards/iso639-2/php/code_list.php"
20
false
gunthercox/mathparse
word_groups_for_language
39,084
LDU_FT/ChristianKuehnel/btlewrap/scan_for_devices
LDU_FT
[ "<BEGIN>\n## `wrap_exception`", "Decorator to wrap pygatt exceptions into BluetoothBackendException.\n<END>", "<BEGIN>\n## `wrap_exception`", "Decorator to wrap BTLEExceptions into BluetoothBackendException.\n<END>", "<BEGIN>\n## `read_handle`", "Read a handle from the device.", " You must be con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_for_devices API. 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 scan_for_devices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Scan for bluetooth low energy devices. Note this must be run as root!
"Scan for bluetooth low energy devices.\n\n Note this must be run as root!"
27
false
ChristianKuehnel/btlewrap
scan_for_devices
39,085
LDU_FT/floydhub/floyd-cli/get_files_in_current_directory
LDU_FT
[ "<BEGIN>\n## `init`", "Initialize new project at the current path.", " After this you can run other FloydHub commands like status and run.\n<END>", "<BEGIN>\n## `status`", "View status of all jobs in a project.", " The command also accepts a specific job name.\n<END>", "<BEGIN>\n## `print_experime...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_files_in_current_directory 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 get_files_in_current_directory API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Gets the list of files in the current directory and subdirectories. Respects .floydignore file if present
"Gets the list of files in the current directory and subdirectories.\n Respects .floydignore file if present"
84
false
floydhub/floyd-cli
get_files_in_current_directory
39,086
LDU_FT/wtolson/gnsq/publish
LDU_FT
[ "<BEGIN>\n## `read_response`", "Read an individual response from nsqd.", " :returns: tuple of the frame type and the processed data.\n<END>", "<BEGIN>\n## `identify`", "Update client metadata on the server and negotiate features.", " :returns: nsqd response data if there was feature negotiat...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the publish API. 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 publish API. 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...
Publish a message to the given topic over tcp. :param topic: the topic to publish to :param data: bytestring data to publish :param defer: duration in milliseconds to defer before publishing (requires nsq 0.3.6)
"Publish a message to the given topic over tcp.\n\n :param topic: the topic to publish to\n\n :param data: bytestring data to publish\n\n :param defer: duration in milliseconds to defer before publishing\n (requires nsq 0.3.6)"
96
false
wtolson/gnsq
publish
39,087
LDU_FT/sdispater/cachy/tag_id
LDU_FT
[ "<BEGIN>\n## `tag_id`", "Get the unique tag identifier for a given tag.", " :param name: The tag\n :type name: str", " :rtype: str\n<END>", "<BEGIN>\n## `reset_tag`", "Reset the tag and return the new tag identifier.", " :param name: The tag\n :type name: str", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tag_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Get the unique tag identifier for a given tag. :param name: The tag :type name: str :rtype: str
"Get the unique tag identifier for a given tag.\n\n :param name: The tag\n :type name: str\n\n :rtype: str"
206
false
sdispater/cachy
tag_id
39,088
LDU_FT/cloudtools/stacker/create_domain
LDU_FT
[ "<BEGIN>\n## `handle`", "Returns the value of a key for a given hook in hook_data.", " Format of value:", " <hook_name>::<key>\n<END>", "<BEGIN>\n## `resolve_variables`", "Given a list of variables, resolve all of them.", " Args:\n variables (list of :class:`stacker.variables...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_domain API. 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 create_domain API. 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...
Create a domain within route53. Args: provider (:class:`stacker.providers.base.BaseProvider`): provider instance context (:class:`stacker.context.Context`): context instance Returns: boolean for whether or not the hook succeeded.
"Create a domain within route53.\n\n Args:\n provider (:class:`stacker.providers.base.BaseProvider`): provider\n instance\n context (:class:`stacker.context.Context`): context instance\n\n Returns: boolean for whether or not the hook succeeded."
733
false
cloudtools/stacker
create_domain
39,089
LDU_FT/hyperledger/sawtooth-core/send
LDU_FT
[ "<BEGIN>\n## `run_callback`", "Calls the callback_func, passing in the two positional arguments,\n conditionally waiting if the callback function hasn't been set yet.\n Meant to be run in a threadpool owned by the FutureCollection.", " Returns:\n None\n<END>", "<BEGIN>\n## `add...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Sends a message and returns a future for the response.
"Sends a message and returns a future for the response."
876
false
hyperledger/sawtooth-core
send
39,090
LDU_FT/Cadasta/django-tutelary/add
LDU_FT
[ "<BEGIN>\n## `permission_required`", "Permission checking decorator -- works like the\n ``permission_required`` decorator in the default Django\n authentication system, except that it takes a sequence of actions\n to check, an object must be supplied, and the user must have\n permission to perform all...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Insert an individual (effect, action, object) triple or all triples for a policy or list of policies.
"Insert an individual (effect, action, object) triple or all\n triples for a policy or list of policies."
50
false
Cadasta/django-tutelary
add
39,091
LDU_FT/MacHu-GWU/macro-project/tab
LDU_FT
[ "<BEGIN>\n## `learn_all_skill`", "在技能编辑界面学会所有的技能。运行脚本前, 将鼠标放在第一个技能的技能等级\n 的数字上, 并选中所有文本。然后运行此脚本, 并在1秒内切回到修改器界面。", " :param level: 技能等级\n :param master_level: 专精等级, 0是普通, 1是专家, 2是大师\n<END>", "<BEGIN>\n## `right_click`", "Right click at ``(x, y)`` on screen for ``n`` times.\n at begin.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tab API. 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 tab API. 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...
Tap ``tab`` key for ``n`` times, with ``interval`` seconds of interval. **中文文档** 以 ``interval`` 中定义的频率按下某个tab键 ``n`` 次。
"Tap ``tab`` key for ``n`` times, with ``interval`` seconds of interval.\n\n **中文文档**\n\n 以 ``interval`` 中定义的频率按下某个tab键 ``n`` 次。"
125
false
MacHu-GWU/macro-project
tab
39,092
LDU_FT/timmahrt/ProMo/f0Morph
LDU_FT
[ "<BEGIN>\n## `plotF0`", "Plots the original data in a graph above the plot of the dtw'ed data\n<END>", "<BEGIN>\n## `f0Morph`", "Resynthesizes the pitch track from a source to a target wav file", " fromPitchData and toPitchData should be segmented according to the\n portions that you want to morph. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the f0Morph API. 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 f0Morph API. 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...
Resynthesizes the pitch track from a source to a target wav file fromPitchData and toPitchData should be segmented according to the portions that you want to morph. The two lists must have the same number of sublists. Occurs over a three-step process. This function can act as a template for how ...
"Resynthesizes the pitch track from a source to a target wav file\n\n fromPitchData and toPitchData should be segmented according to the\n portions that you want to morph. The two lists must have the same\n number of sublists.\n\n Occurs over a three-step process.\n\n This function can act as a template...
75
false
timmahrt/ProMo
f0Morph
39,093
LDU_FT/williamgilpin/pypdb/do_protsym_search
LDU_FT
[ "<BEGIN>\n## `make_query`", "Repackage strings into a search dictionary", " This function takes a list of search terms and specifications\n and repackages it as a dictionary object that can be used to conduct a search", " Parameters\n ----------\n search_term : str", " The specific ter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_protsym_search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_protsym_search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Performs a protein symmetry search of the PDB This function can search the Protein Data Bank based on how closely entries match the user-specified symmetry group Parameters ---------- point_group : str The name of the symmetry point group to search. This includes all the standard ...
"Performs a protein symmetry search of the PDB\n\n This function can search the Protein Data Bank based on how closely entries\n match the user-specified symmetry group\n\n Parameters\n ----------\n\n point_group : str\n The name of the symmetry point group to search. This includes all the standar...
243
false
williamgilpin/pypdb
do_protsym_search
39,094
LDU_FT/jantman/pypi-download-stats/generate
LDU_FT
[ "<BEGIN>\n## `_path_for_file`", "Generate the path on disk for a specified project and date.", " :param project_name: the PyPI project name for the data\n :type project: str\n :param date: the date for the data\n :type date: datetime.datetime\n :return: path for where to store...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API. 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 generate API. 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...
Generate all output types and write to disk.
"Generate all output types and write to disk."
135
false
jantman/pypi-download-stats
generate
39,095
LDU_FT/kubernetes-client/python/replace_namespaced_deployment
LDU_FT
[ "<BEGIN>\n## `delete_namespaced_horizontal_pod_autoscaler`", "delete a HorizontalPodAutoscaler\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.delete_namespaced_horizontal_pod_autoscaler(name, nam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_namespaced_deployment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_namespaced_deployment API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
replace the specified Deployment This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.replace_namespaced_deployment(name, namespace, body, async_req=True) >>> result = thread.get() :param async...
"replace the specified Deployment\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async_req=True\n >>> thread = api.replace_namespaced_deployment(name, namespace, body, async_req=True)\n >>> result = thread.get()\n\n :para...
1,652
true
kubernetes-client/python
replace_namespaced_deployment
39,096
LDU_FT/bookieio/breadability/build_base_document
LDU_FT
[ "<BEGIN>\n## `check_node_attributes`", "Searches match in attributes against given pattern and if\n finds the match against any of them returns True.\n<END>", "<BEGIN>\n## `generate_hash_id`", "Generates a hash_id for the node in question.", " :param node: lxml etree node\n<END>", "<BEGIN>\n## `get_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_base_document API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_base_document 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...
Builds a base document with the body as root. :param dom: Parsed lxml tree (Document Object Model). :param bool return_fragment: If True only <div> fragment is returned. Otherwise full HTML document is returned.
"Builds a base document with the body as root.\n\n :param dom: Parsed lxml tree (Document Object Model).\n :param bool return_fragment: If True only <div> fragment is returned.\n Otherwise full HTML document is returned."
48
false
bookieio/breadability
build_base_document
39,097
LDU_FT/OLC-LOC-Bioinformatics/GenomeQAML/main
LDU_FT
[ "<BEGIN>\n## `main`", "Run the appropriate functions in order\n :param sequencepath: path of folder containing FASTA genomes\n :param report: boolean to determine whether a report is to be created\n :param refseq_database: Path to reduced refseq database sketch\n :param num_threads: Number of threads ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the main API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Run the appropriate functions in order :param sequencepath: path of folder containing FASTA genomes :param report: boolean to determine whether a report is to be created :param refseq_database: Path to reduced refseq database sketch :param num_threads: Number of threads to run mash/other stuff on :r...
"Run the appropriate functions in order\n :param sequencepath: path of folder containing FASTA genomes\n :param report: boolean to determine whether a report is to be created\n :param refseq_database: Path to reduced refseq database sketch\n :param num_threads: Number of threads to run mash/other stuff on\n...
41
false
OLC-LOC-Bioinformatics/GenomeQAML
main
39,098
LDU_FT/openknowledge-archive/datapackage-registry-py/_get_profile
LDU_FT
[ "<BEGIN>\n## `schema_files`", "Return all CSV and JSON files paths in datapackage_registry/schemas", " The paths are relative to ./datapackage_registry\n<END>", "<BEGIN>\n## `get`", "Return the profile with the received ID as a dict", " If a local copy of the profile exists, it'll be returned. I...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_profile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_profile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return the profile with the received ID as a dict
"Return the profile with the received ID as a dict"
14
false
openknowledge-archive/datapackage-registry-py
_get_profile
39,099
LDU_FT/fedora-infra/fedora-messaging/_read
LDU_FT
[ "<BEGIN>\n## `cli`", "The fedora-messaging command line interface.\n<END>", "<BEGIN>\n## `consume`", "Consume messages from an AMQP queue using a Python callback.\n<END>", "<BEGIN>\n## `_consume_errback`", "Handle any errors that occur during consumer registration.\n<END>", "<BEGIN>\n## `_consume_callba...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
The loop that reads from the message queue and calls the consumer callback wrapper. queue_object (pika.adapters.twisted_connection.ClosableDeferredQueue): The AMQP queue the consumer is bound to. consumer (dict): A dictionary describing the consumer for the given queue_o...
"The loop that reads from the message queue and calls the consumer callback\n wrapper.\n\n queue_object (pika.adapters.twisted_connection.ClosableDeferredQueue):\n The AMQP queue the consumer is bound to.\n consumer (dict): A dictionary describing the consumer for the given\n ...
302
false
fedora-infra/fedora-messaging
_read
39,100
LDU_FT/ipfs/py-ipfs-api/parse_partial
LDU_FT
[ "<BEGIN>\n## `parse`", "Returns a Python object decoded from the bytes of this encoding.", " Raises\n ------\n ~ipfsapi.exceptions.DecodingError", " Parameters\n ----------\n raw : bytes\n Data to be parsed", " Returns\n -------\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_partial API. 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 parse_partial API. 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...
Incrementally decodes JSON data sets into Python objects. Raises ------ ~ipfsapi.exceptions.DecodingError Returns ------- generator
"Incrementally decodes JSON data sets into Python objects.\n\n Raises\n ------\n ~ipfsapi.exceptions.DecodingError\n\n Returns\n -------\n generator"
499
false
ipfs/py-ipfs-api
parse_partial
39,101
LDU_FT/hydraplatform/hydra-base/_get_metadata
LDU_FT
[ "<BEGIN>\n## `check_perm`", "Checks whether a user has permission to perform an action.\n The permission_code parameter should be a permission contained in tPerm.", " If the user does not have permission to perfom an action, a permission\n error is thrown.\n<END>", "<BEGIN>\n## `required_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Get all the metadata in a network, across all scenarios returns a dictionary of dict objects, keyed on dataset ID
"Get all the metadata in a network, across all scenarios\n returns a dictionary of dict objects, keyed on dataset ID"
576
false
hydraplatform/hydra-base
_get_metadata
39,102
LDU_FT/git-afsantos/bonsai/pretty_str
LDU_FT
[ "<BEGIN>\n## `_build_for_statement`", "NOTE: this is not a complete implementation of for loop parsing.\n Turns out for loops allow a number of wacky things going on,\n such as declaring a variable in place of a condition.\n These more peculiar cases are not covered. See\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty_str API. 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 pretty_str API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Return a human-readable string representation of this object. Kwargs: indent (int): The amount of spaces to use as indentation.
"Return a human-readable string representation of this object.\n\n Kwargs:\n indent (int): The amount of spaces to use as indentation."
111
false
git-afsantos/bonsai
pretty_str
39,103
LDU_FT/roycoding/slots/update
LDU_FT
[ "<BEGIN>\n## `run`", "Run MAB test with T trials.", " Parameters\n ----------\n trials : int\n Number of trials to run.\n strategy : str\n Name of selected strategy.\n parameters : dict\n Parameters for selected strategy.", " Available...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Update bandit trials and payouts for given bandit. Parameters ---------- bandit : int Bandit index payout : float Returns ------- None
"Update bandit trials and payouts for given bandit.\n\n Parameters\n ----------\n bandit : int\n Bandit index\n payout : float\n\n Returns\n -------\n None"
55
false
roycoding/slots
update
39,104
LDU_FT/RI-imaging/qpsphere/circle_fit
LDU_FT
[ "<BEGIN>\n## `interpolate_grid`", "Return the 2D field averaged radially w.r.t. the center\n<END>", "<BEGIN>\n## `rytov`", "Field behind a dielectric sphere in the Rytov approximation", " Parameters\n ----------\n radius: float\n Radius of the sphere [m]\n sphere_index: float\n Ref...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the circle_fit API. 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 circle_fit API. 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...
Fit a circle to a boolean edge image Parameters ---------- edge: 2d boolean ndarray Edge image ret_dev: bool Return the average deviation of the distance from contour to center of the fitted circle. Returns ------- center: tuple of (float, float) Coordinates...
"Fit a circle to a boolean edge image\n\n Parameters\n ----------\n edge: 2d boolean ndarray\n Edge image\n ret_dev: bool\n Return the average deviation of the distance from contour to\n center of the fitted circle.\n\n Returns\n -------\n center: tuple of (float, float)\n ...
179
false
RI-imaging/qpsphere
circle_fit
39,105
LDU_FT/twisted/twistedchecker/visit_module
LDU_FT
[ "<BEGIN>\n## `_isInner`", "Determine whether the given node is, at any point in its syntactic\n parentage, defined within a function.", " @param node: The node to inspect.\n @type node: L{logilab.astng.bases.NodeNG}", " @return: a boolean indicating if the given node is defined as an inner\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_module API. 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_module API. 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...
A interface will be called when visiting a module. @param node: node of current module
"A interface will be called when visiting a module.\n\n @param node: node of current module"
146
false
twisted/twistedchecker
visit_module
39,106
LDU_FT/mbakker7/timml/plot
LDU_FT
[ "<BEGIN>\n## `plot`", "Plot layout", " Parameters\n ----------", " win : list or tuple\n [x1, x2, y1, y2]\n<END>", "<BEGIN>\n## `contour`", "Contour plot", " Parameters\n ----------", " win : list or tuple\n [x1, x2, y1, y2]\n ngr ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot API. 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 plot API. 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...
Plot layout Parameters ---------- win : list or tuple [x1, x2, y1, y2]
"Plot layout\n \n Parameters\n ----------\n \n win : list or tuple\n [x1, x2, y1, y2]"
82
false
mbakker7/timml
plot
39,107
LDU_FT/mpdavis/python-jose/rsa_public_key_pkcs1_to_pkcs8
LDU_FT
[ "<BEGIN>\n## `rsa_private_key_pkcs8_to_pkcs1`", "Convert a PKCS8-encoded RSA private key to PKCS1.\n<END>", "<BEGIN>\n## `rsa_private_key_pkcs1_to_pkcs8`", "Convert a PKCS1-encoded RSA private key to PKCS8.\n<END>", "<BEGIN>\n## `rsa_public_key_pkcs1_to_pkcs8`", "Convert a PKCS1-encoded RSA private key to...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rsa_public_key_pkcs1_to_pkcs8 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rsa_public_key_pkcs1_to_pkcs8 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc...
Convert a PKCS1-encoded RSA private key to PKCS8.
"Convert a PKCS1-encoded RSA private key to PKCS8."
85
false
mpdavis/python-jose
rsa_public_key_pkcs1_to_pkcs8
39,108
LDU_FT/Bogdanp/dramatiq/join
LDU_FT
[ "<BEGIN>\n## `consume`", "Create a new consumer for a queue.", " Parameters:\n queue_name(str): The queue to consume.\n prefetch(int): The number of messages to prefetch.\n timeout(int): The idle timeout in milliseconds.", " Returns:\n Consumer: A consumer tha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the join API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Wait for all the messages on the given queue to be processed. This method is only meant to be used in tests to wait for all the messages in a queue to be processed. Raises: QueueJoinTimeout: When the timeout elapses. QueueNotFound: If the given queue was never declared. ...
"Wait for all the messages on the given queue to be\n processed. This method is only meant to be used in tests\n to wait for all the messages in a queue to be processed.\n\n Raises:\n QueueJoinTimeout: When the timeout elapses.\n QueueNotFound: If the given queue was never declar...
219
false
Bogdanp/dramatiq
join
39,109
LDU_FT/amreuland/PyVDF/read
LDU_FT
[ "<BEGIN>\n## `read`", "Parse a String and return the data", " :param f: The file to read\n :type f: file/str\n :returns: A dictionary object containing the parsed data from f\n :raises: SyntaxError - An error occured reading the data.\n<END>", "<BEGIN>\n## `reads`", "Parse a String and return th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Parse a String and return the data :param f: The file to read :type f: file/str :returns: A dictionary object containing the parsed data from f :raises: SyntaxError - An error occured reading the data.
"Parse a String and return the data\n\n :param f: The file to read\n :type f: file/str\n :returns: A dictionary object containing the parsed data from f\n :raises: SyntaxError - An error occured reading the data."
19
false
amreuland/PyVDF
read
39,110
LDU_FT/pschmitt/python-opsview/api_version
LDU_FT
[ "<BEGIN>\n## `login_required`", "Definition decorator for all function requiring an active session\n Credit: http://stackoverflow.com/a/7590709\n<END>", "<BEGIN>\n## `api_version`", "Get information about the API\n http://docs.opsview.com/doku.php?id=opsview4.6:restapi#api_version_information\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_version API. 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 api_version API. 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...
Get information about the API http://docs.opsview.com/doku.php?id=opsview4.6:restapi#api_version_information
"Get information about the API\n http://docs.opsview.com/doku.php?id=opsview4.6:restapi#api_version_information"
16
false
pschmitt/python-opsview
api_version
39,111
LDU_FT/fprimex/zdesk/user_organizations
LDU_FT
[ "<BEGIN>\n## `batch`", "Helper to setup batch requests.", " There are endpoints which support updating multiple resources at once,\n but they are often limited to 100 updates per request.\n This function helps with splitting bigger requests into sequence of\n smaller ones.", " Example:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_organizations API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_organizations 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...
https://developer.zendesk.com/rest_api/docs/core/organizations#list-organizations
"https://developer.zendesk.com/rest_api/docs/core/organizations#list-organizations"
803
false
fprimex/zdesk
user_organizations
39,112
LDU_FT/LasLabs/python-helpscout/search
LDU_FT
[ "<BEGIN>\n## `create`", "Create an object on HelpScout.", " Args:\n session (requests.sessions.Session): Authenticated session.\n record (helpscout.BaseModel): The record to be created.\n endpoint_override (str, optional): Override the default\n endpoint us...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Search for a customer given a domain. Args: session (requests.sessions.Session): Authenticated session. queries (helpscout.models.Domain or iter): The queries for the domain. If a ``Domain`` object is provided, it will simply be returned. Otherwise, a ``D...
"Search for a customer given a domain.\n\n Args:\n session (requests.sessions.Session): Authenticated session.\n queries (helpscout.models.Domain or iter): The queries for the\n domain. If a ``Domain`` object is provided, it will simply be\n returned. Otherwise...
178
false
LasLabs/python-helpscout
search
39,113
LDU_FT/Stewori/pytypes/_detect_issue351
LDU_FT
[ "<BEGIN>\n## `_outter_split`", "Splits only at delims that are at outter-most level regarding\n openers/closers pairs.\n Unchecked requirements:\n Only supports length-1 delim, openers and closers.\n delim must not be member of openers or closers.\n len(openers) == len(closers) or closers == None\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _detect_issue351 API. 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 _detect_issue351 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Detect if github.com/python/typing/issues/351 applies to the installed typing-version.
"Detect if github.com/python/typing/issues/351 applies\n to the installed typing-version."
187
false
Stewori/pytypes
_detect_issue351
39,114
LDU_FT/romanorac/discomll/fit
LDU_FT
[ "<BEGIN>\n## `random_init_map`", "Assign datapoint `e` randomly to one of the `k` clusters.\n<END>", "<BEGIN>\n## `estimate_map`", "Find the cluster `i` that is closest to the datapoint `e`.\n<END>", "<BEGIN>\n## `estimate_reduce`", "Estimate the cluster centers for each cluster.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit API. 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 fit API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Function builds a binary decision tree with given dataset and it expand tree nodes in priority order. Tree model is stored in a dictionary and it has following structure: {parent_identifier: [(child_identifier, highest_estimated_feature_index , split_value, distribution_of_labels, depth, feature_type)]} ...
"Function builds a binary decision tree with given dataset and it expand tree nodes in priority order. Tree model is\n stored in a dictionary and it has following structure:\n {parent_identifier: [(child_identifier, highest_estimated_feature_index , split_value, distribution_of_labels,\n depth, feature_type)]}...
77
false
romanorac/discomll
fit
39,115
LDU_FT/goerz/clusterjob/resource_headers
LDU_FT
[ "<BEGIN>\n## `resource_headers`", "Given a :class:`~clusterjob.JobScript` instance, return a list of\n lines that encode the resource requirements, to be added at the top of\n the rendered job script\n<END>", "<BEGIN>\n## `replace_body_vars`", "Given a multiline string that is the body of the jo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resource_headers API. 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 resource_headers API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Given a :class:`~clusterjob.JobScript` instance, return a list of lines that encode the resource requirements, to be added at the top of the rendered job script
"Given a :class:`~clusterjob.JobScript` instance, return a list of\n lines that encode the resource requirements, to be added at the top of\n the rendered job script"
69
false
goerz/clusterjob
resource_headers
39,116
LDU_FT/SergeySatskiy/cdm-pythonparser/__flushLevel
LDU_FT
[ "<BEGIN>\n## `trim_docstring`", "Taken from http://www.python.org/dev/peps/pep-0257/\n<END>", "<BEGIN>\n## `getBriefModuleInfoFromMemory`", "Builds the brief module info from memory\n<END>", "<BEGIN>\n## `getDisplayName`", "Provides a name for display purpose respecting the alias\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __flushLevel API. 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 __flushLevel API. 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...
Merge the found objects to the required level
"Merge the found objects to the required level"
22
false
SergeySatskiy/cdm-pythonparser
__flushLevel
39,117
LDU_FT/ScienceLogic/amiuploader/copy_ami_to_new_name
LDU_FT
[ "<BEGIN>\n## `validate_args`", "Perform necessary validation checks\n :param args:\n :return:\n<END>", "<BEGIN>\n## `vmdk_to_ami`", "Calls methods to perform vmdk import\n :param args:\n :return:\n<END>", "<BEGIN>\n## `parse_image_json`", "parses response output of AWS describe commands and re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_ami_to_new_name 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 copy_ami_to_new_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Copies an AMI from the default region and name to the desired name and region :param ami_id: ami id to copy :param new_name: name of the new ami to create :param source_region: the source region of the ami to copy
"Copies an AMI from the default region and name to the desired name and region\n :param ami_id: ami id to copy\n :param new_name: name of the new ami to create\n :param source_region: the source region of the ami to copy"
34
false
ScienceLogic/amiuploader
copy_ami_to_new_name
39,118
LDU_FT/wtsi-hgi/python-git-subrepo/status
LDU_FT
[ "<BEGIN>\n## `requires_subrepo`", "Decorator that requires the `git subrepo` command to be accessible before calling the given function.\n :param func: the function to wrap\n :return: the wrapped function\n<END>", "<BEGIN>\n## `clone`", "Clones the repository at the given location as a subrepo in the gi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the status API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Gets the status of the subrepo that has been cloned into the given directory. :param directory: the directory containing the subrepo :return: a tuple consisting of the URL the subrepo is tracking, the branch that has been checked out and the commit reference
"Gets the status of the subrepo that has been cloned into the given directory.\n :param directory: the directory containing the subrepo\n :return: a tuple consisting of the URL the subrepo is tracking, the branch that has been checked out and the commit\n reference"
17
false
wtsi-hgi/python-git-subrepo
status
39,119
LDU_FT/Esri/ArcREST/addFolderPermission
LDU_FT
[ "<BEGIN>\n## `trace`", "trace finds the line, the filename\n and error message and returns it\n to the user\n<END>", "<BEGIN>\n## `merge_dicts`", "Merge a list of dictionaries.", " Args:\n dicts (list): a list of dictionary objects\n op (operator): an operator item used to mer...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addFolderPermission 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 addFolderPermission 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...
Assigns a new permission to a role (principal). The permission on a parent resource is automatically inherited by all child resources Input: principal - name of role to assign/disassign accesss isAllowed - boolean which allows access Output: ...
"Assigns a new permission to a role (principal). The permission\n on a parent resource is automatically inherited by all child\n resources\n Input:\n principal - name of role to assign/disassign accesss\n isAllowed - boolean which allows access\n Output...
1,240
true
Esri/ArcREST
addFolderPermission
39,120
LDU_FT/fictorial/filesysdb/_add_to_index
LDU_FT
[ "<BEGIN>\n## `object_path`", "Returns path to the backing file of the object\n with the given ``id`` in the given ``collection``.\n Note that the ``id`` is made filesystem-safe by\n \"normalizing\" its string representation.\n<END>", "<BEGIN>\n## `load_object_at_path`", "Load an object from disk at e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_to_index API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_to_index API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Adds the given object ``obj`` to the given ``index``
"Adds the given object ``obj`` to the given ``index``"
34
false
fictorial/filesysdb
_add_to_index
39,121
LDU_FT/rfosterslo/wagtailplus/get_related_with_scores
LDU_FT
[ "<BEGIN>\n## `add_panel_to_edit_handler`", "Adds specified panel class to model class.", " :param model: the model class.\n :param panel_cls: the panel class.\n :param heading: the panel heading.\n :param index: the index position to insert at.\n<END>", "<BEGIN>\n## `get_context_data`", "Returns...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_related_with_scores API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_related_with_scores API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Returns list of related tuples (Entry instance, score) for specified page. :param page: the page instance. :rtype: list.
"Returns list of related tuples (Entry instance, score) for\n specified page.\n\n :param page: the page instance.\n :rtype: list."
128
false
rfosterslo/wagtailplus
get_related_with_scores
39,122
LDU_FT/thombashi/DateTimeRange/truncate
LDU_FT
[ "<BEGIN>\n## `validate_time_inversion`", "Check time inversion of the time range.", " :raises ValueError:\n If |attr_start_datetime| is\n bigger than |attr_end_datetime|.\n :raises TypeError:\n Any one of |attr_start_datetime| and |attr_end_datetime|,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the truncate API. 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 truncate API. 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...
Truncate ``percentage`` / 2 [%] of whole time from first and last time. :param float percentage: Percentage of truncate. :Sample Code: .. code:: python from datetimerange import DateTimeRange time_range = DateTimeRange( "2015-03-22T10:00...
"Truncate ``percentage`` / 2 [%] of whole time from first and last time.\n\n :param float percentage: Percentage of truncate.\n\n :Sample Code:\n .. code:: python\n\n from datetimerange import DateTimeRange\n time_range = DateTimeRange(\n \"2015-...
58
false
thombashi/DateTimeRange
truncate
39,123
LDU_FT/boakley/robotframework-hub/get_collections
LDU_FT
[ "<BEGIN>\n## `add`", "Add a folder, library (.py) or resource file (.robot, .tsv, .txt) to the database\n<END>", "<BEGIN>\n## `on_change`", "Respond to changes in the file system", " This method will be given the path to a file that\n has changed on disk. We need to reload the keywords\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collections API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collections API. 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 collection name/summary tuples
"Returns a list of collection name/summary tuples"
61
false
boakley/robotframework-hub
get_collections
39,124
LDU_FT/RazerM/bucketcache/get_instance_signature
LDU_FT
[ "<BEGIN>\n## `deferred_write`", "Context manager for deferring writes of a :py:class:`Bucket` within a\n block.", " Parameters:\n bucket (:py:class:`Bucket`): Bucket to defer writes for within context.", " Returns:\n Bucket to use within context.", " :rtype: :py:class:`DeferredWrit...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_instance_signature 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_instance_signature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Get state of instance for cache signature (as part of key). Attempts to get state will be done in this order: - instance._getsate_bucketcache_() - instance.__getstate__() - instance.__dict__
"Get state of instance for cache signature (as part of key).\n\n Attempts to get state will be done in this order:\n\n - instance._getsate_bucketcache_()\n - instance.__getstate__()\n - instance.__dict__"
35
false
RazerM/bucketcache
get_instance_signature
39,125
LDU_FT/thanethomson/statik/generate
LDU_FT
[ "<BEGIN>\n## `list_files`", "Lists all of the files in the given base directory, optionally only\n including whose extension(s) match the ext string/list of strings.\n This is non-recursive.", " Args:\n base_path: The directory in which to search.\n ext: The extension(s) to match in the g...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate API. 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 generate API. 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...
Executes the Statik project generator. Args: output_path: The path to which to write output files. in_memory: Whether or not to generate the results in memory. If True, this will generate the output result as a dictionary. If False, this will write the output ...
"Executes the Statik project generator.\n\n Args:\n output_path: The path to which to write output files.\n in_memory: Whether or not to generate the results in memory. If True, this will\n generate the output result as a dictionary. If False, this will write the output\n ...
117
false
thanethomson/statik
generate
39,126
LDU_FT/HarveyHunt/i3situation/run
LDU_FT
[ "<BEGIN>\n## `main`", "Generates an output string by replacing the keywords in the format\n string with the corresponding values from a submission dictionary.\n<END>", "<BEGIN>\n## `login`", "Logs into Reddit in order to display a personalised front page.\n<END>", "<BEGIN>\n## `manage_submissions`", ...
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...
Calls the main function of a plugin and mutates the output dict with its return value. Provides an easy way to change the output whilst not needing to constantly poll a queue in another thread and allowing plugin's to manage their own intervals.
"Calls the main function of a plugin and mutates the output dict\n with its return value. Provides an easy way to change the output\n whilst not needing to constantly poll a queue in another thread and\n allowing plugin's to manage their own intervals."
63
false
HarveyHunt/i3situation
run
39,127
LDU_FT/nickstenning/tagalog/messages
LDU_FT
[ "<BEGIN>\n## `fields`", "Add a set of fields to each item in ``iterable``. The set of fields have a\n key=value format. '@' are added to the front of each key.\n<END>", "<BEGIN>\n## `tag`", "Add tags to each dict or dict-like object in ``iterable``. Tags are added\n to each dict with a key set by ``key`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the messages API. 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 messages API. 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...
Read lines of UTF-8 from the file-like object given in ``fp``, with the same fault-tolerance as :function:`tagalog.io.lines`, but instead yield dicts with the line data stored in the key given by ``key`` (default: "@message").
"Read lines of UTF-8 from the file-like object given in ``fp``, with the\n same fault-tolerance as :function:`tagalog.io.lines`, but instead yield\n dicts with the line data stored in the key given by ``key`` (default:\n \"@message\")."
17
false
nickstenning/tagalog
messages
39,128
LDU_FT/blakev/python-syncthing/browse
LDU_FT
[ "<BEGIN>\n## `keys_to_datetime`", "Converts all the keys in an object to DateTime instances.", " Args:\n obj (dict): the JSON-like ``dict`` object to modify inplace.\n keys (str): keys of the object being converted into DateTime\n instances.", " Returns:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the browse API. 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 browse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Returns the directory tree of the global model. Directories are always JSON objects (map/dictionary), and files are always arrays of modification time and size. The first integer is the files modification time, and the second integer is the file size. Args: ...
"Returns the directory tree of the global model.\n\n Directories are always JSON objects (map/dictionary), and files are\n always arrays of modification time and size. The first integer is\n the files modification time, and the second integer is the file\n size.\n\n ...
60
false
blakev/python-syncthing
browse
39,129
LDU_FT/jeffh/rpi_courses/course_feature
LDU_FT
[ "<BEGIN>\n## `safeInt`", "Throws an exception if the number starts with a 0 (may be significant).", " If the value cannot be converted to an int, it is returned as is.\n<END>", "<BEGIN>\n## `from_string`", "Creates a new CourseCatalog instance from an string containing xml.\n<END>", "<BEGIN>\n## `cross...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the course_feature API. 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 course_feature API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Parses all the courses (AKA, the most important part).
"Parses all the courses (AKA, the most important part)."
59
false
jeffh/rpi_courses
course_feature
39,130
LDU_FT/aktaylor08/RosbagPandas/buildParser
LDU_FT
[ "<BEGIN>\n## `buildParser`", "Builds the parser for reading the command line arguments\n<END>", "<BEGIN>\n## `parse_series_args`", "Return which topics and which field keys need to be examined\n for plotting\n<END>", "<BEGIN>\n## `bag_to_dataframe`", "Read in a rosbag file and create a pandas data fram...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the buildParser API. 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 buildParser API. 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...
Builds the parser for reading the command line arguments
"Builds the parser for reading the command line arguments"
28
false
aktaylor08/RosbagPandas
buildParser
39,131
LDU_FT/ZELLMECHANIK-DRESDEN/dclab/obj2str
LDU_FT
[ "<BEGIN>\n## `tdms2rtdc`", "Convert .tdms datasets to the hdf5-based .rtdc file format\n<END>", "<BEGIN>\n## `load_from_file`", "Load the configuration from a file", " Parameters\n ----------\n cfg_file: str\n Path to configuration file", " Returns\n -------\n cfg : CaseInsensitiv...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the obj2str API. 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 obj2str API. 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...
String representation of an object for hashing
"String representation of an object for hashing"
433
false
ZELLMECHANIK-DRESDEN/dclab
obj2str
39,132
LDU_FT/telefonicaid/fiware-sdc/response_body_to_dict
LDU_FT
[ "<BEGIN>\n## `_xml_to_dict`", "Convert RAW XML string to Python dict\n :param xml_to_convert: XML to convert (string/text)\n :return: Python dict with all XML data\n<END>", "<BEGIN>\n## `response_body_to_dict`", "Convert a XML or JSON response in a Python dict\n :param http_requests_response: 'Reques...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the response_body_to_dict 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 response_body_to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Convert a XML or JSON response in a Python dict :param http_requests_response: 'Requests (lib)' response :param content_type: Expected content-type header value (Accept header value in the request) :param xml_root_element_name: For XML requests. XML root element in response. :param is_list: For XML requ...
"Convert a XML or JSON response in a Python dict\n :param http_requests_response: 'Requests (lib)' response\n :param content_type: Expected content-type header value (Accept header value in the request)\n :param xml_root_element_name: For XML requests. XML root element in response.\n :param is_list: For XML...
60
false
telefonicaid/fiware-sdc
response_body_to_dict
39,133
LDU_FT/seomoz/shovel/capture
LDU_FT
[ "<BEGIN>\n## `heirarchical_helper`", "Return a list of tuples of (fullname, docstring, level) for all the\n tasks in the provided shovel\n<END>", "<BEGIN>\n## `heirarchical_help`", "Given a shovel of tasks, display a heirarchical list of the tasks\n<END>", "<BEGIN>\n## `shovel_help`", "Return a string ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the capture API. 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 capture API. 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...
Run a task and return a dictionary with stderr, stdout and the return value. Also, the traceback from the exception if there was one
"Run a task and return a dictionary with stderr, stdout and the\n return value. Also, the traceback from the exception if there was\n one"
26
false
seomoz/shovel
capture
39,134
LDU_FT/pescadores/pescador/_new_stream
LDU_FT
[ "<BEGIN>\n## `setup_data`", "Load and shape data for training with Keras + Pescador.", " Returns\n -------\n input_shape : tuple, len=3\n Shape of each sample; adapts to channel configuration of Keras.", " X_train, y_train : np.ndarrays\n Images and labels for training.", " X_te...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _new_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _new_stream API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Activate a new stream, given the index into the stream pool. BaseMux's _new_stream simply chooses a new stream and activates it. For special behavior (ie Weighted streams), you must override this in a child class. Parameters ---------- idx : int, [0:n_streams - 1] ...
"Activate a new stream, given the index into the stream pool.\n\n BaseMux's _new_stream simply chooses a new stream and activates it.\n For special behavior (ie Weighted streams), you must override this\n in a child class.\n\n Parameters\n ----------\n idx : int, [0:n_streams -...
103
false
pescadores/pescador
_new_stream
39,135
LDU_FT/Opentrons/opentrons/_dispense_plunger_position
LDU_FT
[ "<BEGIN>\n## `get_attached_instruments`", "Find the instruments attached to our mounts.", " :param expected: A dict that may contain a mapping from mount to\n strings that should prefix instrument model names.\n When instruments are scanned, they are matche...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dispense_plunger_position 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 _dispense_plunger_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Calculate axis position for a given liquid volume. Translates the passed liquid volume to absolute coordinates on the axis associated with this pipette. Calibration of the pipette motor's ul-to-mm conversion is required
"Calculate axis position for a given liquid volume.\n\n Translates the passed liquid volume to absolute coordinates\n on the axis associated with this pipette.\n\n Calibration of the pipette motor's ul-to-mm conversion is required"
1,359
true
Opentrons/opentrons
_dispense_plunger_position
39,136
LDU_FT/postmanlabs/httpbin/response
LDU_FT
[ "<BEGIN>\n## `json_safe`", "Returns JSON-safe version of `string`.", " If `string` is a Unicode string or a valid UTF-8, it is returned unmodified,\n as it can safely be encoded to JSON string.", " If `string` contains raw/binary data, it is Base64-encoded, formatted and\n returned according to \"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the response API. 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 response API. 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...
Compile digest auth response If the qop directive's value is "auth" or "auth-int" , then compute the response as follows: RESPONSE = MD5(HA1:nonce:nonceCount:clienNonce:qop:HA2) Else if the qop directive is unspecified, then compute the response as follows: RESPONSE = MD5(HA1:nonce:HA2) Argu...
"Compile digest auth response\n\n If the qop directive's value is \"auth\" or \"auth-int\" , then compute the response as follows:\n RESPONSE = MD5(HA1:nonce:nonceCount:clienNonce:qop:HA2)\n Else if the qop directive is unspecified, then compute the response as follows:\n RESPONSE = MD5(HA1:nonce:HA2)...
86
false
postmanlabs/httpbin
response
39,137
LDU_FT/cuducos/getgist/read_gist_file
LDU_FT
[ "<BEGIN>\n## `run_getgist`", "Passes user inputs to GetGist() and calls get()\n<END>", "<BEGIN>\n## `run_getmy`", "Shortcut for run_getgist() reading username from env var\n<END>", "<BEGIN>\n## `run_putgist`", "Passes user inputs to GetGist() and calls put()\n<END>", "<BEGIN>\n## `get`", "Reads the re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_gist_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_gist_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Returns the contents of file hosted inside a gist at GitHub. :param gist: (dict) gist parsed by GitHubTools._parse() :return: (bytes) content of a gist loaded from GitHub
"Returns the contents of file hosted inside a gist at GitHub.\n :param gist: (dict) gist parsed by GitHubTools._parse()\n :return: (bytes) content of a gist loaded from GitHub"
44
false
cuducos/getgist
read_gist_file
39,138
LDU_FT/ThomasChiroux/attowiki/view_history_source
LDU_FT
[ "<BEGIN>\n## `_delta_dir`", "returns the relative path of the current directory to the git\n repository.\n This path will be added the 'filename' path to find the file.\n It current_dir is the git root, this function returns an empty string.", " Keyword Arguments:\n <none>", " Returns:\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the view_history_source 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 view_history_source 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...
Serve a page name from git repo (an old version of a page). then return the reST source code This function does not use any template it returns only plain text .. note:: this is a bottle view * this is a GET only method : you can not change a committed page Keyword Arguments: :nam...
"Serve a page name from git repo (an old version of a page).\n\n then return the reST source code\n\n This function does not use any template it returns only plain text\n\n .. note:: this is a bottle view\n\n * this is a GET only method : you can not change a committed page\n\n Keyword Arguments:\n...
102
false
ThomasChiroux/attowiki
view_history_source
39,139
LDU_FT/Ceasar/twosheds/exclude_matches
LDU_FT
[ "<BEGIN>\n## `eval`", "Respond to text entered by the user.", " :param text: the user's input\n<END>", "<BEGIN>\n## `interact`", "Get a command from the user and respond to it.\n<END>", "<BEGIN>\n## `serve_forever`", "Handle one interaction at a time until shutdown.", " :param banner: (o...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exclude_matches API. 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 exclude_matches API. 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...
Filter any matches that match an exclude pattern. :param matches: a list of possible completions
"Filter any matches that match an exclude pattern.\n\n :param matches: a list of possible completions"
49
false
Ceasar/twosheds
exclude_matches
39,140
LDU_FT/Grunny/zap-cli/quick_scan
LDU_FT
[ "<BEGIN>\n## `list_scanners`", "Get a list of scanners and whether or not they are enabled.\n<END>", "<BEGIN>\n## `list_policies`", "Get a list of policies and whether or not they are enabled.\n<END>", "<BEGIN>\n## `enable_policies`", "Set the enabled policies to use in a scan.", " When you enable a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quick_scan API. 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 quick_scan API. 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...
Run a quick scan of a site by opening a URL, optionally spidering the URL, running an Active Scan, and reporting any issues found. This command contains most scan options as parameters, so you can do everything in one go. If any alerts are found for the given alert level, this command will exit wi...
"Run a quick scan of a site by opening a URL, optionally spidering the URL,\n running an Active Scan, and reporting any issues found.\n\n This command contains most scan options as parameters, so you can do\n everything in one go.\n\n If any alerts are found for the given alert level, this command will exit...
63
false
Grunny/zap-cli
quick_scan
39,141
LDU_FT/happyleavesaoc/python-limitlessled/command_set_factory
LDU_FT
[ "<BEGIN>\n## `command_set_factory`", "Create command set for controlling a specific led group.\n :param bridge: The bridge the leds are connected to.\n :param group_number: The group number.\n :param led_type: The type of the leds.\n :return: The created command set.\n<END>", "<BEGIN>\n## `rate`", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the command_set_factory 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 command_set_factory 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 command set for controlling a specific led group. :param bridge: The bridge the leds are connected to. :param group_number: The group number. :param led_type: The type of the leds. :return: The created command set.
"Create command set for controlling a specific led group.\n :param bridge: The bridge the leds are connected to.\n :param group_number: The group number.\n :param led_type: The type of the leds.\n :return: The created command set."
164
false
happyleavesaoc/python-limitlessled
command_set_factory
39,142
LDU_FT/matthieugouel/gibica/assignment
LDU_FT
[ "<BEGIN>\n## `append_scope`", "Create a new scope in the current frame.\n<END>", "<BEGIN>\n## `pop_scope`", "Delete the current scope in the current scope.\n<END>", "<BEGIN>\n## `visit`", "Visit the right method of the child class according to the node.\n<END>", "<BEGIN>\n## `peek`", "Get the next cha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the assignment API. 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 assignment API. 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...
assignment: logical_or_expr ['=' logical_or_expr]
"assignment: logical_or_expr ['=' logical_or_expr]"
56
false
matthieugouel/gibica
assignment
39,143
LDU_FT/kimdhamilton/merkle-proofs/get_leaf
LDU_FT
[ "<BEGIN>\n## `validate_proof`", "Takes a proof array, a target hash value, and a merkle root.\n Checks the validity of the proof and return true or false.\n :param proof:\n :param target_hash:\n :param merkle_root:\n :param hash_f:\n :return: whether proof is valid, Boolean\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_leaf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_leaf API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns a leaf at the given index. :param index: :return: leaf (value) at index
"Returns a leaf at the given index.\n :param index:\n :return: leaf (value) at index"
13
false
kimdhamilton/merkle-proofs
get_leaf
39,144
LDU_FT/jameslyons/pycipher/decipher
LDU_FT
[ "<BEGIN>\n## `encipher`", "Encipher string using Atbash cipher.", " Example::", " ciphertext = Atbash().encipher(plaintext) ", " :param string: The string to encipher.\n :param keep_punct: if true, punctuation and spacing are retained. If false, it is all removed. Default...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decipher API. 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 decipher API. 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...
Decipher string using Delastelle cipher according to initialised key. Example:: plaintext = Delastelle('APCZ WRLFBDKOTYUQGENHXMIVS').decipher(ciphertext) :param string: The string to decipher. :returns: The deciphered string. The plaintext will be 1/3 the length of the cipher...
"Decipher string using Delastelle cipher according to initialised key.\n\n Example::\n\n plaintext = Delastelle('APCZ WRLFBDKOTYUQGENHXMIVS').decipher(ciphertext) \n\n :param string: The string to decipher.\n :returns: The deciphered string. The plaintext will be 1/3 the length of th...
135
false
jameslyons/pycipher
decipher
39,145
LDU_FT/limix/numpy-sugar/cdot
LDU_FT
[ "<BEGIN>\n## `dotd`", "r\"\"\"Diagonal of :math:`\\mathrm A\\mathrm B^\\intercal`.", " If ``A`` is :math:`n\\times p` and ``B`` is :math:`p\\times n`, it is done in\n :math:`O(pn)`.", " Args:\n A (array_like): Left matrix.\n B (array_like): Right matrix.\n out (:class:`numpy.ndar...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cdot API. 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 cdot API. 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...
r"""Product of a Cholesky matrix with itself transposed. Args: L (array_like): Cholesky matrix. out (:class:`numpy.ndarray`, optional): copy result to. Returns: :class:`numpy.ndarray`: :math:`\mathrm L\mathrm L^\intercal`.
"r\"\"\"Product of a Cholesky matrix with itself transposed.\n\n Args:\n L (array_like): Cholesky matrix.\n out (:class:`numpy.ndarray`, optional): copy result to.\n\n Returns:\n :class:`numpy.ndarray`: :math:`\\mathrm L\\mathrm L^\\intercal`."
124
false
limix/numpy-sugar
cdot
39,146
LDU_FT/knaperek/djangosaml2/configure_user
LDU_FT
[ "<BEGIN>\n## `get_idp_sso_supported_bindings`", "Returns the list of bindings supported by an IDP\n This is not clear in the pysaml2 code, so wrapping it in a util\n<END>", "<BEGIN>\n## `fail_acs_response`", "Serves as a common mechanism for ending ACS in case of any SAML related failure.\n Handling can...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure_user API. 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 configure_user API. 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...
Configures a user after creation and returns the updated user. By default, returns the user with his attributes updated.
"Configures a user after creation and returns the updated user.\n\n By default, returns the user with his attributes updated."
34
false
knaperek/djangosaml2
configure_user
39,147
LDU_FT/diffeo/rejester/list_work_units
LDU_FT
[ "<BEGIN>\n## `dump_queue`", "Debug-log some of the queues.", " ``names`` may include any of \"worker\", \"available\", \"priorities\",\n \"expiration\", \"workers\", or \"reservations_ITEM\" filling in some\n specific item.\n<END>", "<BEGIN>\n## `worker_id`", "A unique identifier for th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_work_units API. 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 list_work_units API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Get a dictionary of work units for some work spec. The dictionary is from work unit name to work unit definiton. Only work units that have not been completed ("available" or "pending" work units) are included.
"Get a dictionary of work units for some work spec.\n\n The dictionary is from work unit name to work unit definiton.\n Only work units that have not been completed (\"available\" or\n \"pending\" work units) are included."
391
false
diffeo/rejester
list_work_units
39,148
LDU_FT/EmbodiedCognition/py-c3d/binary_size
LDU_FT
[ "<BEGIN>\n## `write`", "Write binary header data to a file handle.", " This method writes exactly 512 bytes to the beginning of the given file\n handle.", " Parameters\n ----------\n handle : file handle\n The given handle will be reset to 0 using `seek` and then ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the binary_size API. 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 binary_size API. 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...
Return the number of bytes to store this group and its parameters.
"Return the number of bytes to store this group and its parameters."
61
false
EmbodiedCognition/py-c3d
binary_size
39,149
LDU_FT/tomprince/txgithub/createStatus
LDU_FT
[ "<BEGIN>\n## `getEvents`", "Get all repository events, following paging, until the end\n or until UNTIL_ID is seen. Returns a Deferred.\n<END>", "<BEGIN>\n## `getHook`", "GET /repos/:owner/:repo/hooks/:id", " Returns the Hook.\n<END>", "<BEGIN>\n## `editHook`", "PATCH /repos/:owner/:repo/...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createStatus API. 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 createStatus API. 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 sha: Full sha to create the status for. :param state: one of the following 'pending', 'success', 'error' or 'failure'. :param target_url: Target url to associate with this status. :param description: Short description of the status. :return: A defered with th...
":param sha: Full sha to create the status for.\n :param state: one of the following 'pending', 'success', 'error'\n or 'failure'.\n :param target_url: Target url to associate with this status.\n :param description: Short description of the status.\n :return: A defered w...
37
false
tomprince/txgithub
createStatus
39,150
LDU_FT/RI-imaging/qpsphere/bg_phase_mask_for_qpi
LDU_FT
[ "<BEGIN>\n## `interpolate_grid`", "Return the 2D field averaged radially w.r.t. the center\n<END>", "<BEGIN>\n## `rytov`", "Field behind a dielectric sphere in the Rytov approximation", " Parameters\n ----------\n radius: float\n Radius of the sphere [m]\n sphere_index: float\n Ref...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bg_phase_mask_for_qpi 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 bg_phase_mask_for_qpi API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Determine the background phase mask for a spherical phase object The position and radius of the phase object are determined with :func:`analyze`, to which the corresponding keyword arguments are passed. A binary mask is created from the simulation results via :func:`bg_phase_mask_from_sim`. Parame...
"Determine the background phase mask for a spherical phase object\n\n The position and radius of the phase object are determined with\n :func:`analyze`, to which the corresponding keyword arguments\n are passed. A binary mask is created from the simulation results\n via :func:`bg_phase_mask_from_sim`.\n\n ...
179
false
RI-imaging/qpsphere
bg_phase_mask_for_qpi
39,151
LDU_FT/r4fek/django-cassandra-engine/django_table_names
LDU_FT
[ "<BEGIN>\n## `_discover_models`", "Return a dict containing a list of cassandra.cqlengine.Model classes\n within installed App.\n<END>", "<BEGIN>\n## `django_table_names`", "Returns a list of all table names that have associated cqlengine models\n and are present in settings.INSTALLED_APPS.\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the django_table_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the django_table_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. Th...
Returns a list of all table names that have associated cqlengine models and are present in settings.INSTALLED_APPS.
"Returns a list of all table names that have associated cqlengine models\n and are present in settings.INSTALLED_APPS."
37
false
r4fek/django-cassandra-engine
django_table_names
39,152
LDU_FT/foremast/foremast/render_wrapper
LDU_FT
[ "<BEGIN>\n## `create_elb_dns`", "Create dns entries in route53.", " Args:\n regionspecific (bool): The DNS entry should have region on it\n Returns:\n str: Auto-generated DNS name for the Elastic Load Balancer.\n<END>", "<BEGIN>\n## `create_failover_dns`", "Create dns ent...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_wrapper API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_wrapper API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Generate the base Pipeline wrapper. This renders the non-repeatable stages in a pipeline, like jenkins, baking, tagging and notifications. Args: region (str): AWS Region. Returns: dict: Rendered Pipeline wrapper.
"Generate the base Pipeline wrapper.\n\n This renders the non-repeatable stages in a pipeline, like jenkins, baking, tagging and notifications.\n\n Args:\n region (str): AWS Region.\n\n Returns:\n dict: Rendered Pipeline wrapper."
585
false
foremast/foremast
render_wrapper
39,153
LDU_FT/MonsterDeveloper/python-telegraphapi/getViews
LDU_FT
[ "<BEGIN>\n## `createAccount`", "Creates Telegraph account\r", " :param short_name: Required. Account name, helps users with several accounts remember which they are currently using.\r\n Displayed to the user above the \"Edit/Publish\" button on Telegra.ph, other users don't see this name.\r\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getViews API. 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 getViews API. 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...
Use this method to get the number of views for a Telegraph article. :param path: Required. Path to the Telegraph page (in the format Title-12-31, where 12 is the month and 31 the day the article was first published). :type path: str :param year: Required if month is passed. ...
"Use this method to get the number of views for a Telegraph article.\r\n\r\n :param path: Required. Path to the Telegraph page\r\n (in the format Title-12-31, where 12 is the month and 31 the day the article was first published).\r\n :type path: str\r\n\r\n :param year: Required if month is ...
53
false
MonsterDeveloper/python-telegraphapi
getViews
39,154
LDU_FT/20c/twentyc.database/set
LDU_FT
[ "<BEGIN>\n## `set`", "Store data <data> index by key <key>", " Args", " key <string> couchbase document id\n data <dict> data to store\n<END>", "<BEGIN>\n## `dump`", "Retrieve object indexed by <key> and return it serialized\n<END>", "<BEGIN>\n## `Client`", "Return new database client", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Store data <data> index by key <key> Args key <string> couchbase document id data <dict> data to store
"Store data <data> index by key <key>\n\n Args\n\n key <string> couchbase document id\n data <dict> data to store"
40
false
20c/twentyc.database
set
39,155
LDU_FT/dpkp/kafka-python/decode_list_offset_response
LDU_FT
[ "<BEGIN>\n## `send_fetches`", "Send FetchRequests for all assigned partitions that do not already have\n an in-flight fetch or pending fetch data.", " Returns:\n List of Futures: each future resolves to a FetchResponse\n<END>", "<BEGIN>\n## `reset_offsets_if_needed`", "Lookup and se...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_list_offset_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode_list_offset_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Decode OffsetResponse_v2 into ListOffsetResponsePayloads Arguments: response: OffsetResponse_v2 Returns: list of ListOffsetResponsePayloads
"Decode OffsetResponse_v2 into ListOffsetResponsePayloads\n\n Arguments:\n response: OffsetResponse_v2\n\n Returns: list of ListOffsetResponsePayloads"
787
false
dpkp/kafka-python
decode_list_offset_response
39,156
LDU_FT/flyte/xbee-helper/_frame_received
LDU_FT
[ "<BEGIN>\n## `raise_if_error`", "Checks a frame and raises the relevant exception if required.\n<END>", "<BEGIN>\n## `hex_to_int`", "Convert hex string like \"\\x0A\\xE3\" to 2787.\n<END>", "<BEGIN>\n## `adc_to_percentage`", "Convert the ADC raw value to a percentage.\n<END>", "<BEGIN>\n## `convert_adc`...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _frame_received API. 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 _frame_received API. 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...
Put the frame into the _rx_frames dict with a key of the frame_id.
"Put the frame into the _rx_frames dict with a key of the frame_id."
25
false
flyte/xbee-helper
_frame_received
39,157
LDU_FT/spacetelescope/synphot_refactor/_get_meta
LDU_FT
[ "<BEGIN>\n## `overlap_status`", "Check overlap between two arrays.", " Parameters\n ----------\n a, b : array-like\n Arrays to check. Assumed to be in the same unit.", " Returns\n -------\n result : {'full', 'partial', 'none'}\n * 'full' - ``a`` is within or same as ``b``\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_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 _get_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...
Return metadata of a model. Model could be a real model or evaluated metadata.
"Return metadata of a model.\n Model could be a real model or evaluated metadata."
519
false
spacetelescope/synphot_refactor
_get_meta
39,158
LDU_FT/miso-belica/sumy/unit_overlap
LDU_FT
[ "<BEGIN>\n## `_compute_tf`", "Computes the normalized term frequency as explained in http://www.tfidf.com/\n<END>", "<BEGIN>\n## `f_score`", "Computation of F-Score measure. It is computed as\n F(E) = ( (W^2 + 1) * P(E) * R(E) ) / ( W^2 * P(E) + R(E) ), where:", " - P(E) is precision metrics of extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unit_overlap API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unit_overlap API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Computes unit overlap of two text documents. Documents has to be represented as TF models of non-empty document. :returns float: 0 <= overlap <= 1, where 0 means no match and 1 means exactly the same.
"Computes unit overlap of two text documents. Documents\n has to be represented as TF models of non-empty document.\n\n :returns float:\n 0 <= overlap <= 1, where 0 means no match and 1 means\n exactly the same."
66
false
miso-belica/sumy
unit_overlap
39,159
LDU_FT/CodyKochmann/graphdb/list_objects
LDU_FT
[ "<BEGIN>\n## `graph_hash`", "this hashes all types to a hash without colissions. python's hashing algorithms are not cross type compatable but hashing tuples with the type as the first element seems to do the trick\n<END>", "<BEGIN>\n## `store_item`", "use this function to store a python object in the databas...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_objects API. 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 list_objects API. 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...
list the entire of objects with their (id, serialized_form, actual_value)
"list the entire of objects with their (id, serialized_form, actual_value)"
44
false
CodyKochmann/graphdb
list_objects
39,160
LDU_FT/mapbox/mapboxgl-jupyter/create_radius_stops
LDU_FT
[ "<BEGIN>\n## `generate_vector_color_map`", "Generate color stops array for use with match expression in mapbox template\n<END>", "<BEGIN>\n## `generate_vector_numeric_map`", "Generate stops array for use with match expression in mapbox template\n<END>", "<BEGIN>\n## `check_vector_template`", "Determines i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_radius_stops 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_radius_stops API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Convert a data breaks into a radius ramp
"Convert a data breaks into a radius ramp"
57
false
mapbox/mapboxgl-jupyter
create_radius_stops
39,161
LDU_FT/danielfrg/word2vec/from_binary
LDU_FT
[ "<BEGIN>\n## `ix`", "Returns the index on self.vocab and self.clusters for 'word'\n<END>", "<BEGIN>\n## `get_cluster`", "Returns the cluster number for a word in the vocabulary\n<END>", "<BEGIN>\n## `distance`", "Compute the distance distance between two vectors or more (all combinations) of words", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_binary API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_binary API. 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...
Create a WordVectors class based on a word2vec binary file Parameters ---------- fname : path to file vocabUnicodeSize: the maximum string length (78, by default) desired_vocab: if set any words that don't fall into this vocab will be droped Returns ------- ...
"Create a WordVectors class based on a word2vec binary file\n\n Parameters\n ----------\n fname : path to file\n vocabUnicodeSize: the maximum string length (78, by default)\n desired_vocab: if set any words that don't fall into this vocab will be droped\n\n Returns\n --...
42
false
danielfrg/word2vec
from_binary
39,162
LDU_FT/moonso/ped_parser/to_dict
LDU_FT
[ "<BEGIN>\n## `get_individual`", "Return a individual object based on the indata.", " Arguments:\n family_id (str): The id for this family\n sample_id (str): The id for this sample\n father_id (str): The id for this samples father\n mother_id (str): The id for t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_dict API. 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 to_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Return the information from the pedigree file as a dictionary. family id is key and a list with dictionarys for each individual as value. Returns: families (dict): A dictionary with the families
"Return the information from the pedigree file as a dictionary.\n family id is key and a list with dictionarys for each individual \n as value.\n \n Returns:\n families (dict): A dictionary with the families"
79
false
moonso/ped_parser
to_dict
39,163
LDU_FT/gmr/tredis/info
LDU_FT
[ "<BEGIN>\n## `auth`", "Request for authentication in a password-protected Redis server.\n Redis can be instructed to require a password before allowing clients\n to execute commands. This is done using the ``requirepass`` directive\n in the configuration file.", " If the password doe...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API. 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 info API. 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...
The INFO command returns information and statistics about the server in a format that is simple to parse by computers and easy to read by humans. The optional parameter can be used to select a specific section of information: - server: General information about the Redis se...
"The INFO command returns information and statistics about the server\n in a format that is simple to parse by computers and easy to read by\n humans.\n\n The optional parameter can be used to select a specific section of\n information:\n\n - server: General information about the ...
523
false
gmr/tredis
info
39,164
LDU_FT/mozilla/FoxPuppet/addon_name
LDU_FT
[ "<BEGIN>\n## `is_tracking_shield_displayed`", "Tracking Protection shield.", " Returns:\n bool: True or False if the Tracking Shield is displayed.\n<END>", "<BEGIN>\n## `addon_name`", "Provide access to the add-on name.", " Returns:\n str: Add-on name.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the addon_name API. 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 addon_name API. 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...
Provide access to the add-on name. Returns: str: Add-on name.
"Provide access to the add-on name.\n\n Returns:\n str: Add-on name."
36
false
mozilla/FoxPuppet
addon_name
39,165
LDU_FT/klmitch/framer/to_bytes
LDU_FT
[ "<BEGIN>\n## `factory`", "Generates and returns a callable suitable for passing as the\n ``protocol_factory`` parameter of the ``create_connection()``\n or ``create_server()`` loop methods. This class method\n performs some sanity checks on the arguments, and is preferred\n over using...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_bytes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Convert a single frame into bytes that can be transmitted on the stream. :param frame: The frame to convert. Should be the same type of object returned by ``to_frame()``. :param state: An instance of ``FramerState``. This object may be used to track...
"Convert a single frame into bytes that can be transmitted on\n the stream.\n\n :param frame: The frame to convert. Should be the same type\n of object returned by ``to_frame()``.\n :param state: An instance of ``FramerState``. This object may\n be used t...
77
false
klmitch/framer
to_bytes
39,166
LDU_FT/mkoura/dump2polarion/get_config
LDU_FT
[ "<BEGIN>\n## `only_passed_and_wait`", "Returns PASS and WAIT results only, skips everything else.\n<END>", "<BEGIN>\n## `insert_source_info`", "Adds info about source of test result if available.\n<END>", "<BEGIN>\n## `setup_parametrization`", "Modifies result's data according to the parametrization setti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extrac...
Loads config file and returns its content.
"Loads config file and returns its content."
107
false
mkoura/dump2polarion
get_config
39,167
LDU_FT/JnyJny/Geometry/ccw
LDU_FT
[ "<BEGIN>\n## `nearly_eq`", "implementation based on:", " http://floating-point-gui.de/errors/comparison/\n<END>", "<BEGIN>\n## `_convert`", ":other: Point or point equivalent\n :ignorescalars: optional boolean\n :return: Point", " Class private method for converting 'other' into a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ccw API. 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 ccw API. 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...
:b: Point or point equivalent :c: Point or point equivalent :axis: optional string or integer in set('x',0,'y',1,'z',2) :return: float CCW - Counter Clockwise Returns an integer signifying the direction of rotation around 'axis' described by the angle [b, self, c]. ...
":b: Point or point equivalent\n :c: Point or point equivalent\n :axis: optional string or integer in set('x',0,'y',1,'z',2)\n :return: float\n\n CCW - Counter Clockwise\n\n Returns an integer signifying the direction of rotation around 'axis'\n described by the angle [b, self,...
184
false
JnyJny/Geometry
ccw
39,168
LDU_FT/tomprince/txgithub/createComment
LDU_FT
[ "<BEGIN>\n## `getEvents`", "Get all repository events, following paging, until the end\n or until UNTIL_ID is seen. Returns a Deferred.\n<END>", "<BEGIN>\n## `getHook`", "GET /repos/:owner/:repo/hooks/:id", " Returns the Hook.\n<END>", "<BEGIN>\n## `editHook`", "PATCH /repos/:owner/:repo/...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the createComment API. 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 createComment API. 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...
POST /repos/:owner/:repo/pulls/:number/comments :param pull_number: The pull request's ID. :param body: The text of the comment. :param commit_id: The SHA of the commit to comment on. :param path: The relative path of the file to comment on. :param position: The line index in th...
"POST /repos/:owner/:repo/pulls/:number/comments\n\n :param pull_number: The pull request's ID.\n :param body: The text of the comment.\n :param commit_id: The SHA of the commit to comment on.\n :param path: The relative path of the file to comment on.\n :param position: The line inde...
37
false
tomprince/txgithub
createComment
39,169
LDU_FT/PyFilesystem/pyfilesystem2/render
LDU_FT
[ "<BEGIN>\n## `install`", "Install an opener.", " Arguments:\n opener (`Opener`): an `Opener` instance, or a callable that\n returns an opener instance.", " Note:\n May be used as a class decorator. For example::\n registry = Registry()\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API. 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 render API. 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 ...
Render a directory structure in to a pretty tree. Arguments: fs (~fs.base.FS): A filesystem instance. path (str): The path of the directory to start rendering from (defaults to root folder, i.e. ``'/'``). file (io.IOBase): An open file-like object to render the tree,...
"Render a directory structure in to a pretty tree.\n\n Arguments:\n fs (~fs.base.FS): A filesystem instance.\n path (str): The path of the directory to start rendering\n from (defaults to root folder, i.e. ``'/'``).\n file (io.IOBase): An open file-like object to render the\n ...
320
false
PyFilesystem/pyfilesystem2
render
39,170
LDU_FT/desbma/sacad/analyze_dir
LDU_FT
[ "<BEGIN>\n## `waitAccessAsync`", "Wait the needed time before sending a request to honor rate limit.\n<END>", "<BEGIN>\n## `aiohttp_socket_timeout`", "Return a aiohttp.ClientTimeout object with only socket timeouts set.\n<END>", "<BEGIN>\n## `query`", "Send a GET/POST request or get data from cache, retry...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyze_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the analyze_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Analyze a directory (non recursively) to get its album metadata if it is one.
"Analyze a directory (non recursively) to get its album metadata if it is one."
63
false
desbma/sacad
analyze_dir
39,171
LDU_FT/treethought/flask-assistant/suggest
LDU_FT
[ "<BEGIN>\n## `build_item`", "Builds an item that may be added to List or Carousel\n<END>", "<BEGIN>\n## `suggest`", "Use suggestion chips to hint at responses to continue or pivot the conversation\n<END>", "<BEGIN>\n## `link_out`", "Presents a chip similar to suggestion, but instead links to a url\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the suggest API. 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 suggest API. 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...
Use suggestion chips to hint at responses to continue or pivot the conversation
"Use suggestion chips to hint at responses to continue or pivot the conversation"
65
false
treethought/flask-assistant
suggest
39,172