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/markokr/rarfile/custom_check | LDU_FT | [
"<BEGIN>\n## `xprint`",
"Print string to stdout.",
" Format unicode safely.\n<END>",
"<BEGIN>\n## `rar3_decompress`",
"Decompress blob of compressed data.",
" Used for data with non-standard header - eg. comments.\n<END>",
"<BEGIN>\n## `to_datetime`",
"Convert 6-part time tuple into datetime obj... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the custom_check API.
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 custom_check API.
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... | Run command, collect output, raise error if needed. | "Run command, collect output, raise error if needed." | 47 | false | markokr/rarfile | custom_check | 32,173 | |
LDU_FT/materialsproject/pymatgen/_plot_thermo | LDU_FT | [
"<BEGIN>\n## `ion_or_solid_comp_object`",
"Returns either an ion object or composition object given\n a formula.",
" Args:\n formula: String formula. Eg. of ion: NaOH(aq), Na[+];\n Eg. of solid: Fe2O3(s), Fe(s), Na2O",
" Returns:\n Composition/Ion object\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _plot_thermo API.
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 _plot_thermo API.
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... | Plots a thermodynamic property for a generic function from a PhononDos instance.
Args:
func: the thermodynamic function to be used to calculate the property
temperatures: a list of temperatures
factor: a multiplicative factor applied to the thermodynamic property calculated.... | "Plots a thermodynamic property for a generic function from a PhononDos instance.\n\n Args:\n func: the thermodynamic function to be used to calculate the property\n temperatures: a list of temperatures\n factor: a multiplicative factor applied to the thermodynamic property calcu... | 6,523 | true | materialsproject/pymatgen | _plot_thermo | 32,174 | |
LDU_FT/aburrell/apexpy/qd2apex | LDU_FT | [
"<BEGIN>\n## `checklat`",
"Makes sure the latitude is inside [-90, 90], clipping close values\n (tolerance 1e-4).",
" Parameters\n ==========\n lat : array_like\n latitude\n name : str, optional\n parameter name to use in the exception message",
" Returns\n =======\n lat ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the qd2apex API.
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 qd2apex API.
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... | Converts quasi-dipole to modified apex coordinates.
Parameters
==========
qlat : array_like
Quasi-dipole latitude
qlon : array_like
Quasi-dipole longitude
height : array_like
Altitude in km
Returns
=======
alat : ndarr... | "Converts quasi-dipole to modified apex coordinates.\n\n Parameters\n ==========\n qlat : array_like\n Quasi-dipole latitude\n qlon : array_like\n Quasi-dipole longitude\n height : array_like\n Altitude in km\n\n Returns\n =======\n ... | 120 | false | aburrell/apexpy | qd2apex | 32,175 | |
LDU_FT/ncclient/ncclient/request | LDU_FT | [
"<BEGIN>\n## `request`",
"Retrieve running configuration and device state information.",
" *filter* specifies the portion of the configuration to retrieve (by default entire configuration is retrieved)",
" :seealso: :ref:`filter_params`\n<END>",
"<BEGIN>\n## `request`",
"command text\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Loads all or part of the specified *config* to the *target* configuration datastore.
*target* is the name of the configuration datastore being edited
*config* is the configuration, which must be rooted in the `config` element. It can be specified either as a string or an :class:`~xml.etree.ElementTree... | "Loads all or part of the specified *config* to the *target* configuration datastore.\n\n *target* is the name of the configuration datastore being edited\n\n *config* is the configuration, which must be rooted in the `config` element. It can be specified either as a string or an :class:`~xml.etree.Elemen... | 179 | false | ncclient/ncclient | request | 32,176 | |
LDU_FT/mixmastamyk/console/get_color | LDU_FT | [
"<BEGIN>\n## `clear_line`",
"Clear the current line.",
" Arguments:",
" mode: | 0 | 'forward' | 'right' - Clear cursor to end of line.\n | 1 | 'backward' | 'left' - Clear cursor to beginning of line.\n | 2 | 'full' - Clear entire line.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_color API.
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_color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns current colors of console.
https://docs.microsoft.com/en-us/windows/console/getconsolescreenbufferinfo
Arguments:
name: one of ('background', 'bg', 'foreground', 'fg')
stream: Handle to stdout, stderr, etc.
Returns:
int: a color id from the conho... | "Returns current colors of console.\n\n https://docs.microsoft.com/en-us/windows/console/getconsolescreenbufferinfo\n\n Arguments:\n name: one of ('background', 'bg', 'foreground', 'fg')\n stream: Handle to stdout, stderr, etc.\n\n Returns:\n int: a color id from... | 158 | false | mixmastamyk/console | get_color | 32,177 | |
LDU_FT/gamechanger/mongothon/wrap | LDU_FT | [
"<BEGIN>\n## `register`",
"Registers the given function as a handler to be applied\n in response to the the given event.\n<END>",
"<BEGIN>\n## `apply`",
"Applies all middleware functions registered against the given\n event in order to the given document.\n<END>",
"<BEGIN>\n## `deregister`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wrap API.
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 wrap API.
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... | Wraps the given value in a Document or DocumentList as applicable. | "Wraps the given value in a Document or DocumentList as applicable." | 59 | false | gamechanger/mongothon | wrap | 32,178 | |
LDU_FT/hyperledger-archives/indy-anoncreds/get_hash_as_int | LDU_FT | [
"<BEGIN>\n## `get_hash_as_int`",
"Enumerate over the input tuple and generate a hash using the tuple values",
" :param args: sequence of either group or integer elements\n :param group: pairing group if an element is a group element\n :return:\n<END>",
"<BEGIN>\n## `randomString`",
"Generate a rand... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_hash_as_int API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_hash_as_int API.
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... | Enumerate over the input tuple and generate a hash using the tuple values
:param args: sequence of either group or integer elements
:param group: pairing group if an element is a group element
:return: | "Enumerate over the input tuple and generate a hash using the tuple values\n\n :param args: sequence of either group or integer elements\n :param group: pairing group if an element is a group element\n :return:" | 48 | false | hyperledger-archives/indy-anoncreds | get_hash_as_int | 32,179 | |
LDU_FT/onnx/onnx/convert_model_from_external_data | LDU_FT | [
"<BEGIN>\n## `run_node`",
"Simple run one operator and return the results.\n Args:\n outputs_info: a list of tuples, which contains the element type and\n shape of each output. First element of the tuple is the dtype, and\n the second element is the shape. More use case can... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_model_from_external_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_model_from_external_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | call to set all tensors data as embedded data. save_model saves all the tensors data as embedded data after calling this function.
@params
model: ModelProto to be converted. | "call to set all tensors data as embedded data. save_model saves all the tensors data as embedded data after calling this function.\n @params\n model: ModelProto to be converted." | 72 | false | onnx/onnx | convert_model_from_external_data | 32,180 | |
LDU_FT/sdispater/poetry/search_for | LDU_FT | [
"<BEGIN>\n## `path_to_url`",
"Convert a path to a file: URL. The path will be made absolute and have\n quoted path parts.\n<END>",
"<BEGIN>\n## `is_installable_dir`",
"Return True if `path` is a directory containing a setup.py file.\n<END>",
"<BEGIN>\n## `get_requires_for_build_wheel`",
"Returns a lis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_for API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the search_for API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Search for the specifications that match the given dependency.
The specifications in the returned list will be considered in reverse
order, so the latest version ought to be last. | "Search for the specifications that match the given dependency.\n\n The specifications in the returned list will be considered in reverse\n order, so the latest version ought to be last." | 107 | false | sdispater/poetry | search_for | 32,181 | |
LDU_FT/cga-harvard/Hypermap-Registry/update_last_wm_layers | LDU_FT | [
"<BEGIN>\n## `update_schema`",
"set the mapping in solr.\n :param catalog: core\n :return:\n<END>",
"<BEGIN>\n## `create_layer_from_metadata_xml`",
"Create a layer / keyword list from a metadata record if it does not already exist.\n<END>",
"<BEGIN>\n## `create_service_from_endpoint`",
"Crea... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_last_wm_layers 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 update_last_wm_layers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Update and index the last added and deleted layers (num_layers) in WorldMap service. | "Update and index the last added and deleted layers (num_layers) in WorldMap service." | 132 | false | cga-harvard/Hypermap-Registry | update_last_wm_layers | 32,182 | |
LDU_FT/MartinThoma/hwrt/get_parser | LDU_FT | [
"<BEGIN>\n## `classify_segmented_recording`",
"Use this function if you are sure you have a single symbol.",
" Parameters\n ----------\n recording : string\n The recording in JSON format",
" Returns\n -------\n list of dictionaries\n Each dictionary contains the keys 'symbol' a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parser API.
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_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the parser object for this script. | "Return the parser object for this script." | 558 | false | MartinThoma/hwrt | get_parser | 32,183 | |
LDU_FT/joeferraro/mm/__setup_connection | LDU_FT | [
"<BEGIN>\n## `parse_json`",
"Parse a JSON file\n First remove comments and then use the json module package\n Comments look like :\n // ...\n or\n /*\n ...\n */\n<END>",
"<BEGIN>\n## `get_meta_type_by_dir`",
"> quick and dirty fix for users expe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __setup_connection 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 __setup_connection 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... | each operation requested represents a session
the session holds information about the plugin running it
and establishes a project object | "each operation requested represents a session\n the session holds information about the plugin running it\n and establishes a project object" | 71 | false | joeferraro/mm | __setup_connection | 32,184 | |
LDU_FT/bear/ronkyuu/parse_link_header | LDU_FT | [
"<BEGIN>\n## `findMentions`",
"Find all <a /> elements in the given html for a post. Only scan html element matching all criteria in look_in.",
" optionally the content to be scanned can be given as an argument.",
" If any have an href attribute that is not from the\n one of the items in exclude_doma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_link_header API.
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_link_header API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | takes the link header as a string and returns a dictionary with rel values as keys and urls as values
:param link: link header as a string
:rtype: dictionary {rel_name: rel_value} | "takes the link header as a string and returns a dictionary with rel values as keys and urls as values\n :param link: link header as a string\n :rtype: dictionary {rel_name: rel_value}" | 26 | false | bear/ronkyuu | parse_link_header | 32,185 | |
LDU_FT/klmitch/tendril/listener | LDU_FT | [
"<BEGIN>\n## `send_frame`",
"Sends a frame to the other end of the connection.\n<END>",
"<BEGIN>\n## `start`",
"Starts the TendrilManager.",
" :param acceptor: If given, specifies a callable that will be\n called with each newly received Tendril;\n that... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listener API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listener API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Listens for new connections to the manager's endpoint. Once a
new connection is received, a TCPTendril object is generated
for it and it is passed to the acceptor, which must initialize
the state of the connection. If no acceptor is given, no new
connections can be initialized.
... | "Listens for new connections to the manager's endpoint. Once a\n new connection is received, a TCPTendril object is generated\n for it and it is passed to the acceptor, which must initialize\n the state of the connection. If no acceptor is given, no new\n connections can be initialized.\n\... | 92 | false | klmitch/tendril | listener | 32,186 | |
LDU_FT/ofek/bit/broadcast_tx | LDU_FT | [
"<BEGIN>\n## `currency_to_satoshi`",
"Converts a given amount of currency to the equivalent number of\n satoshi. The amount can be either an int, float, or string as long as\n it is a valid input to :py:class:`decimal.Decimal`.",
" :param amount: The quantity of currency.\n :param currency: One of t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the broadcast_tx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the broadcast_tx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Broadcasts a transaction to the blockchain.
:param tx_hex: A signed transaction in hex form.
:type tx_hex: ``str``
:raises ConnectionError: If all API services fail. | "Broadcasts a transaction to the blockchain.\n\n :param tx_hex: A signed transaction in hex form.\n :type tx_hex: ``str``\n :raises ConnectionError: If all API services fail." | 71 | false | ofek/bit | broadcast_tx | 32,187 | |
LDU_FT/NYUCCL/psiTurk/do_debug | LDU_FT | [
"<BEGIN>\n## `check_auth`",
"This function is called to check if a username password combination\n is valid.\n<END>",
"<BEGIN>\n## `requires_auth`",
"Decorator to prompt for user name and password. Useful for data dumps,\n etc. That you don't want to be public.\n<END>",
"<BEGIN>\n## `get_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_debug API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_debug API.
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... | Usage: debug [options]
-p, --print-only just provides the URL, doesn't attempt to
launch browser | "Usage: debug [options]\n\n -p, --print-only just provides the URL, doesn't attempt to\n launch browser" | 65 | false | NYUCCL/psiTurk | do_debug | 32,188 | |
LDU_FT/xenadevel/PyXenaManager/read_stats | LDU_FT | [
"<BEGIN>\n## `sendQuery`",
"Send command, wait for response (single or multi lines), test for errors and return the returned code.",
" :param cmd: command to send\n :param multilines: True - multiline response, False - single line response.\n :return: command return value.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_stats API.
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 read_stats API.
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... | Read current ports statistics from chassis.
:return: dictionary {port name {group name, {stat name: stat value}}} | "Read current ports statistics from chassis.\n\n :return: dictionary {port name {group name, {stat name: stat value}}}" | 140 | false | xenadevel/PyXenaManager | read_stats | 32,189 | |
LDU_FT/xsleonard/pystmark/attach_binary | 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 attach_binary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_binary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Attach a file to the message given raw binary data.
:param data: Raw data to attach to the message.
:param filename: Name of the file for the data.
:param content_type: mimetype of the data. It will be guessed from the
filename if not provided.
:param content_id: ContentID U... | "Attach a file to the message given raw binary data.\n\n :param data: Raw data to attach to the message.\n :param filename: Name of the file for the data.\n :param content_type: mimetype of the data. It will be guessed from the\n filename if not provided.\n :param content_id: Cont... | 113 | false | xsleonard/pystmark | attach_binary | 32,190 | |
LDU_FT/inveniosoftware/invenio-files-rest/copy_contents | LDU_FT | [
"<BEGIN>\n## `send_stream`",
"Send the contents of a file to the client.",
" .. warning::",
" It is very easy to be exposed to Cross-Site Scripting (XSS) attacks if\n you serve user uploaded files. Here are some recommendations:",
" 1. Serve user uploaded files from a separate do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_contents API.
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 copy_contents API.
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... | Copy this file instance into another file instance. | "Copy this file instance into another file instance." | 272 | false | inveniosoftware/invenio-files-rest | copy_contents | 32,191 | |
LDU_FT/joshleeb/creditcard/get_check_digit | LDU_FT | [
"<BEGIN>\n## `is_visa`",
"Checks if credit card number fits the visa format.\n<END>",
"<BEGIN>\n## `is_visa_electron`",
"Checks if credit card number fits the visa electron format.\n<END>",
"<BEGIN>\n## `is_mastercard`",
"Checks if credit card number fits the mastercard format.\n<END>",
"<BEGIN>\n## `is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_check_digit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_check_digit API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | returns the check digit of the card number. | "returns the check digit of the card number." | 18 | false | joshleeb/creditcard | get_check_digit | 32,192 | |
LDU_FT/jmgilman/Neolib/readBytes | LDU_FT | [
"<BEGIN>\n## `installed`",
"Returns whether or not Google Chrome is installed",
" Determines the application data path for Google Chrome\n and checks if the path exists. If so, returns True, otherwise\n it will return False.",
" Returns\n bool - True if Chrome is installe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readBytes API.
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 readBytes API.
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... | Reads and returns a utf-8 encoded byte array. | "Reads and returns a utf-8 encoded byte array." | 629 | false | jmgilman/Neolib | readBytes | 32,193 | |
LDU_FT/jaseg/python-mpv/message_handler | LDU_FT | [
"<BEGIN>\n## `_mpv_coax_proptype`",
"Intelligently coax the given python value into something that can be understood as a proptype property.\n<END>",
"<BEGIN>\n## `_make_node_str_list`",
"Take a list of python objects and make a MPV string node array from it.",
" As an example, the python list ``l = [ \"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the message_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Decorator to register a mpv script message handler.
WARNING: Only one handler can be registered at a time for any given target.
To unregister the message handler, call its ``unregister_mpv_messages`` function::
player = mpv.MPV()
@player.message_handler('foo')
def ... | "Decorator to register a mpv script message handler.\n\n WARNING: Only one handler can be registered at a time for any given target.\n\n To unregister the message handler, call its ``unregister_mpv_messages`` function::\n\n player = mpv.MPV()\n @player.message_handler('foo')\n ... | 66 | false | jaseg/python-mpv | message_handler | 32,194 | |
LDU_FT/nicholasbishop/shaderdef/find_function | LDU_FT | [
"<BEGIN>\n## `op_symbol`",
"Get the GLSL symbol for a Python operator.\n<END>",
"<BEGIN>\n## `py_to_glsl`",
"Translate Python AST into GLSL code.",
" root: an ast.FunctionDef object",
" Return a list of strings, where each string is a line of GLSL\n code.\n<END>",
"<BEGIN>\n## `kwargs_as_assign... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_function API.
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... | Search an AST for a function with the given name.
A KeyError is raised if the function is not found.
root: an AST node
function_name: function to search for (string) | "Search an AST for a function with the given name.\n\n A KeyError is raised if the function is not found.\n\n root: an AST node\n\n function_name: function to search for (string)" | 21 | false | nicholasbishop/shaderdef | find_function | 32,195 | |
LDU_FT/jeongyoonlee/Kaggler/save_data | LDU_FT | [
"<BEGIN>\n## `fit`",
"Train a network with the quasi-Newton method.",
" Args:\n X (np.array of float): feature matrix for training\n y (np.array of float): target values for training\n X_val (np.array of float): feature matrix for validation\n y_val (np.array o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Save data as a CSV, LibSVM or HDF5 file based on the file extension.
Args:
X (numpy or scipy sparse matrix): Data matrix
y (numpy array): Target vector. If None, all zero vector will be saved.
path (str): Path to the CSV, LibSVM or HDF5 file to save data. | "Save data as a CSV, LibSVM or HDF5 file based on the file extension.\n\n Args:\n X (numpy or scipy sparse matrix): Data matrix\n y (numpy array): Target vector. If None, all zero vector will be saved.\n path (str): Path to the CSV, LibSVM or HDF5 file to save data." | 114 | false | jeongyoonlee/Kaggler | save_data | 32,196 | |
LDU_FT/robmarkcole/HASS-data-detective/default_hass_config_dir | LDU_FT | [
"<BEGIN>\n## `default_hass_config_dir`",
"Put together the default configuration directory based on the OS.\n<END>",
"<BEGIN>\n## `_secret_yaml`",
"Load secrets and embed it into the configuration YAML.\n<END>",
"<BEGIN>\n## `_include_yaml`",
"Load another YAML file and embeds it using the !include tag.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_hass_config_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_hass_config_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Put together the default configuration directory based on the OS. | "Put together the default configuration directory based on the OS." | 30 | false | robmarkcole/HASS-data-detective | default_hass_config_dir | 32,197 | |
LDU_FT/FlorianRhiem/pyGLFW/_raise_glfw_errors_as_exceptions | LDU_FT | [
"<BEGIN>\n## `_find_library_candidates`",
"Finds and returns filenames which might be the library you are looking for.\n<END>",
"<BEGIN>\n## `_load_library`",
"Finds, loads and returns the most recent version of the library.\n<END>",
"<BEGIN>\n## `_get_library_search_paths`",
"Returns a list of library se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raise_glfw_errors_as_exceptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _raise_glfw_errors_as_exceptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its c... | Default error callback that raises GLFWError exceptions for glfw errors.
Set an alternative error callback or set glfw.ERROR_REPORTING to False to
disable this behavior. | "Default error callback that raises GLFWError exceptions for glfw errors.\n Set an alternative error callback or set glfw.ERROR_REPORTING to False to\n disable this behavior." | 105 | false | FlorianRhiem/pyGLFW | _raise_glfw_errors_as_exceptions | 32,198 | |
LDU_FT/villebro/pyhtzee/score_small_straight_yatzy | LDU_FT | [
"<BEGIN>\n## `score_x_of_a_kind_yahtzee`",
"Return sum of dice if there are a minimum of equal min_same_faces dice, otherwise\n return zero. Only works for 3 or more min_same_faces.\n<END>",
"<BEGIN>\n## `score_x_of_a_kind_yatzy`",
"Similar to yahtzee, but only return the sum of the dice that satisfy min_s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the score_small_straight_yatzy 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 score_small_straight_yatzy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Small straight scoring according to yatzy rules | "Small straight scoring according to yatzy rules" | 12 | false | villebro/pyhtzee | score_small_straight_yatzy | 32,199 | |
LDU_FT/rkhleics/wagtailmodeladmin/get_ordering_field_columns | LDU_FT | [
"<BEGIN>\n## `process_request`",
"Ignore unnecessary actions for static file requests, posts, or ajax\n requests. We're only interested in redirecting following a 'natural'\n request redirection to the `wagtailadmin_explore_root` or\n `wagtailadmin_explore` views.\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_ordering_field_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_ordering_field_columns API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Returns an OrderedDict of ordering field column numbers and asc/desc | "Returns an OrderedDict of ordering field column numbers and asc/desc" | 52 | false | rkhleics/wagtailmodeladmin | get_ordering_field_columns | 32,200 | |
LDU_FT/google/google-visualization-python/ToCsv | LDU_FT | [
"<BEGIN>\n## `CoerceValue`",
"Coerces a single value into the type expected for its column.",
" Internal helper method.",
" Args:\n value: The value which should be converted\n value_type: One of \"string\", \"number\", \"boolean\", \"date\", \"datetime\" or\n \"timeofday\".",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ToCsv API.
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 ToCsv API.
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... | Writes the data table as a CSV string.
Output is encoded in UTF-8 because the Python "csv" module can't handle
Unicode properly according to its documentation.
Args:
columns_order: Optional. Specifies the order of columns in the
output table. Specify a list of all column IDs in ... | "Writes the data table as a CSV string.\n\n Output is encoded in UTF-8 because the Python \"csv\" module can't handle\n Unicode properly according to its documentation.\n\n Args:\n columns_order: Optional. Specifies the order of columns in the\n output table. Specify a list of all colu... | 87 | false | google/google-visualization-python | ToCsv | 32,201 | |
LDU_FT/AoiKuiyuyou/AoikImportUtil-Python/import_code | LDU_FT | [
"<BEGIN>\n## `import_code`",
"Create a module object by code.\n @param mod_code: the code that the module contains.",
" @param mod_name: module name.\n<END>",
"<BEGIN>\n## `import_name`",
"Import a module by module name.",
" @param mod_name: module name.\n<END>",
"<BEGIN>\n## `import_path`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the import_code API.
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 import_code API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Create a module object by code.
@param mod_code: the code that the module contains.
@param mod_name: module name. | "Create a module object by code.\n @param mod_code: the code that the module contains.\n\n @param mod_name: module name." | 31 | false | AoiKuiyuyou/AoikImportUtil-Python | import_code | 32,202 | |
LDU_FT/roboogle/gtkmvc3/end_grouping | LDU_FT | [
"<BEGIN>\n## `__create_log_props`",
"Creates all the logical property.",
" The list of names of properties to be created is passed\n with frozenset log_props. The getter/setter information is\n taken from _{get,set}dict.",
" This method resolves also wildcards in names, and perform... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the end_grouping API.
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 end_grouping API.
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... | Raises IndexError when no group is open. | "Raises IndexError when no group is open." | 300 | false | roboogle/gtkmvc3 | end_grouping | 32,203 | |
LDU_FT/moderngl/moderngl/texture3d | LDU_FT | [
"<BEGIN>\n## `render`",
"The render primitive (mode) must be the same as\n the input primitive of the GeometryShader.",
" Args:\n mode (int): By default :py:data:`TRIANGLES` will be used.\n vertices (int): The number of vertices to transform.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the texture3d API.
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 texture3d API.
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 :py:class:`Texture3D` object.
Args:
size (tuple): The width, height and depth of the texture.
components (int): The number of components 1, 2, 3 or 4.
data (bytes): Content of the texture.
Keyword Args:
alignment (int): T... | "Create a :py:class:`Texture3D` object.\n\n Args:\n size (tuple): The width, height and depth of the texture.\n components (int): The number of components 1, 2, 3 or 4.\n data (bytes): Content of the texture.\n\n Keyword Args:\n alignment... | 263 | false | moderngl/moderngl | texture3d | 32,204 | |
LDU_FT/HPCC-Cloud-Computing/CAL/_get_server_cls | LDU_FT | [
"<BEGIN>\n## `delete`",
"This is bad delete function\n because one vpc can have more than one subnet.\n It is Ok if user only use CAL for manage cloud resource\n We will update ASAP.\n<END>",
"<BEGIN>\n## `create_container`",
"Create container",
" :param container(string): contai... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_server_cls API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_server_cls API.
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... | Return an appropriate WSGI server class base on provided host
:param host: The listen host for the zaqar API server. | "Return an appropriate WSGI server class base on provided host\n :param host: The listen host for the zaqar API server." | 68 | false | HPCC-Cloud-Computing/CAL | _get_server_cls | 32,205 | |
LDU_FT/alejandroautalan/pygubu/__obj2choices | LDU_FT | [
"<BEGIN>\n## `_autoscroll`",
"Hide and show scrollbar as needed.\n Code from Joe English (JE) at http://wiki.tcl.tk/950\n<END>",
"<BEGIN>\n## `__regpoly_coords`",
"Create the coordinates of the regular polygon specified\n<END>",
"<BEGIN>\n## `get_image`",
"Return tk image corresponding to name which is... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __obj2choices API.
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 __obj2choices API.
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... | - json list of key, value pairs:
Example: [["A", "Option 1 Label"], ["B", "Option 2 Label"]]
- space separated string with a list of options:
Example: "Option1 Opt2 Opt3"
will be converted to a key, value pair of the following form:
(("Option1", "Option1), ("Opt2"... | "- json list of key, value pairs:\n Example: [[\"A\", \"Option 1 Label\"], [\"B\", \"Option 2 Label\"]]\n - space separated string with a list of options:\n Example: \"Option1 Opt2 Opt3\"\n will be converted to a key, value pair of the following form:\n ((\"Option1\", ... | 73 | false | alejandroautalan/pygubu | __obj2choices | 32,206 | |
LDU_FT/wikimedia/ores/parse_injection | LDU_FT | [
"<BEGIN>\n## `redis_from_url`",
"Converts a redis URL used by celery into a `redis.Redis` object.\n<END>",
"<BEGIN>\n## `process_model_scores`",
"Generates a score map for a set of models based on a `root_cache`.\n This method performs no substantial IO, but may incur substantial CPU\n usage.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_injection API.
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_injection API.
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... | Parse values for features / datasources of interest. | "Parse values for features / datasources of interest." | 52 | false | wikimedia/ores | parse_injection | 32,207 | |
LDU_FT/exosite-labs/pyonep/usage | LDU_FT | [
"<BEGIN>\n## `request`",
"Wraps HTTPConnection.request. On exception it calls exception_fn\n with the exception object. If exception_fn is None, it re-raises the\n exception. If notimeout is True, create a new connection (regardless of\n self.reuseconnection setting) that uses the global defa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the usage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the usage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns metric usage for client and its subhierarchy.
Args:
auth: <cik> for authentication
resource: ResourceID
metrics: Metric to measure (as string), it may be an entity or consumable.
starttime: Start time of window to measure useage (format is ___).
... | "Returns metric usage for client and its subhierarchy.\n\n Args:\n auth: <cik> for authentication\n resource: ResourceID\n metrics: Metric to measure (as string), it may be an entity or consumable.\n starttime: Start time of window to measure useage (format is ___).\n ... | 199 | false | exosite-labs/pyonep | usage | 32,208 | |
LDU_FT/saltstack/pytest-salt/scan_setup_py | LDU_FT | [
"<BEGIN>\n## `git_versions_from_keywords`",
"Get version information from git keywords.\n<END>",
"<BEGIN>\n## `render_pep440_branch_based`",
"Build up version string, with post-release \"local version identifier\".",
" Our goal: TAG[+DISTANCE.BRANCH_gHEX[.dirty]] . Note that if you\n get a tagged buil... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scan_setup_py API.
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 scan_setup_py API.
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... | Validate the contents of setup.py against Versioneer's expectations. | "Validate the contents of setup.py against Versioneer's expectations." | 14 | false | saltstack/pytest-salt | scan_setup_py | 32,209 | |
LDU_FT/naphatkrit/easyci/load_user_config | LDU_FT | [
"<BEGIN>\n## `get_signature`",
"Get the signature of the current state of the repository",
" TODO right now `get_signature` is an effectful process in that\n it adds all untracked file to staging. This is the only way to get\n accruate diff on new files. This is ok because we only use it on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_user_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 load_user_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 ... | Load the user config
Args:
vcs (easyci.vcs.base.Vcs) - the vcs object for the current project
Returns:
dict - the config
Raises:
ConfigFormatError
ConfigNotFoundError | "Load the user config\n\n Args:\n vcs (easyci.vcs.base.Vcs) - the vcs object for the current project\n\n Returns:\n dict - the config\n\n Raises:\n ConfigFormatError\n ConfigNotFoundError" | 94 | false | naphatkrit/easyci | load_user_config | 32,210 | |
LDU_FT/cirruscluster/cirruscluster/AddNewVolumeToInstance | LDU_FT | [
"<BEGIN>\n## `fetch_file`",
"save a remote file to the specified path\n<END>",
"<BEGIN>\n## `_varFindLimitSpace`",
"limits the search space of space to part",
" basically does space.get(part, None), but with\n templating for part and a few more things\n<END>",
"<BEGIN>\n## `_varFind`",
"Searches f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AddNewVolumeToInstance 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 AddNewVolumeToInstance 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 volume id added... mount point is /mnt/vol-<id>/. | "Returns the volume id added... mount point is /mnt/vol-<id>/." | 225 | false | cirruscluster/cirruscluster | AddNewVolumeToInstance | 32,211 | |
LDU_FT/toumorokoshi/miura/get_method_from_module | LDU_FT | [
"<BEGIN>\n## `parse_job`",
"Generates and returns a job object with the following:",
" * a run method, as defined in the readme\n * a list of posix-like arguments\n * a dictionary of data\n * templates: a dict-like interface of (template_name, template_body) pairs\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_method_from_module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_method_from_module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | from a valid python module path, get the run method name passed | "from a valid python module path, get the run method name passed" | 15 | false | toumorokoshi/miura | get_method_from_module | 32,212 | |
LDU_FT/MacHu-GWU/docfly-project/fly | LDU_FT | [
"<BEGIN>\n## `is_valid_package_module_name`",
"Test whether it's a valid package or module name.",
" - a-z, 0-9, and underline\n - starts with underline or alpha letter",
" valid:",
" - ``a``\n - ``a.b.c``\n - ``_a``\n - ``_a._b._c``",
" invalid:",
" - ``A``\n - ``0``\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fly API.
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 fly API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Generate toctree directive for rst file.
:param conf_path: conf.py file absolute path
:param docname: the rst file relpath from conf.py directory.
:param source: rst content.
:param maxdepth: int, max toc tree depth. | "Generate toctree directive for rst file.\n\n :param conf_path: conf.py file absolute path\n :param docname: the rst file relpath from conf.py directory.\n :param source: rst content.\n :param maxdepth: int, max toc tree depth." | 47 | false | MacHu-GWU/docfly-project | fly | 32,213 | |
LDU_FT/skelsec/minidump/read_int | LDU_FT | [
"<BEGIN>\n## `hexdump`",
"@brief Return {src} in hex dump.\n\t@param[in] length\t{Int} Nb Bytes by row.\n\t@param[in] sep\t\t{Char} For the text part, {sep} will be used for non ASCII char.\n\t@return {Str} The hexdump",
"\t@note Full support for python2 and python3 !\n<END>",
"<BEGIN>\n## `parse_mini`",
"m... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_int API.
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 read_int API.
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... | Reads an integer. The size depends on the architecture.
Reads a 4 byte small-endian singed int on 32 bit arch
Reads an 8 byte small-endian singed int on 64 bit arch | "Reads an integer. The size depends on the architecture. \n\t\tReads a 4 byte small-endian singed int on 32 bit arch\n\t\tReads an 8 byte small-endian singed int on 64 bit arch" | 27 | false | skelsec/minidump | read_int | 32,214 | |
LDU_FT/Yubico/python-yubico/_read_capabilities | LDU_FT | [
"<BEGIN>\n## `req_string`",
"Return string describing model and version requirement.\n<END>",
"<BEGIN>\n## `is_compatible`",
"Check if this flag is compatible with a YubiKey of version 'ver'.\n<END>",
"<BEGIN>\n## `get_set`",
"Return the boolean value of 'flag'. If 'new' is set,\n the flag is updat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_capabilities 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 _read_capabilities 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... | Read the capabilities list from a YubiKey >= 4.0.0 | "Read the capabilities list from a YubiKey >= 4.0.0" | 141 | false | Yubico/python-yubico | _read_capabilities | 32,215 | |
LDU_FT/QInfer/python-qinfer/simulate_experiment | LDU_FT | [
"<BEGIN>\n## `h`",
"r\"\"\"\n Returns the step size to be used in numerical differentiation with \n respect to the model parameters.",
" The step size is given as a vector with length ``n_modelparams`` so \n that each model parameter can be weighted independently.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simulate_experiment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simulate_experiment API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Simulates the underlying (serial) model using the parallel
engines. Returns what the serial model would return, see
:attr:`~Simulatable.simulate_experiment`
:param bool split_by_modelparams: If ``True``, splits up
``modelparams`` into `n_engines` chunks and distributes
... | "Simulates the underlying (serial) model using the parallel \n engines. Returns what the serial model would return, see\n :attr:`~Simulatable.simulate_experiment`\n\n :param bool split_by_modelparams: If ``True``, splits up\n ``modelparams`` into `n_engines` chunks and distributes \n ... | 362 | false | QInfer/python-qinfer | simulate_experiment | 32,216 | |
LDU_FT/jvsteiner/merkletree/get_all_hex_chains | LDU_FT | [
"<BEGIN>\n## `check_chain`",
"Verify a merkle chain to see if the Merkle root can be reproduced.\n<END>",
"<BEGIN>\n## `check_hex_chain`",
"Verify a merkle chain, with hashes hex encoded, to see if the Merkle root can be reproduced.\n<END>",
"<BEGIN>\n## `add_hash`",
"Add a Node based on a precomputed, he... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_hex_chains 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_all_hex_chains 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... | Assemble and return a list of all chains for all nodes to the merkle root, hex encoded. | "Assemble and return a list of all chains for all nodes to the merkle root, hex encoded." | 24 | false | jvsteiner/merkletree | get_all_hex_chains | 32,217 | |
LDU_FT/jeffrimko/Qprompt/enum | LDU_FT | [
"<BEGIN>\n## `_format_kwargs`",
"Decorator to handle formatting kwargs to the proper names expected by\n the associated function. The formats dictionary string keys will be used as\n expected function kwargs and the value list of strings will be renamed to\n the associated key string.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enum API.
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 enum API.
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... | Add a menu entry whose name will be an auto indexed number. | "Add a menu entry whose name will be an auto indexed number." | 46 | false | jeffrimko/Qprompt | enum | 32,218 | |
LDU_FT/mattaustin/django-storages-s3upload/clean_key_name | LDU_FT | [
"<BEGIN>\n## `_generate_processed_key_name`",
"Returns a key name to use after processing based on timestamp and\n upload key name.\n<END>",
"<BEGIN>\n## `clean_bucket_name`",
"Validates that the bucket name in the provided data matches the\n bucket name from the storage backend.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_key_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clean_key_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 ex... | Validates that the key in the provided data starts with the
required prefix, and that it exists in the bucket. | "Validates that the key in the provided data starts with the\n required prefix, and that it exists in the bucket." | 23 | false | mattaustin/django-storages-s3upload | clean_key_name | 32,219 | |
LDU_FT/idank/bashlex/p_list_terminator | LDU_FT | [
"<BEGIN>\n## `_createtoken`",
"create a token with position information\n<END>",
"<BEGIN>\n## `p_inputunit`",
"inputunit : simple_list simple_list_terminator\n | NEWLINE\n | error NEWLINE\n | EOF\n<END>",
"<BEGIN>\n## `p_word_list`",
"word_list : WORD\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_list_terminator API.
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 p_list_terminator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | list_terminator : NEWLINE
| SEMICOLON
| EOF | "list_terminator : NEWLINE\n | SEMICOLON\n | EOF" | 59 | false | idank/bashlex | p_list_terminator | 32,220 | |
LDU_FT/openpermissions/perch/active_joined_organisations | LDU_FT | [
"<BEGIN>\n## `collect`",
"Import all modules inside the perch.migrations package and return the\n registered migrations\n<END>",
"<BEGIN>\n## `run_migrations`",
"Run migrations for a resource type",
" :param: a dicitionary of migrations\n<END>",
"<BEGIN>\n## `_migrate_resource`",
"Migrate a resour... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the active_joined_organisations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the active_joined_organisations API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | View for getting organisations associated with a user | "View for getting organisations associated with a user" | 177 | false | openpermissions/perch | active_joined_organisations | 32,221 | |
LDU_FT/kevinpt/hdlparse/_register_array_types | LDU_FT | [
"<BEGIN>\n## `parse_vhdl_file`",
"Parse a named VHDL file",
" Args:\n fname(str): Name of file to parse\n Returns:\n Parsed objects.\n<END>",
"<BEGIN>\n## `parse_vhdl`",
"Parse a text buffer of VHDL code",
" Args:\n text(str): Source code to parse\n Returns:\n Parsed objects.\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _register_array_types 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 _register_array_types API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Add array type definitions to internal registry
Args:
objects (list of VhdlType or VhdlSubtype): Array types to track | "Add array type definitions to internal registry\n \n Args:\n objects (list of VhdlType or VhdlSubtype): Array types to track" | 46 | false | kevinpt/hdlparse | _register_array_types | 32,222 | |
LDU_FT/ECESeniorDesign/greenhouse_envmgmt/control | LDU_FT | [
"<BEGIN>\n## `TCA_select`",
"This function will write to the control register of the\r\n TCA module to select the channel that will be\r\n exposed on the TCA module.\r\n After doing this, the desired module can be used as it would be normally.\r\n (The caller sh... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the control API.
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 control API.
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... | This method serves as the primary interaction point
to the controls interface.
- The 'on' and 'off' arguments can either be a list or a single string.
This allows for both individual device control and batch controls.
Note:
Both the onlist and offlist are optional.
... | "This method serves as the primary interaction point\n to the controls interface.\n - The 'on' and 'off' arguments can either be a list or a single string.\n This allows for both individual device control and batch controls.\n\n Note:\n Both the onlist and offlist are opti... | 55 | false | ECESeniorDesign/greenhouse_envmgmt | control | 32,223 | |
LDU_FT/mthornhill/django-postal/get | LDU_FT | [
"<BEGIN>\n## `coerce_put_post`",
"Django doesn't particularly understand REST.\n In case we send data over PUT, Django won't\n actually look at the data and load it. We need\n to twist its arm here.",
" The try/except abominiation here is due to a bug\n in mod_python. This should fix it.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Gets an emitter, returns the class and a content-type. | "Gets an emitter, returns the class and a content-type." | 31 | false | mthornhill/django-postal | get | 32,224 | |
LDU_FT/liampauling/betfair/list_event_types | LDU_FT | [
"<BEGIN>\n## `streaming_market_filter`",
":param list market_ids: filter market data to data pertaining to specific marketIds.\n :param list event_type_ids: filter market data to data pertaining to specific event_type ids.\n :param list event_ids: filter market data to data pertaining to specific event ids.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_event_types API.
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 list_event_types API.
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 list of Event Types (i.e. Sports) associated with the markets
selected by the MarketFilter.
:param dict filter: The filter to select desired markets
:param str locale: The language used for the response
:param requests.session session: Requests session object
:param bo... | "Returns a list of Event Types (i.e. Sports) associated with the markets\n selected by the MarketFilter.\n\n :param dict filter: The filter to select desired markets\n :param str locale: The language used for the response\n :param requests.session session: Requests session object\n :p... | 224 | false | liampauling/betfair | list_event_types | 32,225 | |
LDU_FT/jrief/django-angular/convert_ajax_data | LDU_FT | [
"<BEGIN>\n## `THUMBNAIL_OPTIONS`",
"Set the size as a 2-tuple for thumbnailed images after uploading them.\n<END>",
"<BEGIN>\n## `get_context`",
"Some widgets require a modified rendering context, if they contain angular directives.\n<END>",
"<BEGIN>\n## `errors`",
"Returns a TupleErrorList for this field... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_ajax_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_ajax_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Due to the way Angular organizes it model, when this Form data is sent using Ajax,
then for this kind of widget, the sent data has to be converted into a format suitable
for Django's Form validation. | "Due to the way Angular organizes it model, when this Form data is sent using Ajax,\n then for this kind of widget, the sent data has to be converted into a format suitable\n for Django's Form validation." | 63 | false | jrief/django-angular | convert_ajax_data | 32,226 | |
LDU_FT/0k/shyaml/aget | LDU_FT | [
"<BEGIN>\n## `tokenize`",
"r\"\"\"Returns an iterable through all subparts of string splitted by '.'",
" So:",
" >>> list(tokenize('foo.bar.wiz'))\n ['foo', 'bar', 'wiz']",
" Contrary to traditional ``.split()`` method, this function has to\n deal with any type of data in the string. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aget API.
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 aget API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | r"""Allow to get values deep in a dict with iterable keys
Accessing leaf values is quite straightforward:
>>> dct = {'a': {'x': 1, 'b': {'c': 2}}}
>>> aget(dct, ('a', 'x'))
1
>>> aget(dct, ('a', 'b', 'c'))
2
If key is empty, it returns unchanged the ``dct`` value.
... | "r\"\"\"Allow to get values deep in a dict with iterable keys\n\n Accessing leaf values is quite straightforward:\n\n >>> dct = {'a': {'x': 1, 'b': {'c': 2}}}\n >>> aget(dct, ('a', 'x'))\n 1\n >>> aget(dct, ('a', 'b', 'c'))\n 2\n\n If key is empty, it returns unchanged the ``dct... | 30 | false | 0k/shyaml | aget | 32,227 | |
LDU_FT/shidenggui/easytrader/format_response_data_type | LDU_FT | [
"<BEGIN>\n## `prepare`",
"登录的统一接口\n :param config_file 登录数据文件,若无则选择参数登录模式\n :param user: 各家券商的账号或者雪球的用户名\n :param password: 密码, 券商为加密后的密码,雪球为明文密码\n :param account: [雪球登录需要]雪球手机号(邮箱手机二选一)\n :param portfolio_code: [雪球登录需要]组合代码\n :param portfolio_market: [雪球登录需要]交易市场,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_response_data_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_response_data_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | 格式化返回的值为正确的类型
:param response_data: 返回的数据 | "格式化返回的值为正确的类型\n :param response_data: 返回的数据" | 93 | false | shidenggui/easytrader | format_response_data_type | 32,228 | |
LDU_FT/treethought/flask-assistant/register | LDU_FT | [
"<BEGIN>\n## `build_item`",
"Builds an item that may be added to List or Carousel\n<END>",
"<BEGIN>\n## `suggest`",
"Use suggestion chips to hint at responses to continue or pivot the conversation\n<END>",
"<BEGIN>\n## `link_out`",
"Presents a chip similar to suggestion, but instead links to a url\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Registers a new intent and returns the Intent object with an ID | "Registers a new intent and returns the Intent object with an ID" | 65 | false | treethought/flask-assistant | register | 32,229 | |
LDU_FT/shaiguitar/snowclient.py/req | LDU_FT | [
"<BEGIN>\n## `tablename_from_link`",
"Helper method for URL's that look like /api/now/v1/table/FOO/sys_id etc.\n<END>",
"<BEGIN>\n## `list`",
"get a collection of records by table name.\n returns a collection of SnowRecord obj.\n<END>",
"<BEGIN>\n## `get`",
"get a single record by table name and sy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the req API.
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 req API.
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... | sugar that wraps the 'requests' module with basic auth and some headers. | "sugar that wraps the 'requests' module with basic auth and some headers." | 26 | false | shaiguitar/snowclient.py | req | 32,230 | |
LDU_FT/ehansis/ozelot/load | LDU_FT | [
"<BEGIN>\n## `_query`",
"Base query for an url and xpath",
" Args:\n url (str): URL to search\n xpath (str): xpath to search (may be ``None``)\n<END>",
"<BEGIN>\n## `get`",
"Get a URL via the cache.",
" If the URL exists in the cache, return the cached value. Otherwise ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Load the data file, do some basic type conversions | "Load the data file, do some basic type conversions" | 203 | false | ehansis/ozelot | load | 32,231 | |
LDU_FT/vnmabus/dcor/_dyad_update | LDU_FT | [
"<BEGIN>\n## `_float_copy_to_out`",
"Copy origin to out and return it.",
" If ``out`` is None, a new copy (casted to floating point) is used. If\n ``out`` and ``origin`` are the same, we simply return it. Otherwise we\n copy the values.\n<END>",
"<BEGIN>\n## `_double_centered_imp`",
"Real implement... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dyad_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _dyad_update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Inner function of the fast distance covariance.
This function is compiled because otherwise it would become
a bottleneck. | "Inner function of the fast distance covariance.\n\n This function is compiled because otherwise it would become\n a bottleneck." | 201 | false | vnmabus/dcor | _dyad_update | 32,232 | |
LDU_FT/ubccr/pinky/setdbo | LDU_FT | [
"<BEGIN>\n## `draw`",
"(molecule)->canonical representation of a molecule\n Well, it's only canonical if the atom symorders are\n canonical, otherwise it's arbitrary.",
" atoms must have a symorder attribute\n bonds must have a equiv_class attribute\n<END>",
"<BEGIN>\n## `getPyroleLikeAtoms`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setdbo API.
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 setdbo API.
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 ... | Set the double bond orientation for bond1 and bond2
based on this bond | "Set the double bond orientation for bond1 and bond2\n based on this bond" | 63 | false | ubccr/pinky | setdbo | 32,233 | |
LDU_FT/darkfeline/animanager/lookup | LDU_FT | [
"<BEGIN>\n## `_clean_fields`",
"Clean lookup fields and check for errors.\n<END>",
"<BEGIN>\n## `select`",
"Perform an arbitrary SQL SELECT WHERE on the anime table.",
" By nature of \"arbitrary query\", this is vulnerable to injection, use only\n trusted values for `where_query`.",
" This will \... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lookup API.
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 lookup API.
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 ... | Look up information for a single anime.
:param fields: anime fields to get. If ``None``, get all fields.
:param episode_fields: episode fields to get.
If ``None``, get all fields. If empty, don't get episodes. | "Look up information for a single anime.\n\n :param fields: anime fields to get. If ``None``, get all fields.\n :param episode_fields: episode fields to get.\n If ``None``, get all fields. If empty, don't get episodes." | 69 | false | darkfeline/animanager | lookup | 32,234 | |
LDU_FT/clearclaw/logtool/render_pep440_bare | LDU_FT | [
"<BEGIN>\n## `log_fault`",
"Print the usual traceback information, followed by a listing of all\n the local variables in each frame.\n<END>",
"<BEGIN>\n## `log_fault_exc_str`",
"Make a StringIO of the usual traceback information, followed by a\n listing of all the local variables in each frame.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render_pep440_bare 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 render_pep440_bare 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... | TAG[.DISTANCE[.dev0]] .
The ".dev0" means dirty.
Eexceptions:
1: no tags. 0.DISTANCE[.dev0] | "TAG[.DISTANCE[.dev0]] .\n\n The \".dev0\" means dirty.\n\n Eexceptions:\n 1: no tags. 0.DISTANCE[.dev0]" | 14 | false | clearclaw/logtool | render_pep440_bare | 32,235 | |
LDU_FT/econ-ark/HARK/defBoundary | LDU_FT | [
"<BEGIN>\n## `calcLogSumChoiceProbs`",
"Returns the final optimal value and choice probabilities given the choice\n specific value functions `Vals`. Probabilities are degenerate if sigma == 0.0.\n Parameters\n ----------\n Vals : [numpy.array]\n A numpy.array that holds choice specific values a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the defBoundary API.
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 defBoundary API.
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... | Find the borrowing constraint for each current state and save it as an
attribute of self for use by other methods.
Parameters
----------
none
Returns
-------
none | "Find the borrowing constraint for each current state and save it as an\n attribute of self for use by other methods.\n\n Parameters\n ----------\n none\n\n Returns\n -------\n none" | 1,253 | true | econ-ark/HARK | defBoundary | 32,236 | |
LDU_FT/mozilla/django-tidings/_fire_task | LDU_FT | [
"<BEGIN>\n## `multi_raw`",
"Scoop multiple model instances out of the DB at once, given a query that\n returns all fields of each.",
" Return an iterable of sequences of model instances parallel to the\n ``models`` sequence of classes. For example::",
" [(<User such-and-such>, <Watch such-and-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _fire_task API.
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 _fire_task API.
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... | Build and send the emails as a celery task. | "Build and send the emails as a celery task." | 73 | false | mozilla/django-tidings | _fire_task | 32,237 | |
LDU_FT/bd808/python-iptools/long2ip | LDU_FT | [
"<BEGIN>\n## `validate_ip`",
"Validate a hexidecimal IPv6 ip address.",
" >>> validate_ip('::')\n True\n >>> validate_ip('::1')\n True\n >>> validate_ip('2001:db8:85a3::8a2e:370:7334')\n True\n >>> validate_ip('2001:db8:85a3:0:0:8a2e:370:7334')\n True\n >>> validate_ip('2001:0db8:85a3... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the long2ip API.
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 long2ip API.
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... | Convert a network byte order 32-bit integer to a dotted quad ip
address.
>>> long2ip(2130706433)
'127.0.0.1'
>>> long2ip(MIN_IP)
'0.0.0.0'
>>> long2ip(MAX_IP)
'255.255.255.255'
>>> long2ip(None) #doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
T... | "Convert a network byte order 32-bit integer to a dotted quad ip\n address.\n\n\n >>> long2ip(2130706433)\n '127.0.0.1'\n >>> long2ip(MIN_IP)\n '0.0.0.0'\n >>> long2ip(MAX_IP)\n '255.255.255.255'\n >>> long2ip(None) #doctest: +IGNORE_EXCEPTION_DETAIL\n Traceback (most recent call last):\n ... | 70 | false | bd808/python-iptools | long2ip | 32,238 | |
LDU_FT/edx/XBlock/_field_data | LDU_FT | [
"<BEGIN>\n## `default_select`",
"Raise an exception when we have ambiguous entry points.\n<END>",
"<BEGIN>\n## `_load_class_entry_point`",
"Load `entry_point`, and set the `entry_point.name` as the\n attribute `plugin_name` on the loaded object\n<END>",
"<BEGIN>\n## `load_class`",
"Load a single cl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _field_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _field_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return the field data for the field `name` on the :class:`~xblock.core.XBlock` `block` | "Return the field data for the field `name` on the :class:`~xblock.core.XBlock` `block`" | 295 | false | edx/XBlock | _field_data | 32,239 | |
LDU_FT/artefactual-labs/mets-reader-writer/parsed_event_detail | LDU_FT | [
"<BEGIN>\n## `register_id`",
"Register a manually assigned id as used, to avoid collisions.\n<END>",
"<BEGIN>\n## `parse`",
"Create a new AMDSec by parsing root.",
" :param root: Element or ElementTree to be parsed into an object.\n<END>",
"<BEGIN>\n## `serialize`",
"Serialize this amdSec and all... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parsed_event_detail 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 parsed_event_detail 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... | Parse and return our PREMIS eventDetail string value like::
'program="7z"; version="9.20"; algorithm="bzip2"'
and return a dict like::
{'algorithm': 'bzip2', 'version': '9.20', 'program': '7z'} | "Parse and return our PREMIS eventDetail string value like::\n\n 'program=\"7z\"; version=\"9.20\"; algorithm=\"bzip2\"'\n\n and return a dict like::\n\n {'algorithm': 'bzip2', 'version': '9.20', 'program': '7z'}" | 179 | false | artefactual-labs/mets-reader-writer | parsed_event_detail | 32,240 | |
LDU_FT/bioasp/caspo/control | LDU_FT | [
"<BEGIN>\n## `from_str`",
"Creates a literal from a string",
" Parameters\n ----------\n string : str\n If the string starts with '!', it's interpreted as a negated variable",
" Returns\n -------\n caspo.core.literal.Literal\n Created object inst... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the control API.
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 control API.
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... | Finds all inclusion-minimal intervention strategies up to the given size.
Intervention strategies found are saved in the attribute :attr:`strategies`
as a :class:`caspo.core.clamping.ClampingList` object instance.
Example::
>>> from caspo import core, control
>>> netwo... | "Finds all inclusion-minimal intervention strategies up to the given size.\n Intervention strategies found are saved in the attribute :attr:`strategies`\n as a :class:`caspo.core.clamping.ClampingList` object instance.\n\n Example::\n\n >>> from caspo import core, control\n\n ... | 366 | false | bioasp/caspo | control | 32,241 | |
LDU_FT/raamana/pyradigm/compute_training_sizes | LDU_FT | [
"<BEGIN>\n## `check_compatibility`",
"Checks whether the given MLdataset instances are compatible",
" i.e. with same set of subjects, each beloning to the same class in all instances.",
" Checks the first dataset in the list against the rest, and returns a boolean array.",
" Parameters\n -------... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the compute_training_sizes 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 compute_training_sizes API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Computes the maximum training size that the smallest class can provide | "Computes the maximum training size that the smallest class can provide" | 140 | false | raamana/pyradigm | compute_training_sizes | 32,242 | |
LDU_FT/saltant-org/saltant-py/wait_until_finished | 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 wait_until_finished 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 wait_until_finished 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... | Wait until a task instance with the given UUID is finished.
Args:
refresh_period (int, optional): How many seconds to wait
before checking the task's status. Defaults to 5
seconds.
Returns:
:class:`saltant.models.base_task_instance.BaseTaskInstan... | "Wait until a task instance with the given UUID is finished.\n\n Args:\n refresh_period (int, optional): How many seconds to wait\n before checking the task's status. Defaults to 5\n seconds.\n\n Returns:\n :class:`saltant.models.base_task_instance.BaseT... | 134 | false | saltant-org/saltant-py | wait_until_finished | 32,243 | |
LDU_FT/ocaballeror/LyricFetch/normalize | LDU_FT | [
"<BEGIN>\n## `load_from_file`",
"Load a list of filenames from an external text file.\n<END>",
"<BEGIN>\n## `parse_argv`",
"Parse command line arguments. Settings will be stored in the global\n variables declared above.\n<END>",
"<BEGIN>\n## `exclude_sources`",
"Returns a narrower list of sources.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize API.
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 normalize API.
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... | Remove accented characters and such.
The argument chars_to_remove is a dictionary that maps a string of chars to
a single character. Every occurrence of every character in the first string
will be replaced by that second character passed as value. If only one
mapping is desired, chars_to_remove may be ... | "Remove accented characters and such.\n\n The argument chars_to_remove is a dictionary that maps a string of chars to\n a single character. Every occurrence of every character in the first string\n will be replaced by that second character passed as value. If only one\n mapping is desired, chars_to_remove m... | 69 | false | ocaballeror/LyricFetch | normalize | 32,244 | |
LDU_FT/robmarkcole/HASS-data-detective/localize | LDU_FT | [
"<BEGIN>\n## `default_hass_config_dir`",
"Put together the default configuration directory based on the OS.\n<END>",
"<BEGIN>\n## `_secret_yaml`",
"Load secrets and embed it into the configuration YAML.\n<END>",
"<BEGIN>\n## `_include_yaml`",
"Load another YAML file and embeds it using the !include tag.",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the localize API.
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 localize API.
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... | Localize a datetime object to local time. | "Localize a datetime object to local time." | 30 | false | robmarkcole/HASS-data-detective | localize | 32,245 | |
LDU_FT/espressif/esptool/flash_spi_attach | LDU_FT | [
"<BEGIN>\n## `decrypt`",
"Decrypt a block of cipher text using the AES block cipher.\n<END>",
"<BEGIN>\n## `increment`",
"Increment the counter (overflow rolls back to 0).\n<END>",
"<BEGIN>\n## `summary`",
"Print a human-readable summary of efuse contents\n<END>",
"<BEGIN>\n## `write_efuses`",
"Write ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flash_spi_attach API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flash_spi_attach API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Send SPI attach command to enable the SPI flash pins
ESP8266 ROM does this when you send flash_begin, ESP32 ROM
has it as a SPI command. | "Send SPI attach command to enable the SPI flash pins\n\n ESP8266 ROM does this when you send flash_begin, ESP32 ROM\n has it as a SPI command." | 199 | false | espressif/esptool | flash_spi_attach | 32,246 | |
LDU_FT/buildbot/buildbot/_prepare_base_image | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse messages sent by the 'buildbot-cvs-mail' program.\n<END>",
"<BEGIN>\n## `parse`",
"Parse messages sent by the svn 'commit-email.pl' trigger.\n<END>",
"<BEGIN>\n## `parse`",
"Parse branch notification messages sent by Launchpad.\n<END>",
"<BEGIN>\n## `remote_write`",
"Call... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prepare_base_image 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 _prepare_base_image 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... | I am a private method for creating (possibly cheap) copies of a
base_image for start_instance to boot. | "I am a private method for creating (possibly cheap) copies of a\n base_image for start_instance to boot." | 518 | false | buildbot/buildbot | _prepare_base_image | 32,247 | |
LDU_FT/kashifrazzaqui/again/ignores | LDU_FT | [
"<BEGIN>\n## `log`",
"logs parameters and result - takes no arguments\n<END>",
"<BEGIN>\n## `logx`",
"logs parameters and result\n takes arguments\n supress_args - list of parameter names to supress\n supress_all_args - boolean to supress all arguments\n supress_result - boolean to sup... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ignores API.
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 ignores API.
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... | :param args: Event objects
:returns: None
Any event that is ignored is acceptable but discarded | ":param args: Event objects\n :returns: None\n Any event that is ignored is acceptable but discarded" | 25 | false | kashifrazzaqui/again | ignores | 32,248 | |
LDU_FT/ask/carrot/register | LDU_FT | [
"<BEGIN>\n## `establish_connection`",
"Establish connection to the AMQP broker.\n<END>",
"<BEGIN>\n## `queue_exists`",
"Check if a queue has been declared.",
" :rtype bool:\n<END>",
"<BEGIN>\n## `queue_bind`",
"Bind queue to an exchange using a routing key.\n<END>",
"<BEGIN>\n## `get`",
"Rece... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the register API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Register a new encoder/decoder.
:param name: A convenience name for the serialization method.
:param encoder: A method that will be passed a python data structure
and should return a string representing the serialized data.
If ``None``, then only a decoder will be registered. E... | "Register a new encoder/decoder.\n\n :param name: A convenience name for the serialization method.\n\n :param encoder: A method that will be passed a python data structure\n and should return a string representing the serialized data.\n If ``None``, then only a decoder will be regist... | 162 | false | ask/carrot | register | 32,249 | |
LDU_FT/fhamborg/news-please/delete_whitespaces | LDU_FT | [
"<BEGIN>\n## `rss_parse`",
"Extracts all article links and initiates crawling them.",
" :param obj response: The scrapy response\n<END>",
"<BEGIN>\n## `article_parse`",
"Checks any given response on being an article and if positiv,\n passes the response to the pipeline.",
" :param obj... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_whitespaces 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 delete_whitespaces 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... | Removes newlines, tabs and whitespaces at the beginning, the end and if there is more than one.
:param arg: A string, the string which shell be cleaned
:return: A string, the cleaned string | "Removes newlines, tabs and whitespaces at the beginning, the end and if there is more than one.\n\n :param arg: A string, the string which shell be cleaned\n :return: A string, the cleaned string" | 277 | false | fhamborg/news-please | delete_whitespaces | 32,250 | |
LDU_FT/erikrose/nose-progressive/set_trace | LDU_FT | [
"<BEGIN>\n## `format_traceback`",
"Return an iterable of formatted Unicode traceback frames.",
" Also include a pseudo-frame at the end representing the exception itself.",
" Format things more compactly than the stock formatter, and make every\n frame an editor shortcut.\n<END>",
"<BEGIN>\n## `ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_trace API.
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 set_trace API.
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... | Call pdb.set_trace, making sure it receives the unwrapped stdout.
This is so we don't keep drawing progress bars over debugger output. | "Call pdb.set_trace, making sure it receives the unwrapped stdout.\n\n This is so we don't keep drawing progress bars over debugger output." | 65 | false | erikrose/nose-progressive | set_trace | 32,251 | |
LDU_FT/shad7/tvrenamer/apply_replacements | LDU_FT | [
"<BEGIN>\n## `execute`",
"Renames a file based on the name generated using metadata.",
" :param str filename: absolute path and filename of original file\n :param str formatted_name: absolute path and new filename\n<END>",
"<BEGIN>\n## `get_series_by_name`",
"Perform lookup for series",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_replacements 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 apply_replacements 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... | Applies custom replacements.
mapping(dict), where each dict contains:
'match' - filename match pattern to check against, the filename
replacement is applied.
'replacement' - string used to replace the matched part of the filename
'is_regex' - if True, the pattern is treated as a
... | "Applies custom replacements.\n\n mapping(dict), where each dict contains:\n 'match' - filename match pattern to check against, the filename\n replacement is applied.\n\n 'replacement' - string used to replace the matched part of the filename\n\n 'is_regex' - if True, the pattern is treat... | 135 | false | shad7/tvrenamer | apply_replacements | 32,252 | |
LDU_FT/honeynet/beeswarm/list | LDU_FT | [
"<BEGIN>\n## `setup_db`",
"Sets up the database schema and adds defaults.\n :param connection_string: Database URL. e.g: sqlite:///filename.db\n This is usually taken from the config file.\n<END>",
"<BEGIN>\n## `start_pty_request`",
"Start a PTY - intended to run it a (green)th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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... | Run the FTP LIST command, and update the state. | "Run the FTP LIST command, and update the state." | 112 | false | honeynet/beeswarm | list | 32,253 | |
LDU_FT/phaethon/kamene/trace3D | LDU_FT | [
"<BEGIN>\n## `post_build`",
"Called implicitly before a packet is sent.\n<END>",
"<BEGIN>\n## `float_encode`",
"Convert the integer value to its IGMPv3 encoded time value if needed.",
" If value < 128, return the value specified. If >= 128, encode as a floating \n point value. Value can be 0 - 31744.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trace3D API.
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 trace3D API.
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... | Give a 3D representation of the traceroute.
right button: rotate the scene
middle button: zoom
left button: move the scene
left button on a ball: toggle IP displaying
ctrl-left button on a ball: scan ports 21,22,23,25,80 and 443 and display the result | "Give a 3D representation of the traceroute.\n right button: rotate the scene\n middle button: zoom\n left button: move the scene\n left button on a ball: toggle IP displaying\n ctrl-left button on a ball: scan ports 21,22,23,25,80 and 443 and display the result" | 477 | false | phaethon/kamene | trace3D | 32,254 | |
LDU_FT/wheeler-microfluidics/dmf-control-board-firmware/V_actuation | LDU_FT | [
"<BEGIN>\n## `swap_default`",
"Given a `sympy` equation or equality, along with a list of symbol names,\n substitute the specified default value for each symbol for which a value is\n not provided through a keyword argument.",
" For example, consider the following equality:",
" >>> sp.pprint(H)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the V_actuation API.
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 V_actuation API.
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 voltage drop across the device (i.e., the ``Z1`` load) for
each feedback measurement.
Consider the feedback circuit diagrams below for the feedback
measurement circuits of the two the control board hardware versions.
.. code-block:: none
# Hardware ... | "Return the voltage drop across the device (i.e., the ``Z1`` load) for\n each feedback measurement.\n\n Consider the feedback circuit diagrams below for the feedback\n measurement circuits of the two the control board hardware versions.\n\n .. code-block:: none\n\n # ... | 206 | false | wheeler-microfluidics/dmf-control-board-firmware | V_actuation | 32,255 | |
LDU_FT/lsbardel/python-stdnet/clear_cache_fields | LDU_FT | [
"<BEGIN>\n## `load_iterable`",
"Load an ``iterable``.",
" By default it returns a generator of data loaded via the\n :meth:`loads` method.",
" :param iterable: an iterable over data to load.\n :param session: Optional :class:`stdnet.odm.Session`.\n :return: an iterable over ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear_cache_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the clear_cache_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.
Th... | Set cache fields to ``None``. Check :attr:`Field.as_cache`
for information regarding fields which are considered cache. | "Set cache fields to ``None``. Check :attr:`Field.as_cache`\nfor information regarding fields which are considered cache." | 387 | false | lsbardel/python-stdnet | clear_cache_fields | 32,256 | |
LDU_FT/huntrar/scrape/modify_filename_id | LDU_FT | [
"<BEGIN>\n## `write_files`",
"Write scraped or local file(s) in desired format.",
" Keyword arguments:\n args -- program arguments (dict)\n infilenames -- names of user-inputted and/or downloaded files (list)\n outfilename -- name of output file (str)",
" Remove PART(#).html files after convers... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_filename_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the modify_filename_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Modify filename to have a unique numerical identifier. | "Modify filename to have a unique numerical identifier." | 79 | false | huntrar/scrape | modify_filename_id | 32,257 | |
LDU_FT/timothydmorton/simpledist/double_lorgauss | LDU_FT | [
"<BEGIN>\n## `double_lorgauss`",
"Evaluates a normalized distribution that is a mixture of a double-sided Gaussian and Double-sided Lorentzian.",
" Parameters\n ----------\n x : float or array-like\n Value(s) at which to evaluate distribution",
" p : array-like\n Input parameters: mu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the double_lorgauss API.
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 double_lorgauss API.
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... | Evaluates a normalized distribution that is a mixture of a double-sided Gaussian and Double-sided Lorentzian.
Parameters
----------
x : float or array-like
Value(s) at which to evaluate distribution
p : array-like
Input parameters: mu (mode of distribution),
s... | "Evaluates a normalized distribution that is a mixture of a double-sided Gaussian and Double-sided Lorentzian.\n\n Parameters\n ----------\n x : float or array-like\n Value(s) at which to evaluate distribution\n\n p : array-like\n Input parameters: mu (mode of distribution),\n ... | 90 | false | timothydmorton/simpledist | double_lorgauss | 32,258 | |
LDU_FT/dirko/pyhacrf/get_params | LDU_FT | [
"<BEGIN>\n## `transform`",
"Transform sequence pairs to feature arrays that can be used as input to `Hacrf` models.",
" Parameters\n ----------\n raw_X : List of (sequence1_n, sequence2_n) pairs, one for each training example n.\n y : (ignored)",
" Returns\n -------\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Get parameters for this estimator.
Parameters
----------
deep: boolean, optional
If True, will return the parameters for this estimator and
contained subobjects that are estimators.
Returns
-------
params : mapping of string to any
Pa... | "Get parameters for this estimator.\n\n Parameters\n ----------\n deep: boolean, optional\n If True, will return the parameters for this estimator and\n contained subobjects that are estimators.\n\n Returns\n -------\n params : mapping of string to any\n ... | 46 | false | dirko/pyhacrf | get_params | 32,259 | |
LDU_FT/tilde-lab/tilde/augment | LDU_FT | [
"<BEGIN>\n## `wrap_cell`",
"Cell wrappers\n for customizing the GUI data table",
" TODO : must coincide with hierarchy!\n TODO : simplify this!\n<END>",
"<BEGIN>\n## `meminfo`",
"Get the amount of memory and swap, Mebibytes\n<END>",
"<BEGIN>\n## `serial_number`",
"Get the serial number. Require... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the augment API.
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 augment API.
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... | Augments a DATASET with some calcs
NB: this is the PUBLIC method
@returns error | "Augments a DATASET with some calcs\n NB: this is the PUBLIC method\n @returns error" | 68 | false | tilde-lab/tilde | augment | 32,260 | |
LDU_FT/KxSystems/pyq/select | LDU_FT | [
"<BEGIN>\n## `console_size`",
"Return console size as a (LINES, COLUMNS) tuple\n<END>",
"<BEGIN>\n## `get_unit`",
"Extract the time unit from array's dtype\n<END>",
"<BEGIN>\n## `k2a`",
"Rescale data from a K object x to array a.\n<END>",
"<BEGIN>\n## `show`",
"pretty-print data to the console",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API.
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 select API.
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 ... | select from self
>>> t = q('([]a:1 2 3; b:10 20 30)')
>>> t.select('a', where='b > 20').show()
a
-
3 | "select from self\n\n >>> t = q('([]a:1 2 3; b:10 20 30)')\n >>> t.select('a', where='b > 20').show()\n a\n -\n 3" | 34 | false | KxSystems/pyq | select | 32,261 | |
LDU_FT/harmsm/PyCmdMessenger/_recv_string | LDU_FT | [
"<BEGIN>\n## `send`",
"Send a command (which may or may not have associated arguments) to an \n arduino using the CmdMessage protocol. The command and any parameters\n should be passed as direct arguments to send. ",
" arg_formats is an optional string that specifies the formats to use fo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recv_string API.
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 _recv_string API.
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... | Recieve a binary (bytes) string, returning a python string. | "Recieve a binary (bytes) string, returning a python string." | 33 | false | harmsm/PyCmdMessenger | _recv_string | 32,262 | |
LDU_FT/Metatab/metapack/get_package_dir | 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 get_package_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_package_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Return the package directory for a Notebook that has an embeded Metatab doc, *not* for
notebooks that are part of a package | "Return the package directory for a Notebook that has an embeded Metatab doc, *not* for\n notebooks that are part of a package" | 261 | false | Metatab/metapack | get_package_dir | 32,263 | |
LDU_FT/FPGAwars/apio/list_boards | LDU_FT | [
"<BEGIN>\n## `format_vars`",
"Format the given vars in the form: 'flag=value\n<END>",
"<BEGIN>\n## `list_packages`",
"Return a list with all the installed/notinstalled packages\n<END>",
"<BEGIN>\n## `list_boards`",
"Return a list with all the supported boards\n<END>",
"<BEGIN>\n## `list_fpgas`",
"Retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_boards API.
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 list_boards API.
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 a list with all the supported boards | "Return a list with all the supported boards" | 14 | false | FPGAwars/apio | list_boards | 32,264 | |
LDU_FT/bsolomon1124/pyfinance/public_dir | LDU_FT | [
"<BEGIN>\n## `value`",
"Compute option value according to BSM model.\n<END>",
"<BEGIN>\n## `implied_vol`",
"Get implied vol at the specified price using an iterative approach.\r",
" There is no closed-form inverse of BSM-value as a function of sigma,\r\n so start at an anchoring volatility lev... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the public_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the public_dir API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Like `dir()` with additional options for object inspection.
Attributes
----------
obj: object
Any object that could be passed to `dir()`
max_underscores: int, default 0
If > 0, names that begin with underscores repeated n or more
times will be excluded.
type_: None,... | "Like `dir()` with additional options for object inspection.\r\n\r\n Attributes\r\n ----------\r\n obj: object\r\n Any object that could be passed to `dir()`\r\n max_underscores: int, default 0\r\n If > 0, names that begin with underscores repeated n or more\r\n times will be excluded.\... | 372 | false | bsolomon1124/pyfinance | public_dir | 32,265 | |
LDU_FT/Trebek/pydealer/build | LDU_FT | [
"<BEGIN>\n## `build`",
"Builds a standard 52 card French deck of Card instances.",
" :arg bool jokers:\n Whether or not to include jokers in the deck.\n :arg int num_jokers:\n The number of jokers to include.\n<END>",
"<BEGIN>\n## `deal`",
"Returns a list of cards, which ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build API.
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 build API.
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... | Builds a standard 52 card French deck of Card instances.
:arg bool jokers:
Whether or not to include jokers in the deck.
:arg int num_jokers:
The number of jokers to include. | "Builds a standard 52 card French deck of Card instances.\n\n :arg bool jokers:\n Whether or not to include jokers in the deck.\n :arg int num_jokers:\n The number of jokers to include." | 96 | false | Trebek/pydealer | build | 32,266 | |
LDU_FT/uw-it-aca/uw-restclients-nws/get_endpoint_by_subscriber_id_and_protocol | LDU_FT | [
"<BEGIN>\n## `get_endpoint_by_subscriber_id_and_protocol`",
"Get an endpoint by subscriber_id and protocol\n<END>",
"<BEGIN>\n## `get_endpoints_by_subscriber_id`",
"Search for all endpoints by a given subscriber\n<END>",
"<BEGIN>\n## `resend_sms_endpoint_verification`",
"Calls NWS function to resend verif... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_endpoint_by_subscriber_id_and_protocol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_endpoint_by_subscriber_id_and_protocol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indic... | Get an endpoint by subscriber_id and protocol | "Get an endpoint by subscriber_id and protocol" | 44 | false | uw-it-aca/uw-restclients-nws | get_endpoint_by_subscriber_id_and_protocol | 32,267 | |
LDU_FT/plandes/actioncli/_has_init_config | LDU_FT | [
"<BEGIN>\n## `populate`",
"Set attributes in ``obj`` with ``setattr`` from the all values in\n ``section``.\n<END>",
"<BEGIN>\n## `_get_calling_module`",
"Get the last module in the call stack that is not this module or ``None`` if\n the call originated from this module.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _has_init_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 _has_init_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 ... | Return whether the class has a ``config`` parameter in the ``__init__``
method. | "Return whether the class has a ``config`` parameter in the ``__init__``\n method." | 67 | false | plandes/actioncli | _has_init_config | 32,268 | |
LDU_FT/smarie/python-parsyfiles/create_for_caught_error | LDU_FT | [
"<BEGIN>\n## `read_dict_or_list_from_json`",
"Helper method to read a dictionary from a .json file using json library\n :param file_object:\n :return:\n<END>",
"<BEGIN>\n## `get_default_collection_parsers`",
"Utility method to return the default parsers able to parse a dictionary from a file.\n :retu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_for_caught_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_for_caught_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Helper method provided because we actually can't put that in the constructor, it creates a bug in Nose tests
https://github.com/nose-devs/nose/issues/725
:param parser:
:param desired_type:
:param obj:
:param caught:
:param options:
:return: | "Helper method provided because we actually can't put that in the constructor, it creates a bug in Nose tests\n https://github.com/nose-devs/nose/issues/725\n\n :param parser:\n :param desired_type:\n :param obj:\n :param caught:\n :param options:\n :return:" | 504 | false | smarie/python-parsyfiles | create_for_caught_error | 32,269 | |
LDU_FT/codenerix/django-codenerix/check_auth | LDU_FT | [
"<BEGIN>\n## `get_groups`",
"<--------------------------------------- 12 columns ------------------------------------>\n <--- 6 columns ---> <--- 6 columns --->\n ------------------------------------------ ------------------------------------------\n |... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_auth API.
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 check_auth API.
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... | Check if the user should or shouldn't be inside the system:
- If the user is staff or superuser: LOGIN GRANTED
- If the user has a Person and it is not "disabled": LOGIN GRANTED
- Elsewhere: LOGIN DENIED | "Check if the user should or shouldn't be inside the system:\n - If the user is staff or superuser: LOGIN GRANTED\n - If the user has a Person and it is not \"disabled\": LOGIN GRANTED\n - Elsewhere: LOGIN DENIED" | 82 | false | codenerix/django-codenerix | check_auth | 32,270 | |
LDU_FT/SeabornGames/RequestClient/get | LDU_FT | [
"<BEGIN>\n## `reinstantiate_endpoints`",
"This will re-instantiate the endpoints with the connection this time\n :param endpoint: Endpoint object to instantiate the sub endpoint in.\n :return: None\n<END>",
"<BEGIN>\n## `_pre_process_call`",
"This is called by the method_decorator within... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | :param primary: bool if True will only return accounts the user is primary on
:param offset: int of the offset to use
:param limit: int of max number of puzzles to return
:return: list of Account dict the current user has access to | ":param primary: bool if True will only return accounts the user is primary on\n :param offset: int of the offset to use\n :param limit: int of max number of puzzles to return\n :return: list of Account dict the current user has access to" | 148 | false | SeabornGames/RequestClient | get | 32,271 | |
LDU_FT/dourvaris/nano-python/wallet_export | LDU_FT | [
"<BEGIN>\n## `signature_unsafe`",
"Not safe to use with secret keys or secret data.\n See module docstring. This function should be used for testing only.\n<END>",
"<BEGIN>\n## `checkvalid`",
"Not safe to use when any argument is secret.\n See module docstring. This function should be used only for\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wallet_export API.
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 wallet_export API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return a json representation of **wallet**
:param wallet: Wallet to export
:type wallet: str
:raises: :py:exc:`nano.rpc.RPCException`
>>> rpc.wallet_export(wallet="000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F")
{
"0000000000000000000000000000000... | "Return a json representation of **wallet**\n\n :param wallet: Wallet to export\n :type wallet: str\n\n :raises: :py:exc:`nano.rpc.RPCException`\n\n >>> rpc.wallet_export(wallet=\"000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F\")\n {\n \"000000000000000000... | 574 | false | dourvaris/nano-python | wallet_export | 32,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.