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/NICTA/revrand/predict_logpdf | LDU_FT | [
"<BEGIN>\n## `fit`",
"r\"\"\"\n Learn the parameters of a Bayesian generalized linear model (GLM).",
" Parameters\n ----------\n X : ndarray\n (N, d) array input dataset (N samples, d dimensions).\n y : ndarray\n (N,) array targets (N samples)\n li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict_logpdf API.
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 predict_logpdf API.
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... | r"""
Predictive log-probability density function of a Bayesian GLM.
Parameters
----------
X : ndarray
(N*,d) array query input dataset (N* samples, D dimensions).
y : float or ndarray
The test observations of shape (N*,) to evaluate under,
:ma... | "r\"\"\"\n Predictive log-probability density function of a Bayesian GLM.\n\n Parameters\n ----------\n X : ndarray\n (N*,d) array query input dataset (N* samples, D dimensions).\n y : float or ndarray\n The test observations of shape (N*,) to evaluate under,\n ... | 535 | false | NICTA/revrand | predict_logpdf | 35,073 | |
LDU_FT/jonbretman/jinja-to-js/_process_for | LDU_FT | [
"<BEGIN>\n## `option`",
"Context manager for temporarily setting a keyword argument and\n then restoring it to whatever it was before.\n<END>",
"<BEGIN>\n## `is_method_call`",
"Returns True if `node` is a method call for `method_name`. `method_name`\n can be either a string or an iterable of strings.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_for API.
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 _process_for API.
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... | Processes a for loop. e.g.
{% for number in numbers %}
{{ number }}
{% endfor %}
{% for key, value in somemap.items() %}
{{ key }} -> {{ value }}
{% %} | "Processes a for loop. e.g.\n {% for number in numbers %}\n {{ number }}\n {% endfor %}\n {% for key, value in somemap.items() %}\n {{ key }} -> {{ value }}\n {% %}" | 43 | false | jonbretman/jinja-to-js | _process_for | 35,074 | |
LDU_FT/inveniosoftware/invenio-accounts/init_app | LDU_FT | [
"<BEGIN>\n## `check_security_settings`",
"Warn if session cookie is not secure in production.\n<END>",
"<BEGIN>\n## `mysql_aes_encrypt`",
"Mysql AES encrypt value with secret key.",
" :param val: Plain text value.\n :param key: The AES key.\n :returns: The encrypted AES value.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Flask application initialization.
:param app: The Flask application.
:param sessionstore: store for sessions. Passed to
``flask-kvsession``. If ``None`` then Redis is configured.
(Default: ``None``)
:param register_blueprint: If ``True``, the application registers the
... | "Flask application initialization.\n\n :param app: The Flask application.\n :param sessionstore: store for sessions. Passed to\n ``flask-kvsession``. If ``None`` then Redis is configured.\n (Default: ``None``)\n :param register_blueprint: If ``True``, the application registers... | 71 | false | inveniosoftware/invenio-accounts | init_app | 35,075 | |
LDU_FT/biosignalsnotebooks/biosignalsnotebooks/plot_median_freq_evol | LDU_FT | [
"<BEGIN>\n## `windowing`",
"-----\n Brief\n -----\n Function to window the input signal, that return the windowed signal.",
" -----------\n Description\n -----------\n Machine learning pipelines usually use features to represent each sample of the input signals.\n In order to extract tho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_median_freq_evol 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 plot_median_freq_evol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | -----
Brief
-----
Graphical representation of the EMG median power frequency evolution time series.
-----------
Description
-----------
Function intended to generate a Bokeh figure with 2x1 format, where each muscular activation
period is identified through a colored box and the plot th... | "-----\n Brief\n -----\n Graphical representation of the EMG median power frequency evolution time series.\n\n -----------\n Description\n -----------\n Function intended to generate a Bokeh figure with 2x1 format, where each muscular activation\n period is identified through a colored box and t... | 800 | false | biosignalsnotebooks/biosignalsnotebooks | plot_median_freq_evol | 35,076 | |
LDU_FT/adafruit/Adafruit_Python_CharLCD/enable_display | LDU_FT | [
"<BEGIN>\n## `hsv_to_rgb`",
"Converts a tuple of hue, saturation, value to a tuple of red, green blue.\n Hue should be an angle from 0.0 to 359.0. Saturation and value should be a\n value from 0.0 to 1.0, where saturation controls the intensity of the hue and\n value controls the brightness.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_display API.
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 enable_display API.
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... | Enable or disable the display. Set enable to True to enable. | "Enable or disable the display. Set enable to True to enable." | 24 | false | adafruit/Adafruit_Python_CharLCD | enable_display | 35,077 | |
LDU_FT/rfk/django-supervisor/get_config_from_options | LDU_FT | [
"<BEGIN>\n## `_handle_shell`",
"Command 'supervisord shell' runs the interactive command shell.\n<END>",
"<BEGIN>\n## `_handle_getconfig`",
"Command 'supervisor getconfig' prints merged config to stdout.\n<END>",
"<BEGIN>\n## `_handle_autoreload`",
"Command 'supervisor autoreload' watches for code changes... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_config_from_options 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_config_from_options 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 config file fragment reflecting command-line options. | "Get config file fragment reflecting command-line options." | 30 | false | rfk/django-supervisor | get_config_from_options | 35,078 | |
LDU_FT/robinandeer/puzzle/add_case | LDU_FT | [
"<BEGIN>\n## `individual_dict`",
"Return a dict with ind_id as key and Individual as values.\n<END>",
"<BEGIN>\n## `_get_genes`",
"Add the genes for a variant",
" Get the hgnc symbols from all transcripts and add them\n to the variant.",
" Args:\n variant (dict): A variant ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_case API.
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 add_case API.
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... | Add a case obj with individuals to adapter
Args:
case_obj (puzzle.models.Case) | "Add a case obj with individuals to adapter\n \n Args:\n case_obj (puzzle.models.Case)" | 306 | false | robinandeer/puzzle | add_case | 35,079 | |
LDU_FT/inveniosoftware/invenio-admin/init_app | LDU_FT | [
"<BEGIN>\n## `admin_permission_factory`",
"Default factory for creating a permission for an admin.",
" It tries to load a :class:`invenio_access.permissions.Permission`\n instance if `invenio_access` is installed.\n Otherwise, it loads a :class:`flask_principal.Permission` instance.",
" :param adm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_app API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Flask application initialization.
:param app: The Flask application.
:param entry_point_group: Name of entry point group to load
views/models from. (Default: ``'invenio_admin.views'``)
:param permission_factory: Default permission factory to use when
protecting an admin ... | "Flask application initialization.\n\n :param app: The Flask application.\n :param entry_point_group: Name of entry point group to load\n views/models from. (Default: ``'invenio_admin.views'``)\n :param permission_factory: Default permission factory to use when\n protecting an... | 20 | false | inveniosoftware/invenio-admin | init_app | 35,080 | |
LDU_FT/GuiltyTargets/ppi-network-annotation/get_attribute_mappings | LDU_FT | [
"<BEGIN>\n## `get_neighborhood_network`",
"Get the neighborhood graph of a node.",
" :param str node_name: Node whose neighborhood graph is requested.\n :return Graph: Neighborhood graph\n<END>",
"<BEGIN>\n## `get_neighbor_names`",
"Get the names of all neighbors of a node, and the node itself... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_attribute_mappings 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_attribute_mappings 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 a dictionary of mappings between vertices and enumerated attributes.
:return: Dictionary of mappings between vertices and enumerated attributes. | "Get a dictionary of mappings between vertices and enumerated attributes.\n\n :return: Dictionary of mappings between vertices and enumerated attributes." | 105 | false | GuiltyTargets/ppi-network-annotation | get_attribute_mappings | 35,081 | |
LDU_FT/Dentosal/python-sc2/upper2_for_ramp_wall | LDU_FT | [
"<BEGIN>\n## `main_base_ramp`",
"Returns the Ramp instance of the closest main-ramp to start location. Look in game_info.py for more information\n<END>",
"<BEGIN>\n## `get_available_abilities`",
"Returns available abilities of one or more units.\n<END>",
"<BEGIN>\n## `distribute_workers`",
"Distributes wo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upper2_for_ramp_wall 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 upper2_for_ramp_wall 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 the 2 upper ramp points of the main base ramp required for the supply depot and barracks placement properties used in this file. | "Returns the 2 upper ramp points of the main base ramp required for the supply depot and barracks placement properties used in this file." | 155 | false | Dentosal/python-sc2 | upper2_for_ramp_wall | 35,082 | |
LDU_FT/romana/vpc-router/start | LDU_FT | [
"<BEGIN>\n## `_do_tcp_check`",
"Attempt to establish a TCP connection.",
" If not successful, record the IP in the results dict.",
" Always closes the connection at the end.\n<END>",
"<BEGIN>\n## `do_health_checks`",
"Perform a health check on a list of IP addresses.",
" Each check ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start API.
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 start API.
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... | Start the monitoring thread of the plugin. | "Start the monitoring thread of the plugin." | 207 | false | romana/vpc-router | start | 35,083 | |
LDU_FT/ming060/robotframework-uiautomatorlibrary/scroll_to_vertically | LDU_FT | [
"<BEGIN>\n## `set_serial`",
"Specify given *android_serial* device to perform test.",
" You do not have to specify the device when there is only one device connects to the computer.",
" When you need to use multiple devices, do not use this keyword to switch between devices in test execution.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scroll_to_vertically 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 scroll_to_vertically API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Scroll(vertically) on the object: obj to specific UI object which has *selectors* attributes appears.
Return true if the UI object, else return false.
Example:
| ${list} | Get Object | className=android.widget.ListView | | # Get the list object |
| ${... | "Scroll(vertically) on the object: obj to specific UI object which has *selectors* attributes appears.\n\n Return true if the UI object, else return false.\n\n Example:\n\n | ${list} | Get Object | className=android.widget.ListView | | # Get the list object |\n ... | 115 | false | ming060/robotframework-uiautomatorlibrary | scroll_to_vertically | 35,084 | |
LDU_FT/sentinel-hub/eo-learn/execute | LDU_FT | [
"<BEGIN>\n## `execute`",
"Execute computation of blobs on input eopatch",
" :param eopatch: Input eopatch\n :type eopatch: eolearn.core.EOPatch\n :return: EOPatch instance with new key holding the blob image.\n :rtype: eolearn.core.EOPatch\n<END>",
"<BEGIN>\n## `_check_classifier`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the execute API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Shows data and scrolls through. Currently not working from Jupyter notebooks.
:param eopatch: Image sequence to display. Can be single channel, RGB or multi-channel. If multi-channel,
indices must be specified.
:type eopatch: numpy array
:param title: String to be d... | "Shows data and scrolls through. Currently not working from Jupyter notebooks.\r\n\r\n :param eopatch: Image sequence to display. Can be single channel, RGB or multi-channel. If multi-channel,\r\n indices must be specified.\r\n :type eopatch: numpy array\r\n :param title: Str... | 453 | false | sentinel-hub/eo-learn | execute | 35,085 | |
LDU_FT/dourvaris/nano-python/account_move | LDU_FT | [
"<BEGIN>\n## `signature_unsafe`",
"Not safe to use with secret keys or secret data.\n See module docstring. This function should be used for testing only.\n<END>",
"<BEGIN>\n## `checkvalid`",
"Not safe to use when any argument is secret.\n See module docstring. This function should be used only for\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the account_move API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the account_move API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Moves **accounts** from **source** to **wallet**
.. enable_control required
:param source: wallet to move accounts from
:type source: str
:param wallet: wallet to move accounts to
:type wallet: str
:param accounts: accounts to move
:type accounts: list of str
... | "Moves **accounts** from **source** to **wallet**\n\n .. enable_control required\n\n :param source: wallet to move accounts from\n :type source: str\n\n :param wallet: wallet to move accounts to\n :type wallet: str\n\n :param accounts: accounts to move\n :type accounts: ... | 574 | false | dourvaris/nano-python | account_move | 35,086 | |
LDU_FT/pywbem/pywbem/_remove_qualifiers | LDU_FT | [
"<BEGIN>\n## `_hash_item`",
"Hash an item (CIM value, CIM object), by delegating to its hash function.",
" The item may be `None`.\n<END>",
"<BEGIN>\n## `_stacklevel_above_module`",
"Return the stack level (with 1 = caller of this function) of the first\n caller that is not defined in the specified mo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_qualifiers 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 _remove_qualifiers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Remove all qualifiers from the input objectwhere the object may
be an CIMInstance or CIMClass. Removes qualifiers from the object and
from properties, methods, and parameters
This is used to process the IncludeQualifier parameter for classes
and instances | "Remove all qualifiers from the input objectwhere the object may\n be an CIMInstance or CIMClass. Removes qualifiers from the object and\n from properties, methods, and parameters\n\n This is used to process the IncludeQualifier parameter for classes\n and instances" | 3,983 | true | pywbem/pywbem | _remove_qualifiers | 35,087 | |
LDU_FT/rossant/ipymd/require_paragraph | LDU_FT | [
"<BEGIN>\n## `_get_html_contents`",
"Process a HTML block and detects whether it is a code block,\n a math block, or a regular HTML block.\n<END>",
"<BEGIN>\n## `format_manager`",
"Return the instance singleton, creating if necessary\n<END>",
"<BEGIN>\n## `register_entrypoints`",
"Look through the `set... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_paragraph API.
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 require_paragraph API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Create a new paragraph unless the currently-active container
is already a paragraph. | "Create a new paragraph unless the currently-active container\n is already a paragraph." | 64 | false | rossant/ipymd | require_paragraph | 35,088 | |
LDU_FT/gmr/rejected/maybe_submit_measurement | LDU_FT | [
"<BEGIN>\n## `active_processes`",
"Return a list of all active processes, pruning dead ones",
" :rtype: list\n<END>",
"<BEGIN>\n## `calculate_stats`",
"Calculate the stats data for our process level data.",
" :param data: The collected stats data to report on\n :type data: dict\n<END>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maybe_submit_measurement 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 maybe_submit_measurement API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Check for configured instrumentation backends and if found, submit
the message measurement info. | "Check for configured instrumentation backends and if found, submit\n the message measurement info." | 368 | false | gmr/rejected | maybe_submit_measurement | 35,089 | |
LDU_FT/pudo/jsongraph/project | LDU_FT | [
"<BEGIN>\n## `base_uri`",
"Resolution base for JSON schema. Also used as the default\n graph ID for RDF.\n<END>",
"<BEGIN>\n## `resolver`",
"Resolver for JSON Schema references. This can be based around a\n file or HTTP-based resolution base URI.\n<END>",
"<BEGIN>\n## `store`",
"Backend stor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the project API.
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 project API.
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... | Figure out which attributes should be returned for the current
level of the query. | "Figure out which attributes should be returned for the current\n level of the query." | 52 | false | pudo/jsongraph | project | 35,090 | |
LDU_FT/Locu/chronology/infer_schema | LDU_FT | [
"<BEGIN>\n## `is_remote_allowed`",
"Check if `remote` is allowed to make a CORS request.\n<END>",
"<BEGIN>\n## `endpoint`",
"Returns a decorator which when applied a function, causes that function to\n serve `url` and only allows the HTTP methods in `methods`\n<END>",
"<BEGIN>\n## `get_seconds`",
"Conver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the infer_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return the inferred schema of the requested stream.
POST body should contain a JSON encoded version of:
{ stream: stream_name,
namespace: namespace_name (optional)
} | "Return the inferred schema of the requested stream.\n POST body should contain a JSON encoded version of:\n { stream: stream_name,\n namespace: namespace_name (optional)\n }" | 156 | false | Locu/chronology | infer_schema | 35,091 | |
LDU_FT/akesterson/dpath-python/new | LDU_FT | [
"<BEGIN>\n## `path_types`",
"Given a list of path name elements, return anew list of [name, type] path components, given the reference object.\n<END>",
"<BEGIN>\n## `validate`",
"Validate that all the keys in the given list of path components are valid, given that they do not contain the separator, and match ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the new API.
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 new API.
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... | Set the element at the terminus of path to value, and create
it if it does not exist (as opposed to 'set' that can only
change existing keys).
path will NOT be treated like a glob. If it has globbing
characters in it, they will become part of the resulting
keys | "Set the element at the terminus of path to value, and create\n it if it does not exist (as opposed to 'set' that can only\n change existing keys).\n\n path will NOT be treated like a glob. If it has globbing\n characters in it, they will become part of the resulting\n keys" | 44 | false | akesterson/dpath-python | new | 35,092 | |
LDU_FT/shreyaspotnis/rampage/get_ramp_regions | LDU_FT | [
"<BEGIN>\n## `updateAllKeys`",
"Update times for all keys in the layout.\n<END>",
"<BEGIN>\n## `set_output`",
"Sets whether the function generator is outputting a voltage.\n<END>",
"<BEGIN>\n## `set_fm_ext`",
"Sets the func generator to frequency modulation with external modulation.\n freq is the c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ramp_regions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ramp_regions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns a numpy array where each element corresponds to whether to
ramp in that region or jump. | "Returns a numpy array where each element corresponds to whether to\n ramp in that region or jump." | 90 | false | shreyaspotnis/rampage | get_ramp_regions | 35,093 | |
LDU_FT/ttinoco/OPTALG/mumps | LDU_FT | [
"<BEGIN>\n## `solve`",
"Solves optimization problem.",
" Parameters\n ----------\n problem : Object\n<END>",
"<BEGIN>\n## `factorize`",
"Factorizes A.",
" Parameters\n ----------\n A : matrix\n For symmetric systems, should contain only lower diagonal pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mumps API.
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 mumps API.
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... | Call MUMPS, checking for errors in the return code.
The desired job should have already been set using `ctx.set_job(...)`.
As a convenience, you may wish to call `ctx.run(job=...)` which sets
the job and calls MUMPS. | "Call MUMPS, checking for errors in the return code.\n\n The desired job should have already been set using `ctx.set_job(...)`.\n As a convenience, you may wish to call `ctx.run(job=...)` which sets\n the job and calls MUMPS." | 86 | false | ttinoco/OPTALG | mumps | 35,094 | |
LDU_FT/robotframework/Rammbock/u8 | LDU_FT | [
"<BEGIN>\n## `log_background_messages`",
"Forwards messages logged on background to Robot Framework log.",
" By default forwards all messages logged by all threads, but can be\n limited to a certain thread by passing thread's name as an argument.",
" Logged messages are removed from the m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the u8 API.
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 u8 API.
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... | Add an unsigned 1 byte integer field to template.
This is an convenience method that simply calls `Uint` keyword with predefined length. | "Add an unsigned 1 byte integer field to template.\n\n This is an convenience method that simply calls `Uint` keyword with predefined length." | 234 | false | robotframework/Rammbock | u8 | 35,095 | |
LDU_FT/tonybaloney/wily/get | LDU_FT | [
"<BEGIN>\n## `revisions`",
"Get the list of revisions.",
" :param path: the path to target.\n :type path: ``str``",
" :param max_revisions: the maximum number of revisions.\n :type max_revisions: ``int``",
" :return: A list of revisions.\n :rtype: ``list`` of :cla... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get the data for a given revision.
:param config: The configuration
:type config: :class:`wily.config.WilyConfig`
:param archiver: The name of the archiver type (e.g. 'git')
:type archiver: ``str``
:param revision: The revision ID
:type revision: ``str``
:return: The data reco... | "Get the data for a given revision.\n\n :param config: The configuration\n :type config: :class:`wily.config.WilyConfig`\n\n :param archiver: The name of the archiver type (e.g. 'git')\n :type archiver: ``str``\n \n :param revision: The revision ID\n :type revision: ``str``\n \n :return: T... | 174 | false | tonybaloney/wily | get | 35,096 | |
LDU_FT/jmbeach/KEP.py/move_to_next_bit_address | LDU_FT | [
"<BEGIN>\n## `parse_channels`",
"Creates an array of Channel objects from the project\n<END>",
"<BEGIN>\n## `parse_devices`",
"Creates an array of Device objects from the channel\n<END>",
"<BEGIN>\n## `process_tag`",
"Processes tag and detects which function to use\n<END>",
"<BEGIN>\n## `name_replace`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_to_next_bit_address 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 move_to_next_bit_address API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Moves to next available bit address position | "Moves to next available bit address position" | 24 | false | jmbeach/KEP.py | move_to_next_bit_address | 35,097 | |
LDU_FT/rmst/chi/experiment | LDU_FT | [
"<BEGIN>\n## `experiment`",
"Decorator that transforms the decorated function into a chi.Experiment\n :param start_chiboard:\n :param f:\n :param local_dependencies:\n :return:\n<END>",
"<BEGIN>\n## `deep_q_network`",
"Architecture according to:\n http://www.nature.com/nature/journal/v518/n7540/full/na... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the experiment API.
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 experiment API.
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... | Decorator that transforms the decorated function into a chi.Experiment
:param start_chiboard:
:param f:
:param local_dependencies:
:return: | "Decorator that transforms the decorated function into a chi.Experiment\n :param start_chiboard:\n :param f:\n :param local_dependencies:\n :return:" | 10 | false | rmst/chi | experiment | 35,098 | |
LDU_FT/pydsigner/taskit/_do_cb | LDU_FT | [
"<BEGIN>\n## `_wait`",
"Based upon an extract from threading.Condition().wait(). Immediately \n tries to acquire the lock, and then sleeps for a period of time (going \n 1/2ms..1ms..2ms..4ms...50ms..50ms), repeating until the lock is \n acquired or the timeout limit is reached.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_cb API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_cb API.
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 ... | Called internally by callback(). Does cb and error_cb selection. | "Called internally by callback(). Does cb and error_cb selection." | 59 | false | pydsigner/taskit | _do_cb | 35,099 | |
LDU_FT/eng-tools/sfsimodels/set_column_prop | LDU_FT | [
"<BEGIN>\n## `set_beam_prop`",
"Specify the properties of the beams",
" :param values:\n :param repeat: if 'up' then duplicate up the structure\n :return:\n<END>",
"<BEGIN>\n## `set_column_prop`",
"Specify the properties of the columns",
" :param values:\n :param repeat:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_column_prop API.
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 set_column_prop API.
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... | Specify the properties of the columns
:param values:
:param repeat: if 'up' then duplicate up the structure
:return: | "Specify the properties of the columns\n\n :param values:\n :param repeat: if 'up' then duplicate up the structure\n :return:" | 126 | false | eng-tools/sfsimodels | set_column_prop | 35,100 | |
LDU_FT/basilfx/flask-daapserver/serve_forever | LDU_FT | [
"<BEGIN>\n## `publish`",
"Publish a given `DAAPServer` instance.",
" The given instances should be fully configured, including the provider.\n By default Zeroconf only advertises the first database, but the DAAP\n protocol has support for multiple databases. Therefore, the parameter\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the serve_forever API.
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 serve_forever API.
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... | Run the DAAP server. Start by advertising the server via Bonjour. Then
serve requests until CTRL + C is received. | "Run the DAAP server. Start by advertising the server via Bonjour. Then\n serve requests until CTRL + C is received." | 45 | false | basilfx/flask-daapserver | serve_forever | 35,101 | |
LDU_FT/futurecolors/django-geoip/_update_cidr | LDU_FT | [
"<BEGIN>\n## `get_class`",
"Convert a string version of a function name to the callable object.\n<END>",
"<BEGIN>\n## `get_mod_func`",
"Converts 'django.views.news.stories.story_detail' to\n ('django.views.news.stories', 'story_detail')",
" Taken from django.core.urlresolvers\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_cidr API.
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 _update_cidr API.
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... | Rebuild IPRegion table with fresh data (old ip ranges are removed for simplicity) | "Rebuild IPRegion table with fresh data (old ip ranges are removed for simplicity)" | 34 | false | futurecolors/django-geoip | _update_cidr | 35,102 | |
LDU_FT/cloudnull/turbolift/unique_list_dicts | LDU_FT | [
"<BEGIN>\n## `start`",
"Return a list of objects from the API for a container.\n<END>",
"<BEGIN>\n## `_cdn`",
"Retrieve a long list of all files in a container.",
" :return final_list, list_count, last_obj:\n<END>",
"<BEGIN>\n## `remove_dirs`",
"Delete a directory recursively.",
" :param... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unique_list_dicts API.
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 unique_list_dicts API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return a list of dictionaries which are sorted for only unique entries.
:param dlist:
:param key:
:return list: | "Return a list of dictionaries which are sorted for only unique entries.\n\n :param dlist:\n :param key:\n :return list:" | 148 | false | cloudnull/turbolift | unique_list_dicts | 35,103 | |
LDU_FT/fred49/linshare-api/upload | LDU_FT | [
"<BEGIN>\n## `upload`",
"Upload a file to LinShare using its rest api.\n The uploaded document uuid will be returned\n<END>",
"<BEGIN>\n## `upload`",
"Upload a file to LinShare using its rest api.\n The uploaded document uuid will be returned\n<END>",
"<BEGIN>\n## `compute_key`",
"This funct... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the upload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Upload a file to LinShare using its rest api.
The uploaded document uuid will be returned | "Upload a file to LinShare using its rest api.\n The uploaded document uuid will be returned" | 21 | false | fred49/linshare-api | upload | 35,104 | |
LDU_FT/bachiraoun/pylocker/set_lock_path | LDU_FT | [
"<BEGIN>\n## `set_file_path`",
"Set the file path that needs to be locked.",
" :Parameters:\n #. filePath (None, path): The file that needs to be locked. When given and a lock\n is acquired, the file will be automatically opened for writing or reading\n depending on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_lock_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_lock_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Set the managing lock file path.
:Parameters:
#. lockPath (None, path): The locking file path. If None is given the locking file
will be automatically created to '.lock' in the filePath directory. If
filePath is None, '.lock' will be created in the current working dire... | "Set the managing lock file path.\n\n :Parameters:\n #. lockPath (None, path): The locking file path. If None is given the locking file\n will be automatically created to '.lock' in the filePath directory. If\n filePath is None, '.lock' will be created in the current workin... | 28 | false | bachiraoun/pylocker | set_lock_path | 35,105 | |
LDU_FT/volfpeter/graphscraper/remove_event_listener | LDU_FT | [
"<BEGIN>\n## `add_neighbor`",
"Adds a new neighbor to the node.\r",
" Arguments:\r\n edge (Edge): The edge that would connect this node with its neighbor.\n<END>",
"<BEGIN>\n## `_load_neighbors`",
"Loads all neighbors of the node from the local database and\r\n from the external dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_event_listener 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 remove_event_listener API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Removes the given event listener registered on the dispatcher for the given event type.
Args:
event_type (str): The type of the event to remove the event handler from.
Must not be `None` or empty string.
event_handler (types.MethodType): The event hand... | "Removes the given event listener registered on the dispatcher for the given event type.\r\n\r\n Args:\r\n event_type (str): The type of the event to remove the event handler from.\r\n Must not be `None` or empty string.\r\n event_handler (types.MethodType): The... | 122 | false | volfpeter/graphscraper | remove_event_listener | 35,106 | |
LDU_FT/nion-software/nionswift-instrumentation-kit/create_camera_panel | LDU_FT | [
"<BEGIN>\n## `initialize_state`",
"Call this to initialize the state of the UI after everything has been connected.\n<END>",
"<BEGIN>\n## `handle_play_clicked`",
"Call this when the user clicks the play/pause button.\n<END>",
"<BEGIN>\n## `set_probe_position`",
"Set the probe position, in normalized coord... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_camera_panel 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_camera_panel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Create a custom camera panel.
The camera panel type is specified in the 'camera_panel_type' key in the properties dict.
The camera panel type must match a the 'camera_panel_type' of a camera panel factory in the Registry.
The matching camera panel factory must return a ui_handler for the panel which is u... | "Create a custom camera panel.\n\n The camera panel type is specified in the 'camera_panel_type' key in the properties dict.\n\n The camera panel type must match a the 'camera_panel_type' of a camera panel factory in the Registry.\n\n The matching camera panel factory must return a ui_handler for the panel whi... | 37 | false | nion-software/nionswift-instrumentation-kit | create_camera_panel | 35,107 | |
LDU_FT/zsethna/OLGA/max_nt_to_aa_alignment_right | LDU_FT | [
"<BEGIN>\n## `nt2aa`",
"Translate a nucleotide sequence into an amino acid sequence.",
" Parameters\n ----------\n ntseq : str\n Nucleotide sequence composed of A, C, G, or T (uppercase or lowercase)",
" Returns\n -------\n aaseq : str\n Amino acid sequence",
" Example\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the max_nt_to_aa_alignment_right API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the max_nt_to_aa_alignment_right API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Find maximum match between CDR3_seq and ntseq from the right.
This function returns the length of the maximum length nucleotide
subsequence of ntseq contiguous from the right (or 3' end) that is
consistent with the 'amino acid' sequence CDR3_seq
Parameters
----------
... | "Find maximum match between CDR3_seq and ntseq from the right.\n \n This function returns the length of the maximum length nucleotide\n subsequence of ntseq contiguous from the right (or 3' end) that is \n consistent with the 'amino acid' sequence CDR3_seq\n \n Parameters\n ----... | 287 | false | zsethna/OLGA | max_nt_to_aa_alignment_right | 35,108 | |
LDU_FT/pschmitt/pykeepass/compute_transformed | LDU_FT | [
"<BEGIN>\n## `compute_transformed`",
"Compute transformed key for opening database\n<END>",
"<BEGIN>\n## `compute_header_hmac_hash`",
"Compute HMAC-SHA256 hash of header.\n Used to prevent header tampering.\n<END>",
"<BEGIN>\n## `compute_payload_block_hash`",
"Compute hash of each payload block.\n U... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_transformed 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 compute_transformed API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Compute transformed key for opening database | "Compute transformed key for opening database" | 46 | false | pschmitt/pykeepass | compute_transformed | 35,109 | |
LDU_FT/DarkEnergySurvey/ugali/write_membership | LDU_FT | [
"<BEGIN>\n## `integrate`",
"Calculate the 2D integral of the 1D surface brightness profile \n (i.e, the flux) between rmin and rmax (elliptical radii). ",
" Parameters:\n -----------\n rmin : minimum integration radius (deg)\n rmax : maximum integration radius (deg)",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_membership API.
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 write_membership API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Top level interface to write the membership from a config and source model. | "Top level interface to write the membership from a config and source model." | 614 | false | DarkEnergySurvey/ugali | write_membership | 35,110 | |
LDU_FT/petebachant/Nortek-Python/start_disk_recording | LDU_FT | [
"<BEGIN>\n## `sound_speed_mode`",
"Sets sound speed mode; 0 or \"measured\" for measured; 1 or \"fixed\"\n for fixed.\n<END>",
"<BEGIN>\n## `sound_speed`",
"Sets the sound speed in m/s. Default is 1525.0. If this function is\n called, `sound_speed_mode` will be set to fixed.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_disk_recording API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_disk_recording API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Starts data recording to disk. Specify the filename without extension.
If autoname = True a new file will be opened for data recording each time
the specified time interval has elapsed. The current date and time is then
automatically added to the filename. | "Starts data recording to disk. Specify the filename without extension. \n If autoname = True a new file will be opened for data recording each time \n the specified time interval has elapsed. The current date and time is then \n automatically added to the filename." | 14 | false | petebachant/Nortek-Python | start_disk_recording | 35,111 | |
LDU_FT/saghul/evergreen/connect | LDU_FT | [
"<BEGIN>\n## `_double_prefix`",
"Grow the given deque by doubling, but don't split the second chunk just\n because the first one is small.\n<END>",
"<BEGIN>\n## `_merge_prefix`",
"Replace the first entries in a deque of strings with a single\n string of up to size bytes.",
" >>> d = col... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API.
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 connect API.
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... | Connects to remote ADDR, and then wraps the connection in
an SSL channel. | "Connects to remote ADDR, and then wraps the connection in\n an SSL channel." | 79 | false | saghul/evergreen | connect | 35,112 | |
LDU_FT/Alir3z4/django-databrowse/model_page | LDU_FT | [
"<BEGIN>\n## `field_dict`",
"Helper function that returns a dictionary of all fields in the given\n model. If self.field_filter is set, it only includes the fields that\n match the filter.\n<END>",
"<BEGIN>\n## `root`",
"Handles main URL routing for the databrowse app.",
" `url` is the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_page API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Handles the model-specific functionality of the databrowse site,
delegating<to the appropriate ModelDatabrowse class. | "Handles the model-specific functionality of the databrowse site,\n delegating<to the appropriate ModelDatabrowse class." | 22 | false | Alir3z4/django-databrowse | model_page | 35,113 | |
LDU_FT/aburrell/apexpy/mlt2mlon | LDU_FT | [
"<BEGIN>\n## `checklat`",
"Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).",
" Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message",
" Returns\n =======\n lat ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mlt2mlon API.
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 mlt2mlon API.
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... | Computes the magnetic longitude at the specified magnetic local time
and UT.
Parameters
==========
mlt : array_like
Magnetic local time
datetime : :class:`datetime.datetime`
Date and time
ssheight : float, optional
Altitude in km to us... | "Computes the magnetic longitude at the specified magnetic local time\n and UT.\n\n Parameters\n ==========\n mlt : array_like\n Magnetic local time\n datetime : :class:`datetime.datetime`\n Date and time\n ssheight : float, optional\n Altitude ... | 120 | false | aburrell/apexpy | mlt2mlon | 35,114 | |
LDU_FT/fossasia/AYABInterface/needle_positions_to_bytes | LDU_FT | [
"<BEGIN>\n## `get`",
"Return the needle positions or None.",
" :param int line_number: the number of the line\n :rtype: list\n :return: the needle positions for a specific line specified by\n :paramref:`line_number` or :obj:`None` if no were given\n<END>",
"<BEGIN>\n## `get_bytes... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the needle_positions_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 conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the needle_positions_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 conclusi... | Convert the needle positions to the wire format.
This conversion is used for :ref:`cnfline`.
:param needle_positions: an iterable over :attr:`needle_positions` of
length :attr:`number_of_needles`
:rtype: bytes | "Convert the needle positions to the wire format.\n\n This conversion is used for :ref:`cnfline`.\n\n :param needle_positions: an iterable over :attr:`needle_positions` of\n length :attr:`number_of_needles`\n :rtype: bytes" | 79 | false | fossasia/AYABInterface | needle_positions_to_bytes | 35,115 | |
LDU_FT/karjaljo/hiisi/select_dataset | LDU_FT | [
"<BEGIN>\n## `attr_exists`",
"Returns True if at least on instance of the attribute is found\n<END>",
"<BEGIN>\n## `datasets`",
"Method returns a list of dataset paths.",
" Examples\n --------\n >>> for dataset in h5f.datasets():\n print(dataset)\n '/dataset1/data1... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select_dataset API.
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 select_dataset API.
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... | Selects the matching dataset and returns its path.
Parameters
----------
elangle : str
Upper case ascii letter defining the elevation angle
quantity : str
Name of the quantity e.g. DBZH, VRAD, RHOHV...
Returns
-------
... | "Selects the matching dataset and returns its path.\n \n Parameters\n ----------\n elangle : str\n Upper case ascii letter defining the elevation angle\n quantity : str\n Name of the quantity e.g. DBZH, VRAD, RHOHV...\n \n Returns\n -----... | 53 | false | karjaljo/hiisi | select_dataset | 35,116 | |
LDU_FT/kata198/QueryableList/sort_by | LDU_FT | [
"<BEGIN>\n## `getFiltersFromArgs`",
"getFiltersFromArgs - Returns a dictionary of each filter type, and the corrosponding field/value",
" @param kwargs <dict> - Dictionary of filter arguments",
" @return - Dictionary of each filter type (minus the ones that are optimized into others), each conta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_by API.
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 sort_by API.
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... | sort_by - Return a copy of this collection, sorted by the given fieldName.
The fieldName is accessed the same way as other filtering, so it supports custom properties, etc.
@param fieldName <str> - The name of the field on which to sort by
@param reverse <bool> Default False... | "sort_by - Return a copy of this collection, sorted by the given fieldName.\n\n The fieldName is accessed the same way as other filtering, so it supports custom properties, etc.\n\n @param fieldName <str> - The name of the field on which to sort by\n\n @param reverse <bool> Defaul... | 45 | false | kata198/QueryableList | sort_by | 35,117 | |
LDU_FT/lk-geimfari/mimesis/reseed | LDU_FT | [
"<BEGIN>\n## `content_type`",
"Get a random HTTP content type.",
" :return: Content type.",
" :Example:\n Content-Type: application/json\n<END>",
"<BEGIN>\n## `ip_v4`",
"Generate a random IPv4 address.",
" :param with_port: Add port to IP.\n :return: Random IPv4 ad... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reseed API.
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 reseed API.
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 ... | Reseed the internal random generator.
In case we use the default seed, we need to create a per instance
random generator, in this case two providers with the same seed
will always return the same values.
:param seed: Seed for random.
When set to `None` the current system ti... | "Reseed the internal random generator.\n\n In case we use the default seed, we need to create a per instance\n random generator, in this case two providers with the same seed\n will always return the same values.\n\n :param seed: Seed for random.\n When set to `None` the current s... | 559 | false | lk-geimfari/mimesis | reseed | 35,118 | |
LDU_FT/minio/minio-py/parse_multipart_upload_result | LDU_FT | [
"<BEGIN>\n## `run`",
"Continously receive tasks and execute them\n<END>",
"<BEGIN>\n## `result`",
"Stop threads and return the result of all called tasks\n<END>",
"<BEGIN>\n## `xml_marshal_bucket_constraint`",
"Marshal's bucket constraint based on *region*.",
" :param region: Region name of a given b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_multipart_upload_result 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 parse_multipart_upload_result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Parser for complete multipart upload response.
:param data: Response data for complete multipart upload.
:return: :class:`MultipartUploadResult <MultipartUploadResult>`. | "Parser for complete multipart upload response.\n\n :param data: Response data for complete multipart upload.\n :return: :class:`MultipartUploadResult <MultipartUploadResult>`." | 331 | false | minio/minio-py | parse_multipart_upload_result | 35,119 | |
LDU_FT/neighbordog/deviantart/get_friends | LDU_FT | [
"<BEGIN>\n## `auth`",
"Authenticates user and retrieves (and refreshes) access token",
" :param code: code provided after redirect (authorization_code only)\n :param refresh_token: the refresh_token to update access_token without authorization\n<END>",
"<BEGIN>\n## `auth_uri`",
"The authorzati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_friends API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_friends API.
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 the users list of friends
:param username: The username you want to get a list of friends of
:param offset: the pagination offset
:param limit: the pagination limit | "Get the users list of friends\n\n :param username: The username you want to get a list of friends of\n :param offset: the pagination offset\n :param limit: the pagination limit" | 132 | false | neighbordog/deviantart | get_friends | 35,120 | |
LDU_FT/monarch-initiative/dipper/_process_phenotype | LDU_FT | [
"<BEGIN>\n## `_process_phenotype_hpoa`",
"see info on format here:\n http://www.human-phenotype-ontology.org/contao/index.php/annotation-guide.html",
" :param raw:\n :param limit:\n :return:\n<END>",
"<BEGIN>\n## `get_common_files`",
"Fetch the hpo-annotation-data\n [repos... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _process_phenotype 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 _process_phenotype API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Get the phenotypes, and declare the classes.
If the "observable" is "unspecified", then we assign the phenotype to
the "cvalue" id; otherwise we convert the phenotype into a
uberpheno-style identifier, simply based on the anatomical part that's
affected...that is listed as the observable... | "Get the phenotypes, and declare the classes.\n If the \"observable\" is \"unspecified\", then we assign the phenotype to\n the \"cvalue\" id; otherwise we convert the phenotype into a\n uberpheno-style identifier, simply based on the anatomical part that's\n affected...that is listed as the... | 848 | false | monarch-initiative/dipper | _process_phenotype | 35,121 | |
LDU_FT/edx/event-tracking/send_to_backends | LDU_FT | [
"<BEGIN>\n## `send`",
"Insert the event in to the Mongo collection\n<END>",
"<BEGIN>\n## `create_backends_from_settings`",
"Expects the Django setting \"EVENT_TRACKING_BACKENDS\" to be defined and point\n to a dictionary of backend engine configurations.",
" Example::",
" EVENT_TR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_to_backends API.
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 send_to_backends API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Sends the event to all registered backends.
Logs and swallows all `Exception`. | "Sends the event to all registered backends.\n\n Logs and swallows all `Exception`." | 47 | false | edx/event-tracking | send_to_backends | 35,122 | |
LDU_FT/mojaie/chorus/consecutive | LDU_FT | [
"<BEGIN>\n## `draw`",
"Draw molecule structure image.",
" Args:\n canvas: draw.drawable.Drawable\n mol: model.graphmol.Compound\n<END>",
"<BEGIN>\n## `smiles_to_compound`",
"Convert SMILES text to compound object",
" Raises:\n ValueError: SMILES with unsupported format\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consecutive API.
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 consecutive API.
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... | consecutive('ABCDEF', 3) --> ABC BCD CDE DEF
consecutive(itertools.cycle(iter), n) to get looped sequence | "consecutive('ABCDEF', 3) --> ABC BCD CDE DEF\n consecutive(itertools.cycle(iter), n) to get looped sequence" | 158 | false | mojaie/chorus | consecutive | 35,123 | |
LDU_FT/AirtestProject/Poco/child | LDU_FT | [
"<BEGIN>\n## `jsonrpc_map`",
"Map of json-rpc available calls.",
" :return str:\n<END>",
"<BEGIN>\n## `command`",
"通过hunter调用gm指令,可调用hunter指令库中定义的所有指令,也可以调用text类型的gm指令\n gm指令相关功能请参考safaia GM指令扩展模块",
" :param cmd: 指令\n :param type: 语言,默认text\n :return: None\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the child API.
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 child API.
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... | Select the direct child(ren) from the UI element(s) given by the query expression, see ``QueryCondition`` for
more details about the selectors.
Args:
name: query expression of attribute "name", i.e. the UI elements with ``name`` name will be selected
attrs: other query expressio... | "Select the direct child(ren) from the UI element(s) given by the query expression, see ``QueryCondition`` for\n more details about the selectors.\n\n Args:\n name: query expression of attribute \"name\", i.e. the UI elements with ``name`` name will be selected\n attrs: other query e... | 191 | false | AirtestProject/Poco | child | 35,124 | |
LDU_FT/ponty/entrypoint2/_correct_args | LDU_FT | [
"<BEGIN>\n## `_parse_doc`",
"Converts a well-formed docstring into documentation\n to be fed into argparse.",
" See signature_parser for details.",
" shorts: (-k for --keyword -k, or \"from\" for \"frm/from\")\n metavars: (FILE for --input=FILE)\n helps: (docs for --keyword:... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _correct_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _correct_args API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Convert a dictionary of arguments including __argv into a list
for passing to the function. | "Convert a dictionary of arguments including __argv into a list\n for passing to the function." | 38 | false | ponty/entrypoint2 | _correct_args | 35,125 | |
LDU_FT/ewels/MultiQC/freqpoly_plot | LDU_FT | [
"<BEGIN>\n## `star_stats_table`",
"Take the parsed stats from the STAR report and add them to the\n basic stats table at the top of the report\n<END>",
"<BEGIN>\n## `mirtrace_length_plot`",
"Generate the miRTrace Read Length Distribution\n<END>",
"<BEGIN>\n## `mirtrace_contamination_check`",
"Gener... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the freqpoly_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the freqpoly_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 ext... | make freqpoly plot of merged read lengths | "make freqpoly plot of merged read lengths" | 532 | false | ewels/MultiQC | freqpoly_plot | 35,126 | |
LDU_FT/getsentry/sentry-plugins/create_issue | LDU_FT | [
"<BEGIN>\n## `validate_config`",
"```\n if config['foo'] and not config['bar']:\n raise PluginError('You cannot configure foo with bar')\n return config\n ```\n<END>",
"<BEGIN>\n## `build_dynamic_field`",
"Builds a field based on JIRA's meta field information\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_issue API.
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 create_issue API.
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... | Creates the issue on the remote service and returns an issue ID. | "Creates the issue on the remote service and returns an issue ID." | 14 | false | getsentry/sentry-plugins | create_issue | 35,127 | |
LDU_FT/openvax/varcode/load_maf_dataframe | LDU_FT | [
"<BEGIN>\n## `translate_codon`",
"Translate a single codon into a single amino acid or stop '*'",
" Parameters\n ----------\n codon : str\n Expected to be of length 3\n aa_pos : int\n Codon/amino acid offset into the protein (starting from 0)\n<END>",
"<BEGIN>\n## `translate`",
"Tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_maf_dataframe 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 load_maf_dataframe 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... | Load the guaranteed columns of a TCGA MAF file into a DataFrame
Parameters
----------
path : str
Path to MAF file
nrows : int
Optional limit to number of rows loaded
raise_on_error : bool
Raise an exception upon encountering an error or log an error
encoding : str, op... | "Load the guaranteed columns of a TCGA MAF file into a DataFrame\n\n Parameters\n ----------\n path : str\n Path to MAF file\n\n nrows : int\n Optional limit to number of rows loaded\n\n raise_on_error : bool\n Raise an exception upon encountering an error or log an error\n\n enco... | 344 | false | openvax/varcode | load_maf_dataframe | 35,128 | |
LDU_FT/smira/py-numa/get_node_size | LDU_FT | [
"<BEGIN>\n## `get_node_size`",
"Get size of memory on C{node}.",
" @param node: node idx\n @type node: C{int}\n @return: free memory/total memory\n @rtype: C{tuple}(C{int}, C{int})\n<END>",
"<BEGIN>\n## `node_to_cpus`",
"Get CPUs available on C{node}.",
" @return: set of CPU ids\n @rtype... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_node_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_node_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 ext... | Get size of memory on C{node}.
@param node: node idx
@type node: C{int}
@return: free memory/total memory
@rtype: C{tuple}(C{int}, C{int}) | "Get size of memory on C{node}.\n\n @param node: node idx\n @type node: C{int}\n @return: free memory/total memory\n @rtype: C{tuple}(C{int}, C{int})" | 44 | false | smira/py-numa | get_node_size | 35,129 | |
LDU_FT/DataONEorg/d1_python/is_valid_pid_to_be_updated | LDU_FT | [
"<BEGIN>\n## `wrap`",
"Work with the AccessPolicy in a SystemMetadata PyXB object.",
" Args:\n access_pyxb : AccessPolicy PyXB object\n The AccessPolicy to modify.",
" read_only: bool\n Do not update the wrapped AccessPolicy.",
" When only a single AccessPolicy operation is nee... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_pid_to_be_updated 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 is_valid_pid_to_be_updated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Return True if ``did`` is the PID of an object that can be updated (obsoleted)
with MNStorage.update() | "Return True if ``did`` is the PID of an object that can be updated (obsoleted)\n with MNStorage.update()" | 1,937 | true | DataONEorg/d1_python | is_valid_pid_to_be_updated | 35,130 | |
LDU_FT/ApproxEng/approxeng.input/axis_updated | LDU_FT | [
"<BEGIN>\n## `map_into_range`",
"Map an input function into an output value, clamping such that the magnitude of the output is at most 1.0",
" :param low:\n The value in the input range corresponding to zero.\n :param high:\n The value in the input range corresponding to 1.0 or -1.0, dependi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the axis_updated API.
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 axis_updated API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Called to process an absolute axis event from evdev, this is called internally by the controller implementations
:internal:
:param event:
The evdev event to process
:param prefix:
If present, a named prefix that should be applied to the event code when searching for the... | "Called to process an absolute axis event from evdev, this is called internally by the controller implementations\n\n :internal:\n\n :param event:\n The evdev event to process\n :param prefix:\n If present, a named prefix that should be applied to the event code when searching... | 86 | false | ApproxEng/approxeng.input | axis_updated | 35,131 | |
LDU_FT/tomi77/python-t77-date/start_of_month | LDU_FT | [
"<BEGIN>\n## `timedelta_to_seconds`",
"Convert datetime.timedelta to seconds\n :param value: timedelta to convert\n :type value: datetime.timedelta\n :param with_microseconds:\n :type with_microseconds: bool\n :return: seconds/seconds with microseconds or None if val is None\n :rtype: int/float/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_of_month API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_of_month API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Return a new datetime.datetime object with values that represent
a start of a month.
:param val: Date to ...
:type val: datetime.datetime | datetime.date
:rtype: datetime.datetime | "Return a new datetime.datetime object with values that represent\n a start of a month.\n :param val: Date to ...\n :type val: datetime.datetime | datetime.date\n :rtype: datetime.datetime" | 26 | false | tomi77/python-t77-date | start_of_month | 35,132 | |
LDU_FT/J535D165/recordlinkage/binary_vectors | LDU_FT | [
"<BEGIN>\n## `_map_tril_1d_on_2d`",
"Map 1d indices on lower triangular matrix in 2d.\n<END>",
"<BEGIN>\n## `random_pairs_without_replacement_large_frames`",
"Make a sample of random pairs with replacement\n<END>",
"<BEGIN>\n## `clean`",
"Clean string variables.",
" Clean strings in the Series by rem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the binary_vectors API.
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 binary_vectors API.
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 random binary comparison vectors.
This function is used to generate random comparison vectors. The
result of each comparison is a binary value (0 or 1).
Parameters
----------
n : int
The total number of comparison vectors.
n_match : int
The number of matching record pa... | "Generate random binary comparison vectors.\n\n This function is used to generate random comparison vectors. The\n result of each comparison is a binary value (0 or 1).\n\n Parameters\n ----------\n n : int\n The total number of comparison vectors.\n n_match : int\n The number of matchin... | 339 | false | J535D165/recordlinkage | binary_vectors | 35,133 | |
LDU_FT/gbowerman/azurerm/delete_resource_group | LDU_FT | [
"<BEGIN>\n## `get_rg_from_id`",
"get a resource group name from a VMSS ID string\n<END>",
"<BEGIN>\n## `get_user_agent`",
"User-Agent Header. Sends library identification to Azure endpoint.\n<END>",
"<BEGIN>\n## `do_get`",
"Do an HTTP GET request and return JSON.",
" Args:\n endpoint (str): Az... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_resource_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_resource_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Delete the named resource group.
Args:
access_token (str): A valid Azure authentication token.
subscription_id (str): Azure subscription id.
rgname (str): Azure resource group name.
Returns:
HTTP response. | "Delete the named resource group.\n\n Args:\n access_token (str): A valid Azure authentication token.\n subscription_id (str): Azure subscription id.\n rgname (str): Azure resource group name.\n\n Returns:\n HTTP response." | 605 | false | gbowerman/azurerm | delete_resource_group | 35,134 | |
LDU_FT/jrspruitt/ubi_reader/get_newest | LDU_FT | [
"<BEGIN>\n## `read_block`",
"Read complete PEB data from file.",
" Argument:\n Obj:block -- Block data is desired for.\n<END>",
"<BEGIN>\n## `read_block_data`",
"Read LEB data from file",
" Argument:\n Obj:block -- Block data is desired for.\n<END>",
"<BEGIN>\n## `extract_blo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_newest API.
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_newest API.
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... | Filter out old layout blocks from list
Arguments:
List:blocks -- List of block objects
List:layout_blocks -- List of layout block indexes
Returns:
List -- Newest layout blocks in list | "Filter out old layout blocks from list\n\n Arguments:\n List:blocks -- List of block objects\n List:layout_blocks -- List of layout block indexes\n\n Returns:\n List -- Newest layout blocks in list" | 67 | false | jrspruitt/ubi_reader | get_newest | 35,135 | |
LDU_FT/aetros/aetros-cli/send_message | LDU_FT | [
"<BEGIN>\n## `Popen`",
"Executes a command using subprocess.Popen and redirects output to AETROS and stdout.\n Parses stdout as well for stdout API calls.",
" Use read_line argument to read stdout of command's stdout line by line.\n Use returned process stdin to communicate with the command.",
" :... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_message API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Internal. Sends the actual message from a queue entry. | "Internal. Sends the actual message from a queue entry." | 183 | false | aetros/aetros-cli | send_message | 35,136 | |
LDU_FT/OpenTreeOfLife/peyotl/_read_master_branch_resource | LDU_FT | [
"<BEGIN>\n## `write_taxon_info`",
"Writes out data from `taxon` to the `output` stream to demonstrate\n the attributes of a taxon object.\n (currently some lines are commented out until the web-services call returns more info. See:\n https://github.com/OpenTreeOfLife/taxomachine/issues/85\n ).\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_master_branch_resource API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_master_branch_resource API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | This will force the current branch to master! | "This will force the current branch to master!" | 456 | false | OpenTreeOfLife/peyotl | _read_master_branch_resource | 35,137 | |
LDU_FT/ska-sa/spead2/_parse_format | LDU_FT | [
"<BEGIN>\n## `add_to_heap`",
"Update a heap to contains all the new items and item descriptors\n since the last call.",
" Parameters\n ----------\n heap : :py:class:`Heap`\n The heap to update.\n descriptors : {'stale', 'all', 'none'}\n Which descriptors ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_format API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Attempt to convert a SPEAD format specification to a numpy dtype.
Where necessary, `O` is used.
Raises
------
ValueError
If the format is illegal | "Attempt to convert a SPEAD format specification to a numpy dtype.\n Where necessary, `O` is used.\n\n Raises\n ------\n ValueError\n If the format is illegal" | 43 | false | ska-sa/spead2 | _parse_format | 35,138 | |
LDU_FT/inveniosoftware/invenio-access/allow_user | LDU_FT | [
"<BEGIN>\n## `removed_or_inserted_action`",
"Remove the action from cache when an item is inserted or deleted.\n<END>",
"<BEGIN>\n## `changed_action`",
"Remove the action from cache when an item is updated.\n<END>",
"<BEGIN>\n## `create`",
"Create new database row using the provided action need.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allow_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allow_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 extrac... | Allow a user identified by an email address. | "Allow a user identified by an email address." | 64 | false | inveniosoftware/invenio-access | allow_user | 35,139 | |
LDU_FT/daethnir/authprogs/install_key_data | LDU_FT | [
"<BEGIN>\n## `raise_and_log_error`",
"Raise error, including message and original traceback.",
" error: the error to raise\n message: the user-facing error message\n<END>",
"<BEGIN>\n## `get_client_ip`",
"Return the client IP from the environment.\n<END>",
"<BEGIN>\n## `check_keyname`",
"I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_key_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_key_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Install the key data into the open file. | "Install the key data into the open file." | 32 | false | daethnir/authprogs | install_key_data | 35,140 | |
LDU_FT/ramses-tech/ramses/get_collection_es | LDU_FT | [
"<BEGIN>\n## `get_existing_model`",
"Try to find existing model class named `model_name`.",
" :param model_name: String name of the model class.\n<END>",
"<BEGIN>\n## `prepare_relationship`",
"Create referenced model if it doesn't exist.",
" When preparing a relationship, we check to see if the mode... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collection_es API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_collection_es API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Get ES objects collection taking into account the generated
queryset of parent view.
This method allows working with nested resources properly. Thus a
queryset returned by this method will be a subset of its parent view's
queryset, thus filtering out objects that don't belong to the par... | "Get ES objects collection taking into account the generated\n queryset of parent view.\n\n This method allows working with nested resources properly. Thus a\n queryset returned by this method will be a subset of its parent view's\n queryset, thus filtering out objects that don't belong to t... | 180 | false | ramses-tech/ramses | get_collection_es | 35,141 | |
LDU_FT/kevinconway/venvctrl/items | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new virtual environment.",
" Args:\n python (str): The name or path of a python interpreter to use while\n creating the virtual environment.\n system_site (bool): Whether or not use use the system site packages\n within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the items API.
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 items API.
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... | Get an iter of VenvDirs and VenvFiles within the directory. | "Get an iter of VenvDirs and VenvFiles within the directory." | 51 | false | kevinconway/venvctrl | items | 35,142 | |
LDU_FT/C4ptainCrunch/ics.py/clone | LDU_FT | [
"<BEGIN>\n## `arrow_get`",
"this function exists because ICS uses ISO 8601 without dashes or\n colons, i.e. not ISO 8601 at all.\n<END>",
"<BEGIN>\n## `parse_duration`",
"Return a timedelta object from a string in the DURATION property format\n<END>",
"<BEGIN>\n## `timedelta_to_duration`",
"Return a st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clone API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns:
Todo: an exact copy of self | "Returns:\n Todo: an exact copy of self" | 50 | false | C4ptainCrunch/ics.py | clone | 35,143 | |
LDU_FT/natea/django-deployer/setup | LDU_FT | [
"<BEGIN>\n## `clone_git_repo`",
"input: repo_url\n output: path of the cloned repository\n steps:\n 1. clone the repo\n 2. parse 'site' into for templating",
" assumptions:\n repo_url = \"git@github.com:littleq0903/django-deployer-template-openshift-experiment.git\"\n repo_l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup API.
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 setup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Creates the provider config files needed to deploy your project | "Creates the provider config files needed to deploy your project" | 20 | false | natea/django-deployer | setup | 35,144 | |
LDU_FT/BlueBrain/NeuroM/plot_style | LDU_FT | [
"<BEGIN>\n## `_get_type`",
"get the type of the soma",
" Args:\n points: Soma points\n soma_class(str): one of 'contour' or 'cylinder' to specify the type\n<END>",
"<BEGIN>\n## `make_soma`",
"Make a soma object from a set of points",
" Infers the soma type (SomaSinglePoint, SomaSimpleC... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_style API.
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 plot_style API.
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... | Set the basic options of a matplotlib figure, to be used by viewing - plotting functions
Args:
fig(matplotlib figure): figure
ax(matplotlib axes, belonging to `fig`): axes
pretitle(str): String to include before the general title of the figure
posttitle (str): String to include aft... | "Set the basic options of a matplotlib figure, to be used by viewing - plotting functions\n\n Args:\n fig(matplotlib figure): figure\n ax(matplotlib axes, belonging to `fig`): axes\n\n pretitle(str): String to include before the general title of the figure\n posttitle (str): String to inc... | 706 | false | BlueBrain/NeuroM | plot_style | 35,145 | |
LDU_FT/Netflix-Skunkworks/swag-client/create_swag_from_ctx | LDU_FT | [
"<BEGIN>\n## `create_swag_from_ctx`",
"Creates SWAG client from the current context.\n<END>",
"<BEGIN>\n## `list_service`",
"Retrieve accounts pertaining to named service.\n<END>",
"<BEGIN>\n## `migrate`",
"Transition from one SWAG schema to another.\n<END>",
"<BEGIN>\n## `propagate`",
"Transfers SWAG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_swag_from_ctx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_swag_from_ctx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Creates SWAG client from the current context. | "Creates SWAG client from the current context." | 48 | false | Netflix-Skunkworks/swag-client | create_swag_from_ctx | 35,146 | |
LDU_FT/Nekroze/partpy/get_all_lines | LDU_FT | [
"<BEGIN>\n## `pretty_print`",
"Print the previous and current line with line numbers and\n a carret under the current character position.",
" Will also print a message if one is given to this exception.\n<END>",
"<BEGIN>\n## `parse`",
"Run the parser over the entire sourestring and return the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_lines API.
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_all_lines API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return all lines of the SourceString as a list of SourceLine's. | "Return all lines of the SourceString as a list of SourceLine's." | 80 | false | Nekroze/partpy | get_all_lines | 35,147 | |
LDU_FT/gplepage/lsqfit/_unpack_data | LDU_FT | [
"<BEGIN>\n## `run`",
"Append version number to lsqfit/__init__.py\n<END>",
"<BEGIN>\n## `_reformat`",
"Apply format of ``p`` to data in 1-d array ``buf``.\n<END>",
"<BEGIN>\n## `_unpack_data`",
"Unpack data and prior into ``(x, y, prior, fdata)``.",
" This routine unpacks ``data`` and ``prior`` into ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unpack_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unpack_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Unpack data and prior into ``(x, y, prior, fdata)``.
This routine unpacks ``data`` and ``prior`` into ``x, y, prior, fdata``
where ``x`` is the independent data, ``y`` is the fit data,
``prior`` is the collection of priors for the fit, and ``fdata``
contains the information about the data and prior nee... | "Unpack data and prior into ``(x, y, prior, fdata)``.\n\n This routine unpacks ``data`` and ``prior`` into ``x, y, prior, fdata``\n where ``x`` is the independent data, ``y`` is the fit data,\n ``prior`` is the collection of priors for the fit, and ``fdata``\n contains the information about the data and pri... | 208 | false | gplepage/lsqfit | _unpack_data | 35,148 | |
LDU_FT/openearth/bmi-python/set_var_slice | LDU_FT | [
"<BEGIN>\n## `colorlogs`",
"Append a rainbow logging handler and a formatter to the root logger\n<END>",
"<BEGIN>\n## `create_string_buffer`",
"create_string_buffer(aString) -> character array\n create_string_buffer(anInteger) -> character array\n create_string_buffer(aString, anInteger) -> character ar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_var_slice API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_var_slice API.
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... | Overwrite the values in variable name with data
from var, in the range (start:start+count).
Start, count can be integers for rank 1, and can be
tuples of integers for higher ranks.
For some implementations it can be equivalent and more efficient to do:
`get_var(name)[start[0]:sta... | "Overwrite the values in variable name with data\n from var, in the range (start:start+count).\n Start, count can be integers for rank 1, and can be\n tuples of integers for higher ranks.\n For some implementations it can be equivalent and more efficient to do:\n `get_var(name)[start[... | 39 | false | openearth/bmi-python | set_var_slice | 35,149 | |
LDU_FT/sods/ods/data_available | LDU_FT | [
"<BEGIN>\n## `display_url`",
"Displaying URL in an IPython notebook to allow the user to click and check on information. With thanks to Fernando Perez for putting together the implementation!\n :param target: the url to display.\n :type target: string.\n<END>",
"<BEGIN>\n## `iframe_url`",
"Produce an if... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the data_available API.
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 data_available API.
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... | Check if the data set is available on the local machine already. | "Check if the data set is available on the local machine already." | 67 | false | sods/ods | data_available | 35,150 | |
LDU_FT/python-bonobo/bonobo/write | LDU_FT | [
"<BEGIN>\n## `run`",
"Main entry point of bonobo. It takes a graph and creates all the necessary plumbing around to execute it.",
" The only necessary argument is a :class:`Graph` instance, containing the logic you actually want to execute.",
" By default, this graph will be executed using the \"threadp... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Push a list of messages in the inputs of this graph's inputs, matching the output of special node "BEGIN" in
our graph. | "Push a list of messages in the inputs of this graph's inputs, matching the output of special node \"BEGIN\" in\n our graph." | 140 | false | python-bonobo/bonobo | write | 35,151 | |
LDU_FT/vfilimonov/pydatastream/request_many | LDU_FT | [
"<BEGIN>\n## `request`",
"General function to retrieve one record in raw format.",
" query - query string for DWE system. This may be a simple instrument name\n or more complicated request. Refer to the documentation for the\n format.\n source - The name o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_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 extr... | General function to retrieve one record in raw format.
query - list of query strings for DWE system.
source - The name of datasource (default: "Datastream")
fields - Fields to be retrieved (used when the requester does not want all
fields to be delivered).
... | "General function to retrieve one record in raw format.\n\n query - list of query strings for DWE system.\n source - The name of datasource (default: \"Datastream\")\n fields - Fields to be retrieved (used when the requester does not want all\n fields to be delivered).\n... | 49 | false | vfilimonov/pydatastream | request_many | 35,152 | |
LDU_FT/wtsi-hgi/gitlab-build-variables/add | LDU_FT | [
"<BEGIN>\n## `_parse_args`",
"Parses the given CLI arguments to get a run configuration.\n :param args: CLI arguments\n :return: run configuration derived from the given CLI arguments\n<END>",
"<BEGIN>\n## `read_variables`",
"Reads variables out of a config file. Variables can be in a ini file, a shell ... | 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... | Adds the given build variables to those that already exist.
:param variables: the build variables to add
:param overwrite: whether the old variable should be overwritten in the case of a redefinition | "Adds the given build variables to those that already exist.\n :param variables: the build variables to add\n :param overwrite: whether the old variable should be overwritten in the case of a redefinition" | 28 | false | wtsi-hgi/gitlab-build-variables | add | 35,153 | |
LDU_FT/scikit-hep/probfit/gen_toyn | LDU_FT | [
"<BEGIN>\n## `parse_arg`",
"convert dictionary of keyword argument and value to positional argument\n equivalent to::",
" vnames = describe(f)\n return tuple([kwd[k] for k in vnames[offset:]])\n<END>",
"<BEGIN>\n## `_get_args_and_errors`",
"consistent algorithm to get argument and errors\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_toyn API.
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 gen_toyn API.
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... | just alias of gentoy for nample and then reshape to ntoy,nsample)
:param f:
:param nsample:
:param bound:
:param accuracy:
:param quiet:
:param kwd:
:return: | "just alias of gentoy for nample and then reshape to ntoy,nsample)\n :param f:\n :param nsample:\n :param bound:\n :param accuracy:\n :param quiet:\n :param kwd:\n :return:" | 51 | false | scikit-hep/probfit | gen_toyn | 35,154 | |
LDU_FT/pyslackers/slack-sansio/register | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a new handler for a specific :class:`slack.actions.Action` `callback_id`.\n Optional routing based on the action name too.",
" The name argument is useful for actions of type `interactive_message` to provide\n a different handler for each individual actio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Register a new handler for a specific slash command
Args:
command: Slash command
handler: Callback | "Register a new handler for a specific slash command\n\n Args:\n command: Slash command\n handler: Callback" | 113 | false | pyslackers/slack-sansio | register | 35,155 | |
LDU_FT/ghackebeil/PyORAM/calculate_bucket_level | LDU_FT | [
"<BEGIN>\n## `intdivceil`",
"Returns the exact value of ceil(x // y).\n No floating point calculations are used.\n Requires positive integer types. The result\n is undefined if at least one of the inputs\n is floating point.\n<END>",
"<BEGIN>\n## `chunkiter`",
"Chunk an iterator of unknown size. T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_bucket_level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_bucket_level API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Calculate the level in which a 0-based bucket
lives inside of a k-ary heap. | "Calculate the level in which a 0-based bucket\n lives inside of a k-ary heap." | 20 | false | ghackebeil/PyORAM | calculate_bucket_level | 35,156 | |
LDU_FT/Othernet-Project/hwd/stat | LDU_FT | [
"<BEGIN>\n## `devices_by_subsystem`",
"Iterator that yields devices that belong to specified subsystem. Returned\n values are ``pydev.Device`` instances.",
" The ``only`` argument can be used to further filter devices. It should be\n a function that takes a ``pyudev.Device`` object, and returns ``True`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stat API.
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 stat API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return disk usage information for the partition in :py:class:`Fstat`
format. If disk usage information is not available, then ``None`` is
returned. Disk usage information is only available for regular
filesystems that are mounted. | "Return disk usage information for the partition in :py:class:`Fstat`\n format. If disk usage information is not available, then ``None`` is\n returned. Disk usage information is only available for regular\n filesystems that are mounted." | 27 | false | Othernet-Project/hwd | stat | 35,157 | |
LDU_FT/xlorepdarkhelm/config/_attr_func_ | LDU_FT | [
"<BEGIN>\n## `_attr_data_`",
"Special property containing the memoized data.\n<END>",
"<BEGIN>\n## `_attr_data_`",
"Does not work as expected, makes an empty object with a new __slots__\n definition.\n<END>",
"<BEGIN>\n## `_attr_func_`",
"Special property containing functions to be lazily-evaluated... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _attr_func_ API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _attr_func_ API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Does not work as expected, makes an empty object with a new __slots__
definition. | "Does not work as expected, makes an empty object with a new __slots__\n definition." | 16 | false | xlorepdarkhelm/config | _attr_func_ | 35,158 | |
LDU_FT/HazyResearch/pdftotree/render_debug_img | LDU_FT | [
"<BEGIN>\n## `_retain_centroids`",
"Only keep one number for each cluster within thres of each other\n<END>",
"<BEGIN>\n## `_split_vlines_hlines`",
"Separates lines into horizontal and vertical ones\n<END>",
"<BEGIN>\n## `_mark_grid_bounds`",
"Assume all lines define a complete grid over the region_bbox.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_debug_img API.
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 render_debug_img API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Shows an image rendering of the pdf page along with debugging
info printed | "Shows an image rendering of the pdf page along with debugging\n info printed" | 113 | false | HazyResearch/pdftotree | render_debug_img | 35,159 | |
LDU_FT/ozgurgunes/django-manifest/clean_picture | LDU_FT | [
"<BEGIN>\n## `create_user`",
"A simple wrapper that creates a new :class:`User`.",
" :param username:\n String containing the username of the new user.",
" :param email:\n String containing the email address of the new user.",
" :param password:\n String... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_picture API.
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 clean_picture API.
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... | Validates format and file size of uploaded profile picture. | "Validates format and file size of uploaded profile picture." | 121 | false | ozgurgunes/django-manifest | clean_picture | 35,160 | |
LDU_FT/nschloe/meshplex/create_edges | LDU_FT | [
"<BEGIN>\n## `create_cell_volumes`",
"Computes the volumes of the \"cells\" in the mesh.\n<END>",
"<BEGIN>\n## `create_control_volumes`",
"Compute the control volumes of all nodes in the mesh.\n<END>",
"<BEGIN>\n## `get_signed_simplex_volumes`",
"Signed volume of a simplex in nD. Note that signing only ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_edges API.
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 create_edges API.
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... | Set up edge-node and edge-cell relations. | "Set up edge-node and edge-cell relations." | 44 | false | nschloe/meshplex | create_edges | 35,161 | |
LDU_FT/sdss/sdss_access/plateid6 | LDU_FT | [
"<BEGIN>\n## `remote`",
"Configures remote access",
" Parameters\n ----------\n remote_base : str\n base URL path for remote repository\n username : str\n user name for remote repository\n password : str\n password for local repository\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plateid6 API.
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 plateid6 API.
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... | Print plate ID, accounting for 5-6 digit plate IDs.
Parameters
----------
filetype : str
File type parameter.
plateid : int or str
Plate ID number. Will be converted to int internally.
Returns
-------
plateid6 : str
Plate ID ... | "Print plate ID, accounting for 5-6 digit plate IDs.\n\n Parameters\n ----------\n filetype : str\n File type parameter.\n plateid : int or str\n Plate ID number. Will be converted to int internally.\n\n Returns\n -------\n plateid6 : str\n ... | 121 | false | sdss/sdss_access | plateid6 | 35,162 | |
LDU_FT/stitchfix/fauxtograph/image_resize | LDU_FT | [
"<BEGIN>\n## `calc_fc_size`",
"Calculates shape of data after encoding.",
" Parameters\n ----------\n img_height : int\n Height of input image.\n img_width : int\n Width of input image.",
" Returns\n -------\n encoded_shape : tuple(int)\n Gives back 3-tuple with new d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the image_resize API.
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 image_resize API.
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... | Resizes all images with given paths to new dimensions.
Uses up/downscaling with antialiasing.
Parameters
----------
file_paths : List[str]
List of path strings for image to resize.
new_dir : str
Directory to place resized images.
width : int
Target width of new resiz... | "Resizes all images with given paths to new dimensions.\n Uses up/downscaling with antialiasing.\n\n Parameters\n ----------\n file_paths : List[str]\n List of path strings for image to resize.\n new_dir : str\n Directory to place resized images.\n width : int\n Target width o... | 61 | false | stitchfix/fauxtograph | image_resize | 35,163 | |
LDU_FT/spyder-ide/spyder/_update_id_list | LDU_FT | [
"<BEGIN>\n## `set_bracket_matcher_color_scheme`",
"Set color scheme for matched parentheses.\n<END>",
"<BEGIN>\n## `long_banner`",
"Banner for IPython widgets with pylab message\n<END>",
"<BEGIN>\n## `reset_namespace`",
"Reset the namespace by removing all names defined by the user.\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_id_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_id_list API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Update list of corresponpding ids and tabs. | "Update list of corresponpding ids and tabs." | 2,144 | true | spyder-ide/spyder | _update_id_list | 35,164 | |
LDU_FT/avirshup/DockerMake/sort_dependencies | LDU_FT | [
"<BEGIN>\n## `write_dockerfile`",
"Used only to write a Dockerfile that will NOT be built by docker-make\n<END>",
"<BEGIN>\n## `build`",
"Drives the build of the final image - get the list of steps and execute them.",
" Args:\n client (docker.Client): docker client object that will build t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sort_dependencies API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Topologically sort the docker commands by their requirements
Note:
Circular "requires" dependencies are assumed to have already been checked in
get_external_base_image, they are not checked here
Args:
image (str): process this docker image's dependencies
d... | "Topologically sort the docker commands by their requirements\n\n Note:\n Circular \"requires\" dependencies are assumed to have already been checked in\n get_external_base_image, they are not checked here\n\n Args:\n image (str): process this docker image's dependencies\n ... | 36 | false | avirshup/DockerMake | sort_dependencies | 35,165 | |
LDU_FT/BerkeleyAutomation/visualization/figure | LDU_FT | [
"<BEGIN>\n## `figure`",
"Create a blank figure.",
" Parameters\n ----------\n bgcolor : (3,) float\n Color of the background with values in [0,1].\n size : (2,) int\n Width and height of the figure in pixels.\n<END>",
"<BEGIN>\n## `show`",
"Display the current... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the figure API.
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 figure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create a blank figure.
Parameters
----------
bgcolor : (3,) float
Color of the background with values in [0,1].
size : (2,) int
Width and height of the figure in pixels. | "Create a blank figure.\n\n Parameters\n ----------\n bgcolor : (3,) float\n Color of the background with values in [0,1].\n size : (2,) int\n Width and height of the figure in pixels." | 54 | false | BerkeleyAutomation/visualization | figure | 35,166 | |
LDU_FT/ionelmc/python-cogen/cleanup | LDU_FT | [
"<BEGIN>\n## `run_op`",
"Handle the operation:",
" * if coro is in STATE_RUNNING, send or throw the given op\r",
" * if coro is in STATE_NEED_INIT, call the init function and if it\r\n doesn't return a generator, set STATE_COMPLETED and set the result\r\n to whatever the functi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleanup API.
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 cleanup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Remove this coro from the waiting for signal queue. | "Remove this coro from the waiting for signal queue." | 175 | false | ionelmc/python-cogen | cleanup | 35,167 | |
LDU_FT/googleads/googleads-python-lib/Pack | LDU_FT | [
"<BEGIN>\n## `CreateAdsWithCustomizations`",
"Creates ExpandedTextAds that use ad customizations for specified AdGroups.",
" Args:\n client: an AdWordsClient instance.\n adgroup_ids: a list containing the AdGroup ids to add ExpandedTextAds to.\n feed_name: the name of the feed used to apply customizat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Pack API.
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 Pack API.
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... | Pack the given object using Ad Manager-specific logic.
Args:
obj: an object to be packed for SOAP using Ad Manager-specific logic, if
applicable.
version: the version of the current API, e.g. 'v201811'
Returns:
The given object packed with Ad Manager-specific logic for SOAP,
... | "Pack the given object using Ad Manager-specific logic.\n\n Args:\n obj: an object to be packed for SOAP using Ad Manager-specific logic, if\n applicable.\n version: the version of the current API, e.g. 'v201811'\n\n Returns:\n The given object packed with Ad Manager-specific logic for SOA... | 713 | false | googleads/googleads-python-lib | Pack | 35,168 | |
LDU_FT/cltk/cltk/_setup_language_variables | LDU_FT | [
"<BEGIN>\n## `transcribe`",
"Accepts a word and returns a string of an approximate pronounciation (IPA)\n<END>",
"<BEGIN>\n## `syllabify`",
"Syllabifier module for Middle High German",
" The algorithm works by applying the MOP(Maximal Onset Principle)\n on open syllables. For closed syllables,... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setup_language_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _setup_language_variables API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Check for language availability and presence of tokenizer file,
then read punctuation characters for language and build tokenizer file
path.
:param lang: The language argument given to the class.
:type lang: str
:rtype (str, str, str) | "Check for language availability and presence of tokenizer file,\n then read punctuation characters for language and build tokenizer file\n path.\n :param lang: The language argument given to the class.\n :type lang: str\n :rtype (str, str, str)" | 1,301 | true | cltk/cltk | _setup_language_variables | 35,169 | |
LDU_FT/jmoore987/sharp_aquos_rc/digital_channel_air | LDU_FT | [
"<BEGIN>\n## `_send_command_raw`",
"Description:",
" The TV doesn't handle long running connections very well,\n so we open a new connection every time.\n There might be a better way to do this,\n but it's pretty quick and resilient.",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the digital_channel_air 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 digital_channel_air 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... | Description:
Change Channel (Digital)
Pass Channels "XX.YY" as TV.digital_channel_air(XX, YY)
Arguments:
opt1: integer
1-99: Major Channel
opt2: integer (optional)
1-99: Minor Channel | "Description:\n\n Change Channel (Digital)\n Pass Channels \"XX.YY\" as TV.digital_channel_air(XX, YY)\n\n Arguments:\n opt1: integer\n 1-99: Major Channel\n opt2: integer (optional)\n 1-99: Minor Channel" | 25 | false | jmoore987/sharp_aquos_rc | digital_channel_air | 35,170 | |
LDU_FT/jtwhite79/pyemu/get_conditional_instance | LDU_FT | [
"<BEGIN>\n## `_calc_delta`",
"calc the scaled ensemble differences from the mean\n<END>",
"<BEGIN>\n## `_calc_obs_local`",
"propagate the ensemble forward using sweep.\n<END>",
"<BEGIN>\n## `save_coo`",
"write a PEST-compatible binary file. The data format is\n [int,int,float] for i,j,value. It is a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_conditional_instance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_conditional_instance API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | get a new Schur instance that includes conditional update from
some parameters becoming known perfectly
Parameters
----------
parameter_names : list
parameters that are to be treated as notionally perfectly
known
Returns
-------
la_cond :... | "get a new Schur instance that includes conditional update from\n some parameters becoming known perfectly\n\n Parameters\n ----------\n parameter_names : list\n parameters that are to be treated as notionally perfectly\n known\n\n Returns\n -------\n ... | 1,496 | true | jtwhite79/pyemu | get_conditional_instance | 35,171 | |
LDU_FT/rkhleics/wagtailmenus/add_menu_items_for_pages | LDU_FT | [
"<BEGIN>\n## `_get_specified_sub_menu_template_name`",
"Called by get_sub_menu_template(). Iterates through the various ways in\n which developers can specify potential sub menu templates for a menu,\n and returns the name of the most suitable template for the\n ``current_level``. Values are ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_menu_items_for_pages 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 add_menu_items_for_pages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Add menu items to this menu, linking to each page in `pagequeryset`
(which should be a PageQuerySet instance) | "Add menu items to this menu, linking to each page in `pagequeryset`\n (which should be a PageQuerySet instance)" | 95 | false | rkhleics/wagtailmenus | add_menu_items_for_pages | 35,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.