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/rchatterjee/pwmodels/randints | LDU_FT | [
"<BEGIN>\n## `gen_n_random_num`",
"Returns @n @unique random unsigned integers (4 bytes) \\\n between 0 and @MAX_NUM.\n<END>",
"<BEGIN>\n## `sample_following_dist`",
"Samples n passwords following the distribution from the handle\n @handle_iter is an iterator that gives (pw,f) @n is the total\n numbe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the randints API.
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 randints API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | returns n uniform random numbers from [s, e] | "returns n uniform random numbers from [s, e]" | 48 | false | rchatterjee/pwmodels | randints | 29,173 | |
LDU_FT/ihgazni2/edict/pipe_shell_cmds | LDU_FT | [
"<BEGIN>\n## `pipe_shell_cmds`",
"shell_CMDs = {}\n shell_CMDs[1] = 'netstat -n'\n shell_CMDs[2] = \"awk {'print $6'}\"\n<END>",
"<BEGIN>\n## `_reorder_via_klist`",
"d = {'scheme': 'http', 'path': '/index.php', 'params': 'params', 'query': 'username=query', 'fragment': 'frag', 'username': '', 'p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pipe_shell_cmds API.
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 pipe_shell_cmds API.
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... | shell_CMDs = {}
shell_CMDs[1] = 'netstat -n'
shell_CMDs[2] = "awk {'print $6'}" | "shell_CMDs = {}\n shell_CMDs[1] = 'netstat -n'\n shell_CMDs[2] = \"awk {'print $6'}\"" | 71 | false | ihgazni2/edict | pipe_shell_cmds | 29,174 | |
LDU_FT/dhylands/rshell/autoconnect_thread | LDU_FT | [
"<BEGIN>\n## `add_device`",
"Adds a device to the list of devices we know about.\n<END>",
"<BEGIN>\n## `is_micropython_usb_device`",
"Checks a USB device to see if it looks like a MicroPython device.\n<END>",
"<BEGIN>\n## `is_micropython_usb_port`",
"Checks to see if the indicated portname is a MicroPytho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the autoconnect_thread 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 autoconnect_thread 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... | Thread which detects USB Serial devices connecting and disconnecting. | "Thread which detects USB Serial devices connecting and disconnecting." | 159 | false | dhylands/rshell | autoconnect_thread | 29,175 | |
LDU_FT/inveniosoftware/invenio-indexer/reindex | LDU_FT | [
"<BEGIN>\n## `index`",
"Index a record.",
" The caller is responsible for ensuring that the record has already been\n committed to the database. If a newer version of a record has already\n been indexed then the provided record will not be indexed. This\n behavior can be controlled b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reindex API.
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 reindex API.
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... | Reindex all records.
:param pid_type: Pid type. | "Reindex all records.\n\n :param pid_type: Pid type." | 37 | false | inveniosoftware/invenio-indexer | reindex | 29,176 | |
LDU_FT/snare/voltron/api_request | LDU_FT | [
"<BEGIN>\n## `cancel_queue`",
"Cancel all requests in the queue so we can exit.\n<END>",
"<BEGIN>\n## `dispatch_queue`",
"Dispatch any queued requests.",
" Called by the debugger when it stops.\n<END>",
"<BEGIN>\n## `send_request`",
"Send a request to the server.",
" `request` is an APIR... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the api_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 extra... | Create an API request.
`request_type` is the request type (string). This is used to look up a
plugin, whose request class is instantiated and passed the remaining
arguments passed to this function. | "Create an API request.\n\n `request_type` is the request type (string). This is used to look up a\n plugin, whose request class is instantiated and passed the remaining\n arguments passed to this function." | 80 | false | snare/voltron | api_request | 29,177 | |
LDU_FT/kevinconway/daemons/send | LDU_FT | [
"<BEGIN>\n## `pool`",
"Get an eventlet pool used to dispatch requests.\n<END>",
"<BEGIN>\n## `start`",
"Start the process with daemonization.",
" If the process is already started this call should exit with code\n ALREADY_RUNNING. Otherwise it must call the 'daemonize' method and then\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Send the given signal to the running process.
If the process is not running a RuntimeError with a message of "No such
process" should be emitted. | "Send the given signal to the running process.\n\n If the process is not running a RuntimeError with a message of \"No such\n process\" should be emitted." | 35 | false | kevinconway/daemons | send | 29,178 | |
LDU_FT/IBM-Cloud/gp-python-client/__process_gprest_response | LDU_FT | [
"<BEGIN>\n## `__get_user_env_vars`",
"Return the user defined environment variables\n<END>",
"<BEGIN>\n## `__parse_vcap_services_env_var`",
"Parse the ``VCAP_SERVICES`` env var and search for the necessary\r\n values\n<END>",
"<BEGIN>\n## `__get_language_match`",
"Compares ``languageCode`` to the p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __process_gprest_response 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 __process_gprest_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Returns the processed response for rest calls | "Returns the processed response for rest calls" | 71 | false | IBM-Cloud/gp-python-client | __process_gprest_response | 29,179 | |
LDU_FT/johnwheeler/flask-ask/pop_stream | LDU_FT | [
"<BEGIN>\n## `list`",
"return list of purchasable and not entitled products\n<END>",
"<BEGIN>\n## `_find_tide_info`",
"Algorithm to find the 2 high tides for the day, the first of which is smaller and occurs\n mid-day, the second of which is larger and typically in the evening.\n<END>",
"<BEGIN>\n## `pl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pop_stream API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Pop an item off the stack in the cache. If stack
is empty after pop, it deletes the stack.
:param cache: werkzeug BasicCache-like object
:param user_id: id of user, used as key in cache
:return: top item from stack, otherwise None | "Pop an item off the stack in the cache. If stack\n is empty after pop, it deletes the stack.\n\n :param cache: werkzeug BasicCache-like object\n :param user_id: id of user, used as key in cache\n\n :return: top item from stack, otherwise None" | 92 | false | johnwheeler/flask-ask | pop_stream | 29,180 | |
LDU_FT/johnbywater/eventsourcing/applicationpolicy | LDU_FT | [
"<BEGIN>\n## `register_new_suffix_tree`",
"Factory method, returns new suffix tree object.\n<END>",
"<BEGIN>\n## `find_substring`",
"Returns the index if substring in tree, otherwise -1.\n<END>",
"<BEGIN>\n## `_canonize_suffix`",
"This canonizes the suffix, walking along its suffix string until it\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the applicationpolicy API.
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 applicationpolicy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Decorator for application policy method.
Allows policy to be built up from methods
registered for different event classes. | "Decorator for application policy method.\n\n Allows policy to be built up from methods\n registered for different event classes." | 161 | false | johnbywater/eventsourcing | applicationpolicy | 29,181 | |
LDU_FT/rdireen/spherepy/_scalar_coef_op_left | LDU_FT | [
"<BEGIN>\n## `sbessely`",
"Returns a vector of spherical bessel functions yn:\r",
" x: The argument.\r\n N: values of n will run from 0 to N-1.\n<END>",
"<BEGIN>\n## `sbesselj`",
"Returns a vector of spherical bessel functions jn:\r",
" x: The argument.\r\n N: values of... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _scalar_coef_op_left 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 _scalar_coef_op_left API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | decorator for operator overloading when ScalarCoef is on the
left | "decorator for operator overloading when ScalarCoef is on the\r\n left" | 194 | false | rdireen/spherepy | _scalar_coef_op_left | 29,182 | |
LDU_FT/horazont/aioxmpp/algo_of_hash | LDU_FT | [
"<BEGIN>\n## `get_commands`",
"Return the list of commands offered by the peer.",
" :param peer_jid: JID of the peer to query\n :type peer_jid: :class:`~aioxmpp.JID`\n :rtype: :class:`list` of :class:`~.disco.xso.Item`\n :return: List of command items",
" In the returned lis... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the algo_of_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the algo_of_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a :xep:`300` `algo` from a given :mod:`hashlib` hash.
:param h: Hash object from :mod:`hashlib`.
:raises ValueError: if `h` does not have a defined `algo` value.
:raises ValueError: if the hash function MUST NOT be supported.
:return: The `algo` value for the given hash.
:rtype: :class:`str`... | "Return a :xep:`300` `algo` from a given :mod:`hashlib` hash.\n\n :param h: Hash object from :mod:`hashlib`.\n :raises ValueError: if `h` does not have a defined `algo` value.\n :raises ValueError: if the hash function MUST NOT be supported.\n :return: The `algo` value for the given hash.\n :rtype: :clas... | 1,660 | true | horazont/aioxmpp | algo_of_hash | 29,183 | |
LDU_FT/openvax/datacache/_download_and_decompress_if_necessary | LDU_FT | [
"<BEGIN>\n## `connect_if_correct_version`",
"Return a sqlite3 database connection if the version in the database's\n metadata matches the version argument.",
" Also implicitly checks for whether the data in this database has\n been completely filled, since we set the version last.",
" TODO: Make a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download_and_decompress_if_necessary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _download_and_decompress_if_necessary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates ... | Downloads remote file at `download_url` to local file at `full_path` | "Downloads remote file at `download_url` to local file at `full_path`" | 101 | false | openvax/datacache | _download_and_decompress_if_necessary | 29,184 | |
LDU_FT/tornadoweb/tornado/get_authenticated_user | LDU_FT | [
"<BEGIN>\n## `start`",
"Begins watching source files for changes.",
" .. versionchanged:: 5.0\n The ``io_loop`` argument (deprecated since version 4.1) has been removed.\n<END>",
"<BEGIN>\n## `main`",
"Command-line wrapper to re-run a script whenever its source changes.",
" Scripts may be spec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authenticated_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_authenticated_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Handles the login for the Google user, returning an access token.
The result is a dictionary containing an ``access_token`` field
([among others](https://developers.google.com/identity/protocols/OAuth2WebServer#handlingtheresponse)).
Unlike other ``get_authenticated_user`` methods in this packa... | "Handles the login for the Google user, returning an access token.\n\n The result is a dictionary containing an ``access_token`` field\n ([among others](https://developers.google.com/identity/protocols/OAuth2WebServer#handlingtheresponse)).\n Unlike other ``get_authenticated_user`` methods in this ... | 1,291 | true | tornadoweb/tornado | get_authenticated_user | 29,185 | |
LDU_FT/SwoopSearch/pyaddress/check_street | LDU_FT | [
"<BEGIN>\n## `post_multipart`",
"Post fields and files to an http host as multipart/form-data.\n fields is a sequence of (name, value) elements for regular form fields.\n files is a sequence of (name, filename, value) elements for data to be uploaded as files\n Return the server's response page.\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_street API.
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 check_street API.
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... | Let's assume a street comes before a prefix and after a suffix. This isn't always the case, but we'll deal
with that in our guessing game. Also, two word street names...well...
This check must come after the checks for house_number and street_prefix to help us deal with multi word streets. | "Let's assume a street comes before a prefix and after a suffix. This isn't always the case, but we'll deal\n with that in our guessing game. Also, two word street names...well...\n\n This check must come after the checks for house_number and street_prefix to help us deal with multi word streets." | 45 | false | SwoopSearch/pyaddress | check_street | 29,186 | |
LDU_FT/Accelize/pycosio/copy | LDU_FT | [
"<BEGIN>\n## `_copy`",
"Copies file from source to destination",
" Args:\n src (str or file-like object): Source file.\n dst (str or file-like object): Destination file.\n src_is_storage (bool): Source is storage.\n dst_is_storage (bool): Destination is storage.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy API.
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 copy API.
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... | Copies a source file to a destination file or directory.
Equivalent to "shutil.copy".
Source and destination can also be binary opened file-like objects.
Args:
src (path-like object or file-like object): Source file.
dst (path-like object or file-like object):
Destination file... | "Copies a source file to a destination file or directory.\n\n Equivalent to \"shutil.copy\".\n\n Source and destination can also be binary opened file-like objects.\n\n Args:\n src (path-like object or file-like object): Source file.\n dst (path-like object or file-like object):\n Dest... | 498 | false | Accelize/pycosio | copy | 29,187 | |
LDU_FT/tyiannak/pyAudioAnalysis/segs2flags | LDU_FT | [
"<BEGIN>\n## `recordAnalyzeAudio`",
"recordAnalyzeAudio(duration, outputWavFile, midTermBufferSizeSec, modelName, modelType)",
"\tThis function is used to record and analyze audio segments, in a fix window basis.",
"\tARGUMENTS: \n\t- duration\t\t\ttotal recording duration\n\t- outputWavFile\t\t\tpath of the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the segs2flags API.
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 segs2flags API.
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... | This function converts segment endpoints and respective segment
labels to fix-sized class labels.
ARGUMENTS:
- seg_start: segment start points (in seconds)
- seg_end: segment endpoints (in seconds)
- seg_label: segment labels
- win_size: fix-sized window (in seconds)
RETURNS... | "This function converts segment endpoints and respective segment\n labels to fix-sized class labels.\n ARGUMENTS:\n - seg_start: segment start points (in seconds)\n - seg_end: segment endpoints (in seconds)\n - seg_label: segment labels\n - win_size: fix-sized window (in seconds)\n ... | 99 | false | tyiannak/pyAudioAnalysis | segs2flags | 29,188 | |
LDU_FT/jacobtomlinson/datapoint-python/get_forecast_for_site | LDU_FT | [
"<BEGIN>\n## `connection`",
"Connect to DataPoint with the given API key profile name.\n<END>",
"<BEGIN>\n## `elements`",
"Return a list of the elements which are not None\n<END>",
"<BEGIN>\n## `__retry_session`",
"Retry the connection using requests if it fails. Use this as a wrapper\n to request ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_forecast_for_site 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_forecast_for_site API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Get a forecast for the provided site
A frequency of "daily" will return two timesteps:
"Day" and "Night".
A frequency of "3hourly" will return 8 timesteps:
0, 180, 360 ... 1260 (minutes since midnight UTC) | "Get a forecast for the provided site\n\n A frequency of \"daily\" will return two timesteps:\n \"Day\" and \"Night\".\n\n A frequency of \"3hourly\" will return 8 timesteps:\n 0, 180, 360 ... 1260 (minutes since midnight UTC)" | 39 | false | jacobtomlinson/datapoint-python | get_forecast_for_site | 29,189 | |
LDU_FT/fuzeman/trakt.py/poll | LDU_FT | [
"<BEGIN>\n## `lookup`",
"Lookup items by their Trakt, IMDB, TMDB, TVDB, or TVRage ID.",
" **Note:** If you lookup an identifier without a :code:`media` type specified it\n might return multiple items if the :code:`service` is not globally unique.",
" :param id: Identifier value to lookup\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the poll API.
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 poll API.
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... | Construct the device authentication poller.
:param device_code: Device authentication code
:type device_code: str
:param expires_in: Device authentication code expiry (in seconds)
:type in: int
:param interval: Device authentication poll interval
:type interval... | "Construct the device authentication poller.\n\n :param device_code: Device authentication code\n :type device_code: str\n\n :param expires_in: Device authentication code expiry (in seconds)\n :type in: int\n\n :param interval: Device authentication poll interval\n :typ... | 227 | false | fuzeman/trakt.py | poll | 29,190 | |
LDU_FT/SteveMcGrath/pySecurityCenter/credential_share | LDU_FT | [
"<BEGIN>\n## `gen_csv`",
"csv SecurityCenterObj, AssetListName, CSVFields, EmailAddress\n<END>",
"<BEGIN>\n## `login`",
"Logs the user into SecurityCenter and stores the needed token and cookies.\n<END>",
"<BEGIN>\n## `analysis`",
"Analysis\n A thin wrapper to handle vuln/event/mobile/log analysis ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the credential_share API.
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 credential_share API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Shares a given credential to the specified Users.
:param cred_id: Credential ID
:param user_ids: List of User IDs | "Shares a given credential to the specified Users.\n\n :param cred_id: Credential ID\n :param user_ids: List of User IDs" | 120 | false | SteveMcGrath/pySecurityCenter | credential_share | 29,191 | |
LDU_FT/LeKono/pyhgnc/set_mysql_connection | LDU_FT | [
"<BEGIN>\n## `get_many2many_table`",
"Creates a many-to-many table that links the given tables table1 and table2.",
" :param str table1: Tablename of left hand table without TABLE_PREFIX.\n :param str table2: Tablename of right hand table without TABLE_PREFIX.\n :return:\n<END>",
"<BEGIN>\n## `_limit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_mysql_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.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_mysql_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.
... | Method to set a MySQL connection
:param str host: MySQL database host
:param str user: MySQL database user
:param str passwd: MySQL database password
:param str db: MySQL database name
:param str charset: MySQL database charater set
:return: connection string
:rtype: str | "Method to set a MySQL connection\n\n :param str host: MySQL database host\n :param str user: MySQL database user\n :param str passwd: MySQL database password\n :param str db: MySQL database name\n :param str charset: MySQL database charater set\n\n :return: connection string\n :rtype: str" | 248 | false | LeKono/pyhgnc | set_mysql_connection | 29,192 | |
LDU_FT/bodylabs/lace/all_edges_with_verts | LDU_FT | [
"<BEGIN>\n## `copy`",
"Returns a deep copy with all of the numpy arrays copied\n If only is a list of strings, i.e. ['f', 'v'], then only those properties will be copied\n<END>",
"<BEGIN>\n## `concatenate`",
"Concatenates an arbitrary number of meshes.",
" Currently supports vertices, vertex c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_edges_with_verts 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 all_edges_with_verts 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 all of the faces that contain at least one of the vertices in v_indices | "returns all of the faces that contain at least one of the vertices in v_indices" | 133 | false | bodylabs/lace | all_edges_with_verts | 29,193 | |
LDU_FT/heikomuller/sco-datastore/update_fmri_data | LDU_FT | [
"<BEGIN>\n## `attributes_from_dict`",
"Convert a Json representation of a set of attribute instances into a\n dictionary.",
" Parameters\n ----------\n document : Json object\n Json serialization of attribute instances",
" Returns\n -------\n dict(Attribute)\n Dictionary of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_fmri_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 update_fmri_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 ... | Associate the fMRI object with the identified experiment.
Parameters
----------
identifier : string
Unique experiment object identifier
fmri_data_id : string
Unique fMRI data object identifier
Returns
-------
ExperimentHandle
... | "Associate the fMRI object with the identified experiment.\n\n Parameters\n ----------\n identifier : string\n Unique experiment object identifier\n fmri_data_id : string\n Unique fMRI data object identifier\n\n Returns\n -------\n ExperimentHandle\... | 316 | false | heikomuller/sco-datastore | update_fmri_data | 29,194 | |
LDU_FT/fcurella/django-fakery/past_date | LDU_FT | [
"<BEGIN>\n## `language_to_locale`",
"Converts django's `LANGUAGE_CODE` settings to a proper locale code.\n<END>",
"<BEGIN>\n## `future_datetime`",
"Returns a ``datetime`` object in the future (that is, 1 second from now) up\n to the specified ``end``. ``end`` can be a string, anotther datetime, or a\n t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the past_date API.
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 past_date API.
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 a ``date`` object in the past between 1 day ago and the
specified ``start``. ``start`` can be a string, another date, or a
timedelta. If it's a string, it must start with `-`, followed by and integer
and a unit, Eg: ``'-30d'``. Defaults to `'-30d'`
Valid units are:
* ``'years'``, ``'y'``
... | "Returns a ``date`` object in the past between 1 day ago and the\n specified ``start``. ``start`` can be a string, another date, or a\n timedelta. If it's a string, it must start with `-`, followed by and integer\n and a unit, Eg: ``'-30d'``. Defaults to `'-30d'`\n\n Valid units are:\n * ``'years'``, ``'... | 14 | false | fcurella/django-fakery | past_date | 29,195 | |
LDU_FT/datacats/datacats/add_extra_container | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new environment",
"Usage:\n datacats create [-bin] [--interactive] [-s NAME] [--address=IP] [--syslog]\n [--ckan=CKAN_VERSION] [--no-datapusher] [--site-url SITE_URL]\n [--no-init-db] ENVIRONMENT_DIR [PORT]",
"Options:\n --address=IP ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_extra_container 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 add_extra_container 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... | Add a container as a 'extra'. These are running containers which are not necessary for
running default CKAN but are useful for certain extensions
:param container: The container name to add
:param error_on_exists: Raise a DatacatsError if the extra container already exists. | "Add a container as a 'extra'. These are running containers which are not necessary for\n running default CKAN but are useful for certain extensions\n :param container: The container name to add\n :param error_on_exists: Raise a DatacatsError if the extra container already exists." | 256 | false | datacats/datacats | add_extra_container | 29,196 | |
LDU_FT/intelligenia/modeltranslation/_load_source_object | LDU_FT | [
"<BEGIN>\n## `_get_fieldtranslations`",
"Get all the translations for this object.\n<END>",
"<BEGIN>\n## `_load_translations`",
"Loads all translations as dynamic attributes:\n\t\t<attr>_<lang_code>\n\t\t<attr>_<lang_code>_is_fuzzy\n<END>",
"<BEGIN>\n## `_set_dict_translations`",
"Establece los atributos ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_source_object 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 _load_source_object 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... | Loads related object in a dynamic attribute and returns it. | "Loads related object in a dynamic attribute and returns it." | 36 | false | intelligenia/modeltranslation | _load_source_object | 29,197 | |
LDU_FT/msiedlarek/wiring/register | LDU_FT | [
"<BEGIN>\n## `get_implemented_interfaces`",
"Returns a set of :term:`interfaces <interface>` declared as implemented by\n class `cls`.\n<END>",
"<BEGIN>\n## `set_implemented_interfaces`",
"Declares :term:`interfaces <interface>` as implemented by class `cls`.\n Those already declared are overriden.\n<EN... | 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... | Returns a decorator that registers its arguments for scanning, so it can be
picked up by :py:func:`wiring.scanning.scan.scan`.
First argument - `provider_factory` - is a callable that is invoked during
scanning with decorated argument and `kwargs` as arguments, and it should
return a :term:`provider` t... | "Returns a decorator that registers its arguments for scanning, so it can be\n picked up by :py:func:`wiring.scanning.scan.scan`.\n\n First argument - `provider_factory` - is a callable that is invoked during\n scanning with decorated argument and `kwargs` as arguments, and it should\n return a :term:`provi... | 69 | false | msiedlarek/wiring | register | 29,198 | |
LDU_FT/openego/ding0/reinforce_grid | LDU_FT | [
"<BEGIN>\n## `print_upper_triangular_matrix`",
"Prints a CVRP data dict matrix",
" Arguments\n ---------\n matrix : dict\n Description",
" Notes\n -----\n It is assummed that the first row of matrix contains all needed headers.\n<END>",
"<BEGIN>\n## `print_upper_triangular_matrix_as... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reinforce_grid API.
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 reinforce_grid API.
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... | Evaluates grid reinforcement needs and performs measures
Grid reinforcement according to methods described in [VNSRP]_ supplemented
by [DENA]_.
Parameters
----------
grid: GridDing0
Grid instance
mode: str
Choose of: 'MV' or 'LV'
Notes
-----
Currently only MV b... | "Evaluates grid reinforcement needs and performs measures\n\n Grid reinforcement according to methods described in [VNSRP]_ supplemented\n by [DENA]_.\n \n Parameters\n ----------\n grid: GridDing0\n Grid instance\n mode: str\n Choose of: 'MV' or 'LV'\n\n Notes\n -----\n Curr... | 932 | false | openego/ding0 | reinforce_grid | 29,199 | |
LDU_FT/jmbeach/KEP.py/name_replace | LDU_FT | [
"<BEGIN>\n## `parse_channels`",
"Creates an array of Channel objects from the project\n<END>",
"<BEGIN>\n## `parse_devices`",
"Creates an array of Device objects from the channel\n<END>",
"<BEGIN>\n## `process_tag`",
"Processes tag and detects which function to use\n<END>",
"<BEGIN>\n## `name_replace`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the name_replace API.
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 name_replace API.
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... | Replaces part of tag name with new value | "Replaces part of tag name with new value" | 24 | false | jmbeach/KEP.py | name_replace | 29,200 | |
LDU_FT/tBaxter/tango-shared-core/social_links | LDU_FT | [
"<BEGIN>\n## `build_howto`",
"Searches for \"how_to.md\" files in app directories.\n Creates user-friendly admin how-to section from apps that have them.\n<END>",
"<BEGIN>\n## `social_links`",
"Outputs social links. At minimum, this will be Facebook and Twitter.\n But if possible, it will also output vo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the social_links API.
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 social_links API.
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... | Outputs social links. At minimum, this will be Facebook and Twitter.
But if possible, it will also output voting and watchlist links.
Usage:
{% social_links object %}
{% social_links object user %}
{% social_links object user authenticated_request %} | "Outputs social links. At minimum, this will be Facebook and Twitter.\n But if possible, it will also output voting and watchlist links.\n\n Usage:\n {% social_links object %}\n {% social_links object user %}\n {% social_links object user authenticated_request %}" | 63 | false | tBaxter/tango-shared-core | social_links | 29,201 | |
LDU_FT/royi1000/py-libhdate/move_if_not_on_dow | LDU_FT | [
"<BEGIN>\n## `gdate_to_jdn`",
"Compute Julian day from Gregorian day, month and year.",
" Algorithm from wikipedia's julian_day article.\n Return: The julian day number\n<END>",
"<BEGIN>\n## `hdate_to_jdn`",
"Compute Julian day from Hebrew day, month and year.",
" Return: julian day number,\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the move_if_not_on_dow 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 move_if_not_on_dow 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... | Return a lambda function.
Lambda checks that either the original day does not fall on a given
weekday, or that the replacement day does fall on the expected weekday. | "Return a lambda function.\n\n Lambda checks that either the original day does not fall on a given\n weekday, or that the replacement day does fall on the expected weekday." | 70 | false | royi1000/py-libhdate | move_if_not_on_dow | 29,202 | |
LDU_FT/dmbee/seglearn/waveform_length | LDU_FT | [
"<BEGIN>\n## `fit`",
"Fit the model",
" Fit all the transforms one after the other and transform the\n data, then fit the transformed data using the final estimator.",
" Parameters\n ----------\n X : iterable\n Training data. Must fulfill input requirements of fir... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the waveform_length API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the waveform_length API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | cumulative length of the waveform over a segment for each variable in the segmented time
series | "cumulative length of the waveform over a segment for each variable in the segmented time\n series" | 165 | false | dmbee/seglearn | waveform_length | 29,203 | |
LDU_FT/yt-project/unyt/get_base_equivalent | LDU_FT | [
"<BEGIN>\n## `uconcatenate`",
"Concatenate a sequence of arrays.",
" This wrapper around numpy.concatenate preserves units. All input arrays\n must have the same units. See the documentation of numpy.concatenate for\n full details.",
" Examples\n --------\n >>> from unyt import cm\n >>> ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_base_equivalent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_base_equivalent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Create and return dimensionally-equivalent units in a specified base.
>>> from unyt import g, cm
>>> (g/cm**3).get_base_equivalent('mks')
kg/m**3
>>> (g/cm**3).get_base_equivalent('solar')
Mearth/AU**3 | "Create and return dimensionally-equivalent units in a specified base.\n\n >>> from unyt import g, cm\n >>> (g/cm**3).get_base_equivalent('mks')\n kg/m**3\n >>> (g/cm**3).get_base_equivalent('solar')\n Mearth/AU**3" | 236 | false | yt-project/unyt | get_base_equivalent | 29,204 | |
LDU_FT/MKLab-ITI/reveal-user-annotation/get_topic_set | LDU_FT | [
"<BEGIN>\n## `safe_twitter_request_handler`",
"This is a safe function handler for any twitter request.",
" Inputs: - twitter_api_func: The twython function object to be safely called.\n - call_rate_limit: THe call rate limit for this specific Twitter API function.\n - call_counter: ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_topic_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_topic_set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Opens one of the topic set resource files and returns a set of topics.
- Input: - file_path: The path pointing to the topic set resource file.
- Output: - topic_set: A python set of strings. | "Opens one of the topic set resource files and returns a set of topics.\n\n - Input: - file_path: The path pointing to the topic set resource file.\n\n - Output: - topic_set: A python set of strings." | 192 | false | MKLab-ITI/reveal-user-annotation | get_topic_set | 29,205 | |
LDU_FT/datadesk/django-bakery/copytree_and_gzip | LDU_FT | [
"<BEGIN>\n## `serve`",
"Serve static files below a given point in the directory structure.",
" To use, put a URL pattern such as::",
" (r'^(?P<path>.*)$', 'django.views.static.serve',\n {'document_root' : '/path/to/my/files/'})",
" in your URLconf. You must provide the ``document_roo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copytree_and_gzip API.
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 copytree_and_gzip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Copies the provided source directory to the provided target directory.
Gzips JavaScript, CSS and HTML and other files along the way. | "Copies the provided source directory to the provided target directory.\n\n Gzips JavaScript, CSS and HTML and other files along the way." | 104 | false | datadesk/django-bakery | copytree_and_gzip | 29,206 | |
LDU_FT/disqus/gargoyle/add_condition | LDU_FT | [
"<BEGIN>\n## `is_active`",
"Returns ``True`` if any of ``instances`` match an active switch. Otherwise\n returns ``False``.",
" >>> gargoyle.is_active('my_feature', request) #doctest: +SKIP\n<END>",
"<BEGIN>\n## `register`",
"Registers a condition set with the manager.",
" >>> conditi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_condition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_condition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Adds a new condition and registers it in the global ``gargoyle`` switch manager.
If ``commit`` is ``False``, the data will not be written to the database.
>>> switch = gargoyle['my_switch'] #doctest: +SKIP
>>> condition_set_id = condition_set.get_id() #doctest: +SKIP
>>> switch.add_con... | "Adds a new condition and registers it in the global ``gargoyle`` switch manager.\n\n If ``commit`` is ``False``, the data will not be written to the database.\n\n >>> switch = gargoyle['my_switch'] #doctest: +SKIP\n >>> condition_set_id = condition_set.get_id() #doctest: +SKIP\n >>> switch.... | 34 | false | disqus/gargoyle | add_condition | 29,207 | |
LDU_FT/anoroozian/pyvt/_get_query | LDU_FT | [
"<BEGIN>\n## `_grouped`",
"take a list of items and return a list of groups of size n.\n :param n: the size of the groups to return\n<END>",
"<BEGIN>\n## `_limit_call_handler`",
"Ensure we don't exceed the N requests a minute limit by leveraging a thread lock\n<END>",
"<BEGIN>\n## `_whatis`",
"Cate... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Submit a GET request to the VT API
:param query: The query (see https://www.virustotal.com/en/documentation/private-api/ for types of queries)
:param params: parameters of the query
:return: JSON formatted response from the API | "Submit a GET request to the VT API\n :param query: The query (see https://www.virustotal.com/en/documentation/private-api/ for types of queries)\n :param params: parameters of the query\n :return: JSON formatted response from the API" | 18 | false | anoroozian/pyvt | _get_query | 29,208 | |
LDU_FT/asascience-open/paegan-transport/get_age | LDU_FT | [
"<BEGIN>\n## `export`",
"Export particle data to CF trajectory convention\n netcdf file\n<END>",
"<BEGIN>\n## `export`",
"Export particle and datetime data to Pickled objects.\n This can be used to debug or to generate different output\n in the future.\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_age API.
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 get_age API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns the particlees age (how long it has been forced) in a variety of units.
Rounded to 8 decimal places.
Parameters:
units (optional) = 'days' (default), 'hours', 'minutes', or 'seconds' | "Returns the particlees age (how long it has been forced) in a variety of units.\n Rounded to 8 decimal places.\n\n Parameters:\n units (optional) = 'days' (default), 'hours', 'minutes', or 'seconds'" | 98 | false | asascience-open/paegan-transport | get_age | 29,209 | |
LDU_FT/kiwiz/gkeepapi/get | LDU_FT | [
"<BEGIN>\n## `login`",
"Authenticate to Google with the provided credentials.",
" Args:\n email (str): The account to use.\n password (str): The account password.\n android_id (str): An identifier for this client.",
" Raises:\n LoginException: If there... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Get the canonical link to a media blob.
Args:
blob (gkeepapi.node.Blob): The blob.
Returns:
str: A link to the media. | "Get the canonical link to a media blob.\n\n Args:\n blob (gkeepapi.node.Blob): The blob.\n\n Returns:\n str: A link to the media." | 164 | false | kiwiz/gkeepapi | get | 29,210 | |
LDU_FT/productml/blurr/get_schema_specs_of_type | LDU_FT | [
"<BEGIN>\n## `run_evaluate`",
"Overrides the base evaluation to set the value to the evaluation result of the value\n expression in the schema\n<END>",
"<BEGIN>\n## `set`",
"Sets the value of a key to a supplied value\n<END>",
"<BEGIN>\n## `increment`",
"Increments the value set against a key. If ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_schema_specs_of_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_schema_specs_of_type API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Returns a list of fully qualified names and schema dictionary tuples for
the schema types provided.
:param schema_types: Schema types.
:return: List of fully qualified names and schema dictionary tuples. | "Returns a list of fully qualified names and schema dictionary tuples for\n the schema types provided.\n :param schema_types: Schema types.\n :return: List of fully qualified names and schema dictionary tuples." | 119 | false | productml/blurr | get_schema_specs_of_type | 29,211 | |
LDU_FT/StorjOld/file-encryptor/encrypt_file_inline | LDU_FT | [
"<BEGIN>\n## `encrypt_file_inline`",
"Encrypt file inline, with an optional passphrase.",
" If you set the passphrase to None, a default is used.\n This will make you vulnerable to confirmation attacks\n and learn-partial-information attacks.",
" :param filename: The name of the file to encrypt.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrypt_file_inline 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 encrypt_file_inline 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... | Encrypt file inline, with an optional passphrase.
If you set the passphrase to None, a default is used.
This will make you vulnerable to confirmation attacks
and learn-partial-information attacks.
:param filename: The name of the file to encrypt.
:type filename: str
:param passphrase: The pass... | "Encrypt file inline, with an optional passphrase.\n\n If you set the passphrase to None, a default is used.\n This will make you vulnerable to confirmation attacks\n and learn-partial-information attacks.\n\n :param filename: The name of the file to encrypt.\n :type filename: str\n :param passphrase:... | 22 | false | StorjOld/file-encryptor | encrypt_file_inline | 29,212 | |
LDU_FT/ljcooke/see/see | LDU_FT | [
"<BEGIN>\n## `column_width`",
"Return a suitable column width to display one or more strings.\n<END>",
"<BEGIN>\n## `justify_token`",
"Justify a string to fill one or more columns.\n<END>",
"<BEGIN>\n## `display_name`",
"Get the display name of an object.",
" Keyword arguments (all required):",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the see API.
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 see API.
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... | see(obj=anything)
Show the features and attributes of an object.
This function takes a single argument, ``obj``, which can be of any type.
A summary of the object is printed immediately in the Python interpreter.
For example::
>>> see([])
[] in + ... | "see(obj=anything)\n\n Show the features and attributes of an object.\n\n This function takes a single argument, ``obj``, which can be of any type.\n A summary of the object is printed immediately in the Python interpreter.\n For example::\n\n >>> see([])\n [] in + ... | 43 | false | ljcooke/see | see | 29,213 | |
LDU_FT/capless/warrant/register | LDU_FT | [
"<BEGIN>\n## `dict_to_cognito`",
":param attributes: Dictionary of User Pool attribute names/values\n :return: list of User Pool attribute formatted dicts: {'Name': <attr_name>, 'Value': <attr_value>}\n<END>",
"<BEGIN>\n## `snake_to_camel`",
":param snake_str: string\n :return: string converted from a s... | 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 the user. Other base attributes from AWS Cognito User Pools
are address, birthdate, email, family_name (last name), gender,
given_name (first name), locale, middle_name, name, nickname,
phone_number, picture, preferred_username, profile, zoneinfo,
updated at, website
:p... | "Register the user. Other base attributes from AWS Cognito User Pools\n are address, birthdate, email, family_name (last name), gender,\n given_name (first name), locale, middle_name, name, nickname,\n phone_number, picture, preferred_username, profile, zoneinfo,\n updated at, website\n ... | 61 | false | capless/warrant | register | 29,214 | |
LDU_FT/spacetelescope/pysynphot/showref | LDU_FT | [
"<BEGIN>\n## `setUpClass`",
"Always overridden by the child cases, but let's put some\n real values in here to test with\n<END>",
"<BEGIN>\n## `extract_keywords`",
"Helper function",
" Parameters\n ----------\n icss : string\n comma-separated string",
" Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the showref API.
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 showref API.
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... | Like :func:`getref` but print results to screen instead of returning
a dictionary. | "Like :func:`getref` but print results to screen instead of returning\n a dictionary." | 600 | false | spacetelescope/pysynphot | showref | 29,215 | |
LDU_FT/CyberZHG/keras-word-char-embd/get_embedding_layer | LDU_FT | [
"<BEGIN>\n## `update_dicts`",
"Add new sentence to generate dictionaries.",
" :param sentence: A list of strings representing the sentence.\n<END>",
"<BEGIN>\n## `set_dicts`",
"Set with custom dictionaries.",
" :param word_dict: The word dictionary.\n :param char_dict: The character d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_embedding_layer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_embedding_layer 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... | Get the merged embedding layer.
:param word_dict_len: The number of words in the dictionary including the ones mapped to 0 or 1.
:param char_dict_len: The number of characters in the dictionary including the ones mapped to 0 or 1.
:param max_word_len: The maximum allowed length of word.
:param word_emb... | "Get the merged embedding layer.\n\n :param word_dict_len: The number of words in the dictionary including the ones mapped to 0 or 1.\n :param char_dict_len: The number of characters in the dictionary including the ones mapped to 0 or 1.\n :param max_word_len: The maximum allowed length of word.\n :param wo... | 39 | false | CyberZHG/keras-word-char-embd | get_embedding_layer | 29,216 | |
LDU_FT/wakatime/wakatime/check | LDU_FT | [
"<BEGIN>\n## `wrap`",
"[MS-NLMP] v28.0 2016-07-14",
" 3.4.6 GSS_WrapEx()\n Emulates the GSS_Wrap() implementation to sign and seal messages if the correct flags\n are set.",
" @param message: The message data that will be wrapped\n @return message: The message that has been ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted d... | Apply `pattern` on the current position and return
the match object. (Doesn't touch pos). Use this for
lookahead. | "Apply `pattern` on the current position and return\n the match object. (Doesn't touch pos). Use this for\n lookahead." | 623 | false | wakatime/wakatime | check | 29,217 | |
LDU_FT/treasure-data/pandas-td/read_td_job | LDU_FT | [
"<BEGIN>\n## `create_engine`",
"Create a handler for query engine based on a URL.",
" The following environment variables are used for default connection:",
" TD_API_KEY API key\n TD_API_SERVER API server (default: api.treasuredata.com)\n HTTP_PROXY HTTP proxy (optional)",
" Pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_td_job API.
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 read_td_job API.
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... | Read Treasure Data job result into a DataFrame.
Returns a DataFrame corresponding to the result set of the job.
This method waits for job completion if the specified job is still running.
Optionally provide an index_col parameter to use one of the columns as
the index, otherwise default integer index w... | "Read Treasure Data job result into a DataFrame.\n\n Returns a DataFrame corresponding to the result set of the job.\n This method waits for job completion if the specified job is still running.\n Optionally provide an index_col parameter to use one of the columns as\n the index, otherwise default integer i... | 29 | false | treasure-data/pandas-td | read_td_job | 29,218 | |
LDU_FT/matthiask/django-cte-forest/leaves | LDU_FT | [
"<BEGIN>\n## `_ensure_parameters`",
"Attempts to load and verify the CTE node parameters. Will use\n default values for all missing parameters, and raise an exception if\n a parameter's value cannot be verified. This method will only\n perform these actions once, and set the :attr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the leaves API.
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 leaves API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns a :class:`QuerySet` of all leaf nodes (nodes with no
children).
:return: A :class:`QuerySet` of all leaf nodes (nodes with no
children). | "Returns a :class:`QuerySet` of all leaf nodes (nodes with no\n children).\n\n :return: A :class:`QuerySet` of all leaf nodes (nodes with no\n children)." | 153 | false | matthiask/django-cte-forest | leaves | 29,219 | |
LDU_FT/senaite/senaite.core/getAnalysisCategories | LDU_FT | [
"<BEGIN>\n## `get_type_id`",
"Returns the type id for the context passed in\n<END>",
"<BEGIN>\n## `get_suffix`",
"Get the suffix of the ID, e.g. '-R01' or '-P05'",
" The current regex determines a pattern of a single uppercase character with\n at most 2 numbers following at the end of the ID as the su... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getAnalysisCategories 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 getAnalysisCategories API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | A vocabulary listing available (and activated) categories. | "A vocabulary listing available (and activated) categories." | 2,333 | true | senaite/senaite.core | getAnalysisCategories | 29,220 | |
LDU_FT/TaurusOlson/fntools/pluck_each | LDU_FT | [
"<BEGIN>\n## `use_with`",
"Apply a function on the attributes of the data",
" :param data: an object\n :param fn: a function\n :param attrs: some attributes of the object\n :returns: an object",
" Let's create some data first::",
" >>> from collections import namedtuple\n >>> Pe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pluck_each API.
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 pluck_each API.
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 records with the selected columns
:param records: a list of dictionaries
:param columns: a list or a tuple
:returns: a list of dictionaries with the selected columns
>>> movies = [
... {'title': 'The Holy Grail', 'year': 1975, 'budget': 4E5, 'total_gross': 5E6},
... {'title': 'Life ... | "Return the records with the selected columns\n\n :param records: a list of dictionaries\n :param columns: a list or a tuple\n :returns: a list of dictionaries with the selected columns\n\n >>> movies = [\n ... {'title': 'The Holy Grail', 'year': 1975, 'budget': 4E5, 'total_gross': 5E6},\n ... {'title... | 134 | false | TaurusOlson/fntools | pluck_each | 29,221 | |
LDU_FT/hozn/coilmq/context_serve | LDU_FT | [
"<BEGIN>\n## `server_from_config`",
"Gets a configured L{coilmq.server.StompServer} from specified config.",
" If `config` is None, global L{coilmq.config.config} var will be used instead.",
" The `server_class` and `additional_kwargs` are primarily hooks for using this method\n from a testing enviro... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the context_serve API.
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 context_serve API.
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... | Takes a context object, which implements the __enter__/__exit__ "with" interface
and starts a server within that context.
This method is a refactored single-place for handling the server-run code whether
running in daemon or non-daemon mode. It is invoked with a dummy (passthrough)
context object fo... | "Takes a context object, which implements the __enter__/__exit__ \"with\" interface \n and starts a server within that context.\n\n This method is a refactored single-place for handling the server-run code whether\n running in daemon or non-daemon mode. It is invoked with a dummy (passthrough) \n context o... | 211 | false | hozn/coilmq | context_serve | 29,222 | |
LDU_FT/pjuren/pyokit/subtract | LDU_FT | [
"<BEGIN>\n## `__trim_extensions_dot`",
"trim leading dots from extensions and drop any empty strings.\n<END>",
"<BEGIN>\n## `__split_genomic_interval_filename`",
"Split a filename of the format chrom:start-end.ext or chrom.ext (full chrom).",
" :return: tuple of (chrom, start, end) -- 'start' and 'end' are... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subtract API.
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 subtract API.
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... | Subtract the BED elements in es from self.
:param es: a list of BED elements (or anything with chrom, start, end)
:return: a list of BED elements which represent what is left of
self after the subtraction. This might be an empty list. | "Subtract the BED elements in es from self.\n\n :param es: a list of BED elements (or anything with chrom, start, end)\n :return: a list of BED elements which represent what is left of\n self after the subtraction. This might be an empty list." | 519 | false | pjuren/pyokit | subtract | 29,223 | |
LDU_FT/dr-leo/pandaSDMX/write_source | LDU_FT | [
"<BEGIN>\n## `namedtuple`",
"Returns a new subclass of tuple with named fields.\n This is a patched version of collections.namedtuple from the stdlib.\n Unlike the latter, it accepts non-identifier strings as field names.\n All values are accessible through dict syntax. Fields whose names are\n identi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_source API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_source API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Save source to file by calling `write` on the root element. | "Save source to file by calling `write` on the root element." | 86 | false | dr-leo/pandaSDMX | write_source | 29,224 | |
LDU_FT/usc-isi-i2/etk/_parse_date | LDU_FT | [
"<BEGIN>\n## `decode_unicode`",
"Process of parsing:\n -> Convert unicode into standard form\n -> Convert each character of the unicode symbol to its numerical equivalent\n -> Mapping Process:\n - First check in pattern dictionary to map suffix/prefix\n - Check Emoticon Dictionary \n - Replace valu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_date API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_date API.
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... | parse a date string extracted to a datetime.datetime object
apply the customizations like date range, date completion etc. | "parse a date string extracted to a datetime.datetime object\n apply the customizations like date range, date completion etc." | 427 | false | usc-isi-i2/etk | _parse_date | 29,225 | |
LDU_FT/dronekit/dronekit-python/simple_takeoff | LDU_FT | [
"<BEGIN>\n## `condition_yaw`",
"Send MAV_CMD_CONDITION_YAW message to point vehicle at a specified heading (in degrees).",
" This method sets an absolute heading by default, but you can set the `relative` parameter\n to `True` to set yaw relative to the current yaw heading.",
" By default the yaw of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the simple_takeoff API.
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 simple_takeoff API.
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... | Take off and fly the vehicle to the specified altitude (in metres) and then wait for another command.
.. note::
This function should only be used on Copter vehicles.
The vehicle must be in GUIDED mode and armed before this is called.
There is no mechanism for notification when t... | "Take off and fly the vehicle to the specified altitude (in metres) and then wait for another command.\n\n .. note::\n\n This function should only be used on Copter vehicles.\n\n\n The vehicle must be in GUIDED mode and armed before this is called.\n\n There is no mechanism for notificat... | 290 | false | dronekit/dronekit-python | simple_takeoff | 29,226 | |
LDU_FT/eclipse/unide.python/samples | LDU_FT | [
"<BEGIN>\n## `samples`",
"Yield the samples as dicts, keyed by dimensions.\n<END>",
"<BEGIN>\n## `device_measurement`",
"Returns a JSON MeasurementPayload ready to be send through a\n transport.",
" If `ts` is not given, the current time is used. `part` is an\n optional `Part` object, and `result` ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the samples API.
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 samples API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Yield samples as dictionaries, keyed by dimensions. | "Yield samples as dictionaries, keyed by dimensions." | 25 | false | eclipse/unide.python | samples | 29,227 | |
LDU_FT/acutesoftware/virtual-AI-simulator/refresh_stats | LDU_FT | [
"<BEGIN>\n## `calc_basics`",
"calculate various aspects of the structure\n<END>",
"<BEGIN>\n## `bld_rafter_deflection`",
"calculate rafter deflections - see test_calc_building_design.py for \n Sample values for equations below from Structures II course\n<END>",
"<BEGIN>\n## `main`",
"Prototype to see h... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh_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 ext... | only need this when generating terrain (sea = 100 - perc_land at start).
This function forces a recount, otherwise just call the variables | "only need this when generating terrain (sea = 100 - perc_land at start).\n This function forces a recount, otherwise just call the variables" | 86 | false | acutesoftware/virtual-AI-simulator | refresh_stats | 29,228 | |
LDU_FT/idank/bashlex/p_redirection_list | 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_redirection_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the p_redirection_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.
Th... | redirection_list : redirection
| redirection_list redirection | "redirection_list : redirection\n | redirection_list redirection" | 59 | false | idank/bashlex | p_redirection_list | 29,229 | |
LDU_FT/ksbg/sparklanes/build_lane_from_yaml | LDU_FT | [
"<BEGIN>\n## `build_lane_from_yaml`",
"Builds a `sparklanes.Lane` object from a YAML definition file.",
" Parameters\n ----------\n path: str\n Path to the YAML definition file",
" Returns\n -------\n Lane\n Lane, built according to definition in YAML file\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_lane_from_yaml 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 build_lane_from_yaml API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Builds a `sparklanes.Lane` object from a YAML definition file.
Parameters
----------
path: str
Path to the YAML definition file
Returns
-------
Lane
Lane, built according to definition in YAML file | "Builds a `sparklanes.Lane` object from a YAML definition file.\n\n Parameters\n ----------\n path: str\n Path to the YAML definition file\n\n Returns\n -------\n Lane\n Lane, built according to definition in YAML file" | 62 | false | ksbg/sparklanes | build_lane_from_yaml | 29,230 | |
LDU_FT/jdoda/sdl2hl/draw_point | LDU_FT | [
"<BEGIN>\n## `was_init`",
"This function returns the subsystems which have previously been initialized.",
" Returns:\n Set[InitFlag]: Flags indicating which subsystems have been initialized.\n<END>",
"<BEGIN>\n## `load_bmp`",
"Load a surface from a file.",
" Args:\n path (str):... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the draw_point API.
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 draw_point API.
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... | Draw a point on the current rendering target.
Args:
x (int): The x coordinate of the point.
y (int): The y coordinate of the point.
Raises:
SDLError: If an error is encountered. | "Draw a point on the current rendering target.\n\n Args:\n x (int): The x coordinate of the point.\n y (int): The y coordinate of the point.\n\n Raises:\n SDLError: If an error is encountered." | 134 | false | jdoda/sdl2hl | draw_point | 29,231 | |
LDU_FT/victorlei/smop/size | LDU_FT | [
"<BEGIN>\n## `callgraph`",
"Build callgraph of func_list, ignoring\n built-in functions\n<END>",
"<BEGIN>\n## `recordtype`",
"Returns a new class with named fields.",
" @keyword field_defaults: A mapping from (a subset of) field names to default \n values.\n @keyword default: If provided, th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | >>> size(zeros(3,3)) + 1
matlabarray([[4, 4]]) | ">>> size(zeros(3,3)) + 1\n matlabarray([[4, 4]])" | 69 | false | victorlei/smop | size | 29,232 | |
LDU_FT/Arvedui/picuplib/check_response | LDU_FT | [
"<BEGIN>\n## `gen_user_agent`",
"generating the user agent witch will be used for most requests",
" monkey patching system and release functions from platform module\n to prevent disclosure of the OS and it's version\n<END>",
"<BEGIN>\n## `check_rotation`",
"checks rotation parameter if illegal value ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | checks the response if the server returned an error raises an exception. | "checks the response if the server returned an error raises an exception." | 27 | false | Arvedui/picuplib | check_response | 29,233 | |
LDU_FT/fmd/lazyconf/load | LDU_FT | [
"<BEGIN>\n## `data_file`",
"Gets the full path to the file in which to save/load configured data.\n<END>",
"<BEGIN>\n## `schema_file`",
"Gets the full path to the file in which to load configuration schema.\n<END>",
"<BEGIN>\n## `add_ignore`",
"Writes a .gitignore file to ignore the generated data file.\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Loads a data file and sets it to self.data.
Arguments:
data_file -- The filename to load. | "Loads a data file and sets it to self.data.\n\n Arguments:\n data_file -- The filename to load." | 25 | false | fmd/lazyconf | load | 29,234 | |
LDU_FT/nitely/django-hooks/hook_tag | LDU_FT | [
"<BEGIN>\n## `register`",
"Register a new hook. Not required (see :py:func:`.connect` method)",
" :param str name: The hook name\n :return: Django signal\n :rtype: :py:class:`django.dispatch.Signal`\n<END>",
"<BEGIN>\n## `connect`",
"Connects a function to a hook.\\\n Creates the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hook_tag API.
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 hook_tag API.
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... | Hook tag to call within templates
:param dict context: This is automatically passed,\
contains the template state/variables
:param str name: The hook which will be dispatched
:param \*args: Positional arguments, will be passed to hook callbacks
:param \*\*kwargs: Keyword arguments, will be passed t... | "Hook tag to call within templates\n\n :param dict context: This is automatically passed,\\\n contains the template state/variables\n :param str name: The hook which will be dispatched\n :param \\*args: Positional arguments, will be passed to hook callbacks\n :param \\*\\*kwargs: Keyword arguments, will ... | 39 | false | nitely/django-hooks | hook_tag | 29,235 | |
LDU_FT/ghukill/pyfc4/_parse_graph | LDU_FT | [
"<BEGIN>\n## `_post_create`",
"resource.create() hook",
"\t\tFor PCDM Collections, post creation, also create\n<END>",
"<BEGIN>\n## `get_related`",
"get ore:aggregates for this resource, optionally retrieving resource payload",
"\t\tArgs:\n\t\t\tretrieve (bool): if True, issue .refresh() on resource there... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_graph API.
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 _parse_graph API.
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... | use Content-Type from headers to determine parsing method
Args:
None
Return:
None: sets self.rdf by parsing data from GET request, or setting blank graph of resource does not yet exist | "use Content-Type from headers to determine parsing method\n\n\t\tArgs:\n\t\t\tNone\n\n\t\tReturn:\n\t\t\tNone: sets self.rdf by parsing data from GET request, or setting blank graph of resource does not yet exist" | 203 | false | ghukill/pyfc4 | _parse_graph | 29,236 | |
LDU_FT/rob-smallshire/cartouche/first_paragraph_indent | LDU_FT | [
"<BEGIN>\n## `parse_cartouche_text`",
"Parse text in cartouche format and return a reStructuredText equivalent",
" Args:\n lines: A sequence of strings representing the lines of a single\n docstring as read from the source by Sphinx. This string should be\n in a format that can b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the first_paragraph_indent 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 first_paragraph_indent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Fix the indentation on the first paragraph.
This occurs because the first line of a multi-line docstring following the
opening quote usually has no indent.
Args:
indent_texts: The lines of the docstring as an iterable over 2-tuples
each containing an integer indent level as the first e... | "Fix the indentation on the first paragraph.\n\n This occurs because the first line of a multi-line docstring following the\n opening quote usually has no indent.\n\n Args:\n indent_texts: The lines of the docstring as an iterable over 2-tuples\n each containing an integer indent level as the... | 40 | false | rob-smallshire/cartouche | first_paragraph_indent | 29,237 | |
LDU_FT/tjomasc/snekbol/_get_triplet_value_list | LDU_FT | [
"<BEGIN>\n## `add_component_definition`",
"Add a ComponentDefinition to the document\n<END>",
"<BEGIN>\n## `assemble_component`",
"Assemble a list of already defined components into a structual hirearchy\n<END>",
"<BEGIN>\n## `get_components`",
"Get components from a component definition in order\n<END>",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_triplet_value_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_triplet_value_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... | Get a list of values from RDF triples when more than one may be present | "Get a list of values from RDF triples when more than one may be present" | 30 | false | tjomasc/snekbol | _get_triplet_value_list | 29,238 | |
LDU_FT/mozillazg/python-pinyin/get_finals | LDU_FT | [
"<BEGIN>\n## `convert_zero_consonant`",
"零声母转换,还原原始的韵母",
" i行的韵母,前面没有声母的时候,写成yi(衣),ya(呀),ye(耶),yao(腰),\n you(忧),yan(烟),yin(因),yang(央),ying(英),yong(雍)。",
" u行的韵母,前面没有声母的时候,写成wu(乌),wa(蛙),wo(窝),wai(歪),\n wei(威),wan(弯),wen(温),wang(汪),weng(翁)。",
" ü行的韵母,前面没有声母的时候,写成yu(迂),yue(约),yuan(冤),\n yun(晕... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_finals API.
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_finals API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | 获取单个拼音中的韵母.
:param pinyin: 单个拼音
:type pinyin: unicode
:param strict: 是否严格遵照《汉语拼音方案》来处理声母和韵母
:return: 韵母
:rtype: unicode | "获取单个拼音中的韵母.\n\n :param pinyin: 单个拼音\n :type pinyin: unicode\n :param strict: 是否严格遵照《汉语拼音方案》来处理声母和韵母\n :return: 韵母\n :rtype: unicode" | 75 | false | mozillazg/python-pinyin | get_finals | 29,239 | |
LDU_FT/StackStorm/pybind/_set_tunnel_router_interface | LDU_FT | [
"<BEGIN>\n## `_set_virtual_mac`",
"Setter method for virtual_mac, mapped from YANG variable /rbridge_id/interface/ve/ipv6/vrrpv3e/virtual_mac (container)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_virtual_mac is considered as a private\n method. Backends looking ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_tunnel_router_interface API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_tunnel_router_interface API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Setter method for tunnel_router_interface, mapped from YANG variable /interface/tunnel/tunnel_router_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_tunnel_router_interface is considered as a private
method. Backends looking to populate this variable sh... | "Setter method for tunnel_router_interface, mapped from YANG variable /interface/tunnel/tunnel_router_interface (container)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_tunnel_router_interface is considered as a private\n method. Backends looking to populate this variabl... | 3,057 | true | StackStorm/pybind | _set_tunnel_router_interface | 29,240 | |
LDU_FT/djaodjin/djaodjin-deployutils/pub_upload | LDU_FT | [
"<BEGIN>\n## `filter`",
"Adds user and remote_addr to the record.\n<END>",
"<BEGIN>\n## `package_theme`",
"Package resources and templates for a multi-tier environment\n into a zip file.",
" Templates are pre-compiled into ``*build_dir*/*app_name*/templates``.\n Compilation means {% assets '*path*'... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pub_upload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pub_upload API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Upload theme packages to the stage *location*. | "Upload theme packages to the stage *location*." | 82 | false | djaodjin/djaodjin-deployutils | pub_upload | 29,241 | |
LDU_FT/aamalev/aiohttp_apiset/add_converter | LDU_FT | [
"<BEGIN>\n## `url_for`",
"Construct url for route with additional params.\n<END>",
"<BEGIN>\n## `deref`",
"Return dereference data\n :param data:\n :param spec:\n :return:\n<END>",
"<BEGIN>\n## `build_swagger_data`",
"Prepare data when schema loaded",
" :param swagger_schema: loaded sche... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_converter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_converter API.
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... | Add converter
:param klass: class or str
:param conv: callable
:param score:
:return: | "Add converter\n :param klass: class or str\n :param conv: callable\n :param score:\n :return:" | 48 | false | aamalev/aiohttp_apiset | add_converter | 29,242 | |
LDU_FT/regardscitoyens/anpy/parse_amendements_summary | LDU_FT | [
"<BEGIN>\n## `an_text_url`",
"Port of the PHP function used by the National Assembly:",
" public function urlOpaque($identifiant, $codeType = NULL)\n {\n $datas = array(\n 'PRJL' => array('repertoire' => 'projets', 'prefixe' => 'pl', 'suffixe' => ''),\n 'PION' => array('repert... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_amendements_summary 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 parse_amendements_summary API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | json schema :
{
infoGenerales: {
nb_resultats, debut, nb_docs
},
data_table: 'id|numInit|titreDossierLegislatif|urlDossierLegislatif|'
'instance|numAmend|urlAmend|designationArticle|'
'designationAlinea|dateDepot|signataires|sort'
}
NB : the jso... | "json schema :\n {\n infoGenerales: {\n nb_resultats, debut, nb_docs\n },\n data_table: 'id|numInit|titreDossierLegislatif|urlDossierLegislatif|'\n 'instance|numAmend|urlAmend|designationArticle|'\n 'designationAlinea|dateDepot|signataires|sort'\n }\n\n N... | 15 | false | regardscitoyens/anpy | parse_amendements_summary | 29,243 | |
LDU_FT/portfors-lab/sparkle/updateVocalAuto | LDU_FT | [
"<BEGIN>\n## `purgeDeletedWidgets`",
"Finds old references to stashed fields and deletes them\n<END>",
"<BEGIN>\n## `set_calibration`",
"See :meth:`AbstractAcquisitionRunner<sparkle.run.abstract_acquisition.AbstractAcquisitionRunner.set_calibration>`\n<END>",
"<BEGIN>\n## `set_current_stim_parameter`",
"S... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the updateVocalAuto API.
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 updateVocalAuto API.
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... | Updates the auto-parameter with selected *component* to have
*files*. Adds auto-parameter if not already present. The auto-parameter is expected to have only one selected
component (the one given). If length of files < 1, removes the
auto-parameter from the model.
:param component: Comp... | "Updates the auto-parameter with selected *component* to have\n *files*. Adds auto-parameter if not already present. The auto-parameter is expected to have only one selected\n component (the one given). If length of files < 1, removes the\n auto-parameter from the model.\n\n :param component... | 834 | false | portfors-lab/sparkle | updateVocalAuto | 29,244 | |
LDU_FT/abarmat/python-oembed/request | LDU_FT | [
"<BEGIN>\n## `addUrlScheme`",
"Add a url scheme to this endpoint. It takes a url string and create\n the OEmbedUrlScheme object internally.",
" Args:\n url: The url string that represents a url scheme to add.\n<END>",
"<BEGIN>\n## `match`",
"Try to find if url matches against any of... | 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... | Format the input url and optional parameters, and provides the final url
where to get the given resource.
Args:
url: The url of an OEmbed resource.
**opt: Parameters passed to the url.
Returns:
The complete url of the endpoint and resource. | "Format the input url and optional parameters, and provides the final url\n where to get the given resource.\n\n Args:\n url: The url of an OEmbed resource.\n **opt: Parameters passed to the url.\n\n Returns:\n The complete url of the endpoint and resource." | 23 | false | abarmat/python-oembed | request | 29,245 | |
LDU_FT/zeaphoo/budoc/mro | LDU_FT | [
"<BEGIN>\n## `import_module`",
"Imports a module. A single point of truth for importing modules to\n be documented by `pydoc`. In particular, it makes sure that the top\n module in `module_name` can be imported by using only the paths in\n `pydoc.import_path`.",
" If a module has already been import... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mro API.
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 mro API.
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... | Returns a method resolution list of documentation objects
for `cls`, which must be a documentation object.
The list will contain objects belonging to `pydoc.Class` or
`pydoc.External`. Objects belonging to the former are exported
classes either in this module or in one of its sub-module... | "Returns a method resolution list of documentation objects\n for `cls`, which must be a documentation object.\n\n The list will contain objects belonging to `pydoc.Class` or\n `pydoc.External`. Objects belonging to the former are exported\n classes either in this module or in one of its sub-... | 54 | false | zeaphoo/budoc | mro | 29,246 | |
LDU_FT/pymupdf/PyMuPDF/get_linkrect_idx | LDU_FT | [
"<BEGIN>\n## `_Widget_fontdict`",
"Turns the above font definitions into a dictionary. Assumes certain line breaks and spaces.\n<END>",
"<BEGIN>\n## `getTextlength`",
"Calculate length of a string for a given built-in font.",
" Args:\n fontname: name of the font.\n fontsize: size of font in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_linkrect_idx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_linkrect_idx API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Determine if cursor is inside one of the link hot spots. | "Determine if cursor is inside one of the link hot spots." | 282 | false | pymupdf/PyMuPDF | get_linkrect_idx | 29,247 | |
LDU_FT/fitodic/centerline/_create_centerline | LDU_FT | [
"<BEGIN>\n## `create_centerlines`",
"Create centerlines and save the to an ESRI Shapefile.",
" Reads polygons from the `src` ESRI Shapefile, creates Centerline\n objects with the specified `density` parameter and writes them to\n the `dst` ESRI Shapefile.",
" Only Polygon features are converted to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _create_centerline 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 _create_centerline API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Calculate the centerline of a polygon.
Densifies the border of a polygon which is then represented by a Numpy
array of points necessary for creating the Voronoi diagram. Once the
diagram is created, the ridges located within the polygon are
joined and returned.
Returns:
... | "Calculate the centerline of a polygon.\n\n Densifies the border of a polygon which is then represented by a Numpy\n array of points necessary for creating the Voronoi diagram. Once the\n diagram is created, the ridges located within the polygon are\n joined and returned.\n\n Returns:... | 31 | false | fitodic/centerline | _create_centerline | 29,248 | |
LDU_FT/jaredLunde/vital-tools/colorize | LDU_FT | [
"<BEGIN>\n## `line`",
"Prints a line separator the full width of the terminal.",
" @separator: the #str chars to create the line from\n @color: line color from :mod:vital.debug.colors\n @padding: adds extra lines to either the top, bottom or both\n of the line via :func:padd\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the colorize API.
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 colorize API.
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... | Colorizes text for terminal outputs
@text: #str to colorize
@color: #str color from :mod:colors
@close: #bool whether or not to reset the color
-> #str colorized @text
..
from vital.debug import colorize
colorize("Hello world", "blue")
# -> ... | "Colorizes text for terminal outputs\n\n @text: #str to colorize\n @color: #str color from :mod:colors\n @close: #bool whether or not to reset the color\n\n -> #str colorized @text\n ..\n from vital.debug import colorize\n\n colorize(\"Hello world\", \"blue\")\n ... | 396 | false | jaredLunde/vital-tools | colorize | 29,249 | |
LDU_FT/mattjj/pylds/sparse_hessian_log_joint | LDU_FT | [
"<BEGIN>\n## `symm_block_tridiag_matmul`",
"Compute matrix-vector product with a symmetric block\n tridiagonal matrix H and vector v.",
" :param H_diag: block diagonal terms of H\n :param H_upper_diag: upper block diagonal terms of H\n :param v: vector to multiple\n :ret... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sparse_hessian_log_joint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sparse_hessian_log_joint API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | The Hessian includes the quadratic terms of the Gaussian LDS prior
as well as the Hessian of the local log likelihood. | "The Hessian includes the quadratic terms of the Gaussian LDS prior\n as well as the Hessian of the local log likelihood." | 53 | false | mattjj/pylds | sparse_hessian_log_joint | 29,250 | |
LDU_FT/jashort/SmartFileSorter/run | LDU_FT | [
"<BEGIN>\n## `do_action`",
":param target: Full path and filename\n :param dry_run: True - don't actually perform action. False: perform action. No effect for this rule.\n :return: filename: Full path and filename after action completes\n<END>",
"<BEGIN>\n## `add_match_rule`",
"Adds the given ma... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Load plugins and run with the configuration given in args
:param args: Object containing program's parsed command line arguments
:return: None | "Load plugins and run with the configuration given in args\n :param args: Object containing program's parsed command line arguments\n :return: None" | 38 | false | jashort/SmartFileSorter | run | 29,251 | |
LDU_FT/jaraco/jaraco.postgres/_robust_remove | LDU_FT | [
"<BEGIN>\n## `create`",
"CREATE this DATABASE.",
" @param sql: (Optional) A string of psql (such as might be generated\n by pg_dump); it will be executed by psql(1) after creating the\n database.\n @type sql: str",
" @rtype: None\n<END>",
"<BEGIN>\n## `psql_string`",
"Ev... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _robust_remove API.
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 _robust_remove API.
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... | Remove the directory specified by `path`. Because we can't determine
directly if the path is in use, and on Windows, it's not possible to
remove a path if it is in use, retry a few times until the call
succeeds. | "Remove the directory specified by `path`. Because we can't determine\n directly if the path is in use, and on Windows, it's not possible to\n remove a path if it is in use, retry a few times until the call\n succeeds." | 45 | false | jaraco/jaraco.postgres | _robust_remove | 29,252 | |
LDU_FT/hannes-brt/cudnn-python-wrappers/cudnnGetPooling2dDescriptor | LDU_FT | [
"<BEGIN>\n## `cudnnCreate`",
"Initialize cuDNN.",
" Initializes cuDNN and returns a handle to the cuDNN context.",
" Returns\n -------",
" handle : cudnnHandle\n cuDNN context\n<END>",
"<BEGIN>\n## `cudnnDestroy`",
"Release cuDNN resources.",
" Release hardware resources used by ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cudnnGetPooling2dDescriptor 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 cudnnGetPooling2dDescriptor API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | This function queries a previously created pooling descriptor object.
Parameters
----------
poolingDesc : cudnnPoolingDescriptor
Handle to a previously created 2D pooling descriptor.
Returns
-------
mode : cudnnPoolingMode
Enumerant to specify the pooling mode.
windowHeight : i... | "This function queries a previously created pooling descriptor object.\n\n Parameters\n ----------\n poolingDesc : cudnnPoolingDescriptor\n Handle to a previously created 2D pooling descriptor.\n\n Returns\n -------\n mode : cudnnPoolingMode\n Enumerant to specify the pooling mode.\n wind... | 108 | false | hannes-brt/cudnn-python-wrappers | cudnnGetPooling2dDescriptor | 29,253 | |
LDU_FT/learningequality/ricecooker/validate | LDU_FT | [
"<BEGIN>\n## `_write_to_zip`",
"_write_to_zip: Write file to zip\n Args:\n path: (str) where in zip to write file\n contents: (str) contents of file to write\n Returns: None\n<END>",
"<BEGIN>\n## `_commit`",
"_commit: Adds folder/file to map\n Arg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
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 validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | validate: Makes sure audio is valid
Args: None
Returns: boolean indicating if audio is valid | "validate: Makes sure audio is valid\n Args: None\n Returns: boolean indicating if audio is valid" | 364 | false | learningequality/ricecooker | validate | 29,254 | |
LDU_FT/henzk/django-productline/bind_settings | LDU_FT | [
"<BEGIN>\n## `requires_product_environment`",
"task decorator that makes sure that the product environment\n of django_productline is activated:\n -context is bound\n -features have been composed\n<END>",
"<BEGIN>\n## `set_site`",
"This method is part of the prepare_data helper.\n Sets the site. D... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind_settings API.
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 bind_settings API.
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... | Put DJANGO_TEMPLATE_* under the right settings.* name according to django-version
:return: | "Put DJANGO_TEMPLATE_* under the right settings.* name according to django-version\n :return:" | 57 | false | henzk/django-productline | bind_settings | 29,255 | |
LDU_FT/HydrelioxGitHub/pyiss/is_ISS_above | LDU_FT | [
"<BEGIN>\n## `people_in_space`",
"Number of people in space.\n Be aware that does not mean these people are inside the ISS (it does\n most of the time), They can be travelling to and from the station.",
" :return: Return a dict with number of people in space right now and\n their nam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_ISS_above API.
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 is_ISS_above API.
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... | Location of the ISS regardin the current location.
:param latitude: latitude in degrees of location you want iss pass
above
:type latitude: float
:param longitude: longitude in degrees of location you want iss pass
above
:type longitude: float
:param altitude: al... | "Location of the ISS regardin the current location.\n\n :param latitude: latitude in degrees of location you want iss pass\n above\n :type latitude: float\n :param longitude: longitude in degrees of location you want iss pass\n above\n :type longitude: float\n :param alt... | 15 | false | HydrelioxGitHub/pyiss | is_ISS_above | 29,256 | |
LDU_FT/meraki-analytics/datapipelines-python/put | LDU_FT | [
"<BEGIN>\n## `_transform`",
"Transform data to a new type.",
" Args:\n transformer_chain: A sequence of (transformer, type) pairs to convert the data.\n data: The data to be transformed.\n context: The context of the transformations (mutable).",
" Returns:\n The transformed d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Puts an objects into the data sink. The objects may be transformed into a new type for insertion if necessary.
Args:
item: The objects to be inserted into the data sink.
context: The context of the insertion (mutable). | "Puts an objects into the data sink. The objects may be transformed into a new type for insertion if necessary.\n\n Args:\n item: The objects to be inserted into the data sink.\n context: The context of the insertion (mutable)." | 54 | false | meraki-analytics/datapipelines-python | put | 29,257 | |
LDU_FT/astropy/astropy-healpix/nest2ring | LDU_FT | [
"<BEGIN>\n## `healpix_to_lonlat`",
"Convert HEALPix indices (optionally with offsets) to longitudes/latitudes",
" Parameters\n ----------\n healpix_index : `~numpy.ndarray`\n 1-D array of HEALPix indices\n dx, dy : `~numpy.ndarray`, optional\n 1-D arrays of offs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the nest2ring API.
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 nest2ring API.
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... | Drop-in replacement for healpy `~healpy.pixelfunc.nest2ring`. | "Drop-in replacement for healpy `~healpy.pixelfunc.nest2ring`." | 177 | false | astropy/astropy-healpix | nest2ring | 29,258 | |
LDU_FT/aio-libs/yarl/update_query | LDU_FT | [
"<BEGIN>\n## `is_default_port`",
"A check for default port.",
" Return True if port is default for specified scheme,\n e.g. 'http://python.org' or 'http://python.org:80', False\n otherwise.\n<END>",
"<BEGIN>\n## `origin`",
"Return an URL with scheme, host and port parts only.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a new URL with query part updated. | "Return a new URL with query part updated." | 62 | false | aio-libs/yarl | update_query | 29,259 | |
LDU_FT/soundcloud/soundcloud-python/exchange_token | LDU_FT | [
"<BEGIN>\n## `exchange_token`",
"Given the value of the code parameter, request an access token.\n<END>",
"<BEGIN>\n## `_authorization_code_flow`",
"Build the the auth URL so the user can authorize the app.\n<END>",
"<BEGIN>\n## `_refresh_token_flow`",
"Given a refresh token, obtain a new access token.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exchange_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exchange_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Given the value of the code parameter, request an access token. | "Given the value of the code parameter, request an access token." | 29 | false | soundcloud/soundcloud-python | exchange_token | 29,260 | |
LDU_FT/couchbase/couchbase-python-client/_wrap | LDU_FT | [
"<BEGIN>\n## `set_json_converters`",
"Modify the default JSON conversion functions. This affects all\n :class:`~couchbase.bucket.Bucket` instances.",
" These functions will called instead of the default ones (``json.dumps``\n and ``json.loads``) to encode and decode JSON (when :const:`FMT_JSON` is\n ... | 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 d... | 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 d... | Calls a given method with the appropriate arguments, or defers such
a call until the instance has been connected | "Calls a given method with the appropriate arguments, or defers such\n a call until the instance has been connected" | 806 | false | couchbase/couchbase-python-client | _wrap | 29,261 | |
LDU_FT/alfredodeza/remoto/get | LDU_FT | [
"<BEGIN>\n## `extend_env`",
"get the remote environment's env so we can explicitly add the path without\n wiping out everything\n<END>",
"<BEGIN>\n## `run`",
"A real-time-logging implementation of a remote subprocess.Popen call where\n a command is just executed on the remote end and no other handling i... | 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... | Retrieve the matching backend class from a string. If no backend can be
matched, it raises an error.
>>> get('ssh')
<class 'remoto.backends.BaseConnection'>
>>> get()
<class 'remoto.backends.BaseConnection'>
>>> get('non-existent')
<class 'remoto.backends.BaseConnection'>
>>> get('non-e... | "Retrieve the matching backend class from a string. If no backend can be\n matched, it raises an error.\n\n >>> get('ssh')\n <class 'remoto.backends.BaseConnection'>\n >>> get()\n <class 'remoto.backends.BaseConnection'>\n >>> get('non-existent')\n <class 'remoto.backends.BaseConnection'>\n >>> ... | 27 | false | alfredodeza/remoto | get | 29,262 | |
LDU_FT/candango/firenado/run_from_command_line | LDU_FT | [
"<BEGIN>\n## `get_handlers`",
"Returns the handlers defined on the static_maps.yml file located\n at the app config directory.",
" Returns: An array of static handlers to be added to the app.\n<END>",
"<BEGIN>\n## `sig_handler`",
"Handle the signal sent to the process\n :param sig: Sig... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_from_command_line 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 run_from_command_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Run Firenado's management commands from a command line | "Run Firenado's management commands from a command line" | 66 | false | candango/firenado | run_from_command_line | 29,263 | |
LDU_FT/pyca/pynacl/crypto_hash | LDU_FT | [
"<BEGIN>\n## `ensure`",
"Return if a condition is true, otherwise raise a caller-configurable\n :py:class:`Exception`\n :param bool cond: the condition to be checked\n :param sequence args: the arguments to be passed to the exception's\n constructor\n The only accepted named p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crypto_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crypto_hash API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Hashes and returns the message ``message``.
:param message: bytes
:rtype: bytes | "Hashes and returns the message ``message``.\n\n :param message: bytes\n :rtype: bytes" | 266 | false | pyca/pynacl | crypto_hash | 29,264 | |
LDU_FT/elifesciences/elife-tools/body_block_supplementary_material_render | LDU_FT | [
"<BEGIN>\n## `strip_punctuation_space`",
"Strip excess whitespace prior to punctuation.\n<END>",
"<BEGIN>\n## `join_sentences`",
"concatenate two sentences together with punctuation glue\n<END>",
"<BEGIN>\n## `coerce_to_int`",
"Attempts to cast given value to an integer, return the original value if faile... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the body_block_supplementary_material_render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the body_block_supplementary_material_render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat... | fig and media tag caption may have supplementary material | "fig and media tag caption may have supplementary material" | 201 | false | elifesciences/elife-tools | body_block_supplementary_material_render | 29,265 | |
LDU_FT/kushaldas/retask/wait | LDU_FT | [
"<BEGIN>\n## `names`",
"Returns a list of queues available, ``None`` if no such\n queues found. Remember this will only shows queues with\n at least one item enqueued.\n<END>",
"<BEGIN>\n## `length`",
"Gives the length of the queue. Returns ``None`` if the queue is not\n connected.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API.
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 wait API.
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... | Returns a :class:`~retask.task.Task` object from the queue. Returns ``False`` if it timeouts.
:arg wait_time: Time in seconds to wait, default is infinite.
:return: :class:`~retask.task.Task` object from the queue or False if it timeouts.
.. doctest::
>>> from retask import Queue
... | "Returns a :class:`~retask.task.Task` object from the queue. Returns ``False`` if it timeouts.\n\n :arg wait_time: Time in seconds to wait, default is infinite.\n\n :return: :class:`~retask.task.Task` object from the queue or False if it timeouts.\n\n .. doctest::\n\n >>> from retask impo... | 48 | false | kushaldas/retask | wait | 29,266 | |
LDU_FT/gregreen/dustmaps/query | LDU_FT | [
"<BEGIN>\n## `ascii2h5`",
"Converts from the original ASCII format of the Chen+ (2014) 3D dust map to\n the HDF5 format.",
" Args:\n dat_fname (:obj:`str`): Filename of the original ASCII .dat file.\n h5_fname (:obj:`str`): Output filename to write the resulting HDF5 file to.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Args:
coords (`astropy.coordinates.SkyCoord`): The coordinates to query.
Returns:
A float array of the value of the map at the given coordinates. The
shape of the output is the same as the shape of the coordinates
stored by `coords`. | "Args:\n coords (`astropy.coordinates.SkyCoord`): The coordinates to query.\n\n Returns:\n A float array of the value of the map at the given coordinates. The\n shape of the output is the same as the shape of the coordinates\n stored by `coords`." | 220 | false | gregreen/dustmaps | query | 29,267 | |
LDU_FT/ethereum/eth-utils/validate_conversion_arguments | LDU_FT | [
"<BEGIN>\n## `from_wei`",
"Takes a number of wei and converts it to any other ether unit.\n<END>",
"<BEGIN>\n## `to_wei`",
"Takes a number of a unit and converts it to wei.\n<END>",
"<BEGIN>\n## `to_hex`",
"Auto converts any supported value into its hex representation.\n Trims leading zeros, as defined... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_conversion_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_conversion_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Validates arguments for conversion functions.
- Only a single argument is present
- Kwarg must be 'primitive' 'hexstr' or 'text'
- If it is 'hexstr' or 'text' that it is a text type | "Validates arguments for conversion functions.\n - Only a single argument is present\n - Kwarg must be 'primitive' 'hexstr' or 'text'\n - If it is 'hexstr' or 'text' that it is a text type" | 41 | false | ethereum/eth-utils | validate_conversion_arguments | 29,268 | |
LDU_FT/anchore/anchore/init_output_formatters | LDU_FT | [
"<BEGIN>\n## `get_current_user_info`",
"Return the metadata about the current user as supplied by the anchore.io service. Includes permissions and tier access.",
" :return: Dict of user metadata\n<END>",
"<BEGIN>\n## `sync`",
"Sync (download) latest policies from the Anchore.io service.\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init_output_formatters 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 init_output_formatters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | Initialize the CLI logging scheme.
:param output_verbosity: 'quiet','normal','verbose', or 'debug' controls the output to stdout and its format
:param stderr: stream for stderr output, default=stderr, pass a file path/string to have stderr in a file
:return: | "Initialize the CLI logging scheme.\n\n :param output_verbosity: 'quiet','normal','verbose', or 'debug' controls the output to stdout and its format\n :param stderr: stream for stderr output, default=stderr, pass a file path/string to have stderr in a file\n :return:" | 151 | false | anchore/anchore | init_output_formatters | 29,269 | |
LDU_FT/iterative/dvc/is_import | LDU_FT | [
"<BEGIN>\n## `_get_remote`",
"The config file is stored in a way that allows you to have a\n cache for each remote.",
" This is needed when specifying external outputs\n (as they require you to have an external cache location).",
" Imagine a config file like the following:",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_import API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_import API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Whether the stage file was created with `dvc import`. | "Whether the stage file was created with `dvc import`." | 269 | false | iterative/dvc | is_import | 29,270 | |
LDU_FT/ionelmc/python-aspectlib/log | LDU_FT | [
"<BEGIN>\n## `weave`",
"Send a message to a recipient",
" Args:\n target (string, class, instance, function or builtin):\n The object to weave.\n aspects (:py:obj:`aspectlib.Aspect`, function decorator or list of):\n The aspects to apply to the object.\n subclasses ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the log API.
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 log API.
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... | Decorates `func` to have logging.
Args
func (function):
Function to decorate. If missing log returns a partial which you can use as a decorator.
stacktrace (int):
Number of frames to show.
stacktrace_align (int):
Column to align the framelist to.
... | "Decorates `func` to have logging.\n\n Args\n func (function):\n Function to decorate. If missing log returns a partial which you can use as a decorator.\n stacktrace (int):\n Number of frames to show.\n stacktrace_align (int):\n Column to align the framelist to.... | 48 | false | ionelmc/python-aspectlib | log | 29,271 | |
LDU_FT/rasguanabana/ytfs/rename | LDU_FT | [
"<BEGIN>\n## `__getChannelId`",
"Obtain channel id for channel name, if present in ``self.search_params``.\n<END>",
"<BEGIN>\n## `__searchParser`",
"Parse `query` for advanced search options.",
" Parameters\n ----------\n query : str\n Search query to parse. Besides a search ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rename API.
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 rename API.
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 ... | Directory renaming support. Needed because many file managers create directories with default names, wich
makes it impossible to perform a search without CLI. Name changes for files are not allowed, only for
directories.
Parameters
----------
old : str
Old name. Conv... | "Directory renaming support. Needed because many file managers create directories with default names, wich\n makes it impossible to perform a search without CLI. Name changes for files are not allowed, only for\n directories.\n\n Parameters\n ----------\n old : str\n Old na... | 109 | false | rasguanabana/ytfs | rename | 29,272 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.