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/lowandrew/OLCTools/aggregate
LDU_FT
[ "<BEGIN>\n## `classes`", "Uses .tfa files included in the ResFinder database to determine the resistance class of gene matches\n :param targetpath: Path to database files\n :return: Dictionary of resistance class: gene set\n<END>", "<BEGIN>\n## `gene_name`", "Split the FASTA header string into i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggregate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aggregate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Aggregate all reports of the same type into a master report
"Aggregate all reports of the same type into a master report"
432
false
lowandrew/OLCTools
aggregate
7,573
LDU_FT/jeremylow/pyshk/get_shared_files_from_shake
LDU_FT
[ "<BEGIN>\n## `get_user`", "Get a user object from the API. If no ``user_id`` or ``user_name``\n is specified, it will return the User object for the currently\n authenticated user.", " Args:\n user_id (int): User ID of the user for whom you want to get\n informatio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_shared_files_from_shake API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_shared_files_from_shake API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu...
Returns a list of SharedFile objects from a particular shake. Args: shake_id (int): Shake from which to get a list of SharedFiles before (str): get 10 SharedFile objects before (but not including) the SharedFile given by `before` for the given Shake. after (s...
"Returns a list of SharedFile objects from a particular shake.\n\n Args:\n shake_id (int): Shake from which to get a list of SharedFiles\n before (str): get 10 SharedFile objects before (but not including)\n the SharedFile given by `before` for the given Shake.\n a...
85
false
jeremylow/pyshk
get_shared_files_from_shake
7,574
LDU_FT/BreakingBytes/simkit/start
LDU_FT
[ "<BEGIN>\n## `register`", "Register outputs and metadata.", " * ``initial_value`` - used in dynamic calculations\n * ``size`` - number of elements per timestep\n * ``uncertainty`` - in percent of nominal value\n * ``variance`` - dictionary of covariances, diagonal is square of\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 simulation from time zero. :param model: Model with layers and registries containing parameters :type: :class:`~simkit.core.models.Model` :param progress_hook: A function that receives either a string or a list containing the index followed by tuples of the data or outputs...
"Start the simulation from time zero.\n\n :param model: Model with layers and registries containing parameters\n :type: :class:`~simkit.core.models.Model`\n :param progress_hook: A function that receives either a string or a\n list containing the index followed by tuples of the data or o...
227
false
BreakingBytes/simkit
start
7,575
LDU_FT/vinci1it2000/schedula/set_default_value
LDU_FT
[ "<BEGIN>\n## `register`", "Creates a :class:`Blueprint.cls` and calls each deferred operation.", " :param obj:\n The initialized object with which to call all deferred operations.\n :type obj: object", " :param memo:\n A dictionary to cache registered Blueprints.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_default_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_default_value API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Set the default value of a data node in the dispatcher. :param data_id: Data node id. :type data_id: str :param value: Data node default value. .. note:: If `EMPTY` the previous default value is removed. :type value: T, optional :param init...
"Set the default value of a data node in the dispatcher.\n\n :param data_id:\n Data node id.\n :type data_id: str\n\n :param value:\n Data node default value.\n\n .. note:: If `EMPTY` the previous default value is removed.\n :type value: T, optional\n\n ...
765
false
vinci1it2000/schedula
set_default_value
7,576
LDU_FT/vsjha18/nsetools/get_index_quote
LDU_FT
[ "<BEGIN>\n## `byte_adaptor`", "provides py3 compatibility by converting byte based\n file stream to string based file stream", " Arguments:\n fbuffer: file like objects containing bytes", " Returns:\n string buffer\n<END>", "<BEGIN>\n## `js_adaptor`", "convert javascript objects lik...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index_quote API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_index_quote API. 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...
params: code : string index code as_json: True|False returns: a dict | json quote for the given index
"params:\n code : string index code\n as_json: True|False\n returns:\n a dict | json quote for the given index"
30
false
vsjha18/nsetools
get_index_quote
7,577
LDU_FT/ubccr/pinky/compute_equiv_class
LDU_FT
[ "<BEGIN>\n## `draw`", "(molecule)->canonical representation of a molecule\n Well, it's only canonical if the atom symorders are\n canonical, otherwise it's arbitrary.", " atoms must have a symorder attribute\n bonds must have a equiv_class attribute\n<END>", "<BEGIN>\n## `getPyroleLikeAtoms`", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_equiv_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_equiv_class API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
(atom)->Computes a unique integer for an atom
"(atom)->Computes a unique integer for an atom"
63
false
ubccr/pinky
compute_equiv_class
7,578
LDU_FT/envi-idl/envipyengine/_user_config_file
LDU_FT
[ "<BEGIN>\n## `task`", "Returns an ENVI Py Engine Task object. See ENVI Py Engine Task for examples.", " :param task_name: The name of the task to retrieve.\n :return: An ENVI Py Engine Task object.\n<END>", "<BEGIN>\n## `tasks`", "Returns a list of all tasks known to the engine.", " :...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _user_config_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _user_config_file API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Returns the path to the settings.cfg file. On Windows the file is located in the AppData/Local/envipyengine directory. On Unix, the file will be located in the ~/.envipyengine directory. :return: String specifying the full path to the settings.cfg file
"Returns the path to the settings.cfg file. On Windows the file is\n located in the AppData/Local/envipyengine directory. On Unix, the file\n will be located in the ~/.envipyengine directory.\n\n :return: String specifying the full path to the settings.cfg file"
42
false
envi-idl/envipyengine
_user_config_file
7,579
LDU_FT/ivanprjcts/sdklib/http_response_body_should_be_this_json
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse the given XML input and convert it into a dictionary.", " `xml_input` can either be a `string` or a file-like object.", " If `xml_attribs` is `True`, element attributes are put in the dictionary\n among regular child elements, using `@` as a prefix to avoid collisions. I...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the http_response_body_should_be_this_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the http_response_body_should_be_this_json API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates...
Parameters: .. code-block:: json { "param1": "value1", "param2": "value2", "param3": { "param31": "value31" } }
"Parameters:\n\n .. code-block:: json\n\n {\n \"param1\": \"value1\",\n \"param2\": \"value2\",\n \"param3\": {\n \"param31\": \"value31\"\n }\n }"
125
false
ivanprjcts/sdklib
http_response_body_should_be_this_json
7,580
LDU_FT/asweigart/pyautogui/moveRel
LDU_FT
[ "<BEGIN>\n## `_specialKeyEvent`", "Helper method for special keys.", " Source: http://stackoverflow.com/questions/11045814/emulate-media-key-press-on-mac\n<END>", "<BEGIN>\n## `_keyDown`", "Performs a keyboard key press without the release. This will put that\n key in a held down state.", " NOTE:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the moveRel API. 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 moveRel API. 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...
Moves the mouse cursor to a point on the screen, relative to its current position. The x and y parameters detail where the mouse event happens. If None, the current mouse position is used. If a float value, it is rounded down. If outside the boundaries of the screen, the event happens at edge of the ...
"Moves the mouse cursor to a point on the screen, relative to its current\n position.\n\n The x and y parameters detail where the mouse event happens. If None, the\n current mouse position is used. If a float value, it is rounded down. If\n outside the boundaries of the screen, the event happens at edge of ...
162
false
asweigart/pyautogui
moveRel
7,581
LDU_FT/exa-analytics/exa/memory_usage
LDU_FT
[ "<BEGIN>\n## `_create`", "Globally called function for creating the isotope/element API.\n<END>", "<BEGIN>\n## `read_tarball`", "Read a (possibly compressed) tarball archive and return a dictionary of\n editors.", " .. code-block:: python", " eds = read_tarball(path, classes=MyEditor) # Al...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the memory_usage API. 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 memory_usage API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Get the memory usage estimate of the container. Args: string (bool): Human readable string (default false) See Also: :func:`~exa.core.container.Container.info`
"Get the memory usage estimate of the container.\n\n Args:\n string (bool): Human readable string (default false)\n\n See Also:\n :func:`~exa.core.container.Container.info`"
194
false
exa-analytics/exa
memory_usage
7,582
LDU_FT/Bogdanp/dramatiq/store_result
LDU_FT
[ "<BEGIN>\n## `consume`", "Create a new consumer for a queue.", " Parameters:\n queue_name(str): The queue to consume.\n prefetch(int): The number of messages to prefetch.\n timeout(int): The idle timeout in milliseconds.", " Returns:\n Consumer: A consumer tha...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the store_result API. 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 store_result API. 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...
Store a result in the backend. Parameters: message(Message) result(object): Must be serializable. ttl(int): The maximum amount of time the result may be stored in the backend for.
"Store a result in the backend.\n\n Parameters:\n message(Message)\n result(object): Must be serializable.\n ttl(int): The maximum amount of time the result may be\n stored in the backend for."
219
false
Bogdanp/dramatiq
store_result
7,583
LDU_FT/basvandenbroek/gcloud_taskqueue/delete
LDU_FT
[ "<BEGIN>\n## `get_items_from_response`", "Yield :class:`.taskqueue.task.Task` items from response.", " :type response: dict\n :param response: The JSON API response for a page of tasks.\n<END>", "<BEGIN>\n## `full_name`", "Fully-qualified name used in taskqueues / tasks APIs\n<END>", "<BEGIN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Deletes a task from Task Queue. :type client: :class:`gcloud.taskqueue.client.Client` or ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the task's taskqueue. :rtype: :class:`Task` :returns: The task...
"Deletes a task from Task Queue.\n\n :type client: :class:`gcloud.taskqueue.client.Client` or ``NoneType``\n :param client: Optional. The client to use. If not passed, falls back\n to the ``client`` stored on the task's taskqueue.\n\n :rtype: :class:`Task`\n :returns: ...
74
false
basvandenbroek/gcloud_taskqueue
delete
7,584
LDU_FT/openego/ding0/check_voltage
LDU_FT
[ "<BEGIN>\n## `print_upper_triangular_matrix`", "Prints a CVRP data dict matrix", " Arguments\n ---------\n matrix : dict\n Description", " Notes\n -----\n It is assummed that the first row of matrix contains all needed headers.\n<END>", "<BEGIN>\n## `print_upper_triangular_matrix_as...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_voltage API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_voltage API. 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...
Checks for voltage stability issues at all nodes for MV or LV grid Parameters ---------- grid : GridDing0 Grid identifier. mode : str Kind of grid ('MV' or 'LV'). Returns ------- :any:`list` of :any:`GridDing0` List of critical nodes, sorted descending by voltage di...
"Checks for voltage stability issues at all nodes for MV or LV grid\n\n Parameters\n ----------\n grid : GridDing0\n Grid identifier.\n mode : str\n Kind of grid ('MV' or 'LV').\n\n Returns\n -------\n :any:`list` of :any:`GridDing0`\n List of critical nodes, sorted descending ...
932
false
openego/ding0
check_voltage
7,585
LDU_FT/krukas/Trionyx/handle_dialog
LDU_FT
[ "<BEGIN>\n## `auto_load_model_menu`", "Auto load model menu entries, can be configured in `trionyx.config.ModelConfig`:", " - menu_name\n - menu_icon\n - menu_order\n<END>", "<BEGIN>\n## `add_item`", "Add new menu item to menu", " :param path: Path of menu\n :param name:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_dialog API. 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 handle_dialog API. 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...
Handle form and save and set success message on valid form
"Handle form and save and set success message on valid form"
88
false
krukas/Trionyx
handle_dialog
7,586
LDU_FT/pudo/jsongraph/_objectify
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 _objectify API. 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 _objectify API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Given an RDF node URI (and it's associated schema), return an object from the ``graph`` that represents the information available about this node.
"Given an RDF node URI (and it's associated schema), return an\n object from the ``graph`` that represents the information available\n about this node."
52
false
pudo/jsongraph
_objectify
7,587
LDU_FT/acrazing/dbapi/_parse_topic_table
LDU_FT
[ "<BEGIN>\n## `get_people`", "获取用户信息", " :param user_alias: 用户ID\n :return:\n<END>", "<BEGIN>\n## `build_list_result`", "构建带翻页的列表", " :param results: 已获取的数据列表\n :param xml: 原始页面xml\n :return: {'results': list, 'count': int, 'next_start': int|None}\n 如果count与results长度不同,则有更...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_topic_table API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_topic_table 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...
解析话题列表 :internal :param xml: 页面XML :param tds: 每列的含义,可以是title, created, comment, group, updated, author, time, rec :param selector: 表在页面中的位置 :return:
"解析话题列表\n \n :internal\n :param xml: 页面XML \n :param tds: 每列的含义,可以是title, created, comment, group, updated, author, time, rec\n :param selector: 表在页面中的位置\n :return:"
95
false
acrazing/dbapi
_parse_topic_table
7,588
LDU_FT/joeyespo/grip/readme_for
LDU_FT
[ "<BEGIN>\n## `_get_style_urls`", "Gets the specified resource and parses all style URLs and their\n assets in the form of the specified patterns.\n<END>", "<BEGIN>\n## `_cache_contents`", "Fetches the given URLs and caches their contents\n and their assets in the given directory.\n<END>", "<BE...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readme_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readme_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 extrac...
Returns the full path for the README file for the specified subpath, or the root filename if subpath is None. Raises ReadmeNotFoundError if a README for the specified subpath does not exist. Raises werkzeug.exceptions.NotFound if the resulting path would fall out of the root di...
"Returns the full path for the README file for the specified\n subpath, or the root filename if subpath is None.\n\n Raises ReadmeNotFoundError if a README for the specified subpath\n does not exist.\n\n Raises werkzeug.exceptions.NotFound if the resulting path\n would fall out of the...
77
false
joeyespo/grip
readme_for
7,589
LDU_FT/jeffrimko/Auxly/walkfiles
LDU_FT
[ "<BEGIN>\n## `silent`", "Calls the given shell command. Output will not be displayed. Returns the\n status code.", " **Examples**:\n ::\n auxly.shell.silent(\"ls\")\n<END>", "<BEGIN>\n## `has`", "Returns true if the give shell command is available.", " **Examples**:\n ::\n aux...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walkfiles API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walkfiles API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Yields the absolute paths of files found within the given start directory. Can optionally filter paths using a regex pattern.
"Yields the absolute paths of files found within the given start\n directory. Can optionally filter paths using a regex pattern."
65
false
jeffrimko/Auxly
walkfiles
7,590
LDU_FT/aacanakin/glim/register
LDU_FT
[ "<BEGIN>\n## `import_source`", "Function imports a module given full path", " Args\n ----\n module (string): the module name\n path (string): the full path of module\n pass_errors(boolean): the switch for function\n to skip errors or not.", " Returns\n -------\n module (module): the...
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...
Function registers into self.commands from module. Args ---- module (module): The module name.
"Function registers into self.commands from module.\n\n Args\n ----\n module (module): The module name."
74
false
aacanakin/glim
register
7,591
LDU_FT/karel-brinda/rnftools/load
LDU_FT
[ "<BEGIN>\n## `recode_curesim_reads`", "Recode CuReSim output FASTQ file to the RNF-compatible output FASTQ file.", "\t\tArgs:\n\t\t\tcuresim_fastq_fo (file object): File object of CuReSim FASTQ file.\n\t\t\tfastq_rnf_fo (file object): File object of RNF FASTQ.\n\t\t\tfai_fo (file object): File object for FAI fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. 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 load API. 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...
Load RNF values from a read tuple name. Args: read_tuple_name (str): Read tuple name which the values are taken from.
"Load RNF values from a read tuple name.\n\n\t\tArgs:\n\t\t\tread_tuple_name (str): Read tuple name which the values are taken from."
84
false
karel-brinda/rnftools
load
7,592
LDU_FT/renweizhukov/pytwis/get_timeline
LDU_FT
[ "<BEGIN>\n## `_is_loggedin`", "Check if a user is logged-in by verifying the input authentication secret.", " Parameters\n ----------\n auth_secret: str\n The authentication secret of a logged-in user.", " Returns\n -------\n bool\n True if the a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_timeline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_timeline API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Get the general or user timeline. If an empty authentication secret is given, this method returns the general timeline. If an authentication secret is given and it is valid, this method returns the user timeline. If an authentication secret is given but it is invalid, this method returns an err...
"Get the general or user timeline.\n\n If an empty authentication secret is given, this method returns the general timeline.\n If an authentication secret is given and it is valid, this method returns the user timeline.\n If an authentication secret is given but it is invalid, this method returns a...
108
false
renweizhukov/pytwis
get_timeline
7,593
LDU_FT/peerplays-network/python-peerplays/bettingmarkets
LDU_FT
[ "<BEGIN>\n## `listaccounts`", "List accounts (for the connected network)\n<END>", "<BEGIN>\n## `importaccount`", "Import an account using an account password\n<END>", "<BEGIN>\n## `eventgroups`", "[bookie] List event groups for a sport", " :param str sport: Sports id\n<END>", "<BEGIN>\n## `even...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bettingmarkets API. 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 bettingmarkets API. 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...
[bookie] List betting markets for bmg :param str bmg: Betting market id
"[bookie] List betting markets for bmg\n\n :param str bmg: Betting market id"
124
false
peerplays-network/python-peerplays
bettingmarkets
7,594
LDU_FT/CenturyLinkCloud/clc-python-sdk/_ServerActions
LDU_FT
[ "<BEGIN>\n## `SetCredentials`", "Establish API username and password associated with APIv2 commands.\n<END>", "<BEGIN>\n## `get_session`", "Start a session with the given parameters", "\tUse instead of SetCredentials if you need a session object to avoid the use of global credentials.", "\tReturns a sessi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ServerActions API. 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 _ServerActions API. 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...
Archives the specified servers. :param action: the server action url to exec against :param alias: short code for a particular account. If none will use account's default alias :param servers: list of server names
"Archives the specified servers.\n\n\t\t:param action: the server action url to exec against\n\t\t:param alias: short code for a particular account. If none will use account's default alias\n\t\t:param servers: list of server names"
402
false
CenturyLinkCloud/clc-python-sdk
_ServerActions
7,595
LDU_FT/Pegase745/sqlalchemy-datatables/output_result
LDU_FT
[ "<BEGIN>\n## `clean_regex`", "Escape any regex special characters other than alternation.", " :param regex: regex from datatables interface\n :type regex: str\n :rtype: str with regex to use with database\n<END>", "<BEGIN>\n## `output_result`", "Output results in the format needed by DataTables.\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the output_result API. 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 output_result API. 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...
Output results in the format needed by DataTables.
"Output results in the format needed by DataTables."
17
false
Pegase745/sqlalchemy-datatables
output_result
7,596
LDU_FT/zarr-developers/zarr/load
LDU_FT
[ "<BEGIN>\n## `group`", "Create a group.", " Parameters\n ----------\n store : MutableMapping or string, optional\n Store or path to directory in file system.\n overwrite : bool, optional\n If True, delete any pre-existing data in `store` at `path` before\n creating the group.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. 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 load API. 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...
Load data from an array or group into memory. Parameters ---------- store : MutableMapping or string Store or path to directory in file system or name of zip file. Returns ------- out If the store contains an array, out will be a numpy array. If the store contains a gro...
"Load data from an array or group into memory.\n\n Parameters\n ----------\n store : MutableMapping or string\n Store or path to directory in file system or name of zip file.\n\n Returns\n -------\n out\n If the store contains an array, out will be a numpy array. If the store contains\n ...
436
false
zarr-developers/zarr
load
7,597
LDU_FT/onicagroup/runway/find_min_required
LDU_FT
[ "<BEGIN>\n## `fix_hyphen_commands`", "Update options to match their module names with underscores.\n<END>", "<BEGIN>\n## `calculate_hash_of_files`", "Return a hash of all of the given files at the given root.", " Adapted from stacker.hooks.aws_lambda; used according to its license:\n https://github.co...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_min_required API. 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 find_min_required API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Inspect terraform files and find minimum version.
"Inspect terraform files and find minimum version."
130
false
onicagroup/runway
find_min_required
7,598
LDU_FT/Alidron/spyrk/devices
LDU_FT
[ "<BEGIN>\n## `_check_error`", "Raises an exception if the Spark Cloud returned an error.\n<END>", "<BEGIN>\n## `_login`", "Proceed to login to the Spark Cloud and returns an access token.\n<END>", "<BEGIN>\n## `devices`", "Create a dictionary of devices known to the user account.\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the devices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the devices API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Create a dictionary of devices known to the user account.
"Create a dictionary of devices known to the user account."
12
false
Alidron/spyrk
devices
7,599
LDU_FT/edx/edx-drf-extensions/get_paginated_response
LDU_FT
[ "<BEGIN>\n## `authenticate_credentials`", "Validate the bearer token against the OAuth provider.", " Arguments:\n token (str): Access token to validate", " Returns:\n (tuple): tuple containing:", " user (User): User associated with the access token\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_paginated_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_paginated_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Annotate the response with pagination information.
"Annotate the response with pagination information."
76
false
edx/edx-drf-extensions
get_paginated_response
7,600
LDU_FT/neon-jungle/wagtailnews/build_dummy_request
LDU_FT
[ "<BEGIN>\n## `build_dummy_request`", "Construct a HttpRequest object that is, as far as possible,\n representative of ones that would receive this page as a response. Used\n for previewing / moderation and any other place where we want to\n display a view of this page in the admin interface without going...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_dummy_request API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_dummy_request 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...
Construct a HttpRequest object that is, as far as possible, representative of ones that would receive this page as a response. Used for previewing / moderation and any other place where we want to display a view of this page in the admin interface without going through the regular page routing logic.
"Construct a HttpRequest object that is, as far as possible,\n representative of ones that would receive this page as a response. Used\n for previewing / moderation and any other place where we want to\n display a view of this page in the admin interface without going\n through the regular page routing logi...
12
false
neon-jungle/wagtailnews
build_dummy_request
7,601
LDU_FT/475Cumulus/TBone/save
LDU_FT
[ "<BEGIN>\n## `request_args`", "Returns the arguments passed with the request in a dictionary.\n Returns both URL resolved arguments and query string arguments.\n<END>", "<BEGIN>\n## `connect`", "Connects a signal to a receiver function", " :param receiver:\n The callback function wh...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
If object has _id, then object will be created or fully rewritten. If not, object will be inserted and _id will be assigned.
"If object has _id, then object will be created or fully rewritten.\n If not, object will be inserted and _id will be assigned."
100
false
475Cumulus/TBone
save
7,602
LDU_FT/itamarst/eliot/write_traceback
LDU_FT
[ "<BEGIN>\n## `stopService`", "Stop the writer thread, wait for it to finish.\n<END>", "<BEGIN>\n## `bind`", "Return a new L{Message} with this message's contents plus the\n additional given bindings.\n<END>", "<BEGIN>\n## `_freeze`", "Freeze this message for logging, registering it with C{action}."...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_traceback API. 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 write_traceback API. 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...
Write the latest traceback to the log. This should be used inside an C{except} block. For example: try: dostuff() except: write_traceback(logger) Or you can pass the result of C{sys.exc_info()} to the C{exc_info} parameter.
"Write the latest traceback to the log.\n\n This should be used inside an C{except} block. For example:\n\n try:\n dostuff()\n except:\n write_traceback(logger)\n\n Or you can pass the result of C{sys.exc_info()} to the C{exc_info}\n parameter."
282
false
itamarst/eliot
write_traceback
7,603
LDU_FT/mulkieran/justbases/_repeat_length
LDU_FT
[ "<BEGIN>\n## `xform`", "Get a number as a string.", " :param number: a number\n :type number: list of int\n :param int base: the base in which this number is being represented\n :raises BasesValueError: if config is unsuitable for number\n<END>", "<BEGIN>\n## `_strip_trailing_zeros...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _repeat_length API. 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 _repeat_length API. 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...
The length of the repeated portions of ``part``. :param part: a number :type part: list of int :returns: the first index at which part repeats :rtype: int If part does not repeat, result is the length of part. Complexity: O(len(part)^2)
"The length of the repeated portions of ``part``.\n\n :param part: a number\n :type part: list of int\n :returns: the first index at which part repeats\n :rtype: int\n\n If part does not repeat, result is the length of part.\n\n Complexity: O(len(part)^2)"
127
false
mulkieran/justbases
_repeat_length
7,604
LDU_FT/ssalentin/plip/identify_kmers
LDU_FT
[ "<BEGIN>\n## `process_pdb`", "Analysis of a single PDB file. Can generate textual reports XML, PyMOL session files and images as output.\n<END>", "<BEGIN>\n## `download_structure`", "Given a PDB ID, downloads the corresponding PDB structure.\n Checks for validity of ID and handles error while downloading.\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the identify_kmers API. 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 identify_kmers API. 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...
Using the covalent linkage information, find out which fragments/subunits form a ligand.
"Using the covalent linkage information, find out which fragments/subunits form a ligand."
176
false
ssalentin/plip
identify_kmers
7,605
LDU_FT/summa-tx/riemann/witness_tx
LDU_FT
[ "<BEGIN>\n## `addsalt`", "adds a salt to the hash function (OPTIONAL)\n should be called AFTER Init, and BEFORE update\n salt: a bytestring, length determined by hashbitlen.\n if not of sufficient length, the bytestring\n will be assumed to be a big endia...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the witness_tx API. 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 witness_tx API. 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...
Construct a fully-signed segwit transaction Args: tx_ins list(TxIn instances): list of transaction inputs tx_outs list(TxOut instances): list of transaction outputs tx_witnesses list(TxWitness instances): list of transaction witnsses **kwargs: version (int): tr...
"Construct a fully-signed segwit transaction\n Args:\n tx_ins list(TxIn instances): list of transaction inputs\n tx_outs list(TxOut instances): list of transaction outputs\n tx_witnesses list(TxWitness instances): list of transaction witnsses\n **kwargs:\n version (i...
132
false
summa-tx/riemann
witness_tx
7,606
LDU_FT/phoebe-project/phoebe2/uniquetwig
LDU_FT
[ "<BEGIN>\n## `lc`", "Create parameters for a new light curve dataset.", " Generally, this will be used as an input to the kind argument in\n :meth:`phoebe.frontend.bundle.Bundle.add_dataset`", " :parameter **kwargs: defaults for the values of any of the parameters\n :return: a :class:`phoebe.param...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uniquetwig API. 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 uniquetwig API. 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...
see also :meth:`twig` Determine the shortest (more-or-less) twig which will point to this single Parameter in a given parent :class:`ParameterSet` :parameter ps: :class:`ParameterSet` in which the returned uniquetwig will point to this Parameter. If not provided or Non...
"see also :meth:`twig`\n\n Determine the shortest (more-or-less) twig which will point\n to this single Parameter in a given parent :class:`ParameterSet`\n\n :parameter ps: :class:`ParameterSet` in which the returned\n uniquetwig will point to this Parameter. If not provided\n ...
1,080
true
phoebe-project/phoebe2
uniquetwig
7,607
LDU_FT/racker/torment/merge
LDU_FT
[ "<BEGIN>\n## `up`", "Start the specified docker-compose services.", " Parameters\n ----------", " :``services``: a list of docker-compose service names to start (must be\n defined in docker-compose.yml)", " Return Value(s)\n ---------------", " The integer status of ``d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Merge extension into base recursively. **Argumetnts** :``base``: dictionary to overlay values onto :``extension``: dictionary to overlay with **Return Value(s)** Resulting dictionary from overlaying extension on base.
"Merge extension into base recursively.\n\n **Argumetnts**\n\n :``base``: dictionary to overlay values onto\n :``extension``: dictionary to overlay with\n\n **Return Value(s)**\n\n Resulting dictionary from overlaying extension on base."
117
false
racker/torment
merge
7,608
LDU_FT/erikrose/peep/downloaded_reqs_from_path
LDU_FT
[ "<BEGIN>\n## `activate`", "Make a compatible version of pip importable. Raise a RuntimeError if we\n couldn't.\n<END>", "<BEGIN>\n## `path_and_line`", "Return the path and line number of the file from which an\n InstallRequirement came.\n<END>", "<BEGIN>\n## `hashes_above`", "Yield hashes from conti...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the downloaded_reqs_from_path 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 downloaded_reqs_from_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Return a list of DownloadedReqs representing the requirements parsed out of a given requirements file. :arg path: The path to the requirements file :arg argv: The commandline args, starting after the subcommand
"Return a list of DownloadedReqs representing the requirements parsed\n out of a given requirements file.\n\n :arg path: The path to the requirements file\n :arg argv: The commandline args, starting after the subcommand"
53
false
erikrose/peep
downloaded_reqs_from_path
7,609
LDU_FT/stephantul/somber/quantization_error
LDU_FT
[ "<BEGIN>\n## `_calculate_influence`", "Pre-calculate the influence for a given value of sigma.", " The neighborhood has size num_neurons * num_neurons, so for a\n 30 * 30 map, the neighborhood will be size (900, 900).", " Parameters\n ----------\n neighborhood : float\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quantization_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quantization_error API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Calculate the quantization error. Find the the minimum euclidean distance between the units and some input. Parameters ---------- X : numpy array. The input data. batch_size : int The batch size to use for processing. Returns ---...
"Calculate the quantization error.\n\n Find the the minimum euclidean distance between the units and\n some input.\n\n Parameters\n ----------\n X : numpy array.\n The input data.\n batch_size : int\n The batch size to use for processing.\n\n Return...
123
false
stephantul/somber
quantization_error
7,610
LDU_FT/siemens/django-mantis-stix-importer/id_and_revision_extractor
LDU_FT
[ "<BEGIN>\n## `xml_import`", "Import a STIX or CybOX xml from file <filepath> or a string passed as ``xml_content``", " You can furhter provide:", " - a list of InfoObjects as markings with which all generated Information Objects\n will be associated (e.g., in order to provide prove...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the id_and_revision_extractor 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 id_and_revision_extractor API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi...
Function for determining an identifier (and, where applicable, timestamp/revision information) for extracted embedded content; to be used for DINGO's xml-import hook 'id_and_revision_extractor'. This function is called - for the top-level node of the XML to be imported. - for ...
"Function for determining an identifier (and, where applicable, timestamp/revision\n information) for extracted embedded content;\n to be used for DINGO's xml-import hook 'id_and_revision_extractor'.\n\n This function is called\n\n - for the top-level node of the XML to be imported.\n\n ...
46
false
siemens/django-mantis-stix-importer
id_and_revision_extractor
7,611
LDU_FT/raff/dynash/do_scan
LDU_FT
[ "<BEGIN>\n## `do_schema`", "schema", " schema --clear", " schema filed_name field_type\n<END>", "<BEGIN>\n## `do_create`", "create {tablename} [-c rc,wc] {hkey}[:{type} {rkey}:{type}]\n<END>", "<BEGIN>\n## `do_capacity`", "capacity {tablename} {read_units} {write_units}\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_scan API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_scan API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
scan [:tablename] [--batch=#] [-{max}] [+filter_attribute=filter_value] [attributes,...] filter_attribute is either the field name to filter on or a field name with a conditional, as specified in boto's documentation, in the form of {name}__{conditional} where conditional is: eq (equal val...
"scan [:tablename] [--batch=#] [-{max}] [+filter_attribute=filter_value] [attributes,...]\n\n filter_attribute is either the field name to filter on or a field name with a conditional, as specified in boto's documentation,\n in the form of {name}__{conditional} where conditional is:\n\n eq (equ...
32
false
raff/dynash
do_scan
7,612
LDU_FT/hozn/keepassdb/decrypt_aes_cbc
LDU_FT
[ "<BEGIN>\n## `to_struct`", "Initialize properties of the appropriate struct class from this model class.\n<END>", "<BEGIN>\n## `move`", "Move this group to a new parent.", " :param parent: The new parent group; if None will be root group.\n :type parent: :class:`keepassdb.model.Group`\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decrypt_aes_cbc API. 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 decrypt_aes_cbc API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
This method decrypts contents and strips padding. :rtype: bytes
"This method decrypts contents and strips padding.\n \n :rtype: bytes"
89
false
hozn/keepassdb
decrypt_aes_cbc
7,613
LDU_FT/Duke-GCB/lando-messaging/send_durable_message
LDU_FT
[ "<BEGIN>\n## `raise_on_major_version_mismatch`", "Raises error if major version is different. Other wise logs the difference.\n :param work_request: WorkRequest: request that had a different version\n :param local_version: str: our version string that does not match message.version\n<END>", "<BEGIN>\n## `...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_durable_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_durable_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. ...
Connect to queue_name, post a durable message with body, disconnect from queue_name. :param queue_name: str: name of the queue we want to put a message on :param body: content of the message we want to send
"Connect to queue_name, post a durable message with body, disconnect from queue_name.\n :param queue_name: str: name of the queue we want to put a message on\n :param body: content of the message we want to send"
50
false
Duke-GCB/lando-messaging
send_durable_message
7,614
LDU_FT/Capitains/Nautilus/xmlparse
LDU_FT
[ "<BEGIN>\n## `r_cts`", "Actual main route of CTS APIs. Transfer typical requests through the ?request=REQUESTNAME route", " :return: Response\n<END>", "<BEGIN>\n## `cts_error`", "Create a CTS Error reply", " :param error_name: Name of the error\n :param message: Message of the Error\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the xmlparse API. 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 xmlparse API. 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...
Parse a XML file :param file: Opened File :return: Tree
"Parse a XML file\n\n :param file: Opened File\n :return: Tree"
110
false
Capitains/Nautilus
xmlparse
7,615
LDU_FT/blockchain-certificates/cert-issuer/get_balance
LDU_FT
[ "<BEGIN>\n## `check_internet_off`", "If internet off and USB plugged in, returns true. Else, continues to wait...\n<END>", "<BEGIN>\n## `check_internet_on`", "If internet on and USB unplugged, returns true. Else, continues to wait...\n<END>", "<BEGIN>\n## `issue`", "Issue the certificates on the blockchai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_balance API. 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_balance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
returns the balance in wei with some inspiration from PyWallet
"returns the balance in wei\n with some inspiration from PyWallet"
62
false
blockchain-certificates/cert-issuer
get_balance
7,616
LDU_FT/thebigmunch/google-music/playlist_subscribe
LDU_FT
[ "<BEGIN>\n## `download`", "Download a song from a Google Music library.", "\t\tParameters:\n\t\t\tsong (dict): A song dict.", "\t\tReturns:\n\t\t\ttuple: Song content as bytestring, suggested filename.\n<END>", "<BEGIN>\n## `quota`", "Get the uploaded track count and allowance.", "\t\tReturns:\n\t\t\ttu...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the playlist_subscribe 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 playlist_subscribe 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...
Subscribe to a public playlist. Parameters: playlist (dict): A public playlist dict. Returns: dict: Playlist information.
"Subscribe to a public playlist.\n\n\t\tParameters:\n\t\t\tplaylist (dict): A public playlist dict.\n\n\t\tReturns:\n\t\t\tdict: Playlist information."
268
false
thebigmunch/google-music
playlist_subscribe
7,617
LDU_FT/RI-imaging/ODTbrain/extract_lzma
LDU_FT
[ "<BEGIN>\n## `integrate_2d`", "r\"\"\"(slow) 2D reconstruction with the Fourier diffraction theorem", " Two-dimensional diffraction tomography reconstruction\n algorithm for scattering of a plane wave\n :math:`u_0(\\mathbf{r}) = u_0(x,z)`\n by a dielectric object with refractive index\n :math:`n(...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_lzma API. 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 extract_lzma API. 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...
Extract an lzma file and return the temporary file name
"Extract an lzma file and return the temporary file name"
155
false
RI-imaging/ODTbrain
extract_lzma
7,618
LDU_FT/facetoe/zenpy/upload
LDU_FT
[ "<BEGIN>\n## `agents`", "| Description: IDs of agents involved in the chat\n<END>", "<BEGIN>\n## `department`", "| Description: The ID of the department to which the chat is directed\n<END>", "<BEGIN>\n## `zendesk_ticket`", "| Description: The ID of the Zendesk Support ticket created from this chat. Av...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 Zendesk. :param fp: file object, StringIO instance, content, or file path to be uploaded :param token: upload token for uploading multiple files :param target_name: name of the file inside Zendesk :return: :class:`Upload` object containing a token and...
"Upload a file to Zendesk.\n\n :param fp: file object, StringIO instance, content, or file path to be\n uploaded\n :param token: upload token for uploading multiple files\n :param target_name: name of the file inside Zendesk\n :return: :class:`Upload` object containing a to...
321
false
facetoe/zenpy
upload
7,619
LDU_FT/jurismarches/chopper/rel_to_abs
LDU_FT
[ "<BEGIN>\n## `parse`", "Parses the CSS contents and returns the cleaned CSS as a string", " :returns: The cleaned CSS\n :rtype: str\n<END>", "<BEGIN>\n## `rel_to_abs`", "Converts relative links from css contents to absolute links", " :param base_url: The base page url to use for build...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rel_to_abs API. 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 rel_to_abs API. 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...
Converts relative links from css contents to absolute links :param base_url: The base page url to use for building absolute links :type base_url: str :param css_contents: The CSS contents to parse :type css_contents: str
"Converts relative links from css contents to absolute links\n\n :param base_url: The base page url to use for building absolute links\n :type base_url: str\n :param css_contents: The CSS contents to parse\n :type css_contents: str"
47
false
jurismarches/chopper
rel_to_abs
7,620
LDU_FT/chriskiehl/Gooey/_extract_progress
LDU_FT
[ "<BEGIN>\n## `applyStyleRules`", "Conditionally disabled/enables form fields based on the current\r\n section in the radio group\n<END>", "<BEGIN>\n## `handleImplicitCheck`", "Checkboxes are hidden when inside of a RadioGroup as a selection of\r\n the Radio button is an implicit selection of the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_progress API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _extract_progress API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Finds progress information in the text using the user-supplied regex and calculation instructions
"Finds progress information in the text using the\r\n user-supplied regex and calculation instructions"
60
false
chriskiehl/Gooey
_extract_progress
7,621
LDU_FT/expfactory/expfactory/find_subdirectories
LDU_FT
[ "<BEGIN>\n## `get_experiments`", "get_experiments will return loaded json for all valid experiments from an experiment folder\n :param base: full path to the base folder with experiments inside\n :param load: if True, returns a list of loaded config.json objects. If False (default) returns the paths to the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_subdirectories 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 find_subdirectories API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Return directories (and sub) starting from a base
"Return directories (and sub) starting from a base"
128
false
expfactory/expfactory
find_subdirectories
7,622
LDU_FT/aliyun/aliyun-odps-python-sdk/cummin
LDU_FT
[ "<BEGIN>\n## `_process_worker`", "Evaluates calls from call_queue and places the results in result_queue.", " This worker is run in a separate process.", " Args:\n call_queue: A multiprocessing.Queue of _CallItems that will be read and\n evaluated by the worker.\n result_queue: ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cummin API. 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 cummin API. 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 ...
Calculate cumulative minimum of a sequence expression. :param expr: expression for calculation :param sort: name of the sort column :param ascending: whether to sort in ascending order :param unique: whether to eliminate duplicate entries :param preceding: the start point of a window :param fol...
"Calculate cumulative minimum of a sequence expression.\n\n :param expr: expression for calculation\n :param sort: name of the sort column\n :param ascending: whether to sort in ascending order\n :param unique: whether to eliminate duplicate entries\n :param preceding: the start point of a window\n :p...
1,057
true
aliyun/aliyun-odps-python-sdk
cummin
7,623
LDU_FT/textmagic/textmagic-rest-python/put_contacts
LDU_FT
[ "<BEGIN>\n## `messages`", "Fetch messages by given session id.\n An useful synonym for \"messages/search\" command with provided `sessionId` parameter.\n Returns a list of :class:`Message` objects and a pager dict.", " :Example:", " messages = client.sessions.messages(1901001)", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_contacts API. 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 put_contacts API. 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...
Assign contacts to the specified list. :Example: client.lists.put_contacts(uid=1901010, contacts="1723812,1239912") :param int uid: The unique id of the List. Required. :param str contacts: Contact ID(s), separated by comma. Required.
"Assign contacts to the specified list.\n\n :Example:\n\n client.lists.put_contacts(uid=1901010, contacts=\"1723812,1239912\")\n\n :param int uid: The unique id of the List. Required.\n :param str contacts: Contact ID(s), separated by comma. Required."
112
false
textmagic/textmagic-rest-python
put_contacts
7,624
LDU_FT/python-visualization/branca/split_six
LDU_FT
[ "<BEGIN>\n## `legend_scaler`", "Downsamples the number of legend values so that there isn't a collision\n of text on the legend colorbar (within reason). The colorbar seems to\n support ~10 entries as a maximum.\n<END>", "<BEGIN>\n## `linear_gradient`", "Given a list of hexcode values, will return a lis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_six API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_six API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Given a Pandas Series, get a domain of values from zero to the 90% quantile rounded to the nearest order-of-magnitude integer. For example, 2100 is rounded to 2000, 2790 to 3000. Parameters ---------- series: Pandas series, default None Returns ------- list
"Given a Pandas Series, get a domain of values from zero to the 90% quantile\n rounded to the nearest order-of-magnitude integer. For example, 2100 is\n rounded to 2000, 2790 to 3000.\n\n Parameters\n ----------\n series: Pandas series, default None\n\n Returns\n -------\n list"
73
false
python-visualization/branca
split_six
7,625
LDU_FT/joke2k/faker/random_digit_not_null_or_empty
LDU_FT
[ "<BEGIN>\n## `checksum`", "Calculates the checksum char used for the 16th char.\n Author: Vincenzo Palazzo\n<END>", "<BEGIN>\n## `binary`", "Returns random binary blob.", " Default blob size is 1 Mb.\n<END>", "<BEGIN>\n## `md5`", "Calculates the md5 hash of a given string\n :example 'cf...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_digit_not_null_or_empty API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the random_digit_not_null_or_empty API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Returns a random non-zero digit/number between 1 and 9 or and empty string.
"Returns a random non-zero digit/number\n between 1 and 9 or and empty string."
334
false
joke2k/faker
random_digit_not_null_or_empty
7,626
LDU_FT/closeio/tasktiger/from_id
LDU_FT
[ "<BEGIN>\n## `set_system_lock`", "Set system lock for the semaphore.", " Sets a system lock that will expire in timeout seconds. This\n overrides all other locks. Existing locks cannot be renewed\n and no new locks will be permitted until the system lock\n expires.", " Argum...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_id API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Loads a task with the given ID from the given queue in the given state. An integer may be passed in the load_executions parameter to indicate how many executions should be loaded (starting from the latest). If the task doesn't exist, None is returned.
"Loads a task with the given ID from the given queue in the given\n state. An integer may be passed in the load_executions parameter\n to indicate how many executions should be loaded (starting from the\n latest). If the task doesn't exist, None is returned."
124
false
closeio/tasktiger
from_id
7,627
LDU_FT/inveniosoftware/invenio-search/create
LDU_FT
[ "<BEGIN>\n## `index`", "Query Elasticsearch using Invenio query syntax.\n<END>", "<BEGIN>\n## `templates`", "Generate a dictionary with template names and file paths.\n<END>", "<BEGIN>\n## `register_mappings`", "Register mappings from a package under given alias.", " :param alias: The alias.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
Yield tuple with created index name and responses from a client.
"Yield tuple with created index name and responses from a client."
52
false
inveniosoftware/invenio-search
create
7,628
LDU_FT/ArchiveTeam/wpull/_prepare_request_file_vs_dir
LDU_FT
[ "<BEGIN>\n## `_update_exit_code_from_stats`", "Set the current exit code based on the Statistics.\n<END>", "<BEGIN>\n## `is_response`", "Return whether the document is likely to be a Sitemap.\n<END>", "<BEGIN>\n## `is_file`", "Return whether the file is likely a Sitemap.\n<END>", "<BEGIN>\n## `parse_url...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_request_file_vs_dir 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 _prepare_request_file_vs_dir API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl...
Check if file, modify request, and return whether is a file. Coroutine.
"Check if file, modify request, and return whether is a file.\n\n Coroutine."
896
false
ArchiveTeam/wpull
_prepare_request_file_vs_dir
7,629
LDU_FT/EconForge/dolo/parameterized_expectations
LDU_FT
[ "<BEGIN>\n## `multidot_old`", "Implements tensor operation : tensor-times-matrices.\n If last dimensions of ten represent multilinear operations of the type : [X1,...,Xk]->B[X1,...,Xk]\n and mats contains matrices or vectors [A1,...Ak] the function returns an array representing operators :\n [X1,...,Xk]-...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parameterized_expectations 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 parameterized_expectations API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Find global solution for ``model`` via parameterized expectations. Controls must be expressed as a direct function of equilibrium objects. Algorithm iterates over the expectations function in the arbitrage equation. Parameters: ---------- model : NumericModel ``dtcscc`` model to be solved ...
"Find global solution for ``model`` via parameterized expectations.\n Controls must be expressed as a direct function of equilibrium objects.\n Algorithm iterates over the expectations function in the arbitrage equation.\n\n Parameters:\n ----------\n\n model : NumericModel\n ``dtcscc`` model to b...
221
false
EconForge/dolo
parameterized_expectations
7,630
LDU_FT/trentm/cmdln/do_merge
LDU_FT
[ "<BEGIN>\n## `mkmanpage`", "Return man page content for the given `cmdln.Cmdln` subclass name.\n<END>", "<BEGIN>\n## `do_crush`", "${cmd_name}: crush your enemies!", " ${cmd_usage}\n ${cmd_option_list}\n C.f. Conan the Barbarian.\n<END>", "<BEGIN>\n## `do_add`", "Put files and direc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_merge API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Apply the differences between two sources to a working copy path. usage: 1. merge sourceURL1[@N] sourceURL2[@M] [WCPATH] 2. merge sourceWCPATH1@N sourceWCPATH2@M [WCPATH] 3. merge -r N:M SOURCE[@REV] [WCPATH] 1. In the first form, the source URLs are specifi...
"Apply the differences between two sources to a working copy path.\n\n usage:\n 1. merge sourceURL1[@N] sourceURL2[@M] [WCPATH]\n 2. merge sourceWCPATH1@N sourceWCPATH2@M [WCPATH]\n 3. merge -r N:M SOURCE[@REV] [WCPATH]\n \n 1. In the first form, the source URLs are...
207
false
trentm/cmdln
do_merge
7,631
LDU_FT/a1ezzz/wasp-general/valid_response
LDU_FT
[ "<BEGIN>\n## `connect`", ":meth:`.WNetworkClientProto.connect` method implementation\n<END>", "<BEGIN>\n## `scheme_specification`", ":meth:`.WSchemeHandler.scheme_specification` method implementation\n<END>", "<BEGIN>\n## `upload_file`", ":meth:`.WNetworkClientProto.upload_file` method implementation\n<EN...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valid_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the valid_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
:meth:`.WBeaconMessengerBase.valid_response` method implementation. Response when it has correct header. Response header must be reversed if this messenger was constructed with 'invert_hello' flag.
":meth:`.WBeaconMessengerBase.valid_response` method implementation. Response when it has correct\n\t\theader. Response header must be reversed if this messenger was constructed with 'invert_hello' flag."
917
false
a1ezzz/wasp-general
valid_response
7,632
LDU_FT/secnot/rectpack/_select_position
LDU_FT
[ "<BEGIN>\n## `_add_section`", "Adds a new section to the free section list, but before that and if \n section merge is enabled, tries to join the rectangle with all existing \n sections, if successful the resulting section is again merged with the \n remaining sections until the operation fai...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _select_position API. 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 _select_position API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Select the position where the y coordinate of the top of the rectangle is lower, if there are severtal pick the one with the smallest x coordinate
"Select the position where the y coordinate of the top of the rectangle\n is lower, if there are severtal pick the one with the smallest x \n coordinate"
103
false
secnot/rectpack
_select_position
7,633
LDU_FT/JoeVirtual/KonFoo/field_items
LDU_FT
[ "<BEGIN>\n## `to_json`", "Returns the selected field *attributes* for each :class:`Field` *nested*\n in the `Container` as a JSON formatted string.", " The *attributes* of each :class:`Field` for containers *nested* in the\n `Container` are viewed as well (chained method call).", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the field_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the field_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 extra...
Returns a **flatten** list of ``('field path', field item)`` tuples for each :class:`Field` *nested* in the `Structure`. :param str path: field path of the `Structure`. :keyword bool nested: if ``True`` all :class:`Pointer` fields in the :attr:`~Pointer.data` objects of all :class:`...
"Returns a **flatten** list of ``('field path', field item)`` tuples\n for each :class:`Field` *nested* in the `Structure`.\n\n :param str path: field path of the `Structure`.\n :keyword bool nested: if ``True`` all :class:`Pointer` fields in the\n :attr:`~Pointer.data` objects of all :c...
233
false
JoeVirtual/KonFoo
field_items
7,634
LDU_FT/CivicSpleen/ambry/find_ge_index
LDU_FT
[ "<BEGIN>\n## `_or_join`", "Joins terms using OR operator.", " Args:\n terms (list): terms to join", " Examples:\n self._or_join(['term1', 'term2']) -> 'term1 | term2'", " Returns:\n str\n<END>", "<BEGIN>\n## `search`", "Finds datasets by search phras...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_ge_index API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_ge_index API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Return first item with a key >= equal to k. Raise ValueError if not found
"Return first item with a key >= equal to k. Raise ValueError if not found"
1,165
true
CivicSpleen/ambry
find_ge_index
7,635
LDU_FT/4Catalyzer/flask-resty/add_parameter
LDU_FT
[ "<BEGIN>\n## `get_marshmallow_schema_name`", "Get the schema name.", " If the schema doesn't exist, create it.\n<END>", "<BEGIN>\n## `request_args`", "Use args_schema to parse request query arguments.\n<END>", "<BEGIN>\n## `query`", "The SQLAlchemy query for the view.", " Override this t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_parameter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_parameter API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Adds a new parameter to the request :param location: the 'in' field of the parameter (e.g: 'query', 'body', 'path')
"Adds a new parameter to the request\n :param location: the 'in' field of the parameter (e.g: 'query',\n 'body', 'path')"
32
false
4Catalyzer/flask-resty
add_parameter
7,636
LDU_FT/tslight/treepick/prevparent
LDU_FT
[ "<BEGIN>\n## `drawtree`", "Loop over the object, process path attribute sets, and drawlines based\n on their current contents.\n<END>", "<BEGIN>\n## `listdir`", "Return a list of all non dotfiles in a given directory.\n<END>", "<BEGIN>\n## `getchildren`", "Create list of absolute paths to be used t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prevparent API. 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 prevparent API. 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...
Subtract lines from our curline if the name of a node is prefixed with the parent directory when traversing the grandparent object.
"Subtract lines from our curline if the name of a node is prefixed with\n the parent directory when traversing the grandparent object."
14
false
tslight/treepick
prevparent
7,637
LDU_FT/ml4ai/delphi/extract_comments
LDU_FT
[ "<BEGIN>\n## `all_subs`", "given a list of tuples specifying the bounds of an array, all_subs()\n returns a list of all the tuples of subscripts for that array.\n<END>", "<BEGIN>\n## `idx2subs`", "Given a list idx_list of index values for each dimension of an array, \n idx2subs() returns a list of...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_comments API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_comments API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Given a list of numbered lines from a Fortran file where comments internal to subprogram bodies have been moved out into their own lines, extract_comments() extracts comments into a dictionary and replaces each comment internal to subprogram bodies with a marker statement. It returns a pair ...
"Given a list of numbered lines from a Fortran file where comments\n internal to subprogram bodies have been moved out into their own lines,\n extract_comments() extracts comments into a dictionary and replaces\n each comment internal to subprogram bodies with a marker statement.\n It returns a ...
336
false
ml4ai/delphi
extract_comments
7,638
LDU_FT/pettarin/ipapy/convert_unicode_field
LDU_FT
[ "<BEGIN>\n## `can_map_ipa_string`", "Return ``True`` if the mapper can map all the IPA characters\n in the given IPA string.", " :param IPAString ipa_string: the IPAString to be parsed\n :rtype: bool\n<END>", "<BEGIN>\n## `map_ipa_string`", "Convert the given IPAString to a string\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_unicode_field 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 convert_unicode_field API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Convert a Unicode field into the corresponding list of Unicode strings. The (input) Unicode field is a Unicode string containing one or more Unicode codepoints (``xxxx`` or ``U+xxxx`` or ``xxxx_yyyy``), separated by a space. :param str string: the (input) Unicode field :rtype: list of Unicode stri...
"Convert a Unicode field into the corresponding list of Unicode strings.\n\n The (input) Unicode field is a Unicode string containing\n one or more Unicode codepoints (``xxxx`` or ``U+xxxx`` or ``xxxx_yyyy``),\n separated by a space.\n\n :param str string: the (input) Unicode field\n :rtype: list of Unic...
205
false
pettarin/ipapy
convert_unicode_field
7,639
LDU_FT/gbowerman/azurerm/do_put
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 do_put API. 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_put API. 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 an HTTP PUT request and return JSON. Args: endpoint (str): Azure Resource Manager management endpoint. body (str): JSON body of information to put. access_token (str): A valid Azure authentication token. Returns: HTTP response. JSON body.
"Do an HTTP PUT request and return JSON.\n\n Args:\n endpoint (str): Azure Resource Manager management endpoint.\n body (str): JSON body of information to put.\n access_token (str): A valid Azure authentication token.\n\n Returns:\n HTTP response. JSON body."
605
false
gbowerman/azurerm
do_put
7,640
LDU_FT/ismms-himc/clustergrammer2/filter_N_top
LDU_FT
[ "<BEGIN>\n## `run_norm`", "A dataframe (more accurately a dictionary of dataframes, e.g. mat,\n mat_up...) can be passed to run_norm and a normalization will be run (\n e.g. zscore) on either the rows or columns\n<END>", "<BEGIN>\n## `qn_df`", "do quantile normalization of a dataframe dictionary, does not w...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_N_top API. 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 filter_N_top API. 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...
Filter the matrix rows or columns based on sum/variance, and only keep the top N.
"Filter the matrix rows or columns based on sum/variance, and only keep the top\n N."
90
false
ismms-himc/clustergrammer2
filter_N_top
7,641
LDU_FT/jssimporter/python-jss/element_repr
LDU_FT
[ "<BEGIN>\n## `get`", "GET a url, handle errors, and return an etree.", " In general, it is better to use a higher level interface for\n API requests, like the search methods on this class, or the\n JSSObjects themselves.", " Args:\n url_path: String API endpoint path to ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the element_repr API. 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 element_repr API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Return a string with indented XML data. Used to replace the __repr__ method of Element.
"Return a string with indented XML data.\n\n Used to replace the __repr__ method of Element."
331
false
jssimporter/python-jss
element_repr
7,642
LDU_FT/Alveo/pyalveo/get_document
LDU_FT
[ "<BEGIN>\n## `get_all`", "Retrieve the metadata for all items in this list from the server,\n as Item objects", " :rtype: List\n :returns: a List of the corresponding Item objects\n :type force_download: Boolean\n :param force_download: True to download from the server\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_document API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_document API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Retrieve the content for the given document from the cache. :type doc_url: String or Document :param doc_url: the URL of the document, or a Document object :rtype: String :returns: the document data :raises: ValueError if the item is not in the cache
"Retrieve the content for the given document from the cache.\n\n :type doc_url: String or Document\n :param doc_url: the URL of the document, or a Document object\n\n :rtype: String\n :returns: the document data\n\n :raises: ValueError if the item is not in the cache"
268
false
Alveo/pyalveo
get_document
7,643
LDU_FT/pneff/wsgiservice/raise_405
LDU_FT
[ "<BEGIN>\n## `raise_201`", "Abort the current request with a 201 (Created) response code. Sets the\n Location header correctly. If the location does not start with a slash,\n the path of the current request is prepended.", " :param instance: Resource instance (used to access the response)\n :type in...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_405 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raise_405 API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Abort the current request with a 405 (Method Not Allowed) response code. Sets the ``Allow`` response header to the return value of the :func:`Resource.get_allowed_methods` function. :param instance: Resource instance (used to access the response) :type instance: :class:`webob.resource.Resource` :ra...
"Abort the current request with a 405 (Method Not Allowed) response\n code. Sets the ``Allow`` response header to the return value of the\n :func:`Resource.get_allowed_methods` function.\n\n :param instance: Resource instance (used to access the response)\n :type instance: :class:`webob.resource.Resource`\n...
156
false
pneff/wsgiservice
raise_405
7,644
LDU_FT/emin63/eyap/sleep_if_necessary
LDU_FT
[ "<BEGIN>\n## `make_anchor_id`", "Return string to use as URL anchor for this comment.\n<END>", "<BEGIN>\n## `make_url`", "Make URL to this comment.", " :arg my_request: The request object where this comment is seen from.", " :arg anchor_id=None: Optional anchor id. If None, we use\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sleep_if_necessary 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 sleep_if_necessary 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...
Sleep a little if hit github recently to honor rate limit.
"Sleep a little if hit github recently to honor rate limit."
126
false
emin63/eyap
sleep_if_necessary
7,645
LDU_FT/faide/py3o.template/move_siblings
LDU_FT
[ "<BEGIN>\n## `detect_keep_boundary`", "a helper to inspect a link and see if we should keep the link boundary\n<END>", "<BEGIN>\n## `move_siblings`", "a helper function that will replace a start/end node pair\n by a new containing element, effectively moving all in-between siblings\n This is particularl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_siblings API. 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 move_siblings API. 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...
a helper function that will replace a start/end node pair by a new containing element, effectively moving all in-between siblings This is particularly helpful to replace for /for loops in tables with the content resulting from the iteration This function call returns None. The parent xml tree is modifi...
"a helper function that will replace a start/end node pair\n by a new containing element, effectively moving all in-between siblings\n This is particularly helpful to replace for /for loops in tables\n with the content resulting from the iteration\n\n This function call returns None. The parent xml tree is ...
46
false
faide/py3o.template
move_siblings
7,646
LDU_FT/housecanary/hc-api-python/write_data
LDU_FT
[ "<BEGIN>\n## `normalize_cell_value`", "Process value for writing into a cell.", " Args:\n value: any type of variable", " Returns:\n json serialized value if value is list or dict, else value\n<END>", "<BEGIN>\n## `get_addresses_from_input_file`", "Read addresses from input file into l...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_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 extrac...
Writes data into worksheet. Args: worksheet: worksheet to write into data: data to be written
"Writes data into worksheet.\n\n Args:\n worksheet: worksheet to write into\n data: data to be written"
137
false
housecanary/hc-api-python
write_data
7,647
LDU_FT/amzn/ion-python/__add_shared
LDU_FT
[ "<BEGIN>\n## `local_symbol_table`", "Constructs a local symbol table.", " Args:\n imports (Optional[SymbolTable]): Shared symbol tables to import.\n symbols (Optional[Iterable[Unicode]]): Initial local symbols to add.", " Returns:\n SymbolTable: A mutable local symbol table with the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __add_shared API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __add_shared API. 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...
Adds a token, normalizing the SID and import reference to this table.
"Adds a token, normalizing the SID and import reference to this table."
384
false
amzn/ion-python
__add_shared
7,648
LDU_FT/anchore/anchore/get_version_relationship
LDU_FT
[ "<BEGIN>\n## `get_current_user_info`", "Return the metadata about the current user as supplied by the anchore.io service. Includes permissions and tier access.", " :return: Dict of user metadata\n<END>", "<BEGIN>\n## `sync`", "Sync (download) latest policies from the Anchore.io service.\n<END>", "<BEGI...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_version_relationship 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_version_relationship API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Comparison of alpine package version numbers. Roughly based on the C code from github.com/apk-tools/version.c but in pure python. :param ver_str1: :param ver_str2: :return:
"Comparison of alpine package version numbers. Roughly based on the C code from github.com/apk-tools/version.c but in pure python.\n\n :param ver_str1:\n :param ver_str2:\n :return:"
151
false
anchore/anchore
get_version_relationship
7,649
LDU_FT/pyokagan/pyglreg/get_type
LDU_FT
[ "<BEGIN>\n## `import_type`", "Import Type `name` and its dependencies from Registry `src`\n to Registry `dest`.", " :param Registry dest: Destination Registry\n :param Registry src: Source Registry\n :param str name: Name of type to import\n :param str api: Prefer to import Types with api Name `a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Returns Type `name`, with preference for the Type of `api`. :param str name: Type name :param str api: api name to prefer, of None to prefer types with no api name :return: Type object
"Returns Type `name`, with preference for the Type of `api`.\n\n :param str name: Type name\n :param str api: api name to prefer, of None to prefer types with no\n api name\n :return: Type object"
84
false
pyokagan/pyglreg
get_type
7,650
LDU_FT/scott-griffiths/bitstring/_sethex
LDU_FT
[ "<BEGIN>\n## `offsetcopy`", "Return a copy of a ByteStore with the newoffset.", " Not part of public interface.\n<END>", "<BEGIN>\n## `equal`", "Return True if ByteStores a == b.", " Not part of public interface.\n<END>", "<BEGIN>\n## `structparser`", "Parse struct-like format string token into ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sethex API. 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 _sethex API. 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...
Reset the bitstring to have the value given in hexstring.
"Reset the bitstring to have the value given in hexstring."
251
false
scott-griffiths/bitstring
_sethex
7,651
LDU_FT/Naught0/lolrune/parse_rune_html
LDU_FT
[ "<BEGIN>\n## `parse_rune_links`", "A function which parses the main Runeforge website into dict format.", " Parameters\n ----------\n html : str\n The string representation of the html obtained via a GET request.", " Returns\n -------\n dict\n The nested rune_links champ rune p...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_rune_html API. 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 parse_rune_html API. 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...
A function that returns a dict representation of the Runeforge.gg page for a specific champ Parameters ---------- html : str The string representation of the html obtained via a GET request url : str The URL for the runeforge page being parsed. Returns ------- dict ...
"A function that returns a dict representation of the Runeforge.gg page for a specific champ\n\n Parameters\n ----------\n html : str\n The string representation of the html obtained via a GET request\n\n url : str\n The URL for the runeforge page being parsed.\n\n Returns\n -------\n ...
34
false
Naught0/lolrune
parse_rune_html
7,652
LDU_FT/timmahrt/pysle/naivePhoneAlignment
LDU_FT
[ "<BEGIN>\n## `spellCheckTextgrid`", "Spell check words by using the praatio spellcheck function", " Incorrect items are noted in a new tier and optionally\n printed to the screen\n<END>", "<BEGIN>\n## `naiveWordAlignment`", "Performs naive alignment for utterances in a textgrid", " Naive alig...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the naivePhoneAlignment 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 naivePhoneAlignment 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...
Performs naive alignment for words in a textgrid Naive alignment gives each segment equal duration. Phone duration is determined by the duration of the word and the number of phones. removeOverlappingSegments - remove any labeled words or phones that fall under ...
"Performs naive alignment for words in a textgrid\n \n Naive alignment gives each segment equal duration.\n Phone duration is determined by the duration of the word\n and the number of phones.\n \n removeOverlappingSegments - remove any labeled words or phones that\n fal...
60
false
timmahrt/pysle
naivePhoneAlignment
7,653
LDU_FT/andycasey/sick/load
LDU_FT
[ "<BEGIN>\n## `chains`", "Create a plot showing the walker values for each parameter at every step.", " :param xs:\n The samples. This should be a 3D :class:`numpy.ndarray` of size \n (``n_walkers``, ``n_steps``, ``n_parameters``).", " :type xs:\n :class:`numpy.ndarray`", " :par...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. 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 load API. 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...
Load a Spectrum1D from a given filename. :param filename: The path of the filename to load. Can be either simple 1D FITS files or an ASCII filename. :type filename: str
"Load a Spectrum1D from a given filename.\n \n :param filename:\n The path of the filename to load. Can be either simple 1D FITS files\n or an ASCII filename.\n\n :type filename:\n str"
179
false
andycasey/sick
load
7,654
LDU_FT/openspending/babbage/_api_type
LDU_FT
[ "<BEGIN>\n## `count_results`", "Get the count of records matching the query.\n<END>", "<BEGIN>\n## `generate_results`", "Generate the resulting records for this query, applying pagination.\n Values will be returned by their reference.\n<END>", "<BEGIN>\n## `apply`", "Sort on a set of field specificatio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _api_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _api_type API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Returns the API type of the given value based on its python type.
"Returns the API type of the given value based on its python type."
66
false
openspending/babbage
_api_type
7,655
LDU_FT/VIVelev/PyDojoML/print_tree
LDU_FT
[ "<BEGIN>\n## `accuracy_score`", "Calculates the fraction of the correctly\n classified samples over all.", " Parameters:\n -----------\n y : vector, shape (n_samples,)\n The target labels.", " y_pred : vector, shape (n_samples,)\n The predicted labels.", " Returns:\n --------\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_tree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Prints the Decision Tree in a pretty way.
"Prints the Decision Tree in a pretty way."
170
false
VIVelev/PyDojoML
print_tree
7,656
LDU_FT/rjw57/starman/update
LDU_FT
[ "<BEGIN>\n## `as_square_array`", "Return arr massaged into a square array. Raises ValueError if arr cannot be\n so massaged.\n<END>", "<BEGIN>\n## `clone`", "Return a new :py:class:`.KalmanFilter` instance which is a shallow\n clone of this one. By \"shallow\", although the lists of measurements,\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted ...
After each :py:meth:`predict`, this method may be called repeatedly to provide additional measurements for each time step. Args: measurement (MultivariateNormal): Measurement for this time step with specified mean and covariance. measurement_matrix (array): Measu...
"After each :py:meth:`predict`, this method may be called repeatedly to\n provide additional measurements for each time step.\n\n Args:\n measurement (MultivariateNormal): Measurement for this\n time step with specified mean and covariance.\n measurement_matrix (array)...
36
false
rjw57/starman
update
7,657
LDU_FT/matze/pkgconfig/_compare_versions
LDU_FT
[ "<BEGIN>\n## `_compare_versions`", "Compare two version strings and return -1, 0 or 1 depending on the equality\n of the subset of matching version numbers.", " The implementation is inspired by the top answer at\n http://stackoverflow.com/a/1714190/997768.\n<END>", "<BEGIN>\n## `_split_version_speci...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _compare_versions API. 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 _compare_versions API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Compare two version strings and return -1, 0 or 1 depending on the equality of the subset of matching version numbers. The implementation is inspired by the top answer at http://stackoverflow.com/a/1714190/997768.
"Compare two version strings and return -1, 0 or 1 depending on the equality\n of the subset of matching version numbers.\n\n The implementation is inspired by the top answer at\n http://stackoverflow.com/a/1714190/997768."
23
false
matze/pkgconfig
_compare_versions
7,658
LDU_FT/edx/pa11ycrawler/write_pa11y_config
LDU_FT
[ "<BEGIN>\n## `make_parser`", "Returns an argparse instance for this script.\n<END>", "<BEGIN>\n## `main`", "Validates script arguments and calls the render_html() function with them.\n<END>", "<BEGIN>\n## `wcag_refs`", "Given a `code` from pa11y, return a list of the WCAG references.\n These references...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_pa11y_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_pa11y_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
The only way that pa11y will see the same page that scrapy sees is to make sure that pa11y requests the page with the same headers. However, the only way to configure request headers with pa11y is to write them into a config file. This function will create a config file, write the config into it, a...
"The only way that pa11y will see the same page that scrapy sees\n is to make sure that pa11y requests the page with the same headers.\n However, the only way to configure request headers with pa11y is to\n write them into a config file.\n\n This function will create a config file, write the config into it,...
56
false
edx/pa11ycrawler
write_pa11y_config
7,659
LDU_FT/dahlia/wikidata/page_url
LDU_FT
[ "<BEGIN>\n## `page_url`", "(:class:`str`) The canonical url of the page.\n<END>", "<BEGIN>\n## `image_url`", "r\"\"\"(:class:`~typing.Optional`\\ [:class:`str`]) The image url.\n It may be :const:`None` if it's not an image.\n<END>", "<BEGIN>\n## `image_resolution`", "r\"\"\"(:class:`~typing.Option...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the page_url API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
(:class:`str`) The canonical url of the page.
"(:class:`str`) The canonical url of the page."
33
false
dahlia/wikidata
page_url
7,660
LDU_FT/django-import-export/django-import-export/after_import
LDU_FT
[ "<BEGIN>\n## `has_import_permission`", "Returns whether a request has import permission.\n<END>", "<BEGIN>\n## `get_import_resource_kwargs`", "Prepares/returns kwargs used when initializing Resource\n<END>", "<BEGIN>\n## `process_import`", "Perform the actual import action (after the user has confirmed th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the after_import API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the after_import API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Reset the SQL sequences after new objects are imported
"Reset the SQL sequences after new objects are imported"
84
false
django-import-export/django-import-export
after_import
7,661
LDU_FT/truemped/tornadotools/cache_key
LDU_FT
[ "<BEGIN>\n## `cache_key`", "Base method for computing the cache key with respect to the given\n arguments.\n<END>", "<BEGIN>\n## `parse`", "Helper method for parsing a Mongrel2 request string and returning a new\n `MongrelRequest` instance.\n<END>", "<BEGIN>\n## `should_close`", "Check whether t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cache_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cache_key API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Base method for computing the cache key with respect to the given arguments.
"Base method for computing the cache key with respect to the given\n arguments."
17
false
truemped/tornadotools
cache_key
7,662
LDU_FT/Crunch-io/crunch-cube/_element_makings
LDU_FT
[ "<BEGIN>\n## `column_mask`", "ndarray, True where column margin <= min_base_size, same shape as slice.\n<END>", "<BEGIN>\n## `table_mask`", "ndarray, True where table margin <= min_base_size, same shape as slice.\n<END>", "<BEGIN>\n## `values`", "list of _ColumnPairwiseSignificance tests.", " Res...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _element_makings API. 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 _element_makings API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
(ElementCls, element_dicts) pair for this dimension's elements. All the elements of a given dimension are the same type. This method determines the type (class) and source dicts for the elements of this dimension and provides them for the element factory.
"(ElementCls, element_dicts) pair for this dimension's elements.\n\n All the elements of a given dimension are the same type. This method\n determines the type (class) and source dicts for the elements of this\n dimension and provides them for the element factory."
334
false
Crunch-io/crunch-cube
_element_makings
7,663
LDU_FT/fuzeman/PyUPnP/extend
LDU_FT
[ "<BEGIN>\n## `twisted_absolute_path`", "Hack to fix twisted not accepting absolute URIs\n<END>", "<BEGIN>\n## `configure`", "Configure Logr", " @param handler: Logger message handler\n @type handler: logging.Handler or None", " @param formatter: Logger message Formatter\n @type...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extend API. 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 extend API. 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 ...
L.extend(iterable) -- extend list by appending elements from the iterable
"L.extend(iterable) -- extend list by appending elements from the iterable"
29
false
fuzeman/PyUPnP
extend
7,664
LDU_FT/glormph/msstitch/mzmlfn_kronikfeature_generator
LDU_FT
[ "<BEGIN>\n## `parse_input`", "Build peptide table has no input file (though it has a lookup),\n which is why we set it to outfile name so the infile fetching\n and outfile creating wont error.\n<END>", "<BEGIN>\n## `set_feature_generator`", "Generates proteins with quant from the lookup table\n<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mzmlfn_kronikfeature_generator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mzmlfn_kronikfeature_generator API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con...
Generates tuples of spectra filename and corresponding output features from kronik
"Generates tuples of spectra filename and corresponding output\n features from kronik"
233
false
glormph/msstitch
mzmlfn_kronikfeature_generator
7,665
LDU_FT/BreakingBytes/simkit/get_covariance
LDU_FT
[ "<BEGIN>\n## `register`", "Register outputs and metadata.", " * ``initial_value`` - used in dynamic calculations\n * ``size`` - number of elements per timestep\n * ``uncertainty`` - in percent of nominal value\n * ``variance`` - dictionary of covariances, diagonal is square of\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_covariance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_covariance API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Get covariance matrix. :param datargs: data arguments :param outargs: output arguments :param vargs: variable arguments :param datvar: variance of data arguments :param outvar: variance of output arguments :return: covariance
"Get covariance matrix.\n\n :param datargs: data arguments\n :param outargs: output arguments\n :param vargs: variable arguments\n :param datvar: variance of data arguments\n :param outvar: variance of output arguments\n :return: covariance"
227
false
BreakingBytes/simkit
get_covariance
7,666
LDU_FT/svinota/mdns/handle_response
LDU_FT
[ "<BEGIN>\n## `to_string`", "String representation with additional information\n<END>", "<BEGIN>\n## `answered_by`", "Returns true if the question is answered by the record\n<END>", "<BEGIN>\n## `reset_ttl`", "Sets this record's TTL and created time to that of\n another record.\n<END>", "<BEGIN>\n...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_response API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The e...
Deal with incoming response packets. All answers are held in the cache, and listeners are notified.
"Deal with incoming response packets. All answers\n are held in the cache, and listeners are notified."
67
false
svinota/mdns
handle_response
7,667
LDU_FT/indranilsinharoy/pyzos/zSaveFile
LDU_FT
[ "<BEGIN>\n## `get_callable_method_dict`", "Returns a dictionary of callable methods of object `obj`.", " @param obj: ZOS API Python COM object\n @return: a dictionary of callable methods", " Notes: \n the function only returns the callable attributes that are listed by dir() \n function. Proper...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zSaveFile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the zSaveFile API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Saves the lens currently loaded in the server to a Zemax file
"Saves the lens currently loaded in the server to a Zemax file"
48
false
indranilsinharoy/pyzos
zSaveFile
7,668
LDU_FT/Microsoft/azure-devops-python-api/get_reviews_summary
LDU_FT
[ "<BEGIN>\n## `create_attachment`", "CreateAttachment.\n Creates an attachment in the wiki.\n :param object upload_stream: Stream to upload\n :param str project: Project ID or project name\n :param str wiki_identifier: Wiki Id or name.\n :param str name: Wiki attachment name.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reviews_summary API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_reviews_summary 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...
GetReviewsSummary. [Preview API] Returns a summary of the reviews :param str pub_name: Name of the publisher who published the extension :param str ext_name: Name of the extension :param datetime before_date: Use if you want to fetch summary of reviews older than the specified date, defa...
"GetReviewsSummary.\n [Preview API] Returns a summary of the reviews\n :param str pub_name: Name of the publisher who published the extension\n :param str ext_name: Name of the extension\n :param datetime before_date: Use if you want to fetch summary of reviews older than the specified date,...
1,304
true
Microsoft/azure-devops-python-api
get_reviews_summary
7,669
LDU_FT/equinor/segyio/depth_slice
LDU_FT
[ "<BEGIN>\n## `create`", "Create a new segy file.", " Create a new segy file with the geometry and properties given by `spec`.\n This enables creating SEGY files from your data. The created file supports\n all segyio modes, but has an emphasis on writing. The spec must be\n complete, otherwise an exc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the depth_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 extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the depth_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 extra...
Interact with segy in depth slice mode (fixed z-coordinate) Returns ------- depth : Depth Notes ----- .. versionadded:: 1.1 .. versionchanged:: 1.7.1 enabled for unstructured files
"Interact with segy in depth slice mode (fixed z-coordinate)\n\n Returns\n -------\n depth : Depth\n\n Notes\n -----\n .. versionadded:: 1.1\n\n .. versionchanged:: 1.7.1\n enabled for unstructured files"
250
false
equinor/segyio
depth_slice
7,670
LDU_FT/djaodjin/djaodjin-deployutils/load
LDU_FT
[ "<BEGIN>\n## `filter`", "Adds user and remote_addr to the record.\n<END>", "<BEGIN>\n## `package_theme`", "Package resources and templates for a multi-tier environment\n into a zip file.", " Templates are pre-compiled into ``*build_dir*/*app_name*/templates``.\n Compilation means {% assets '*path*'...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API. 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 load API. 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...
We load the data from the key itself instead of fetching from some external data store. Opposite of _get_session_key(), raises BadSignature if signature fails. $ echo '_json_formatted_' | openssl aes-256-cbc -a -k _passphrase_ -p salt=... key=... iv=... ...
"We load the data from the key itself instead of fetching from\n some external data store. Opposite of _get_session_key(),\n raises BadSignature if signature fails.\n\n $ echo '_json_formatted_' | openssl aes-256-cbc -a -k _passphrase_ -p\n salt=...\n key=...\n iv=...\n...
82
false
djaodjin/djaodjin-deployutils
load
7,671
LDU_FT/capnproto/pycapnp/ifndefs
LDU_FT
[ "<BEGIN>\n## `localpath`", "construct an absolute path from a list relative to the root pycapnp directory\n<END>", "<BEGIN>\n## `fetch_archive`", "download an archive to a specific location\n<END>", "<BEGIN>\n## `stage_platform_hpp`", "stage platform.hpp into libcapnp sources", " Tries ./configure fi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ifndefs API. 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 ifndefs API. 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...
generate `#ifndef ZMQ_CONST` block for zmq_constants.h
"generate `#ifndef ZMQ_CONST` block for zmq_constants.h"
44
false
capnproto/pycapnp
ifndefs
7,672