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/numba/llvmlite/operands
LDU_FT
[ "<BEGIN>\n## `create_mcjit_compiler`", "Create a MCJIT ExecutionEngine from the given *module* and\n *target_machine*.\n<END>", "<BEGIN>\n## `add_module`", "Ownership of module is transferred to the execution engine\n<END>", "<BEGIN>\n## `target_data`", "The TargetData for this execution engine.\n<END>...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the operands API. 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 operands API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Return an iterator over this instruction's operands. The iterator will yield a ValueRef for each operand.
"Return an iterator over this instruction's operands.\n The iterator will yield a ValueRef for each operand."
226
false
numba/llvmlite
operands
11,873
LDU_FT/gmr/helper/run
LDU_FT
[ "<BEGIN>\n## `operating_system`", "Return a string identifying the operating system the application\n is running on.", " :rtype: str\n<END>", "<BEGIN>\n## `start`", "Daemonize if the process is not already running.\n<END>", "<BEGIN>\n## `gid`", "Return the group id that the daemon will run with", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Import the controller and run it. This mimics the processing done by :func:`helper.start` when a controller is run in the foreground. A new instance of ``self.controller`` is created and run until a keyboard interrupt occurs or the controller stops on its own accord.
"Import the controller and run it.\n\n This mimics the processing done by :func:`helper.start`\n when a controller is run in the foreground. A new instance\n of ``self.controller`` is created and run until a keyboard\n interrupt occurs or the controller stops on its own accord."
77
false
gmr/helper
run
11,874
LDU_FT/lvieirajr/mongorest/insert
LDU_FT
[ "<BEGIN>\n## `insert`", "Saves the Document to the database if it is valid.\n Returns errors otherwise.\n<END>", "<BEGIN>\n## `update`", "Updates the document with the given _id saved in the collection if it\n is valid.\n Returns errors otherwise.\n<END>", "<BEGIN>\n## `delete`", "Del...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the insert API. 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 insert API. 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 ...
Saves the Document to the database if it is valid. Returns errors otherwise.
"Saves the Document to the database if it is valid.\n Returns errors otherwise."
42
false
lvieirajr/mongorest
insert
11,875
LDU_FT/cloudify-cosmo/repex/find_matches
LDU_FT
[ "<BEGIN>\n## `_get_all_files`", "Get all files for processing.", " This starts iterating from `base_dir` and checks for all files\n that look like `filename_regex` under `path` regex excluding\n all paths under the `excluded_paths` list, whether they are files\n or folders. `excluded_paths` are expl...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_matches API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_matches API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Find all matches of an expression in a file
"Find all matches of an expression in a file"
37
false
cloudify-cosmo/repex
find_matches
11,876
LDU_FT/uw-it-aca/uw-restclients/post_resource
LDU_FT
[ "<BEGIN>\n## `new_regid_custom_field`", "Return a BridgeCustomField object for REGID\n to be used in a POST, PATCH request\n<END>", "<BEGIN>\n## `get_reservations`", "Return a list of reservations matching the passed filter.\n Supported kwargs are listed at\n http://knowledge25.collegenet.com/display...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the post_resource API. 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 post_resource API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ext...
Post resource with the given json body :returns: http response data
"Post resource with the given json body\n :returns: http response data"
129
false
uw-it-aca/uw-restclients
post_resource
11,877
LDU_FT/dixudx/rtcclient/_remove_long_fields
LDU_FT
[ "<BEGIN>\n## `getRoles`", "Get all :class:`rtcclient.models.Role` objects in this project\n area", " If no :class:`Roles` are retrieved, `None` is returned.", " :return: a :class:`list` that contains all\n :class:`rtcclient.models.Role` objects\n :rtype: list\n<END>", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_long_fields API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_long_fields API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Remove long fields: These fields are can only customized after the workitems are created
"Remove long fields: These fields are can only customized after\n the workitems are created"
285
false
dixudx/rtcclient
_remove_long_fields
11,878
LDU_FT/elehcimd/pynb/cell_hash
LDU_FT
[ "<BEGIN>\n## `get_func`", "Get function from module\n :param func_name: function name\n :param module_pathname: pathname to module\n :return:\n<END>", "<BEGIN>\n## `cell_hash`", "Compute cell hash based on cell index and cell content\n :param cell: cell to be hashed\n :param cell_index...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cell_hash API. 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 cell_hash API. 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...
Compute cell hash based on cell index and cell content :param cell: cell to be hashed :param cell_index: cell index :return: hash string
"Compute cell hash based on cell index and cell content\n :param cell: cell to be hashed\n :param cell_index: cell index\n :return: hash string"
39
false
elehcimd/pynb
cell_hash
11,879
LDU_FT/etcher-be/elib_miz/get_country_by_name
LDU_FT
[ "<BEGIN>\n## `reorder`", "Re-orders a miz file into a folder (flattened)", " Args:\n miz_file_path: source miz file\n target_dir: folder to flatten the content into\n skip_options_file: do not re-order option file\n<END>", "<BEGIN>\n## `decode`", "Decodes the mission ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_country_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_country_by_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. T...
Gets a country from its name Args: country_name: country name Returns: Country
"Gets a country from its name\n\n Args:\n country_name: country name\n\n Returns: Country"
100
false
etcher-be/elib_miz
get_country_by_name
11,880
LDU_FT/djaodjin/djaodjin-deployutils/get_queryset
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 get_queryset API. 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_queryset API. 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...
Implements before date filtering on ``date_field``
"Implements before date filtering on ``date_field``"
82
false
djaodjin/djaodjin-deployutils
get_queryset
11,881
LDU_FT/satellogic/telluric/get_bounding_box
LDU_FT
[ "<BEGIN>\n## `join`", "This method takes a list of rasters and returns a raster that is constructed of all of them\n<END>", "<BEGIN>\n## `merge_all`", "Merge a list of rasters, cropping by a region of interest.\n There are cases that the roi is not precise enough for this cases one can use,\n the ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bounding_box API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_bounding_box API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Gets bounding box as GeoVector in a specified CRS.
"Gets bounding box as GeoVector in a specified CRS."
261
false
satellogic/telluric
get_bounding_box
11,882
LDU_FT/hollenstein/maspy/_fromJSON
LDU_FT
[ "<BEGIN>\n## `_getArrays`", "Return arrays with equal size of item attributes from a list of sorted\n \"items\" for fast and convenient data processing.", " :param attr: list of item attributes that should be added to the returned\n array.\n :param defaultValue: if an item is missing an attribut...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fromJSON API. 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 _fromJSON API. 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...
Generates a new instance of :class:`maspy.core.Sai` from a decoded JSON object (as generated by :func:`maspy.core.Sai._reprJSON()`). :param jsonobject: decoded JSON object :returns: a new instance of :class:`Sai`
"Generates a new instance of :class:`maspy.core.Sai` from a decoded\n JSON object (as generated by :func:`maspy.core.Sai._reprJSON()`).\n\n :param jsonobject: decoded JSON object\n\n :returns: a new instance of :class:`Sai`"
742
false
hollenstein/maspy
_fromJSON
11,883
LDU_FT/CartoDB/carto-python/copyfrom_file_path
LDU_FT
[ "<BEGIN>\n## `run`", "Actually creates the import job on the CARTO server", " :param import_params: To be send to the Import API, see CARTO's docs\n on Import API for an updated list of accepted\n params\n :type import_params: kwargs", ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copyfrom_file_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copyfrom_file_path API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Gets data from a readable file into a table :param query: The "COPY table_name [(column_name[, ...])] FROM STDIN [WITH(option[,...])]" query to execute :type query: str :param path: A path to a file :type path: str :return: Response data as json ...
"Gets data from a readable file into a table\n\n :param query: The \"COPY table_name [(column_name[, ...])]\n FROM STDIN [WITH(option[,...])]\" query to execute\n :type query: str\n\n :param path: A path to a file\n :type path: str\n\n :return: Response data ...
154
false
CartoDB/carto-python
copyfrom_file_path
11,884
LDU_FT/minus7/asif/on_message
LDU_FT
[ "<BEGIN>\n## `on_message`", "Convenience wrapper of `Client.on_message` pre-bound with `channel=self.name`.\n<END>", "<BEGIN>\n## `await_message`", "Block until a message matches. See `on_message`\n<END>", "<BEGIN>\n## `on_join`", "Register a handler that's called after a channel is joined.\n The h...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_message API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Convenience wrapper of `Client.on_message` pre-bound with `channel=self.name`.
"Convenience wrapper of `Client.on_message` pre-bound with `channel=self.name`."
19
false
minus7/asif
on_message
11,885
LDU_FT/supercoderz/pyzmq-wrapper/subscriber
LDU_FT
[ "<BEGIN>\n## `subscriber`", "Creates a subscriber binding to the given address and \n subscribe the given topics.\n The callback is invoked for every message received.", " Args:\n - address: the address to bind the PUB socket to.\n - topics: the topics to subscribe\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscriber API. 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 subscriber API. 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...
Creates a subscriber binding to the given address and subscribe the given topics. The callback is invoked for every message received. Args: - address: the address to bind the PUB socket to. - topics: the topics to subscribe - callback: the callback to invoke for eve...
"Creates a subscriber binding to the given address and \n subscribe the given topics.\n The callback is invoked for every message received.\n\n Args:\n - address: the address to bind the PUB socket to.\n - topics: the topics to subscribe\n - callback: the callback to invoke...
24
false
supercoderz/pyzmq-wrapper
subscriber
11,886
LDU_FT/cuducos/getgist/_parse_gist
LDU_FT
[ "<BEGIN>\n## `run_getgist`", "Passes user inputs to GetGist() and calls get()\n<END>", "<BEGIN>\n## `run_getmy`", "Shortcut for run_getgist() reading username from env var\n<END>", "<BEGIN>\n## `run_putgist`", "Passes user inputs to GetGist() and calls put()\n<END>", "<BEGIN>\n## `get`", "Reads the re...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_gist API. 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 _parse_gist API. 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...
Receive a gist (dict) and parse it to GetGist
"Receive a gist (dict) and parse it to GetGist"
44
false
cuducos/getgist
_parse_gist
11,887
LDU_FT/mieubrisse/wunderpy2/get_list_positions_obj
LDU_FT
[ "<BEGIN>\n## `get_endpoint_obj`", "Tiny helper function that gets used all over the place to join the object ID to the endpoint and run a GET request, returning the result\n<END>", "<BEGIN>\n## `update_endpoint_obj`", "Helper method to ease the repetitiveness of updating an... SO VERY DRY ", " (That's a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_list_positions_obj 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_list_positions_obj API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion....
Gets the object that defines how lists are ordered (there will always be only one of these) See https://developer.wunderlist.com/documentation/endpoints/positions for more info Return: A ListPositionsObj-mapped object defining the order of list layout
"Gets the object that defines how lists are ordered (there will always be only one of these)\n\n See https://developer.wunderlist.com/documentation/endpoints/positions for more info\n\n Return:\n A ListPositionsObj-mapped object defining the order of list layout"
94
false
mieubrisse/wunderpy2
get_list_positions_obj
11,888
LDU_FT/EventTeam/beliefs/next_tokens_in_sequence
LDU_FT
[ "<BEGIN>\n## `size`", "Size of LazyCell: the size of the intension plus accounting for\n excluded and included additions.", " The exclusions are assumed to be part of the set\n The inclusions are assumed to NOT be part of the intension\n<END>", "<BEGIN>\n## `update`", "Updates intensio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_tokens_in_sequence 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 next_tokens_in_sequence API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Given the observed list of tokens, and the current list, finds out what should be next next emitted word
"Given the observed list of tokens, and the current list,\n finds out what should be next next emitted word"
158
false
EventTeam/beliefs
next_tokens_in_sequence
11,889
LDU_FT/NLeSC/scriptcwl/load_cwl
LDU_FT
[ "<BEGIN>\n## `load_steps`", "Return a dictionary containing Steps read from file.", " Args:\n steps_dir (str, optional): path to directory containing CWL files.\n step_file (str, optional): path or http(s) url to a single CWL file.\n step_list (list, optional): a list of directories, url...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_cwl API. 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 load_cwl API. 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...
Load and validate CWL file using cwltool
"Load and validate CWL file using cwltool"
85
false
NLeSC/scriptcwl
load_cwl
11,890
LDU_FT/lambdamusic/Ontospy/ontologyPropTree
LDU_FT
[ "<BEGIN>\n## `main_cli`", "Ontospy allows to extract and visualise ontology information included in RDF data. Use one of the commands listed below to find out more, or visit http://lambdamusic.github.io/ontospy\n<END>", "<BEGIN>\n## `scan`", "SCAN: get ontology data from RDF source and print out a report.\n<E...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ontologyPropTree API. 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 ontologyPropTree API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Returns a dict representing the ontology tree Top level = {0:[top properties]} Multi inheritance is represented explicitly
"Returns a dict representing the ontology tree\n Top level = {0:[top properties]}\n Multi inheritance is represented explicitly"
360
false
lambdamusic/Ontospy
ontologyPropTree
11,891
LDU_FT/sphinx-contrib/paverutils/_get_paths
LDU_FT
[ "<BEGIN>\n## `pdf`", "Generate PDF output.", " Use Sphinx to produce LaTeX, then use external tools such as\n TeXLive to convert the .tex file to a PDF.", " This task uses the following options, searching first in the\n \"pdf\" then \"sphinx\" section of the options.", " docroot\n the ro...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_paths API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_paths API. 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...
Retrieves paths needed to run sphinx. Returns a Bundle with the required values filled in.
"Retrieves paths needed to run sphinx.\n\n Returns a Bundle with the required values filled in."
38
false
sphinx-contrib/paverutils
_get_paths
11,892
LDU_FT/niloch/iplotter/save
LDU_FT
[ "<BEGIN>\n## `save`", "Save the rendered html to a file in the same directory as the notebook.\n<END>", "<BEGIN>\n## `plot_and_save`", "Save the rendered html to a file and returns an IFrame to display the plot in the notebook.\n<END>", "<BEGIN>\n## `plot`", "Output an iframe containing the plot in the no...
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...
Save the rendered html to a file in the same directory as the notebook.
"Save the rendered html to a file in the same directory as the notebook."
10
false
niloch/iplotter
save
11,893
LDU_FT/radujica/baloo/weld_unique
LDU_FT
[ "<BEGIN>\n## `evaluate`", "Evaluates by creating an Index containing evaluated data.", " See `LazyResult`", " Returns\n -------\n Index\n Index with evaluated data.\n<END>", "<BEGIN>\n## `raw`", "Decorator for eager functions checking input array\n and stripping a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weld_unique API. 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 weld_unique API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Return the unique elements of the array. Parameters ---------- array : numpy.ndarray or WeldObject Input array. weld_type : WeldType Type of each element in the input array. Returns ------- WeldObject Representation of this computation.
"Return the unique elements of the array.\n\n Parameters\n ----------\n array : numpy.ndarray or WeldObject\n Input array.\n weld_type : WeldType\n Type of each element in the input array.\n\n Returns\n -------\n WeldObject\n Representation of this computation."
478
false
radujica/baloo
weld_unique
11,894
LDU_FT/reincubate/ricloud/_parse_response
LDU_FT
[ "<BEGIN>\n## `error_message_and_exit`", "Prints error messages in blue, the failed task result and quits.\n<END>", "<BEGIN>\n## `print_prompt_values`", "Prints prompt title and choices with a bit of formatting.\n<END>", "<BEGIN>\n## `prompt_for_input`", "Prints prompt instruction and does basic input pars...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_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 _parse_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...
Treat the response from ASApi. The json is dumped before checking the status as even if the response is not properly formed we are in trouble.
"Treat the response from ASApi.\n\n The json is dumped before checking the status as even if the response is\n not properly formed we are in trouble."
50
false
reincubate/ricloud
_parse_response
11,895
LDU_FT/eisensheng/kaviar/get_logger
LDU_FT
[ "<BEGIN>\n## `_version_find_existing`", "Returns set of existing versions in this repository. This\n information is backed by previously used version tags in git.\n Available tags are pulled from origin repository before.", " :return:\n available versions\n :rtype:\n set\n<END>", "<...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_logger API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_logger API. 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 new :class:`KvLoggerAdapter` which encapsulates the :class:`logging.Logger` specified by ``name``. :param name: Any amount of symbols. Will be concatenated and normalized to form the logger name. Can also be empty. :param extra: Additional conte...
"Construct a new :class:`KvLoggerAdapter` which encapsulates\n the :class:`logging.Logger` specified by ``name``.\n\n :param name:\n Any amount of symbols. Will be concatenated and normalized\n to form the logger name. Can also be empty.\n :param extra:\n Addition...
27
false
eisensheng/kaviar
get_logger
11,896
LDU_FT/d0c-s4vage/pfp/_handle_compound
LDU_FT
[ "<BEGIN>\n## `instantiate`", "Create a ParamList instance for actual interpretation", " :args: TODO\n :returns: A ParamList object\n<END>", "<BEGIN>\n## `int3`", "Define the ``Int3()`` function in the interpreter. Calling\n ``Int3()`` will drop the user into an interactive debugger.\n<END>"...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_compound API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _handle_compound API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Handle Compound nodes :node: TODO :scope: TODO :ctxt: TODO :stream: TODO :returns: TODO
"Handle Compound nodes\n\n :node: TODO\n :scope: TODO\n :ctxt: TODO\n :stream: TODO\n :returns: TODO"
383
false
d0c-s4vage/pfp
_handle_compound
11,897
LDU_FT/openstack/pyghmi/get_power
LDU_FT
[ "<BEGIN>\n## `get_bootdev`", "Get current boot device override information.", " :raises: PyghmiException on error\n :returns: dict\n<END>", "<BEGIN>\n## `set_bootdev`", "Set boot device to use on next reboot", " :param bootdev:\n *network -- Request network boot...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_power API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_power API. 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...
Get current power state of the managed system The response, if successful, should contain 'powerstate' key and either 'on' or 'off' to indicate current state. :returns: dict -- {'powerstate': value}
"Get current power state of the managed system\n\n The response, if successful, should contain 'powerstate' key and\n either 'on' or 'off' to indicate current state.\n\n :returns: dict -- {'powerstate': value}"
273
false
openstack/pyghmi
get_power
11,898
LDU_FT/swevm/scaleio-py/push_cluster_configuration
LDU_FT
[ "<BEGIN>\n## `get`", "Returns a `list` of all the `System` objects to the cluster. Updates every time - no caching.\n :return: a `list` of all the `System` objects known to the cluster.\n :rtype: list\n<END>", "<BEGIN>\n## `set_sds_name`", "Set name for SDS\n :param name: Name of SDS\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the push_cluster_configuration 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 push_cluster_configuration API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus...
Method push cached ScaleIO cluster configuration to IM (reconfigurations that have been made to cached configuration are committed using IM) Method: POST Attach JSON cluster configuration as request payload (data). Add MDM and LIA passwords)
"Method push cached ScaleIO cluster configuration to IM (reconfigurations that have been made to cached configuration are committed using IM)\n Method: POST\n Attach JSON cluster configuration as request payload (data). Add MDM and LIA passwords)"
113
false
swevm/scaleio-py
push_cluster_configuration
11,899
LDU_FT/totokaka/pySpaceGDN/add
LDU_FT
[ "<BEGIN>\n## `_create_user_agent`", "Create the user agent and return it as a string.\n<END>", "<BEGIN>\n## `sort`", "Sort the results.", " Define how the results should be sorted. The arguments should be tuples\n of string defining the key and direction to sort by. For example\n `('nam...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Add data to this response. This method should be used to add data to the response. The data should be all the data returned in one page from SpaceGDN. If this method is called before, data will be appended to the existing data with `+=`, this means dicts, for instance will not work wit...
"Add data to this response.\n\n This method should be used to add data to the response. The data should\n be all the data returned in one page from SpaceGDN.\n\n If this method is called before, data will be appended to the existing\n data with `+=`, this means dicts, for instance will not w...
27
false
totokaka/pySpaceGDN
add
11,900
LDU_FT/timstaley/voevent-parse/add_why
LDU_FT
[ "<BEGIN>\n## `Param`", "'Parameter', used as a general purpose key-value entry in the 'What' section.", " May be assembled into a :class:`Group`.", " NB ``name`` is not mandated by schema, but *is* mandated in full spec.", " Args:\n value(str): String representing parameter value.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_why API. 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 add_why API. 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...
Add Inferences, or set importance / expires attributes of the Why section. .. note:: ``importance`` / ``expires`` are 'Why' attributes, therefore setting them will overwrite previous values. ``inferences``, on the other hand, are appended to the list. Args: voevent(:class:`Vo...
"Add Inferences, or set importance / expires attributes of the Why section.\n\n .. note::\n\n ``importance`` / ``expires`` are 'Why' attributes, therefore setting them\n will overwrite previous values.\n ``inferences``, on the other hand, are appended to the list.\n\n Args:\n voevent(...
131
false
timstaley/voevent-parse
add_why
11,901
LDU_FT/Fantomas42/django-blog-zinnia/discussion_is_still_open
LDU_FT
[ "<BEGIN>\n## `safe_get_user_model`", "Safe loading of the User model, customized or not.\n<END>", "<BEGIN>\n## `get_title`", "Return the title with word count and number of comments.\n<END>", "<BEGIN>\n## `get_queryset`", "Make special filtering by user's permissions.\n<END>", "<BEGIN>\n## `get_changefo...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the discussion_is_still_open 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 discussion_is_still_open API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Checks if a type of discussion is still open are a certain number of days.
"Checks if a type of discussion is still open\n are a certain number of days."
262
false
Fantomas42/django-blog-zinnia
discussion_is_still_open
11,902
LDU_FT/aroberge/experimental/__experimental_range
LDU_FT
[ "<BEGIN>\n## `start_console`", "Starts a console; modified from code.interact\n<END>", "<BEGIN>\n## `push`", "Transform and push a line to the interpreter.", " The line should not have a trailing newline; it may have\n internal newlines. The line is appended to a buffer and the\n inter...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __experimental_range 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 __experimental_range API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Utility function made to reproduce range() with unit integer step but with the added possibility of specifying a condition on the looping variable (e.g. var % 2 == 0)
"Utility function made to reproduce range() with unit integer step\n but with the added possibility of specifying a condition\n on the looping variable (e.g. var % 2 == 0)"
54
false
aroberge/experimental
__experimental_range
11,903
LDU_FT/pennersr/django-allauth/cleanup_email_addresses
LDU_FT
[ "<BEGIN>\n## `_stash_user`", "Now, be aware, the following is quite ugly, let me explain:", " Even if the user credentials match, the authentication can fail because\n Django's default ModelBackend calls user_can_authenticate(), which\n checks `is_active`. Now, earlier versions of allauth d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cleanup_email_addresses 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 cleanup_email_addresses API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Takes a list of EmailAddress instances and cleans it up, making sure only valid ones remain, without multiple primaries etc. Order is important: e.g. if multiple primary e-mail addresses exist, the first one encountered will be kept as primary.
"Takes a list of EmailAddress instances and cleans it up, making\n sure only valid ones remain, without multiple primaries etc.\n\n Order is important: e.g. if multiple primary e-mail addresses\n exist, the first one encountered will be kept as primary."
130
false
pennersr/django-allauth
cleanup_email_addresses
11,904
LDU_FT/saltant-org/saltant-py/put
LDU_FT
[ "<BEGIN>\n## `sync`", "Sync this model with latest data on the saltant server.", " Note that in addition to returning the updated object, it also\n updates the existing object.", " Returns:\n :class:`saltant.models.base_task_type.BaseTaskType`:\n This task type i...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 doc...
Updates a task type on the saltant server. Args: id (int): The ID of the task type. name (str): The name of the task type. description (str): The description of the task type. command_to_run (str): The command to run to execute the task. environment_v...
"Updates a task type on the saltant server.\n\n Args:\n id (int): The ID of the task type.\n name (str): The name of the task type.\n description (str): The description of the task type.\n command_to_run (str): The command to run to execute the task.\n envir...
134
false
saltant-org/saltant-py
put
11,905
LDU_FT/quadrismegistus/prosodic/add_elisions
LDU_FT
[ "<BEGIN>\n## `loadLanguage`", "This function loads up a language configuration file and returns\n\tthe configuration to be passed to the syllabify function.\n<END>", "<BEGIN>\n## `syllabify`", "Syllabifies the word, given a language configuration loaded with loadLanguage.\n\t word is either a string of phon...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_elisions API. 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_elisions API. 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...
Add alternative pronunciations: those that have elided syllables
"Add alternative pronunciations: those that have elided syllables"
80
false
quadrismegistus/prosodic
add_elisions
11,906
LDU_FT/cldf/segments/from_text
LDU_FT
[ "<BEGIN>\n## `tokenize`", "Tokenize a string (passed as argument or read from stdin)", " segments [--profile=PATH/TO/PROFILE] tokenize [STRING]\n<END>", "<BEGIN>\n## `from_file`", "Read an orthography profile from a metadata file or a default tab-separated profile file.\n<END>", "<BEGIN>\n## `from_text...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_text API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Create a Profile instance from the Unicode graphemes found in `text`. Parameters ---------- text mapping Returns ------- A Profile instance.
"Create a Profile instance from the Unicode graphemes found in `text`.\n\n Parameters\n ----------\n text\n mapping\n\n Returns\n -------\n A Profile instance."
25
false
cldf/segments
from_text
11,907
LDU_FT/nocarryr/python-dispatch/submit_coroutine
LDU_FT
[ "<BEGIN>\n## `register_event`", "Registers new events after instance creation", " Args:\n *names (str): Name or names of the events to register\n<END>", "<BEGIN>\n## `bind`", "Subscribes to events or to :class:`~pydispatch.properties.Property` updates", " Keyword arguments are use...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit_coroutine API. 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 submit_coroutine API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Schedule and await a coroutine on the specified loop The coroutine is wrapped and scheduled using :func:`asyncio.run_coroutine_threadsafe`. While the coroutine is "awaited", the result is not available as method returns immediately. Args: coro: The :term:`coroutine` to sche...
"Schedule and await a coroutine on the specified loop\n\n The coroutine is wrapped and scheduled using\n :func:`asyncio.run_coroutine_threadsafe`. While the coroutine is\n \"awaited\", the result is not available as method returns immediately.\n\n Args:\n coro: The :term:`coroutin...
89
false
nocarryr/python-dispatch
submit_coroutine
11,908
LDU_FT/maxcutler/python-wordpress-xmlrpc/get_outputs
LDU_FT
[ "<BEGIN>\n## `convert_to_python`", "Extracts a value for the field from an XML-RPC response.\n<END>", "<BEGIN>\n## `get_outputs`", "Generate a set of output values for a given input.\n<END>", "<BEGIN>\n## `struct`", "XML-RPC-friendly representation of the current object state\n<END>", "<BEGIN>\n## `get_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_outputs API. 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_outputs API. 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...
Generate a set of output values for a given input.
"Generate a set of output values for a given input."
11
false
maxcutler/python-wordpress-xmlrpc
get_outputs
11,909
LDU_FT/QualiSystems/vCenterShell/deploy_from_template
LDU_FT
[ "<BEGIN>\n## `get_inventory`", "Will locate vm in vcenter and fill its uuid\n :type context: cloudshell.shell.core.context.ResourceCommandContext\n<END>", "<BEGIN>\n## `get_snapshots`", "Restores a virtual machine to a snapshot\n :param vim.ServiceInstance si: py_vmomi service instance\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deploy_from_template 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 deploy_from_template API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Deploy From Template Command, will deploy vm from template :param CancellationContext cancellation_context: :param ResourceCommandContext context: the context of the command :param DeployApp deploy_action: :return DeployAppResult deploy results
"Deploy From Template Command, will deploy vm from template\n\n :param CancellationContext cancellation_context:\n :param ResourceCommandContext context: the context of the command\n :param DeployApp deploy_action:\n :return DeployAppResult deploy results"
231
false
QualiSystems/vCenterShell
deploy_from_template
11,910
LDU_FT/delfick/nose-of-yeti/super_kls
LDU_FT
[ "<BEGIN>\n## `normalise_key`", "Make sure key is a valid python attribute\n<END>", "<BEGIN>\n## `use_options`", "If extractor isn't specified, then just update self.values with options.", " Otherwise update values with whatever the result of calling extractor with\n our template and th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the super_kls API. 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 super_kls API. 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...
Determine what kls this group inherits from If default kls should be used, then None is returned
"Determine what kls this group inherits from\n If default kls should be used, then None is returned"
59
false
delfick/nose-of-yeti
super_kls
11,911
LDU_FT/jbasko/configmanager/create_section
LDU_FT
[ "<BEGIN>\n## `values`", "Returns a mapping of items to their new values. The mapping includes only items whose value or raw string value\n has changed in the context.\n<END>", "<BEGIN>\n## `changes`", "Returns a mapping of items to their effective change objects which include the old values\n an...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_section API. 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 create_section API. 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...
Internal factory method used to create an instance of configuration section. Should only be used when extending or modifying configmanager's functionality. Under normal circumstances you should let configmanager create sections and items when parsing configuration schemas. Do not overr...
"Internal factory method used to create an instance of configuration section.\n\n Should only be used when extending or modifying configmanager's functionality.\n Under normal circumstances you should let configmanager create sections\n and items when parsing configuration schemas.\n\n Do no...
120
false
jbasko/configmanager
create_section
11,912
LDU_FT/tony-landis/datomic-py/add
LDU_FT
[ "<BEGIN>\n## `create`", "Creates the database\n >>> db.create()\n True\n<END>", "<BEGIN>\n## `tx_schema`", "Builds the data structure edn, and puts it in the db\n<END>", "<BEGIN>\n## `tx`", "Executes a raw tx string, or get a new TX object to work with.", " Passing a raw string or list of strin...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted doc...
Accumulate datums for the transaction Start a transaction on an existing db connection >>> tx = TX(db) Get get an entity object with a tempid >>> ref = add() >>> ref = add(0) >>> ref = add(None) >>> ref = add(False) Entity id passed as first argument (int|long) >>> tx.add(1, 'thin...
"Accumulate datums for the transaction\n\n Start a transaction on an existing db connection\n >>> tx = TX(db)\n\n Get get an entity object with a tempid\n >>> ref = add()\n >>> ref = add(0)\n >>> ref = add(None)\n >>> ref = add(False)\n\n Entity id passed as first argument (int|long)\n >>> tx...
31
false
tony-landis/datomic-py
add
11,913
LDU_FT/HDI-Project/MLBlocks/from_dict
LDU_FT
[ "<BEGIN>\n## `_extract_params`", "Extract init, fit and produce params from kwargs.", " The `init_params`, `fit_params` and `produce_params` are extracted\n from the passed `kwargs` taking the metadata hyperparameters as a\n reference.", " During this extraction, make sure that all...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_dict API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
Create a new MLPipeline from a dict specification. The dict structure is the same as the one created by the `to_dict` method. Args: metadata (dict): Dictionary containing the pipeline specification. Returns: MLPipeline: A new MLPipeline instance with th...
"Create a new MLPipeline from a dict specification.\n\n The dict structure is the same as the one created by the `to_dict` method.\n\n Args:\n metadata (dict): Dictionary containing the pipeline specification.\n\n Returns:\n MLPipeline:\n A new MLPipeline instan...
111
false
HDI-Project/MLBlocks
from_dict
11,914
LDU_FT/wesyoung/pyzyre/set_args
LDU_FT
[ "<BEGIN>\n## `set_header`", "Set node header; these are provided to other nodes during discovery\nand come in each ENTER message.\n<END>", "<BEGIN>\n## `set_endpoint`", "By default, Zyre binds to an ephemeral TCP port and broadcasts the local\nhost name using UDP beaconing. When you call this method, Zyre wil...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_args API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Setup the command line arguments, the first item must be an (absolute) filename to run.
"Setup the command line arguments, the first item must be an (absolute) filename\nto run."
192
false
wesyoung/pyzyre
set_args
11,915
LDU_FT/wuher/devil/_split_mod_var_names
LDU_FT
[ "<BEGIN>\n## `create`", "Create object from the given data.", " The given data may or may not have been validated prior to calling\n this function. This function will try its best in creating the object.\n If the resulting object cannot be produced, raises ``ValidationError``.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _split_mod_var_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _split_mod_var_names API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Return (module_name, class_name) pair from given string.
"Return (module_name, class_name) pair from given string."
193
false
wuher/devil
_split_mod_var_names
11,916
LDU_FT/bmihelac/django-cruds/crud_url
LDU_FT
[ "<BEGIN>\n## `crud_url_name`", "Returns url name for given model and action.\n<END>", "<BEGIN>\n## `get_fields`", "Returns ordered dict in format 'field': 'verbose_name'\n<END>", "<BEGIN>\n## `crud_url`", "Shortcut function returns URL for instance or model and action.", " Example::", " crud...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crud_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 crud_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...
Shortcut function returns URL for instance or model and action. Example:: crud_url(author, 'update') Is same as: reverse('testapp_author_update', kwargs={'pk': author.pk}) Example:: crud_url(Author, 'update') Is same as: reverse('testapp_author_list')
"Shortcut function returns URL for instance or model and action.\n\n Example::\n\n crud_url(author, 'update')\n\n Is same as:\n\n reverse('testapp_author_update', kwargs={'pk': author.pk})\n\n Example::\n\n crud_url(Author, 'update')\n\n Is same as:\n\n reverse('testapp_author_li...
34
false
bmihelac/django-cruds
crud_url
11,917
LDU_FT/hozn/keepassdb/move_group
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 move_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_group API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extrac...
Move group to be a child of new parent. :param group: The group to move. :type group: :class:`keepassdb.model.Group` :param parent: The new parent for the group. :type parent: :class:`keepassdb.model.Group` :param index: The 0-based index within the parent (defaults to a...
"Move group to be a child of new parent.\n \n :param group: The group to move.\n :type group: :class:`keepassdb.model.Group`\n :param parent: The new parent for the group.\n :type parent: :class:`keepassdb.model.Group`\n :param index: The 0-based index within the parent (defaul...
89
false
hozn/keepassdb
move_group
11,918
LDU_FT/EnigmaBridge/client.py/get_random_range
LDU_FT
[ "<BEGIN>\n## `to_bytes`", "Converts input to a byte string.\n Typically used in PyCrypto as an argument (e.g., key, iv)", " :param x: string (does nothing), bytearray, array with numbers\n :return:\n<END>", "<BEGIN>\n## `to_long`", "Converts input to a long number (arbitrary precision python long)\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_random_range API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_random_range API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
getRandomRange(a:int, b:int, randfunc:callable):long Return a random number n so that a <= n < b. If randfunc is omitted, then Random.new().read is used. This function is for internal use only and may be renamed or removed in the future.
"getRandomRange(a:int, b:int, randfunc:callable):long\n Return a random number n so that a <= n < b.\n\n If randfunc is omitted, then Random.new().read is used.\n\n This function is for internal use only and may be renamed or removed in\n the future."
107
false
EnigmaBridge/client.py
get_random_range
11,919
LDU_FT/faxir/faxir-python/list_faxes
LDU_FT
[ "<BEGIN>\n## `get_number`", "Get number information # noqa: E501", " Get info of a single number # noqa: E501\n This method makes a synchronous HTTP request by default. To make an\n asynchronous HTTP request, please pass async=True\n >>> thread = api.get_number(number, async=True)\...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_faxes API. 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 list_faxes API. 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...
Get fax records # noqa: E501 With this API call you will be able to retrieve a collection of faxes (either sent or received or spam based on the category selected). If you want to filter your archive please provide the `category` parameter # noqa: E501 This method makes a synchronous HTTP request by ...
"Get fax records # noqa: E501\n\n With this API call you will be able to retrieve a collection of faxes (either sent or received or spam based on the category selected). If you want to filter your archive please provide the `category` parameter # noqa: E501\n This method makes a synchronous HTTP request...
80
false
faxir/faxir-python
list_faxes
11,920
LDU_FT/alexras/pylsdj/load_srm
LDU_FT
[ "<BEGIN>\n## `import_from_file`", "Import this instrument's settings from the given file. Will\n automatically add the instrument's synth and table to the song's\n synths and tables if needed.", " Note that this may invalidate existing instrument accessor objects.", " :param index:...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_srm API. 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 load_srm API. 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...
Load a Project from an ``.srm`` file. :param filename: the name of the file from which to load :rtype: :py:class:`pylsdj.Project`
"Load a Project from an ``.srm`` file.\n\n :param filename: the name of the file from which to load\n :rtype: :py:class:`pylsdj.Project`"
63
false
alexras/pylsdj
load_srm
11,921
LDU_FT/openvax/isovar/ascending_sort_key
LDU_FT
[ "<BEGIN>\n## `initial_variant_sequences_from_reads`", "Get all unique sequences from reads spanning a variant locus. This will\n include partial sequences due to reads starting in the middle of the\n sequence around around a variant.\n<END>", "<BEGIN>\n## `trim_variant_sequences`", "Trim VariantSequence...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ascending_sort_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. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ascending_sort_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. Th...
Sort protein sequences lexicographically by three criteria: - number of unique supporting reads - minimum mismatch versus a supporting reference transcript before variant - minimum mismatch versus a supporting reference transcript after variant - number of supporting refe...
"Sort protein sequences lexicographically by three criteria:\n - number of unique supporting reads\n - minimum mismatch versus a supporting reference transcript before variant\n - minimum mismatch versus a supporting reference transcript after variant\n - number of supporting...
333
false
openvax/isovar
ascending_sort_key
11,922
LDU_FT/jamieleshaw/lurklib/_recv
LDU_FT
[ "<BEGIN>\n## `find`", "Finds needle in haystack.\n If needle is found return True, if not return False.\n Required arguments:\n * haystack - Text to search in.\n * needle - Text to search for.\n<END>", "<BEGIN>\n## `send`", "Send a raw string with the CR-LF appended to it.\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recv API. 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 _recv API. 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...
Receives and processes an IRC protocol message. Optional arguments: * rm_colon=False - If True: If the message is > 3 items long: Remove the colon(if found) from the [3] item. Else: Remove the colon(if fo...
"Receives and processes an IRC protocol message.\n Optional arguments:\n * rm_colon=False - If True:\n If the message is > 3 items long:\n Remove the colon(if found) from the [3] item.\n Else:\n Remove the colo...
112
false
jamieleshaw/lurklib
_recv
11,923
LDU_FT/EventTeam/beliefs/get_ordered_values
LDU_FT
[ "<BEGIN>\n## `size`", "Size of LazyCell: the size of the intension plus accounting for\n excluded and included additions.", " The exclusions are assumed to be part of the set\n The inclusions are assumed to NOT be part of the intension\n<END>", "<BEGIN>\n## `update`", "Updates intensio...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ordered_values 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 get_ordered_values 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...
Retrieves the referents's values sorted by their distance from the min, max, or mid value.
"Retrieves the referents's values sorted by their distance from the\n min, max, or mid value."
158
false
EventTeam/beliefs
get_ordered_values
11,924
LDU_FT/ralphbean/taskw/load_tasks
LDU_FT
[ "<BEGIN>\n## `_stub_task`", "Given a description, stub out a task dict.\n<END>", "<BEGIN>\n## `_extract_annotations_from_task`", "Removes annotations from a task and returns a list of annotations\n<END>", "<BEGIN>\n## `task_add`", "Add a new task.", " Takes any of the keywords allowed by taskwarr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_tasks API. 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 load_tasks API. 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 a dictionary of tasks for a list of command.
"Returns a dictionary of tasks for a list of command."
62
false
ralphbean/taskw
load_tasks
11,925
LDU_FT/poldracklab/niworkflows/index
LDU_FT
[ "<BEGIN>\n## `spike_regressors`", "Add spike regressors to a confound/nuisance matrix.", " Parameters\n ----------\n data: pandas DataFrame object\n A tabulation of observations from which spike regressors should be\n estimated.\n criteria: dict{str: ('>' or '<', float)}\n Crite...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d...
Traverse the reports config definition and instantiate reportlets. This method also places figures in their final location.
"Traverse the reports config definition and instantiate reportlets.\n This method also places figures in their final location."
305
false
poldracklab/niworkflows
index
11,926
LDU_FT/DinoTools/python-overpy/get_nodes
LDU_FT
[ "<BEGIN>\n## `_handle_remark_msg`", "Try to parse the message provided with the remark tag or element.", " :param str msg: The message\n :raises overpy.exception.OverpassRuntimeError: If message starts with 'runtime error:'\n :raises overpy.exception.OverpassRuntimeRemark: If message starts...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nodes API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extract...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nodes API. 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...
Get the nodes defining the geometry of the way :param resolve_missing: Try to resolve missing nodes. :type resolve_missing: Boolean :return: List of nodes :rtype: List of overpy.Node :raises overpy.exception.DataIncomplete: At least one referenced node is not available in the re...
"Get the nodes defining the geometry of the way\n\n :param resolve_missing: Try to resolve missing nodes.\n :type resolve_missing: Boolean\n :return: List of nodes\n :rtype: List of overpy.Node\n :raises overpy.exception.DataIncomplete: At least one referenced node is not available in...
119
false
DinoTools/python-overpy
get_nodes
11,927
LDU_FT/xsleonard/pystmark/_verify_attachments
LDU_FT
[ "<BEGIN>\n## `send`", "Send a message.", " :param message: Message to send.\n :type message: `dict` or :class:`Message`\n :param api_key: Your Postmark API key. Required, if `test` is not `True`.\n :param secure: Use the https scheme for the Postmark API.\n Defaults to `True`\n :param test...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _verify_attachments 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 _verify_attachments 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...
Verify that attachment values match the format expected by the Postmark API.
"Verify that attachment values match the format expected by the\n Postmark API."
113
false
xsleonard/pystmark
_verify_attachments
11,928
LDU_FT/pysam-developers/pysam/_update_pysam_files
LDU_FT
[ "<BEGIN>\n## `distutils_dir_name`", "Returns the name of a distutils build directory\n see: http://stackoverflow.com/questions/14320220/\n testing-python-c-libraries-get-build-path\n<END>", "<BEGIN>\n## `usage`", "return the samtools usage information for this command\n<END>", "<BEGIN>\n## ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_pysam_files 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 _update_pysam_files 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...
update pysam files applying redirection of ouput
"update pysam files applying redirection of ouput"
23
false
pysam-developers/pysam
_update_pysam_files
11,929
LDU_FT/jpoullet2000/atlasclient/create
LDU_FT
[ "<BEGIN>\n## `handle_response`", "Given a requests.Response object, throw the appropriate exception, if applicable.\n<END>", "<BEGIN>\n## `create`", "Create a new instance of this resource type.", " As a general rule, the identifier should have been provided, but in\n some subclasses the ident...
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 ...
Create a new instance of this resource type. As a general rule, the identifier should have been provided, but in some subclasses the identifier is server-side-generated. Those classes have to overload this method to deal with that scenario.
"Create a new instance of this resource type.\n\n As a general rule, the identifier should have been provided, but in\n some subclasses the identifier is server-side-generated. Those classes\n have to overload this method to deal with that scenario."
66
false
jpoullet2000/atlasclient
create
11,930
LDU_FT/pazz/urwidtrees/_confirm_pos
LDU_FT
[ "<BEGIN>\n## `_get`", "loads widget at given position; handling invalid arguments\n<END>", "<BEGIN>\n## `_next_of_kin`", "looks up the next sibling of the closest ancestor with not-None next\n siblings.\n<END>", "<BEGIN>\n## `_last_in_direction`", "move in the tree in given direction and return the...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _confirm_pos API. 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 _confirm_pos API. 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...
look up widget for pos and default to None
"look up widget for pos and default to None"
60
false
pazz/urwidtrees
_confirm_pos
11,931
LDU_FT/aiortc/aioice/connect
LDU_FT
[ "<BEGIN>\n## `create_turn_endpoint`", "Create datagram connection relayed over TURN.\n<END>", "<BEGIN>\n## `refresh`", "Periodically refresh the TURN allocation.\n<END>", "<BEGIN>\n## `request`", "Execute a STUN transaction and return the response.\n<END>", "<BEGIN>\n## `send_data`", "Send data to a r...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the connect API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Perform ICE handshake. This coroutine returns if a candidate pair was successfuly nominated and raises an exception otherwise.
"Perform ICE handshake.\n\n This coroutine returns if a candidate pair was successfuly nominated\n and raises an exception otherwise."
61
false
aiortc/aioice
connect
11,932
LDU_FT/ihmeuw/vivarium/_set_with_metadata
LDU_FT
[ "<BEGIN>\n## `setup`", "Performs this component's simulation setup.", " The ``setup`` method is automatically called by the simulation\n framework. The framework passes in a ``builder`` object which\n provides access to a variety of framework subsystems and metadata.", " Parameters...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_with_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_with_metadata API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. Th...
Set a value in the named layer with the given source. Parameters ---------- name : str The name of the value value The value to store layer : str, optional The name of the layer to store the value in. If none is supplied then the v...
"Set a value in the named layer with the given source.\n\n Parameters\n ----------\n name : str\n The name of the value\n value\n The value to store\n layer : str, optional\n The name of the layer to store the value in. If none is supplied\n ...
370
false
ihmeuw/vivarium
_set_with_metadata
11,933
LDU_FT/barrust/mediawiki/summarize
LDU_FT
[ "<BEGIN>\n## `timeout`", "Set request timeout in seconds (or fractions of a second)\n<END>", "<BEGIN>\n## `language`", "Set the language to use; attempts to change the API URL\n<END>", "<BEGIN>\n## `login`", "Login as specified user", " Args:\n username (str): The username to l...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the summarize API. 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 summarize API. 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...
Summarize page either by number of sentences, chars, or first section (**default**) Args: sentences (int): Number of sentences to use in summary \ (first `x` sentences) chars (int): Number of characters to use in summary \ ...
"Summarize page either by number of sentences, chars, or first\n section (**default**)\n\n Args:\n sentences (int): Number of sentences to use in summary \\\n (first `x` sentences)\n chars (int): Number of characters to use in summary \...
107
false
barrust/mediawiki
summarize
11,934
LDU_FT/Gorialis/jishaku/get_var_dict_from_ctx
LDU_FT
[ "<BEGIN>\n## `get_var_dict_from_ctx`", "Returns the dict to be used in REPL for a given Context.\n<END>", "<BEGIN>\n## `background_reader`", "Reads a stream and forwards each line to an async callback.\n<END>", "<BEGIN>\n## `make_reader_task`", "Create a reader executor task for a stream.\n<END>", "<BEG...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_var_dict_from_ctx API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_var_dict_from_ctx API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Returns the dict to be used in REPL for a given Context.
"Returns the dict to be used in REPL for a given Context."
161
false
Gorialis/jishaku
get_var_dict_from_ctx
11,935
LDU_FT/jeroyang/txttk/slim_stem
LDU_FT
[ "<BEGIN>\n## `from_scale`", "deprecated, for backward compactbility\n try to use from_score\n<END>", "<BEGIN>\n## `condense`", "Given multiple strings, returns a compressed regular expression just\n for these strings", " >>> condense(['she', 'he', 'her', 'hemoglobin'])\n 'he(moglobin|r)?|she...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slim_stem API. 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 slim_stem API. 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...
A very simple stemmer, for entity of GO stemming. >>> token = 'interaction' >>> slim_stem(token) 'interact'
"A very simple stemmer, for entity of GO stemming.\n\n >>> token = 'interaction'\n >>> slim_stem(token)\n 'interact'"
49
false
jeroyang/txttk
slim_stem
11,936
LDU_FT/pymc-devs/pymc/eval_basis
LDU_FT
[ "<BEGIN>\n## `moral_graph`", "moral_graph(model,format='raw', prog='dot', path=None)", " Draws the moral graph for this model and writes it to path with filename name.\n Returns the pydot 'dot' object for further user manipulation.", " GraphViz and PyDot must be installed to use this function.", " ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eval_basis API. 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 eval_basis API. 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...
basis_mat = C.eval_basis(x) Evaluates self's basis functions on x and returns them stacked in a matrix. basis_mat[i,j] gives basis function i evaluated at x[j,:].
"basis_mat = C.eval_basis(x)\n\n Evaluates self's basis functions on x and returns them stacked\n in a matrix. basis_mat[i,j] gives basis function i evaluated at\n x[j,:]."
1,025
true
pymc-devs/pymc
eval_basis
11,937
LDU_FT/Sanji-IO/sanji/recover_db
LDU_FT
[ "<BEGIN>\n## `add`", "Add a object\n Args:\n Object: Object will be added\n Returns:\n Object: Object with id\n Raises:\n TypeError: If add object is not a dict\n MultipleInvalid: If input object is invaild\n<END>", "<B...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the recover_db API. 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 recover_db API. 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...
" Recover DB from xxxxx.backup.json or xxxxx.json.factory to xxxxx.json " [src_file]: copy from src_file to xxxxx.json
"\" Recover DB from xxxxx.backup.json or xxxxx.json.factory to xxxxx.json\n \" [src_file]: copy from src_file to xxxxx.json"
45
false
Sanji-IO/sanji
recover_db
11,938
LDU_FT/mromanello/hucitlib/get_authors
LDU_FT
[ "<BEGIN>\n## `fetch_text_structure`", "Fetches the text structure of a given work from a CTS endpoint.", " :param urn: the work's CTS URN (at the work-level!,\n e.g.\"urn:cts:greekLit:tlg0012.tlg001\")\n :type urn: string\n :param endpoint: the URL of the CTS endpoint to use (defaults to Perseid...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authors API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extra...
Returns the authors in the Knowledge Base. :return: a list of `HucitAuthor` instances.
"Returns the authors in the Knowledge Base.\n\n :return: a list of `HucitAuthor` instances."
73
false
mromanello/hucitlib
get_authors
11,939
LDU_FT/paulgb/penkit/_remove_hidden_parts
LDU_FT
[ "<BEGIN>\n## `rotate_texture`", "Rotates the given texture by a given angle.", " Args:\n texture (texture): the texture to rotate\n rotation (float): the angle of rotation in degrees\n x_offset (float): the x component of the center of rotation (optional)\n y_offset (float): the y...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_hidden_parts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_hidden_parts API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. ...
Removes parts of a projected surface that are not visible. Args: projected_surface (surface): the surface to use Returns: surface: A projected surface.
"Removes parts of a projected surface that are not visible.\n\n Args:\n projected_surface (surface): the surface to use\n\n Returns:\n surface: A projected surface."
134
false
paulgb/penkit
_remove_hidden_parts
11,940
LDU_FT/sleepyfran/itunespy/_get_result_list
LDU_FT
[ "<BEGIN>\n## `get_tracks`", "Retrieves all the tracks of the album if they haven't been retrieved yet\n :return: List. Tracks of the current album\n<END>", "<BEGIN>\n## `get_album_time`", "Retrieves all of the track's length and returns the sum of all\n :param round_number: Int. Number of decima...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_result_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_result_list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ...
Analyzes the provided JSON data and returns an array of result_item(s) based on its content :param json: Raw JSON data to analyze :return: An array of result_item(s) from the provided JSON data
"Analyzes the provided JSON data and returns an array of result_item(s) based on its content\n :param json: Raw JSON data to analyze\n :return: An array of result_item(s) from the provided JSON data"
24
false
sleepyfran/itunespy
_get_result_list
11,941
LDU_FT/yaml/pyyaml/load
LDU_FT
[ "<BEGIN>\n## `scan`", "Scan a YAML stream and produce scanning tokens.\n<END>", "<BEGIN>\n## `parse`", "Parse a YAML stream and produce parsing events.\n<END>", "<BEGIN>\n## `compose`", "Parse the first YAML document in a stream\n and produce the corresponding representation tree.\n<END>", "<BEGIN>\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...
Parse the first YAML document in a stream and produce the corresponding Python object.
"Parse the first YAML document in a stream\n and produce the corresponding Python object."
36
false
yaml/pyyaml
load
11,942
LDU_FT/aaren/notedown/get_caption_comments
LDU_FT
[ "<BEGIN>\n## `ftdetect`", "Determine if filename is markdown or notebook,\n based on the file extension.\n<END>", "<BEGIN>\n## `get_caption_comments`", "Retrieve an id and a caption from a code cell.", " If the code cell content begins with a commented\n block that looks like", " ## fig:id\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_caption_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. ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_caption_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. ...
Retrieve an id and a caption from a code cell. If the code cell content begins with a commented block that looks like ## fig:id # multi-line or single-line # caption then the 'fig:id' and the caption will be returned. The '#' are stripped.
"Retrieve an id and a caption from a code cell.\n\n If the code cell content begins with a commented\n block that looks like\n\n ## fig:id\n # multi-line or single-line\n # caption\n\n then the 'fig:id' and the caption will be returned.\n The '#' are stripped."
39
false
aaren/notedown
get_caption_comments
11,943
LDU_FT/sailthru/relay/evaluate_stop_condition
LDU_FT
[ "<BEGIN>\n## `create_ramp_plan`", "Formulate and execute on a plan to slowly add heat or cooling to the system", " `err` initial error (PV - SP)\n `ramp` the size of the ramp", " A ramp plan might yield MVs in this order at every timestep:\n [5, 0, 4, 0, 3, 0, 2, 0, 1]\n where err == 5 ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the evaluate_stop_condition 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 evaluate_stop_condition API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion...
Call the user-defined function: stop_condition(errdata) If the function returns -1, do nothing. Otherwise, sys.exit.
"Call the user-defined function: stop_condition(errdata)\n If the function returns -1, do nothing. Otherwise, sys.exit."
32
false
sailthru/relay
evaluate_stop_condition
11,944
LDU_FT/databio/pypiper/fail_pipeline
LDU_FT
[ "<BEGIN>\n## `add_pypiper_args`", "Use this to add standardized pypiper arguments to your python pipeline.", " There are two ways to use `add_pypiper_args`: by specifying argument groups,\n or by specifying individual arguments. Specifying argument groups will add\n multiple arguments to your parser; t...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fail_pipeline API. 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 fail_pipeline API. 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...
If the pipeline does not complete, this function will stop the pipeline gracefully. It sets the status flag to failed and skips the normal success completion procedure. :param Exception e: Exception to raise. :param bool dynamic_recover: Whether to recover e.g. for job termination.
"If the pipeline does not complete, this function will stop the pipeline gracefully.\n It sets the status flag to failed and skips the normal success completion procedure.\n\n :param Exception e: Exception to raise.\n :param bool dynamic_recover: Whether to recover e.g. for job termination."
322
false
databio/pypiper
fail_pipeline
11,945
LDU_FT/rhgrant10/Groupy/list
LDU_FT
[ "<BEGIN>\n## `from_data`", "Create an attachment from data.", " :param str type: attachment type\n :param kwargs data: additional attachment data\n :return: an attachment subclass object\n :rtype: `~groupy.api.attachments.Attachment`\n<END>", "<BEGIN>\n## `from_file`", "Create a ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted do...
Return a page of group messages. The messages come in reversed order (newest first). Note you can only provide _one_ of ``before_id``, ``since_id``, or ``after_id``. :param str before_id: message ID for paging backwards :param str after_id: message ID for paging forwards :param...
"Return a page of group messages.\n\n The messages come in reversed order (newest first). Note you can only\n provide _one_ of ``before_id``, ``since_id``, or ``after_id``.\n\n :param str before_id: message ID for paging backwards\n :param str after_id: message ID for paging forwards\n ...
194
false
rhgrant10/Groupy
list
11,946
LDU_FT/tmbo/questionary/ask_async
LDU_FT
[ "<BEGIN>\n## `default_values_of`", "Return the defaults of the function `func`.\n<END>", "<BEGIN>\n## `required_arguments`", "Return all arguments of a function that do not have a default value.\n<END>", "<BEGIN>\n## `text`", "Prompt the user to enter a free text message.", " This question type ca...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ask_async API. 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 ask_async API. 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...
Ask the question using asyncio and return user response.
"Ask the question using asyncio and return user response."
84
false
tmbo/questionary
ask_async
11,947
LDU_FT/openstack/networking-arista/_parse_acl_config
LDU_FT
[ "<BEGIN>\n## `synchronize`", "Synchronizes Router DB from Neturon DB with EOS.", " Walks through the Neturon Db and ensures that all the routers\n created in Netuton DB match with EOS. After creating appropriate\n routers, it ensures to add interfaces as well.\n Uses idempotent prope...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_acl_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_acl_config API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Parse configured ACLs and rules ACLs are returned as a dict of rule sets: {<eos_acl1_name>: set([<eos_acl1_rules>]), <eos_acl2_name>: set([<eos_acl2_rules>]), ..., }
"Parse configured ACLs and rules\n\n ACLs are returned as a dict of rule sets:\n {<eos_acl1_name>: set([<eos_acl1_rules>]),\n <eos_acl2_name>: set([<eos_acl2_rules>]),\n ...,\n }"
213
false
openstack/networking-arista
_parse_acl_config
11,948
LDU_FT/widdowquinn/pyani/get_ncbi_asm
LDU_FT
[ "<BEGIN>\n## `clean_axis`", "Remove ticks, tick labels, and frame from axis\n<END>", "<BEGIN>\n## `get_seaborn_colorbar`", "Return a colorbar representing classes, for a Seaborn plot.", " The aim is to get a pd.Series for the passed dataframe columns,\n in the form:\n 0 colour for class in col 0...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ncbi_asm API. 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_ncbi_asm API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Returns the NCBI AssemblyAccession and AssemblyName for the assembly with passed UID, and organism data for class/label files also, as well as accession, so we can track whether downloads fail because only the most recent version is available.. AssemblyAccession and AssemblyName are data fields in the ...
"Returns the NCBI AssemblyAccession and AssemblyName for the assembly\n with passed UID, and organism data for class/label files also, as well\n as accession, so we can track whether downloads fail because only the\n most recent version is available..\n\n AssemblyAccession and AssemblyName are data fields i...
244
false
widdowquinn/pyani
get_ncbi_asm
11,949
LDU_FT/jobec/django-auth-adfs/vote
LDU_FT
[ "<BEGIN>\n## `_get_settings_class`", "Get the AUTH_ADFS setting from the Django settings.\n<END>", "<BEGIN>\n## `build_authorization_endpoint`", "This function returns the ADFS authorization URL.", " Args:\n request(django.http.request.HttpRequest): A django Request object\n dis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the vote API. 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 vote API. 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...
post: A description of the post method on the custom action.
"post:\n A description of the post method on the custom action."
26
false
jobec/django-auth-adfs
vote
11,950
LDU_FT/SeattleTestbed/seash/next_history
LDU_FT
[ "<BEGIN>\n## `_bind_key`", "u\"\"\"setup the mapping from key to call the function.\n<END>", "<BEGIN>\n## `_bind_exit_key`", "u\"\"\"setup the mapping from key to call the function.\n<END>", "<BEGIN>\n## `_get_completions`", "Return a list of possible completions for the string ending at the point.\r\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the next_history API. 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 next_history API. 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...
u'''Move forward through the history list, fetching the next command.
"u'''Move forward through the history list, fetching the next\r\n command."
281
false
SeattleTestbed/seash
next_history
11,951
LDU_FT/aiogram/aiogram/url
LDU_FT
[ "<BEGIN>\n## `execute_filter`", "Helper for executing filter", " :param filter_:\n :param args:\n :return:\n<END>", "<BEGIN>\n## `check_filters`", "Check list of filters", " :param filters:\n :param args:\n :return:\n<END>", "<BEGIN>\n## `validate`", "Validate and parse config.", "...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted doc...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted doc...
Get URL for the message :return: str
"Get URL for the message\n\n :return: str"
1,040
true
aiogram/aiogram
url
11,952
LDU_FT/valohai/valohai-yaml/parse
LDU_FT
[ "<BEGIN>\n## `validate`", "Validate (and possibly typecast) the given parameter value value.", " :param value: Parameter value\n :return: Typecast parameter value\n :raises ValidationErrors: if there were validation errors\n<END>", "<BEGIN>\n## `format_cli`", "Build a single parameter a...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Parse a Config structure out of a Python dict (that's likely deserialized from YAML). :param data: Config-y dict :type data: dict :return: Config object :rtype: valohai_yaml.objs.Config
"Parse a Config structure out of a Python dict (that's likely deserialized from YAML).\n\n :param data: Config-y dict\n :type data: dict\n :return: Config object\n :rtype: valohai_yaml.objs.Config"
42
false
valohai/valohai-yaml
parse
11,953
LDU_FT/kolypto/py-good/get_callable_name
LDU_FT
[ "<BEGIN>\n## `message`", "Convenience decorator that applies [`Msg()`](#msg) to a callable.", " ```python\n from good import Schema, message", " @message(u'Need a number')\n def intify(v):\n return int(v)\n ```", " :param message: Error message to use instead\n :type message: uni...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_callable_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_callable_name API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Get a human-friendly name for the given callable. :param c: The callable to get the name for :type c: callable :rtype: unicode
"Get a human-friendly name for the given callable.\n\n :param c: The callable to get the name for\n :type c: callable\n :rtype: unicode"
118
false
kolypto/py-good
get_callable_name
11,954
LDU_FT/eonpatapon/contrail-api-cli/remove_kv_store
LDU_FT
[ "<BEGIN>\n## `expand_paths`", "Return an unique list of resources or collections from a list of paths.\n Supports fq_name and wilcards resolution.", " >>> expand_paths(['virtual-network',\n 'floating-ip/2a0a54b4-a420-485e-8372-42f70a627ec9'])\n [Collection('virtual-network'),\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_kv_store API. 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 remove_kv_store API. 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...
Remove a key-value store entry. :param key: string
"Remove a key-value store entry.\n\n :param key: string"
138
false
eonpatapon/contrail-api-cli
remove_kv_store
11,955
LDU_FT/frnsys/broca/sift4
LDU_FT
[ "<BEGIN>\n## `train_doc2vec`", "Train a doc2vec model on a list of files.\n<END>", "<BEGIN>\n## `_doc2vec_doc_stream`", "Generator to feed sentences to the dov2vec model.\n<END>", "<BEGIN>\n## `estimate_eps`", "Estimates possible eps values (to be used with DBSCAN)\n for a given distance matrix by look...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sift4 API. 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 sift4 API. 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...
This is an implementation of general Sift4.
"This is an implementation of general Sift4."
125
false
frnsys/broca
sift4
11,956
LDU_FT/MAVENSDC/cdflib/parse
LDU_FT
[ "<BEGIN>\n## `encode`", "Encodes the epoch(s) into UTC string(s).", " For CDF_EPOCH:\n The input should be either a float or list of floats\n (in numpy, a np.float64 or a np.ndarray of np.float64)\n Each epoch is encoded, by default to a ISO 8601 form:\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted d...
Parses the provided date/time string(s) into CDF epoch value(s). For CDF_EPOCH: The string has to be in the form of 'dd-mmm-yyyy hh:mm:ss.xxx' or 'yyyy-mm-ddThh:mm:ss.xxx' (in iso_8601). The string is the output from encode function. For CDF_EPOCH16: ...
"Parses the provided date/time string(s) into CDF epoch value(s).\n\n For CDF_EPOCH:\n The string has to be in the form of 'dd-mmm-yyyy hh:mm:ss.xxx' or\n 'yyyy-mm-ddThh:mm:ss.xxx' (in iso_8601). The string is the output\n from encode function.\n\n For CDF_EPOC...
229
false
MAVENSDC/cdflib
parse
11,957
LDU_FT/fabric-bolt/fabric-bolt/gravatar
LDU_FT
[ "<BEGIN>\n## `form_valid`", "After the form is valid lets let people know\n<END>", "<BEGIN>\n## `form_valid`", "First call the parent's form valid then let the user know it worked.\n<END>", "<BEGIN>\n## `post`", "Create the SSH file & then return the normal get method...\n<END>", "<BEGIN>\n## `web_hooks...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gravatar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gravatar API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
Construct a gravatar image address for the user
"Construct a gravatar image address for the user"
65
false
fabric-bolt/fabric-bolt
gravatar
11,958
LDU_FT/choderalab/pymbar/computeExpectationsInner
LDU_FT
[ "<BEGIN>\n## `read_file`", "Read contents of the specified file.", " Parameters:\n -----------\n filename : str\n The name of the file to be read", " Returns:\n lines : list of str\n The contents of the file, split by line\n<END>", "<BEGIN>\n## `getFreeEnergyDifferences`", "Get the dim...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the computeExpectationsInner 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 computeExpectationsInner API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio...
Compute the expectations of multiple observables of phase space functions in multiple states. Compute the expectations of multiple observables of phase space functions [A_0(x),A_1(x),...,A_i(x)] along with the covariances of their estimates at multiple states. intended as an internal f...
"Compute the expectations of multiple observables of phase space functions in multiple states.\n\n Compute the expectations of multiple observables of phase\n space functions [A_0(x),A_1(x),...,A_i(x)] along with the\n covariances of their estimates at multiple states.\n\n intended as an int...
533
false
choderalab/pymbar
computeExpectationsInner
11,959
LDU_FT/bkabrda/anymarkup-core/_do_serialize
LDU_FT
[ "<BEGIN>\n## `parse`", "Parse input from file-like object, unicode string or byte string.", " Args:\n inp: file-like object, unicode string or byte string with the markup\n format: explicitly override the guessed `inp` markup format\n encoding: `inp` encoding, defaults to utf-8\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _do_serialize API. 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 _do_serialize API. 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...
Actually serialize input. Args: struct: structure to serialize to fmt: format to serialize to encoding: encoding to use while serializing Returns: encoded serialized structure Raises: various sorts of errors raised by libraries while serializing
"Actually serialize input.\n\n Args:\n struct: structure to serialize to\n fmt: format to serialize to\n encoding: encoding to use while serializing\n Returns:\n encoded serialized structure\n Raises:\n various sorts of errors raised by libraries while serializing"
29
false
bkabrda/anymarkup-core
_do_serialize
11,960
LDU_FT/jaraco/path.py/splitdrive
LDU_FT
[ "<BEGIN>\n## `load`", "If the supplied parameter is a string, assum it's a simple\n pattern.\n<END>", "<BEGIN>\n## `simple_cache`", "Save results for the :meth:'path.using_module' classmethod.\n When Python 3.2 is available, use functools.lru_cache instead.\n<END>", "<BEGIN>\n## `only_newer`", "Wrap...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the splitdrive API. 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 splitdrive API. 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...
p.splitdrive() -> Return ``(p.drive, <the rest of p>)``. Split the drive specifier from this path. If there is no drive specifier, :samp:`{p.drive}` is empty, so the return value is simply ``(Path(''), p)``. This is always the case on Unix. .. seealso:: :func:`os.path.splitdrive`
"p.splitdrive() -> Return ``(p.drive, <the rest of p>)``.\n\n Split the drive specifier from this path. If there is\n no drive specifier, :samp:`{p.drive}` is empty, so the return value\n is simply ``(Path(''), p)``. This is always the case on Unix.\n\n .. seealso:: :func:`os.path.splitdri...
158
false
jaraco/path.py
splitdrive
11,961
LDU_FT/Infinidat/infi.clickhouse_orm/migrate
LDU_FT
[ "<BEGIN>\n## `_range_check`", "Utility method to check that the given value is between min_value and max_value.\n<END>", "<BEGIN>\n## `get_sql`", "Returns an SQL expression describing the field (e.g. for CREATE TABLE).\n :param with_default_expression: If True, adds default value to sql.\n I...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the migrate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the migrate API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracted...
Executes schema migrations. - `migrations_package_name` - fully qualified name of the Python package containing the migrations. - `up_to` - number of the last migration to apply.
"Executes schema migrations.\n\n - `migrations_package_name` - fully qualified name of the Python package\n containing the migrations.\n - `up_to` - number of the last migration to apply."
86
false
Infinidat/infi.clickhouse_orm
migrate
11,962
LDU_FT/knagra/farnsworth/is_valid
LDU_FT
[ "<BEGIN>\n## `anonymous_login_view`", "View for an admin to log her/himself out and login the anonymous user.\n<END>", "<BEGIN>\n## `end_anonymous_session_view`", "End the anonymous session if the user is a superuser.\n<END>", "<BEGIN>\n## `list_managers_view`", "Show a list of manager positions with link...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid API. 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 is_valid API. 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...
Validate form. Return True if Django validates the form, the username obeys the parameters, and passwords match. Return False otherwise.
"Validate form.\n Return True if Django validates the form, the username obeys the parameters, and passwords match.\n Return False otherwise."
150
false
knagra/farnsworth
is_valid
11,963
LDU_FT/rigetti/rpcq/_connect_to_socket
LDU_FT
[ "<BEGIN>\n## `call_async`", "Send JSON RPC request to a backend socket and receive reply (asynchronously)", " :param method_name: Method name\n :param args: Args that will be passed to the remote function\n :param float rpc_timeout: Timeout in seconds for Server response, set to None to dis...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _connect_to_socket 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 _connect_to_socket 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...
Connect to a DEALER socket at endpoint and turn off lingering. :param context: ZMQ Context to use (potentially async) :param endpoint: Endpoint :return: Connected socket
"Connect to a DEALER socket at endpoint and turn off lingering.\n\n :param context: ZMQ Context to use (potentially async)\n :param endpoint: Endpoint\n :return: Connected socket"
63
false
rigetti/rpcq
_connect_to_socket
11,964
LDU_FT/a2liu/mr-clean/cols_to_cat
LDU_FT
[ "<BEGIN>\n## `summarize`", "Prints information about the DataFrame to a file or to the prompt.", " Parameters\n ----------\n df - DataFrame\n The DataFrame to summarize\n preview_rows - int, default 5\n Amount of rows to preview from the head and tail of the DataFrame\n display_max_...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cols_to_cat API. 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 cols_to_cat API. 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...
Coerces a list of columns to categorical Parameters: df - DataFrame DataFrame to operate on col_list - list of strings names of columns to coerce dest - bool, default False Whether to apply the result to the DataFrame or return it. True is apply, False is return.
"Coerces a list of columns to categorical\n Parameters:\n df - DataFrame\n DataFrame to operate on\n col_list - list of strings\n names of columns to coerce\n dest - bool, default False\n Whether to apply the result to the DataFrame or return it.\n True is apply, False is return....
84
false
a2liu/mr-clean
cols_to_cat
11,965
LDU_FT/ktbyers/netmiko/ensure_dir_exists
LDU_FT
[ "<BEGIN>\n## `show_version`", "Execute show version command using Netmiko.\n<END>", "<BEGIN>\n## `main`", "Use threads and Netmiko to connect to each of the devices. Execute\n 'show version' on each device. Record the amount of time required to do this.\n<END>", "<BEGIN>\n## `session_preparation`", "Pr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ensure_dir_exists API. 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 ensure_dir_exists API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The...
Ensure directory exists. Create if necessary.
"Ensure directory exists. Create if necessary."
532
false
ktbyers/netmiko
ensure_dir_exists
11,966
LDU_FT/mnick/scikit-tensor/from_to_without
LDU_FT
[ "<BEGIN>\n## `asalsan`", "ASALSAN algorithm to compute the three-way DEDICOM decomposition\n of a tensor", " See\n ---\n .. [1] Brett W. Bader, Richard A. Harshman, Tamara G. Kolda\n \"Temporal analysis of semantic graphs using ASALSAN\"\n 7th International Conference on Data Mining, 200...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_to_without API. 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 from_to_without API. 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...
Helper function to create ranges with missing entries
"Helper function to create ranges with missing entries"
114
false
mnick/scikit-tensor
from_to_without
11,967
LDU_FT/adewes/blitzdb/filter_query
LDU_FT
[ "<BEGIN>\n## `commit`", "Commit all pending transactions to the database.", " .. admonition:: Warning", " This operation can be **expensive** in runtime if a large number of\n documents (>100.000) is contained in the database, since it will\n cause all database indexes ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_query API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extr...
Filter documents with a key that satisfies an expression.
"Filter documents with a key that satisfies an expression."
141
false
adewes/blitzdb
filter_query
11,968
LDU_FT/mobinrg/rpi_spark_drives/_command
LDU_FT
[ "<BEGIN>\n## `setKeyButton`", "!\n \\~english\n Set key button event\n @param btnId: Key button pin number in BCM\n @param keyCallback: A interrupt <b>callback_function</b> or <b>None</b>. <br>\n If set to <b>None</b> means keybutton work in query mode<br>\n ...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _command API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The extracte...
! \~english Send command to ssd1306, DC pin need set to LOW @param commands: an byte or array of bytes \~chinese 发送命令给 SSD1306,DC 需要设定为低电平 LOW @param commands: 一个字节或字节数组
"!\n \\~english\n Send command to ssd1306, DC pin need set to LOW\n @param commands: an byte or array of bytes\n\n \\~chinese \n 发送命令给 SSD1306,DC 需要设定为低电平 LOW\n @param commands: 一个字节或字节数组"
135
false
mobinrg/rpi_spark_drives
_command
11,969
LDU_FT/shimpe/pyvectortween/make_frame
LDU_FT
[ "<BEGIN>\n## `make_frame`", ":param frame: current frame \n :param birthframe: frame where this animation starts returning something other than None\n :param startframe: frame where animation starts to evolve\n :param stopframe: frame where animation is completed\n :param deathframe: f...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_frame API. 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 make_frame API. 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...
:param frame: current frame :param birthframe: frame where animation starts to return something other than None :param startframe: frame where animation starts to evolve :param stopframe: frame where animation stops evolving :param deathframe: frame where animation starts to return None...
":param frame: current frame \n :param birthframe: frame where animation starts to return something other than None\n :param startframe: frame where animation starts to evolve\n :param stopframe: frame where animation stops evolving\n :param deathframe: frame where animation starts to return...
37
false
shimpe/pyvectortween
make_frame
11,970
LDU_FT/otto-torino/django-baton/get_app_model_voice
LDU_FT
[ "<BEGIN>\n## `get`", "Returns a json representing the menu voices\n in a format eaten by the js menu.\n Raised ImproperlyConfigured exceptions can be viewed\n in the browser console\n<END>", "<BEGIN>\n## `get_title_voice`", "Title voice\n Returns the js menu compati...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_app_model_voice 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_app_model_voice 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...
App Model voice Returns the js menu compatible voice dict if the user can see it, None otherwise
"App Model voice\n Returns the js menu compatible voice dict if the user\n can see it, None otherwise"
20
false
otto-torino/django-baton
get_app_model_voice
11,971
LDU_FT/Metatab/metapack/rebuild_schema
LDU_FT
[ "<BEGIN>\n## `_load_resource`", "The CSV package has no reseources, so we just need to resolve the URLs to them. Usually, the\n CSV package is built from a file system ackage on a publically acessible server.\n<END>", "<BEGIN>\n## `set_s3_profile`", "Load the credentials for an s3 profile into envi...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rebuild_schema API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rebuild_schema API. Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion. The ex...
Rebuild the schema for a resource based on a dataframe
"Rebuild the schema for a resource based on a dataframe"
261
false
Metatab/metapack
rebuild_schema
11,972