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/google/apitools/definition_name | LDU_FT | [
"<BEGIN>\n## `_urljoin`",
"Custom urljoin replacement supporting : before / in url.\n<END>",
"<BEGIN>\n## `_SetCredentials`",
"Fetch credentials, and set them for this client.",
" Note that we can't simply return credentials, since creating them\n may involve side-effecting self.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the definition_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the definition_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Helper method for creating definition name.
Names will be generated to include the classes package name,
scope (if the class is nested in another definition) and class
name.
By default, the package name for a definition is derived from
its module name. However, this value can b... | "Helper method for creating definition name.\n\n Names will be generated to include the classes package name,\n scope (if the class is nested in another definition) and class\n name.\n\n By default, the package name for a definition is derived from\n its module name. However, this val... | 629 | false | google/apitools | definition_name | 20,773 | |
LDU_FT/dfm/george/predict | LDU_FT | [
"<BEGIN>\n## `computed`",
"Has the processes been computed since the last update of the kernel?\n<END>",
"<BEGIN>\n## `parse_samples`",
"Parse a list of samples to make sure that it has the correct\n dimensions.",
" :param t: ``(nsamples,)`` or ``(nsamples, ndim)``\n The list of sam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
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 predict API.
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... | Compute the conditional predictive distribution of the model. You must
call :func:`GP.compute` before this function.
:param y: ``(nsamples,)``
The observations to condition the model on.
:param t: ``(ntest,)`` or ``(ntest, ndim)``
The coordinates where the predictive di... | "Compute the conditional predictive distribution of the model. You must\n call :func:`GP.compute` before this function.\n\n :param y: ``(nsamples,)``\n The observations to condition the model on.\n\n :param t: ``(ntest,)`` or ``(ntest, ndim)``\n The coordinates where the predi... | 111 | false | dfm/george | predict | 20,774 | |
LDU_FT/joestump/python-oauth2/get_normalized_parameters | LDU_FT | [
"<BEGIN>\n## `get_oauth_request`",
"Return an OAuth Request object for the current request.\n<END>",
"<BEGIN>\n## `get_client`",
"Return the client from the OAuth parameters.\n<END>",
"<BEGIN>\n## `is_valid`",
"Returns a Client object if this is a valid OAuth request.\n<END>",
"<BEGIN>\n## `build_xoauth... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_normalized_parameters 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 get_normalized_parameters API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Return a string that contains the parameters that must be signed. | "Return a string that contains the parameters that must be signed." | 35 | false | joestump/python-oauth2 | get_normalized_parameters | 20,775 | |
LDU_FT/hyde/fswrap/make | LDU_FT | [
"<BEGIN>\n## `fully_expanded_path`",
"Returns the absolutely absolute path. Calls os.(\n normpath, normcase, expandvars and expanduser).\n<END>",
"<BEGIN>\n## `depth`",
"Returns the number of ancestors of this directory.\n<END>",
"<BEGIN>\n## `ancestors`",
"Generates the parents until stop or the a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make API.
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 make API.
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... | Creates this directory and any of the missing directories in the path.
Any errors that may occur are eaten. | "Creates this directory and any of the missing directories in the path.\n Any errors that may occur are eaten." | 43 | false | hyde/fswrap | make | 20,776 | |
LDU_FT/fjwCode/cerium/sync_l | LDU_FT | [
"<BEGIN>\n## `version`",
"Show the version number of Android Debug Bridge.\n<END>",
"<BEGIN>\n## `devices_l`",
"List connected devices (-l for long output).\n<END>",
"<BEGIN>\n## `connect`",
"Connect to a device via TCP/IP directly.\n<END>",
"<BEGIN>\n## `disconnect`",
"Disconnect from given TCP/IP de... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sync_l API.
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 sync_l API.
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 ... | List but don't copy.
Args:
option: 'system', 'vendor', 'oem', 'data', 'all' | "List but don't copy.\n\n Args:\n option: 'system', 'vendor', 'oem', 'data', 'all'" | 95 | false | fjwCode/cerium | sync_l | 20,777 | |
LDU_FT/lehins/python-wepay/__transfer | LDU_FT | [
"<BEGIN>\n## `authorize`",
"Documentation: `/oauth2/authorize\n <https://www.wepay.com/developer/reference/oauth2#authorize>`_.",
" .. note::",
" This is not an API call but an actual uri that you send the user to.\n<END>",
"<BEGIN>\n## `__token`",
"Call documentation: `/oauth2/tok... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __transfer API.
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 __transfer API.
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... | Call documentation: `/credit_card/transfer
<https://www.wepay.com/developer/reference/credit_card#transfer>`_, plus
extra keyword parameter:
:keyword bool batch_mode: turn on/off the batch_mode, see
:class:`wepay.api.WePay`
:keyword str batch_reference_id: `referenc... | "Call documentation: `/credit_card/transfer\n <https://www.wepay.com/developer/reference/credit_card#transfer>`_, plus\n extra keyword parameter:\n \n :keyword bool batch_mode: turn on/off the batch_mode, see \n :class:`wepay.api.WePay`\n\n :keyword str batch_reference_id: `... | 269 | false | lehins/python-wepay | __transfer | 20,778 | |
LDU_FT/snipsco/snipsmanagercore/speak | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse a json response into an intent.",
" :param payload: a JSON object representing an intent.\n :param candidate_classes: a list of classes representing various\n intents, each having their own `parse`\n me... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the speak API.
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 speak API.
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... | Speak a sentence using Google TTS.
:param sentence: the sentence to speak. | "Speak a sentence using Google TTS.\n :param sentence: the sentence to speak." | 60 | false | snipsco/snipsmanagercore | speak | 20,779 | |
LDU_FT/vsoch/helpme/stream_response | LDU_FT | [
"<BEGIN>\n## `main`",
"the main entry point for the HelpMe Command line application. Currently,\n the user can request help or set config values for a particular helper.\n<END>",
"<BEGIN>\n## `write_config`",
"use configparser to write a config object to filename\n<END>",
"<BEGIN>\n## `generate_tempor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the stream_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | stream response is one level higher up than stream, starting with a
response object and then performing the stream without making the
requests.get. The expectation is that the request was successful
(status code 20*).
Parameters
==========
response: a response that is ready ... | "stream response is one level higher up than stream, starting with a \n response object and then performing the stream without making the\n requests.get. The expectation is that the request was successful \n (status code 20*).\n\n Parameters\n ==========\n response: a response that i... | 121 | false | vsoch/helpme | stream_response | 20,780 | |
LDU_FT/stbraun/fuzzing/step_impl06 | LDU_FT | [
"<BEGIN>\n## `step_impl03`",
"Check assertions.",
" :param context: test context.\n<END>",
"<BEGIN>\n## `step_impl`",
"Check assertions.",
" :param max_modified: maximum expected number of modifications.\n :param context: test context.\n<END>",
"<BEGIN>\n## `step_impl06`",
"Execute fuzzer.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the step_impl06 API.
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 step_impl06 API.
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... | Prepare test for singleton property.
:param context: test context. | "Prepare test for singleton property.\n\n :param context: test context." | 79 | false | stbraun/fuzzing | step_impl06 | 20,781 | |
LDU_FT/inveniosoftware-attic/invenio-utils/json_decode_file | LDU_FT | [
"<BEGIN>\n## `get_callable_signature_as_string`",
"Return a string representing a callable.",
" It is executed as if it would have been declared on the prompt.",
" >>> def foo(arg1, arg2, arg3='val1', arg4='val2', *args, **argd):\n ... pass\n >>> get_callable_signature_as_string(foo)\n def ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json_decode_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the json_decode_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Parses a textfile using json to build a python object representation | "Parses a textfile using json to build a python object representation" | 424 | false | inveniosoftware-attic/invenio-utils | json_decode_file | 20,782 | |
LDU_FT/costastf/toonlib/get_light_by_name | LDU_FT | [
"<BEGIN>\n## `get_arguments`",
"This get us the cli arguments.",
" Returns the args as parsed from the argsparser.\n<END>",
"<BEGIN>\n## `setup_logging`",
"This sets up the logging.",
" Needs the args to get the log level supplied\n :param args: The command line arguments\n<END>",
"<BEGIN>\n## ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_light_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_light_by_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Retrieves a light object by its name
:param name: The name of the light to return
:return: A light object | "Retrieves a light object by its name\n\n :param name: The name of the light to return\n :return: A light object" | 46 | false | costastf/toonlib | get_light_by_name | 20,783 | |
LDU_FT/CalebBell/ht/Nu_Zhu | LDU_FT | [
"<BEGIN>\n## `blackbody_spectral_radiance`",
"r'''Returns the spectral radiance, in units of W/m^2/sr/µm.",
" .. math::\n I_{\\lambda,blackbody,e}(\\lambda,T)=\\frac{2hc_o^2}\n {\\lambda^5[\\exp(hc_o/\\lambda k T)-1]}",
" Parameters\n ----------\n T : float\n Temperature of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Nu_Zhu API.
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 Nu_Zhu API.
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 ... | r'''Calculates internal convection Nusselt number for turbulent vertical
upward flow in a pipe under supercritical conditions according to [1]_.
.. math::
Nu_b = 0.0068 Re_b^{0.9} \bar{Pr}_b^{0.63}
\left(\frac{\rho_w}{\rho_b}\right)^{0.17}
\left(\frac{k_w}{k_b}\right)^{0.29}
... | "r'''Calculates internal convection Nusselt number for turbulent vertical\n upward flow in a pipe under supercritical conditions according to [1]_.\n \n .. math::\n Nu_b = 0.0068 Re_b^{0.9} \\bar{Pr}_b^{0.63}\n \\left(\\frac{\\rho_w}{\\rho_b}\\right)^{0.17}\n \\left(\\frac{k_w}{k_b}\\r... | 2,013 | true | CalebBell/ht | Nu_Zhu | 20,784 | |
LDU_FT/NoviceLive/intellicoder/build_strings | LDU_FT | [
"<BEGIN>\n## `format`",
"Format the record using the corresponding formatter.\n<END>",
"<BEGIN>\n## `make_c_header`",
"Build a C header from the front and body.\n<END>",
"<BEGIN>\n## `reloc_var`",
"Build C source code to relocate a variable.\n<END>",
"<BEGIN>\n## `make_c_args`",
"Build a C argument li... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_strings API.
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 build_strings API.
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... | Construct string definitions according to
the previously maintained table. | "Construct string definitions according to\n the previously maintained table." | 117 | false | NoviceLive/intellicoder | build_strings | 20,785 | |
LDU_FT/AASHE/python-membersuite-api-client/get_current_membership_for_org | LDU_FT | [
"<BEGIN>\n## `get_subscriptions`",
"Fetches all subscriptions from Membersuite of a particular\n `publication_id` if set.\n<END>",
"<BEGIN>\n## `get_org_types`",
"Retrieves all current OrganizationType objects\n<END>",
"<BEGIN>\n## `package_org_types`",
"Loops through MS objects returned from queri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_membership_for_org API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_current_membership_for_org API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | Return a current membership for this org, or, None if
there is none. | "Return a current membership for this org, or, None if\n there is none." | 46 | false | AASHE/python-membersuite-api-client | get_current_membership_for_org | 20,786 | |
LDU_FT/andersinno/python-database-sanitizer/hash_text_to_ints | LDU_FT | [
"<BEGIN>\n## `decode_copy_value`",
"Decodes value received as part of Postgres `COPY` command.",
" :param value: Value to decode.\n :type value: str",
" :return: Either None if the value is NULL string, or the given value where\n escape sequences have been decoded from.\n :rtype: str|N... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hash_text_to_ints API.
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 hash_text_to_ints API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Hash a text value to a sequence of integers.
Generates a sequence of integer values with given bit-lengths
similarly to `hash_text_to_int`, but allowing generating many
separate numbers with a single call.
:param bit_lengths:
Tuple of bit lengths for the resulting integers. Defines also the
... | "Hash a text value to a sequence of integers.\n\n Generates a sequence of integer values with given bit-lengths\n similarly to `hash_text_to_int`, but allowing generating many\n separate numbers with a single call.\n\n :param bit_lengths:\n Tuple of bit lengths for the resulting integers. Defines also... | 104 | false | andersinno/python-database-sanitizer | hash_text_to_ints | 20,787 | |
LDU_FT/dbcli/athenacli/extract_table_identifiers | LDU_FT | [
"<BEGIN>\n## `refresher`",
"Decorator to add the decorated function to the dictionary of\n refreshers. Any function decorated with a @refresher will be executed as\n part of the completion refresh routine.\n<END>",
"<BEGIN>\n## `refresh`",
"Creates a SQLCompleter object and populates it with the relevan... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_table_identifiers 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 extract_table_identifiers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | yields tuples of (schema_name, table_name, table_alias) | "yields tuples of (schema_name, table_name, table_alias)" | 95 | false | dbcli/athenacli | extract_table_identifiers | 20,788 | |
LDU_FT/danvk/pyjsonselect/apply_filter | LDU_FT | [
"<BEGIN>\n## `_reExec`",
"This returns [full match, group1, group2, ...], just like JS.\n<END>",
"<BEGIN>\n## `match`",
"Match a selector to an object, yielding the matched values.",
" Args:\n sel: The JSONSelect selector to apply (a string)\n obj: The object against which to apply the sele... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_filter API.
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 apply_filter API.
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... | Apply selector to transform each object in objs.
This operates in-place on objs. Empty objects are removed from the list.
Args:
mode: either KEEP (to keep selected items & their ancestors) or DELETE
(to delete selected items and their children). | "Apply selector to transform each object in objs.\n\n This operates in-place on objs. Empty objects are removed from the list.\n\n Args:\n mode: either KEEP (to keep selected items & their ancestors) or DELETE\n (to delete selected items and their children)." | 13 | false | danvk/pyjsonselect | apply_filter | 20,789 | |
LDU_FT/joshua-stone/DerPyBooru/watched | LDU_FT | [
"<BEGIN>\n## `key`",
"Takes a user's API key string which applies content settings. API keys can\n be found at <https://derpibooru.org/users/edit>.\n<END>",
"<BEGIN>\n## `query`",
"Takes one or more strings for searching by tag and/or metadata.\n<END>",
"<BEGIN>\n## `sort_by`",
"Determines how to sort ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the watched API.
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 watched API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Set whether to filter by a user's watchlist. Options available are
user.ONLY, user.NOT, and None; default is None. | "Set whether to filter by a user's watchlist. Options available are\n user.ONLY, user.NOT, and None; default is None." | 19 | false | joshua-stone/DerPyBooru | watched | 20,790 | |
LDU_FT/limix/limix-core/gaussianize | LDU_FT | [
"<BEGIN>\n## `addFixedEffect`",
"set sample and trait designs\n F: NxK sample design\n A: LxP sample design\n REML: REML for this term?\n index: index of which fixed effect to replace. If None, just append.\n<END>",
"<BEGIN>\n## `removeFixedEffect`",
"set sample and tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gaussianize API.
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 gaussianize API.
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... | Gaussianize X: [samples x phenotypes]
- each phentoype is converted to ranks and transformed back to normal using the inverse CDF | "Gaussianize X: [samples x phenotypes]\n - each phentoype is converted to ranks and transformed back to normal using the inverse CDF" | 61 | false | limix/limix-core | gaussianize | 20,791 | |
LDU_FT/seb-m/pyinotify/process_events | LDU_FT | [
"<BEGIN>\n## `compatibility_mode`",
"Use this function to turn on the compatibility mode. The compatibility\n mode is used to improve compatibility with Pyinotify 0.7.1 (or older)\n programs. The compatibility mode provides additional variables 'is_dir',\n 'event_name', 'EventsCodes.IN_*' and 'EventsCode... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_events API.
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 process_events API.
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... | Routine for processing events from queue by calling their
associated proccessing method (an instance of ProcessEvent).
It also does internal processings, to keep the system updated. | "Routine for processing events from queue by calling their\n associated proccessing method (an instance of ProcessEvent).\n It also does internal processings, to keep the system updated." | 107 | false | seb-m/pyinotify | process_events | 20,792 | |
LDU_FT/ResilienceTesting/gremlinsdk-python/list_rules | LDU_FT | [
"<BEGIN>\n## `add_rule`",
"@param args keyword argument list, consisting of:",
" source: <source service name>,\n dest: <destination service name>,\n messagetype: <request|response|publish|subscribe|stream>",
" headerpattern: <regex to match against the value of the X-Gremlin-ID tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_rules API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_rules API.
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... | List fault fault injection rules installed on instances of a given service (or all services)
returns a JSON dictionary | "List fault fault injection rules installed on instances of a given service (or all services)\n returns a JSON dictionary" | 31 | false | ResilienceTesting/gremlinsdk-python | list_rules | 20,793 | |
LDU_FT/EventTeam/beliefs/size | LDU_FT | [
"<BEGIN>\n## `size`",
"Size of LazyCell: the size of the intension plus accounting for\n excluded and included additions.",
" The exclusions are assumed to be part of the set\n The inclusions are assumed to NOT be part of the intension\n<END>",
"<BEGIN>\n## `update`",
"Updates intensio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 of LazyCell: the size of the intension plus accounting for
excluded and included additions.
The exclusions are assumed to be part of the set
The inclusions are assumed to NOT be part of the intension | "Size of LazyCell: the size of the intension plus accounting for\n excluded and included additions.\n\n The exclusions are assumed to be part of the set\n The inclusions are assumed to NOT be part of the intension" | 158 | false | EventTeam/beliefs | size | 20,794 | |
LDU_FT/rgs1/zk_shell/do_loop | LDU_FT | [
"<BEGIN>\n## `extract_acl`",
"parse an individual ACL (i.e.: world:anyone:cdrwa)\n<END>",
"<BEGIN>\n## `check_path_exists_foreach`",
"check that paths exist (unless we are in a transaction)\n<END>",
"<BEGIN>\n## `check_path_absent`",
"check path doesn't exist (unless we are in a txn or it's sequential)",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_loop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_loop API.
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... | \x1b[1mNAME\x1b[0m
loop - Runs commands in a loop
\x1b[1mSYNOPSIS\x1b[0m
loop <repeat> <pause> <cmd1> <cmd2> ... <cmdN>
\x1b[1mDESCRIPTION\x1b[0m
Runs <cmds> <repeat> times (0 means forever), with a pause of <pause> secs inbetween
each <cmd> (0 means no pause).
\x1b[1mEXAMPLES\x1b[0m
... | "\\x1b[1mNAME\\x1b[0m\n loop - Runs commands in a loop\n\n\\x1b[1mSYNOPSIS\\x1b[0m\n loop <repeat> <pause> <cmd1> <cmd2> ... <cmdN>\n\n\\x1b[1mDESCRIPTION\\x1b[0m\n Runs <cmds> <repeat> times (0 means forever), with a pause of <pause> secs inbetween\n each <cmd> (0 means no pause).\n\n\\x1b[... | 379 | false | rgs1/zk_shell | do_loop | 20,795 | |
LDU_FT/EconForge/dolo/multidot_old | LDU_FT | [
"<BEGIN>\n## `multidot_old`",
"Implements tensor operation : tensor-times-matrices.\n If last dimensions of ten represent multilinear operations of the type : [X1,...,Xk]->B[X1,...,Xk]\n and mats contains matrices or vectors [A1,...Ak] the function returns an array representing operators :\n [X1,...,Xk]-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the multidot_old API.
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 multidot_old API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Implements tensor operation : tensor-times-matrices.
If last dimensions of ten represent multilinear operations of the type : [X1,...,Xk]->B[X1,...,Xk]
and mats contains matrices or vectors [A1,...Ak] the function returns an array representing operators :
[X1,...,Xk]->B[A1 X1,...,Ak Xk] | "Implements tensor operation : tensor-times-matrices.\n If last dimensions of ten represent multilinear operations of the type : [X1,...,Xk]->B[X1,...,Xk]\n and mats contains matrices or vectors [A1,...Ak] the function returns an array representing operators :\n [X1,...,Xk]->B[A1 X1,...,Ak Xk]" | 221 | false | EconForge/dolo | multidot_old | 20,796 | |
LDU_FT/faucamp/python-gsmmodem/hangup | LDU_FT | [
"<BEGIN>\n## `status`",
"Status of this SMS. Can be ENROUTE, DELIVERED or FAILED",
" The actual status report object may be accessed via the 'report' attribute\n if status is 'DELIVERED' or 'FAILED'\n<END>",
"<BEGIN>\n## `connect`",
"Opens the port and initializes the modem and SIM card",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hangup API.
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 hangup API.
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 ... | End the phone call.
Does nothing if the call is already inactive. | "End the phone call.\n \n Does nothing if the call is already inactive." | 214 | false | faucamp/python-gsmmodem | hangup | 20,797 | |
LDU_FT/RaRe-Technologies/gensim-simserver/open_session | LDU_FT | [
"<BEGIN>\n## `merge_sims`",
"Merge two precomputed similarity lists, truncating the result to `clip` most similar items.\n<END>",
"<BEGIN>\n## `terminate`",
"Delete all files created by this index, invalidating `self`. Use with care.\n<END>",
"<BEGIN>\n## `index_documents`",
"Update fresh index with new d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_session API.
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 open_session API.
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... | Open a new session to modify this server.
You can either call this fnc directly, or turn on autosession which will
open/commit sessions for you transparently. | "Open a new session to modify this server.\n\n You can either call this fnc directly, or turn on autosession which will\n open/commit sessions for you transparently." | 74 | false | RaRe-Technologies/gensim-simserver | open_session | 20,798 | |
LDU_FT/skoczen/will/participants_in_room | LDU_FT | [
"<BEGIN>\n## `talk_back`",
"that's what she said: Tells you some things she actually said. :)\n<END>",
"<BEGIN>\n## `auto_key`",
"This method attempts to auto-generate a unique cryptographic key based on the hardware ID.\n It should *NOT* be used in production, or to replace a proper key, but it can help g... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the participants_in_room 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 participants_in_room API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | who is in this room?: List all the participants of this room. | "who is in this room?: List all the participants of this room." | 40 | false | skoczen/will | participants_in_room | 20,799 | |
LDU_FT/lreis2415/PyGeoC/isnumerical | LDU_FT | [
"<BEGIN>\n## `get_cell_length`",
"Get flow direction induced cell length dict.\n Args:\n flow_model: Currently, \"TauDEM\", \"ArcGIS\", and \"Whitebox\" are supported.\n<END>",
"<BEGIN>\n## `get_cell_shift`",
"Get flow direction induced cell shift dict.\n Args:\n flow_model... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the isnumerical API.
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 isnumerical API.
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... | Check the input x is numerical or not.
Examples:
>>> MathClass.isnumerical('78')
True
>>> MathClass.isnumerical('1.e-5')
True
>>> MathClass.isnumerical(None)
False
>>> MathClass.isnumerical('a1.2')
False
... | "Check the input x is numerical or not.\n\n Examples:\n >>> MathClass.isnumerical('78')\n True\n >>> MathClass.isnumerical('1.e-5')\n True\n >>> MathClass.isnumerical(None)\n False\n >>> MathClass.isnumerical('a1.2')\n False\... | 259 | false | lreis2415/PyGeoC | isnumerical | 20,800 | |
LDU_FT/dahlia/sqlalchemy-imageattach/locate | LDU_FT | [
"<BEGIN>\n## `readlines`",
"Reads until EOF using :meth:`readline()`.",
" :param sizehint: if it's present, instead of reading up to EOF,\n whole lines totalling approximately ``sizehint``\n bytes (or more to accommodate a final whole line)\n :type s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the locate API.
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 locate API.
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 ... | Gets the URL of the image from the ``store``.
:param store: the storage which contains the image.
:data:`~sqlalchemy_imageattach.context.current_store`
by default
:type store: :class:`~sqlalchemy_imageattach.store.Store`
:returns: the url of the image... | "Gets the URL of the image from the ``store``.\n\n :param store: the storage which contains the image.\n :data:`~sqlalchemy_imageattach.context.current_store`\n by default\n :type store: :class:`~sqlalchemy_imageattach.store.Store`\n :returns: the url of th... | 145 | false | dahlia/sqlalchemy-imageattach | locate | 20,801 | |
LDU_FT/mikekatz04/BOWIE/setup_colorbars | LDU_FT | [
"<BEGIN>\n## `read_noise_curve`",
"Simple auxillary function that can read noise curves in.",
" This function can read in noise curves from a provided file or those that are preinstalled\n with this installation. All pre-installed noise curves are in the form of\n an amplitude spectral density. Informa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setup_colorbars API.
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 setup_colorbars API.
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... | Setup colorbars for each type of plot.
Take all of the optional performed during ``__init__`` method and makes the colorbar.
Args:
plot_call_sign (obj): Plot instance of ax.contourf with colormapping to
add as a colorbar. | "Setup colorbars for each type of plot.\n\n Take all of the optional performed during ``__init__`` method and makes the colorbar.\n\n Args:\n plot_call_sign (obj): Plot instance of ax.contourf with colormapping to\n add as a colorbar." | 264 | false | mikekatz04/BOWIE | setup_colorbars | 20,802 | |
LDU_FT/kajala/django-jutil/se_iban_load_map | LDU_FT | [
"<BEGIN>\n## `se_iban_load_map`",
"Loads Swedish monetary institution codes in CSV format.\n :param filename: CSV file name of the BIC definitions.\n Columns: Institution Name, Range Begin-Range End (inclusive), Account digits count\n :return: List of (bank name, clearing code begin, clearing code end, a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the se_iban_load_map API.
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 se_iban_load_map API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Loads Swedish monetary institution codes in CSV format.
:param filename: CSV file name of the BIC definitions.
Columns: Institution Name, Range Begin-Range End (inclusive), Account digits count
:return: List of (bank name, clearing code begin, clearing code end, account digits) | "Loads Swedish monetary institution codes in CSV format.\n :param filename: CSV file name of the BIC definitions.\n Columns: Institution Name, Range Begin-Range End (inclusive), Account digits count\n :return: List of (bank name, clearing code begin, clearing code end, account digits)" | 110 | false | kajala/django-jutil | se_iban_load_map | 20,803 | |
LDU_FT/ewiger/mlab/strToTempfile | LDU_FT | [
"<BEGIN>\n## `saveVarsInMat`",
"Hacky convinience function to dump a couple of python variables in a\n .mat file. See `awmstools.saveVars`.\n<END>",
"<BEGIN>\n## `_make_proxy`",
"Creates a proxy for a variable.",
" XXX create and cache nested proxies also here.\n<END>",
"<BEGIN>\n## `_do`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the strToTempfile API.
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 strToTempfile API.
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... | Create a new tempfile, write ``s`` to it and return the filename.
`suffix`, `prefix` and `dir` are like in `tempfile.mkstemp`. | "Create a new tempfile, write ``s`` to it and return the filename.\n `suffix`, `prefix` and `dir` are like in `tempfile.mkstemp`." | 247 | false | ewiger/mlab | strToTempfile | 20,804 | |
LDU_FT/mailund/statusbar/add_progress | LDU_FT | [
"<BEGIN>\n## `set_progress_brackets`",
"Set brackets to set around a progress bar.\n<END>",
"<BEGIN>\n## `add_progress`",
"Add a section of progress to the progressbar.",
" The progress is captured by \"count\" and displayed as a fraction\n of the statusbar width proportional to this count ove... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_progress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_progress API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Add a section of progress to the progressbar.
The progress is captured by "count" and displayed as a fraction
of the statusbar width proportional to this count over the total
progress displayed. The progress will be displayed using the "symbol"
character and the foreground and backgroun... | "Add a section of progress to the progressbar.\n\n The progress is captured by \"count\" and displayed as a fraction\n of the statusbar width proportional to this count over the total\n progress displayed. The progress will be displayed using the \"symbol\"\n character and the foreground and... | 26 | false | mailund/statusbar | add_progress | 20,805 | |
LDU_FT/emilydolson/avida-spatial-tools/plot_phens | LDU_FT | [
"<BEGIN>\n## `gen_gradient`",
"Returns a line of text to add to an environment file, initializing a\n gradient resource with the specified\n name (string), inflow(int), radius(int), and location (tuple of ints)\n<END>",
"<BEGIN>\n## `gen_res`",
"Returns a line of text to add to an environment file, init... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_phens API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_phens API.
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... | Plots circles colored according to the values in phen_grid.
-1 serves as a sentinel value, indicating that a circle should not be
plotted in that location. | "Plots circles colored according to the values in phen_grid.\n\n -1 serves as a sentinel value, indicating that a circle should not be\n plotted in that location." | 189 | false | emilydolson/avida-spatial-tools | plot_phens | 20,806 | |
LDU_FT/samuelcolvin/pydantic/model_type_schema | LDU_FT | [
"<BEGIN>\n## `validate_email`",
"Brutally simple email address validation. Note unlike most email address validation\n * raw ip address (literal) domain parts are not allowed.\n * \"John Doe <local_part@domain.com>\" style \"pretty\" email addresses are processed\n * the local part check is extremely bas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_type_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the model_type_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You probably should be using ``model_schema()``, this function is indirectly used by that function.
Take a single ``model`` and generate the schema for its type only, not including additional
information as title, etc. Also return additional schema definitions, from sub-models. | "You probably should be using ``model_schema()``, this function is indirectly used by that function.\n\n Take a single ``model`` and generate the schema for its type only, not including additional\n information as title, etc. Also return additional schema definitions, from sub-models." | 113 | false | samuelcolvin/pydantic | model_type_schema | 20,807 | |
LDU_FT/Hironsan/anago/download | LDU_FT | [
"<BEGIN>\n## `download`",
"Download a trained weights, config and preprocessor.",
" Args:\n url (str): target url.\n<END>",
"<BEGIN>\n## `load_data_and_labels`",
"Loads data and label from a file.",
" Args:\n filename (str): path to the file.\n encoding (str): file encoding form... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the download API.
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 download API.
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... | Download a trained weights, config and preprocessor.
Args:
url (str): target url. | "Download a trained weights, config and preprocessor.\n\n Args:\n url (str): target url." | 98 | false | Hironsan/anago | download | 20,808 | |
LDU_FT/biosignalsnotebooks/biosignalsnotebooks/add_code_cell | LDU_FT | [
"<BEGIN>\n## `windowing`",
"-----\n Brief\n -----\n Function to window the input signal, that return the windowed signal.",
" -----------\n Description\n -----------\n Machine learning pipelines usually use features to represent each sample of the input signals.\n In order to extract tho... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_code_cell API.
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_code_cell API.
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... | Class method responsible for adding a code cell with content 'content' to the
Notebook object.
----------
Parameters
----------
content : str
Code in a string format to include in the cell (triple quote for multiline
text).
tags : list
... | "Class method responsible for adding a code cell with content 'content' to the\n Notebook object.\n\n ----------\n Parameters\n ----------\n content : str\n Code in a string format to include in the cell (triple quote for multiline\n text).\n\n tags : list... | 800 | false | biosignalsnotebooks/biosignalsnotebooks | add_code_cell | 20,809 | |
LDU_FT/neetjn/pyselenium-js/ng_call_ctrl_function | LDU_FT | [
"<BEGIN>\n## `__type2js`",
":Description: Convert python value to executable javascript value by type.\n :param value: Value to transform.\n :type value: None, bool, int, float, string\n :return: string\n<END>",
"<BEGIN>\n## `__type2python`",
":Description: Convert javascript value to pyt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ng_call_ctrl_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ng_call_ctrl_function API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | :Description: Will execute controller function with provided parameters.
:Warning: This will only work for angular.js 1.x.
:Warning: Requires angular debugging to be enabled.
:param element: Element for browser instance to target.
:param func: Function to execute from angular element con... | ":Description: Will execute controller function with provided parameters.\n :Warning: This will only work for angular.js 1.x.\n :Warning: Requires angular debugging to be enabled.\n :param element: Element for browser instance to target.\n :param func: Function to execute from angular elemen... | 26 | false | neetjn/pyselenium-js | ng_call_ctrl_function | 20,810 | |
LDU_FT/SuryaSankar/flask-sqlalchemy-booster/update | LDU_FT | [
"<BEGIN>\n## `_isinstance`",
"Checks if the specified model instance matches the class model.\n By default this method will raise a `ValueError` if the model is not of\n expected type.",
" Args:",
" model (Model) : The instance to be type checked",
" raise_error (b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Updates an instance.
Args:
**kwargs : Arbitrary keyword arguments. Column names are
keywords and their new values are the values.
Examples:
>>> customer.update(email="newemail@x.com", name="new") | "Updates an instance.\n\n Args:\n **kwargs : Arbitrary keyword arguments. Column names are\n keywords and their new values are the values.\n\n Examples:\n\n >>> customer.update(email=\"newemail@x.com\", name=\"new\")" | 177 | false | SuryaSankar/flask-sqlalchemy-booster | update | 20,811 | |
LDU_FT/mediawiki-utilities/python-mwtypes/normalize_path | LDU_FT | [
"<BEGIN>\n## `initialize`",
"Contributing user's identifier : int | None\n<END>",
"<BEGIN>\n## `reader`",
"Turns a path to a dump file into a file-like object of (decompressed)\n XML data assuming that '7z' is installed and will know what to do.",
" :Parameters:\n path : `str`\n the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_path API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Verifies that a file exists at a given path and that the file has a
known extension type.
:Parameters:
path_or_f : `str` | `file`
the path to a dump file or a file handle | "Verifies that a file exists at a given path and that the file has a\n known extension type.\n\n :Parameters:\n path_or_f : `str` | `file`\n the path to a dump file or a file handle" | 41 | false | mediawiki-utilities/python-mwtypes | normalize_path | 20,812 | |
LDU_FT/admiralobvious/vyper/read_in_config | LDU_FT | [
"<BEGIN>\n## `_get_env`",
"Wrapper around os.getenv() which replaces characters\n in the original key. This allows env vars which have different keys\n than the config object keys.\n<END>",
"<BEGIN>\n## `add_config_path`",
"Add a path for Vyper to search for the config file in.\n Can be c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_in_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_in_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Vyper will discover and load the configuration file from disk
and key/value stores, searching in one of the defined paths. | "Vyper will discover and load the configuration file from disk\n and key/value stores, searching in one of the defined paths." | 38 | false | admiralobvious/vyper | read_in_config | 20,813 | |
LDU_FT/StorjOld/file-encryptor/iter_transform | 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 iter_transform API.
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 iter_transform API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Generate encrypted file with given key.
This generator function reads the file
in chunks and encrypts them using AES-CTR,
with the specified key.
:param filename: The name of the file to encrypt.
:type filename: str
:param key: The key used to encrypt the file.
:type key: str
:returns:... | "Generate encrypted file with given key.\n\n This generator function reads the file\n in chunks and encrypts them using AES-CTR,\n with the specified key.\n\n :param filename: The name of the file to encrypt.\n :type filename: str\n :param key: The key used to encrypt the file.\n :type key: str\n ... | 22 | false | StorjOld/file-encryptor | iter_transform | 20,814 | |
LDU_FT/PeerAssets/pypeerassets/validate_deckspawn_p2th | LDU_FT | [
"<BEGIN>\n## `parse_vote_info`",
"decode vote init tx op_return protobuf message and validate it.\n<END>",
"<BEGIN>\n## `vote_init`",
"initialize vote transaction, must be signed by the deck_issuer privkey\n<END>",
"<BEGIN>\n## `find_vote_casts`",
"find and verify vote_casts on this vote_choice_address\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_deckspawn_p2th 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 validate_deckspawn_p2th API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Return True if deck spawn pays to p2th in vout[0] and if the P2TH address
is correct. Otherwise raises InvalidDeckSpawn. | "Return True if deck spawn pays to p2th in vout[0] and if the P2TH address\n is correct. Otherwise raises InvalidDeckSpawn." | 86 | false | PeerAssets/pypeerassets | validate_deckspawn_p2th | 20,815 | |
LDU_FT/pysal/spglm/weights | LDU_FT | [
"<BEGIN>\n## `fit`",
"Method that fits a model with a particular estimation routine.",
" Parameters\n ----------",
" ini_betas : array\n k*1, initial coefficient values, including constant.\n Default is None, which calculates initial value... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the weights API.
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 weights API.
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... | r"""
Weights for IRLS steps
Parameters
----------
mu : array-like
The transformed mean response variable in the exponential family
Returns
-------
w : array
The weights for the IRLS steps | "r\"\"\"\n Weights for IRLS steps\n\n Parameters\n ----------\n mu : array-like\n The transformed mean response variable in the exponential family\n\n Returns\n -------\n w : array\n The weights for the IRLS steps" | 161 | false | pysal/spglm | weights | 20,816 | |
LDU_FT/inveniosoftware/invenio-previewer/iter_previewers | LDU_FT | [
"<BEGIN>\n## `render`",
"Pretty print the XML file for rendering.\n<END>",
"<BEGIN>\n## `preview`",
"Render appropiate template with embed flag.\n<END>",
"<BEGIN>\n## `uri`",
"Get file download link.",
" .. note::",
" The URI generation assumes that you can download the file using t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the iter_previewers API.
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 iter_previewers API.
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... | Get previewers ordered by PREVIEWER_PREVIEWERS_ORDER. | "Get previewers ordered by PREVIEWER_PREVIEWERS_ORDER." | 29 | false | inveniosoftware/invenio-previewer | iter_previewers | 20,817 | |
LDU_FT/VonStruddle/PyHunter/domain_search | LDU_FT | [
"<BEGIN>\n## `domain_search`",
"Return all the email addresses found for a given domain.",
" :param domain: The domain on which to search for emails. Must be\n defined if company is not.",
" :param company: The name of the company on which to search for emails.\n Must be defined if... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the domain_search API.
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 domain_search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return all the email addresses found for a given domain.
:param domain: The domain on which to search for emails. Must be
defined if company is not.
:param company: The name of the company on which to search for emails.
Must be defined if domain is not.
:param limit: The maxim... | "Return all the email addresses found for a given domain.\n\n :param domain: The domain on which to search for emails. Must be\n defined if company is not.\n\n :param company: The name of the company on which to search for emails.\n Must be defined if domain is not.\n\n :param limit: ... | 87 | false | VonStruddle/PyHunter | domain_search | 20,818 | |
LDU_FT/ajenhl/tacl/_add_indices | LDU_FT | [
"<BEGIN>\n## `_format_content`",
"Returns `content` with consecutive spaces converted to non-break\n spaces, and linebreak converted into HTML br elements.",
" :param content: text to format\n :type content: `str`\n :rtype: `str`\n<END>",
"<BEGIN>\n## `_prepare_text`",
"Returns `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_indices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _add_indices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Adds the database indices relating to n-grams. | "Adds the database indices relating to n-grams." | 463 | false | ajenhl/tacl | _add_indices | 20,819 | |
LDU_FT/lablup/backend.ai-common/install_plugins | LDU_FT | [
"<BEGIN>\n## `env_info`",
"Returns a string that contains the Python version and runtime path.\n<END>",
"<BEGIN>\n## `dict2kvlist`",
"Serializes a dict-like object into a generator of the flatten list of\n repeating key-value pairs. It is useful when using HMSET method in Redis.",
" Example:\n >>>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the install_plugins API.
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 install_plugins API.
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... | Automatically install plugins to the app.
:param plugins: List of plugin names to discover and install plugins
:param app: Any type of app to install plugins
:param install_type: The way to install plugins to app
:param config: Config object to initialize plugins
:return:
You should note that ... | "Automatically install plugins to the app.\n\n :param plugins: List of plugin names to discover and install plugins\n :param app: Any type of app to install plugins\n :param install_type: The way to install plugins to app\n :param config: Config object to initialize plugins\n :return:\n\n You should n... | 25 | false | lablup/backend.ai-common | install_plugins | 20,820 | |
LDU_FT/cs50/lib50/authenticate | LDU_FT | [
"<BEGIN>\n## `push`",
"Push to github.com/org/repo=username/slug if tool exists.\n Returns username, commit hash\n<END>",
"<BEGIN>\n## `local`",
"Create/update local copy of github.com/org/repo/branch.\n Returns path to local copy\n<END>",
"<BEGIN>\n## `working_area`",
"Copy all files to a temporary... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the authenticate API.
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 authenticate API.
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... | Authenticate with GitHub via SSH if possible
Otherwise authenticate via HTTPS
Returns an authenticated User | "Authenticate with GitHub via SSH if possible\n Otherwise authenticate via HTTPS\n Returns an authenticated User" | 38 | false | cs50/lib50 | authenticate | 20,821 | |
LDU_FT/insanum/gcalcli/get_time_from_str | LDU_FT | [
"<BEGIN>\n## `art_msg`",
"Wrapper for easy emission of the calendar borders\n<END>",
"<BEGIN>\n## `_cal_monday`",
"Shift the day number if we're doing cal monday, or cal_weekend is\n false, since that also means we're starting on day 1\n<END>",
"<BEGIN>\n## `QuickAddEvent`",
"Wrapper around Google ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_time_from_str API.
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_time_from_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Convert a string to a time: first uses the dateutil parser, falls back
on fuzzy matching with parsedatetime | "Convert a string to a time: first uses the dateutil parser, falls back\n on fuzzy matching with parsedatetime" | 16 | false | insanum/gcalcli | get_time_from_str | 20,822 | |
LDU_FT/fabric-bolt/fabric-bolt/form_valid | LDU_FT | [
"<BEGIN>\n## `form_valid`",
"After the form is valid lets let people know\n<END>",
"<BEGIN>\n## `form_valid`",
"First call the parent's form valid then let the user know it worked.\n<END>",
"<BEGIN>\n## `post`",
"Create the SSH file & then return the normal get method...\n<END>",
"<BEGIN>\n## `web_hooks... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the form_valid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the form_valid API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Set the project on this configuration after it's valid | "Set the project on this configuration after it's valid" | 65 | false | fabric-bolt/fabric-bolt | form_valid | 20,823 | |
LDU_FT/ECESeniorDesign/lazy_record/load_schema | LDU_FT | [
"<BEGIN>\n## `does_not_mutate`",
"Prevents methods from mutating the receiver\n<END>",
"<BEGIN>\n## `find_by`",
"Find first record subject to restrictions in +kwargs+, raising\n RecordNotFound if no such record exists.\n<END>",
"<BEGIN>\n## `first`",
"Returns the first record in the query (sorting ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_schema API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Load a schema file with path +schema+ into the database. Assumes that
there exists an active database connection. | "Load a schema file with path +schema+ into the database. Assumes that\n there exists an active database connection." | 78 | false | ECESeniorDesign/lazy_record | load_schema | 20,824 | |
LDU_FT/Ouranosinc/xclim/daily_freezethaw_cycles | LDU_FT | [
"<BEGIN>\n## `build_module`",
"Create a module from imported objects.",
" Parameters\n ----------\n name : str\n New module name.\n objs : dict\n Dictionary of the objects (or their name) to import into the module,\n keyed by the name they will take in the created module.\n doc : s... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the daily_freezethaw_cycles 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 daily_freezethaw_cycles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | r"""Number of days with a diurnal freeze-thaw cycle
The number of days where Tmax > 0℃ and Tmin < 0℃.
Parameters
----------
tasmax : xarray.DataArray
Maximum daily temperature [℃] or [K]
tasmin : xarray.DataArray
Minimum daily temperature values [℃] or [K]
freq : str
Resampli... | "r\"\"\"Number of days with a diurnal freeze-thaw cycle\n\n The number of days where Tmax > 0℃ and Tmin < 0℃.\n\n Parameters\n ----------\n tasmax : xarray.DataArray\n Maximum daily temperature [℃] or [K]\n tasmin : xarray.DataArray\n Minimum daily temperature values [℃] or [K]\n freq : str\... | 578 | false | Ouranosinc/xclim | daily_freezethaw_cycles | 20,825 | |
LDU_FT/pyusb/pyusb/_try_get_string | LDU_FT | [
"<BEGIN>\n## `_try_get_string`",
"try to get a string, but return a string no matter what\n<END>",
"<BEGIN>\n## `_try_lookup`",
"try to get a string from the lookup table, return \"\" instead of key\n error\n<END>",
"<BEGIN>\n## `find`",
"r\"\"\"Find an USB device and return it.",
" find() is the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _try_get_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _try_get_string API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | try to get a string, but return a string no matter what | "try to get a string, but return a string no matter what" | 229 | false | pyusb/pyusb | _try_get_string | 20,826 | |
LDU_FT/Nachtfeuer/pipeline/can_process_matrix | LDU_FT | [
"<BEGIN>\n## `calculate_columns`",
"Find all row names and the maximum column widths.",
" Args:\n columns (dict): the keys are the column name and the value the max length.",
" Returns:\n dict: column names (key) and widths (value).\n<END>",
"<BEGIN>\n## `calculate_row_format`",
"Calcu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_process_matrix 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 can_process_matrix 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... | Check given matrix tags to be in the given list of matric tags.
Args:
entry (dict): matrix item (in yaml).
matrix_tags (list): represents --matrix-tags defined by user in command line.
Returns:
bool: True when matrix entry can be processed. | "Check given matrix tags to be in the given list of matric tags.\n\n Args:\n entry (dict): matrix item (in yaml).\n matrix_tags (list): represents --matrix-tags defined by user in command line.\n Returns:\n bool: True when matrix entry can be processed." | 196 | false | Nachtfeuer/pipeline | can_process_matrix | 20,827 | |
LDU_FT/tortoise/tortoise-orm/annotate | LDU_FT | [
"<BEGIN>\n## `transform_model`",
"Anything that uses the ModelMeta needs _meta and id.\n Also keep track of relationships and make them in the related model class.\n<END>",
"<BEGIN>\n## `apply_type_shim`",
"Morphs model fields to representative type\n<END>",
"<BEGIN>\n## `list_encoder`",
"Encodes an it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the annotate API.
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 annotate API.
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... | Annotate result with aggregation result. | "Annotate result with aggregation result." | 89 | false | tortoise/tortoise-orm | annotate | 20,828 | |
LDU_FT/ascribe/transactions/decode | LDU_FT | [
"<BEGIN>\n## `_convert_time`",
"Convert a string representation of the time (as returned by blockr.io api) into unix\n timestamp",
" :param time_utc_str: string representation of the time\n :return: unix timestamp\n<END>",
"<BEGIN>\n## `get_block_raw`",
"Args:\n block: block ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the decode API.
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 decode API.
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 ... | Decodes the given transaction.
Args:
tx: hex of transaction
Returns:
decoded transaction
.. note:: Only supported for blockr.io at the moment. | "Decodes the given transaction.\n\n Args:\n tx: hex of transaction\n Returns:\n decoded transaction\n\n .. note:: Only supported for blockr.io at the moment." | 28 | false | ascribe/transactions | decode | 20,829 | |
LDU_FT/Parsl/libsubmit/submit | LDU_FT | [
"<BEGIN>\n## `_status`",
"Internal: Do not call. Returns the status list for a list of job_ids",
" Args:\n self",
" Returns:\n [status...] : Status list of all jobs\n<END>",
"<BEGIN>\n## `submit`",
"Submits the command onto an Local Resource Manager job of blocksize... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the submit API.
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 submit API.
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 ... | Submit command to an Azure instance.
Submit returns an ID that corresponds to the task that was just submitted.
Parameters
----------
command : str
Command to be invoked on the remote side.
blocksize : int
Number of blocks requested.
job_name : s... | "Submit command to an Azure instance.\n\n Submit returns an ID that corresponds to the task that was just submitted.\n\n Parameters\n ----------\n command : str\n Command to be invoked on the remote side.\n blocksize : int\n Number of blocks requested.\n j... | 99 | false | Parsl/libsubmit | submit | 20,830 | |
LDU_FT/blockadeio/analyst_toolbench/_endpoint | LDU_FT | [
"<BEGIN>\n## `clean_indicators`",
"Remove any extra details from indicators.\n<END>",
"<BEGIN>\n## `check_whitelist`",
"Check the indicators against known whitelists.\n<END>",
"<BEGIN>\n## `cache_items`",
"Cache indicators that were successfully sent to avoid dups.\n<END>",
"<BEGIN>\n## `prune_cached`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _endpoint API.
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 _endpoint API.
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... | Return the URL for the action.
:param str endpoint: The controller
:param str action: The action provided by the controller
:param url_args: Additional endpoints(for endpoints that take part of
the url as option)
:return: Full URL for the requested action | "Return the URL for the action.\n\n :param str endpoint: The controller\n :param str action: The action provided by the controller\n :param url_args: Additional endpoints(for endpoints that take part of\n the url as option)\n :return: Full URL for the requested action... | 50 | false | blockadeio/analyst_toolbench | _endpoint | 20,831 | |
LDU_FT/indranilsinharoy/pyzos/get_winfunc | LDU_FT | [
"<BEGIN>\n## `get_callable_method_dict`",
"Returns a dictionary of callable methods of object `obj`.",
" @param obj: ZOS API Python COM object\n @return: a dictionary of callable methods",
" Notes: \n the function only returns the callable attributes that are listed by dir() \n function. Proper... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_winfunc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_winfunc API.
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... | Retrieve a function from a library/DLL, and set the data types. | "Retrieve a function from a library/DLL, and set the data types." | 48 | false | indranilsinharoy/pyzos | get_winfunc | 20,832 | |
LDU_FT/RI-imaging/qpimage/estimate | LDU_FT | [
"<BEGIN>\n## `check`",
"Checks various properties of a :class:`qpimage.core.QPImage` instance",
" Parameters\n ----------\n qpi_or_h5file: qpimage.core.QPImage or str\n A QPImage object or a path to an hdf5 file\n checks: list of str\n Which checks to perform (\"attributes\" and/or \"b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the estimate API.
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 estimate API.
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... | Estimate the background value of an image
Parameters
----------
data: np.ndarray
Data from which to compute the background value
fit_profile: str
The type of background profile to fit:
- "offset": offset only
- "poly2o": 2D 2nd order polynomial with mixed terms
... | "Estimate the background value of an image\n\n Parameters\n ----------\n data: np.ndarray\n Data from which to compute the background value\n fit_profile: str\n The type of background profile to fit:\n\n - \"offset\": offset only\n - \"poly2o\": 2D 2nd order polynomial with mixed... | 115 | false | RI-imaging/qpimage | estimate | 20,833 | |
LDU_FT/vadimk2016/v-vk-api/login | LDU_FT | [
"<BEGIN>\n## `request_method`",
"Process method request and return json with results",
" :param method: str: specifies the method, example: \"users.get\"\n :param method_kwargs: dict: method parameters,\n example: \"users_id=1\", \"fields='city, contacts'\"\n<END>",
"<BEGIN>\n## `request_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
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 login API.
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... | Authorizes a user and returns a bool value of the result | "Authorizes a user and returns a bool value of the result" | 22 | false | vadimk2016/v-vk-api | login | 20,834 | |
LDU_FT/SignalN/language/__matches | LDU_FT | [
"<BEGIN>\n## `__ngrams`",
"Raw n-grams from a sequence",
" If the sequence is a string, it will return char-level n-grams.\n If the sequence is a list of words, it will return word-level n-grams.",
" Note: it treats space (' ') and punctuation like any other character.",
" >>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __matches API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __matches API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns the n-grams that match between two sequences
See also: SequenceMatcher.get_matching_blocks
Args:
s1: a string
s2: another string
n: an int for the n in n-gram
Returns:
set: | "Returns the n-grams that match between two sequences\n\n See also: SequenceMatcher.get_matching_blocks\n\n Args:\n s1: a string\n s2: another string\n n: an int for the n in n-gram\n\n Returns:\n set:" | 40 | false | SignalN/language | __matches | 20,835 | |
LDU_FT/naphatkrit/easyci/temp_copy | LDU_FT | [
"<BEGIN>\n## `get_signature`",
"Get the signature of the current state of the repository",
" TODO right now `get_signature` is an effectful process in that\n it adds all untracked file to staging. This is the only way to get\n accruate diff on new files. This is ok because we only use it on... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the temp_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 extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the temp_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 extract... | Yields a new Vcs object that represents a temporary, disposable
copy of the current repository. The copy is deleted at the end
of the context.
The following are not copied:
- ignored files
- easyci private directory (.git/eci for git)
Yields:
Vcs | "Yields a new Vcs object that represents a temporary, disposable\n copy of the current repository. The copy is deleted at the end\n of the context.\n\n The following are not copied:\n - ignored files\n - easyci private directory (.git/eci for git)\n\n Yields:\n Vcs" | 94 | false | naphatkrit/easyci | temp_copy | 20,836 | |
LDU_FT/HPAC/matchpy/extended_euclid | LDU_FT | [
"<BEGIN>\n## `substitute`",
"Replaces variables in the given *expression* using the given *substitution*.",
" >>> print(substitute(f(x_), {'x': a}))\n f(a)",
" If nothing was substituted, the original expression is returned:",
" >>> expression = f(x_)\n >>> result = substitute(expression, {'y... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extended_euclid API.
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 extended_euclid API.
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... | Extended Euclidean algorithm that computes the Bézout coefficients as well as :math:`gcd(a, b)`
Returns ``x, y, d`` where *x* and *y* are a solution to :math:`ax + by = d` and :math:`d = gcd(a, b)`.
*x* and *y* are a minimal pair of Bézout's coefficients.
See `Extended Euclidean algorithm <https://en.wiki... | "Extended Euclidean algorithm that computes the Bézout coefficients as well as :math:`gcd(a, b)`\n\n Returns ``x, y, d`` where *x* and *y* are a solution to :math:`ax + by = d` and :math:`d = gcd(a, b)`.\n *x* and *y* are a minimal pair of Bézout's coefficients.\n\n See `Extended Euclidean algorithm <https://e... | 324 | false | HPAC/matchpy | extended_euclid | 20,837 | |
LDU_FT/fabric-bolt/fabric-bolt/save | LDU_FT | [
"<BEGIN>\n## `form_valid`",
"After the form is valid lets let people know\n<END>",
"<BEGIN>\n## `form_valid`",
"First call the parent's form valid then let the user know it worked.\n<END>",
"<BEGIN>\n## `post`",
"Create the SSH file & then return the normal get method...\n<END>",
"<BEGIN>\n## `web_hooks... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Save the model instance with the correct Auth Group based on the user_level question | "Save the model instance with the correct Auth Group based on the user_level question" | 65 | false | fabric-bolt/fabric-bolt | save | 20,838 | |
LDU_FT/amzn/ion-python/end_container | LDU_FT | [
"<BEGIN>\n## `local_symbol_table`",
"Constructs a local symbol table.",
" Args:\n imports (Optional[SymbolTable]): Shared symbol tables to import.\n symbols (Optional[Iterable[Unicode]]): Initial local symbols to add.",
" Returns:\n SymbolTable: A mutable local symbol table with the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the end_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.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the end_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.
The ext... | Add a node containing the container's header to the current subtree.
This node will be added as the leftmost leaf of the subtree that was
started by the matching call to start_container.
Args:
header_buf (bytearray): bytearray containing the container header. | "Add a node containing the container's header to the current subtree.\n\n This node will be added as the leftmost leaf of the subtree that was\n started by the matching call to start_container.\n\n Args:\n header_buf (bytearray): bytearray containing the container header." | 384 | false | amzn/ion-python | end_container | 20,839 | |
LDU_FT/frnmst/md-toc/build_toc | LDU_FT | [
"<BEGIN>\n## `main`",
"Call the CLI interface and wait for the result.\n<END>",
"<BEGIN>\n## `write_string_on_file_between_markers`",
"r\"\"\"Write the table of contents on a single file.",
" :parameter filename: the file that needs to be read or modified.\n :parameter string: the string that will be ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_toc API.
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 build_toc API.
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... | r"""Build the table of contents of a single file.
:parameter filename: the file that needs to be read.
:parameter ordered: decides whether to build an ordered list or not.
Defaults to ``False``.
:parameter no_links: disables the use of links.
Defaults to ``False``.
:parameter no_inden... | "r\"\"\"Build the table of contents of a single file.\n\n :parameter filename: the file that needs to be read.\n :parameter ordered: decides whether to build an ordered list or not.\n Defaults to ``False``.\n :parameter no_links: disables the use of links.\n Defaults to ``False``.\n :paramet... | 63 | false | frnmst/md-toc | build_toc | 20,840 | |
LDU_FT/unt-libraries/pyuntl/add_child | LDU_FT | [
"<BEGIN>\n## `normalize_LCSH`",
"Normalize a LCSH subject heading prior to indexing.\n<END>",
"<BEGIN>\n## `normalize_UNTL`",
"Normalize a UNTL subject heading for consistency.\n<END>",
"<BEGIN>\n## `UNTL_to_encodedUNTL`",
"Normalize a UNTL subject heading to be used in SOLR.\n<END>",
"<BEGIN>\n## `untl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_child API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_child API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add a child object to the current one.
Checks the contained_children list to make sure that the object
is allowable, and throws an exception if not. | "Add a child object to the current one.\n\n Checks the contained_children list to make sure that the object\n is allowable, and throws an exception if not." | 144 | false | unt-libraries/pyuntl | add_child | 20,841 | |
LDU_FT/jmoiron/par2ools/dircolorize | LDU_FT | [
"<BEGIN>\n## `filenames`",
"Returns the filenames that this par2 file repairs.\n<END>",
"<BEGIN>\n## `related_pars`",
"Returns a list of related par2 files (ones par2 will try to read\n from to find file recovery blocks). If this par2 file was a file-like\n object (like a StringIO) without an a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dircolorize API.
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 dircolorize API.
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... | Use user dircolors settings to colorize a string which is a path.
If name_only is True, it does this by the name rules (*.x) only; it
will not check the filesystem to colorize things like pipes, block devs,
doors, etc. | "Use user dircolors settings to colorize a string which is a path.\n If name_only is True, it does this by the name rules (*.x) only; it\n will not check the filesystem to colorize things like pipes, block devs,\n doors, etc." | 10 | false | jmoiron/par2ools | dircolorize | 20,842 | |
LDU_FT/kalefranz/auxlib/relative_time | LDU_FT | [
"<BEGIN>\n## `import_and_wrap_deprecated`",
"Usage:\n import_and_wrap_deprecated('conda.common.connection', locals())\n # looks for conda.common.connection.__all__\n<END>",
"<BEGIN>\n## `deprecate_module_with_proxy`",
"Usage:\n deprecate_module_with_proxy(__name__, locals()) # at bottom ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the relative_time API.
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 relative_time API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Get a string representation of the difference between two
:class:`~datetime.datetime` objects or one
:class:`~datetime.datetime` and the current time. Handles past and
future times.
Args:
d (datetime): The first datetime object.
other (datetime): An optional second datetime object. If
... | "Get a string representation of the difference between two\n :class:`~datetime.datetime` objects or one\n :class:`~datetime.datetime` and the current time. Handles past and\n future times.\n\n Args:\n d (datetime): The first datetime object.\n other (datetime): An optional second datetime obje... | 107 | false | kalefranz/auxlib | relative_time | 20,843 | |
LDU_FT/biolink/ontobio/write_assoc | LDU_FT | [
"<BEGIN>\n## `extract_subset`",
"Find all nodes in a subset.",
" We assume the oboInOwl encoding of subsets, and subset IDs are IRIs\n<END>",
"<BEGIN>\n## `sparql`",
"Execute a SPARQL query.",
" The query is specified using `select` and `body` parameters.\n The argument for the Named ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_assoc API.
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 write_assoc API.
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... | Write a single association to a line in the output file | "Write a single association to a line in the output file" | 526 | false | biolink/ontobio | write_assoc | 20,844 | |
LDU_FT/HDI-Project/RDT/_reverse_transform_column | LDU_FT | [
"<BEGIN>\n## `check_data_type`",
"Check the type of the transformer and column match.",
" Args:\n column_metadata(dict): Metadata of the column.",
" Raises a ValueError if the types don't match\n<END>",
"<BEGIN>\n## `fit`",
"Prepare the transformer to convert data.",
" Ar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _reverse_transform_column 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 _reverse_transform_column API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Reverses the transformtion on a column from table using the given parameters.
Args:
table (pandas.DataFrame): Dataframe containing column to transform.
metadata (dict): Metadata for given column.
table_name (str): Name of table in original dataset.
Returns:
... | "Reverses the transformtion on a column from table using the given parameters.\n\n Args:\n table (pandas.DataFrame): Dataframe containing column to transform.\n metadata (dict): Metadata for given column.\n table_name (str): Name of table in original dataset.\n\n Returns:\... | 154 | false | HDI-Project/RDT | _reverse_transform_column | 20,845 | |
LDU_FT/da4089/simplefix/append_utc_time_only | LDU_FT | [
"<BEGIN>\n## `add_raw`",
"Define the tags used for a private raw data field.",
" :param length_tag: tag number of length field.\n :param value_tag: tag number of value field.",
" Data fields are not terminated by the SOH character as is usual for\n FIX, but instead have a second, p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the append_utc_time_only 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 append_utc_time_only API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Append a field with a UTCTimeOnly value.
:param tag: Integer or string FIX tag number.
:param timestamp: Time value, see below.
:param precision: Number of decimal places: 0, 3 (ms) or 6 (us).
:param header: Append to FIX header if True; default to body.
The `timestamp` value s... | "Append a field with a UTCTimeOnly value.\n\n :param tag: Integer or string FIX tag number.\n :param timestamp: Time value, see below.\n :param precision: Number of decimal places: 0, 3 (ms) or 6 (us).\n :param header: Append to FIX header if True; default to body.\n\n The `timestamp`... | 79 | false | da4089/simplefix | append_utc_time_only | 20,846 | |
LDU_FT/loganasherjones/yapconf/build_markdown_table | LDU_FT | [
"<BEGIN>\n## `change_case`",
"Changes the case to snake/kebab case depending on the separator.",
" As regexes can be confusing, I'll just go through this line by line as an\n example with the following string: ' Foo2Boo_barBaz bat'",
" 1. Remove whitespaces from beginning/end. => 'Foo2Boo_barBaz bat-... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_markdown_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_markdown_table API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Build a lined up markdown table.
Args:
headers (dict): A key -> value pairing fo the headers.
rows (list): List of dictionaries that contain all the keys listed in
the headers.
row_keys (list): A sorted list of keys to display
Returns:
A valid Markdown Table as a string... | "Build a lined up markdown table.\n\n Args:\n headers (dict): A key -> value pairing fo the headers.\n rows (list): List of dictionaries that contain all the keys listed in\n the headers.\n row_keys (list): A sorted list of keys to display\n\n Returns:\n A valid Markdown Table a... | 139 | false | loganasherjones/yapconf | build_markdown_table | 20,847 | |
LDU_FT/yyuu/botornado/check_for_credential_file | LDU_FT | [
"<BEGIN>\n## `save`",
"Saves this item to SDB.",
" :param bool replace: If ``True``, delete any attributes on the remote\n SDB item that have a ``None`` value on this object.\n<END>",
"<BEGIN>\n## `add_value`",
"Helps set or add to attributes on this item. If you are adding a new\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check_for_credential_file 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 check_for_credential_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Checks for the existance of an AWS credential file.
If the environment variable AWS_CREDENTIAL_FILE is
set and points to a file, that file will be read and
will be searched credentials.
Note that if credentials have been explicitelypassed
into the class constructor, those values ... | "Checks for the existance of an AWS credential file.\n If the environment variable AWS_CREDENTIAL_FILE is\n set and points to a file, that file will be read and\n will be searched credentials.\n Note that if credentials have been explicitelypassed\n into the class constructor, those v... | 2,931 | true | yyuu/botornado | check_for_credential_file | 20,848 | |
LDU_FT/wmayner/pyphi/_sia | LDU_FT | [
"<BEGIN>\n## `memory_full`",
"Check if the memory is too full for further caching.\n<END>",
"<BEGIN>\n## `cache`",
"Memory-limited cache decorator.",
" ``maxmem`` is a float between 0 and 100, inclusive, specifying the maximum\n percentage of physical memory that the cache can use.",
" If ``typed... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sia API.
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 _sia API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return the minimal information partition of a subsystem.
Args:
subsystem (Subsystem): The candidate set of nodes.
Returns:
SystemIrreducibilityAnalysis: A nested structure containing all the
data from the intermediate calculations. The top level contains the
basic irreducibilit... | "Return the minimal information partition of a subsystem.\n\n Args:\n subsystem (Subsystem): The candidate set of nodes.\n\n Returns:\n SystemIrreducibilityAnalysis: A nested structure containing all the\n data from the intermediate calculations. The top level contains the\n basic irre... | 914 | false | wmayner/pyphi | _sia | 20,849 | |
LDU_FT/david-caro/python-autosemver/split_line | LDU_FT | [
"<BEGIN>\n## `distutils_autosemver_case`",
":param metadata: distutils metadata object.\n :param with_release_notes: if true, will create the release notes.\n :type with_release_notes: bool\n :param with_authors: if true, will create the authors file.\n :type with_authors: bool\n :param with_change... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_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.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_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.
The extrac... | Split a line on the closest space, or break the last word with '-'.
Args:
what(str): text to spli one line of.
indent(str): will prepend this indent to the split line, taking it into
account in the column count.
cols(int): maximum length of the split line.
Returns:
tupl... | "Split a line on the closest space, or break the last word with '-'.\n\n Args:\n what(str): text to spli one line of.\n indent(str): will prepend this indent to the split line, taking it into\n account in the column count.\n cols(int): maximum length of the split line.\n\n Returns:\n ... | 50 | false | david-caro/python-autosemver | split_line | 20,850 | |
LDU_FT/ContextLab/quail/load_example_data | LDU_FT | [
"<BEGIN>\n## `analyze`",
"General analysis function that groups data by subject/list number and performs analysis.",
" Parameters\n ----------\n egg : Egg data object\n The data to be analyzed",
" subjgroup : list of strings or ints\n String/int variables indicating how to group over... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_example_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 load_example_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... | Loads example data
The automatic and manual example data are eggs containing 30 subjects who completed a free
recall experiment as described here: https://psyarxiv.com/psh48/. The subjects
studied 8 lists of 16 words each and then performed a free recall test.
The naturalistic example data is is an eg... | "Loads example data\n\n The automatic and manual example data are eggs containing 30 subjects who completed a free\n recall experiment as described here: https://psyarxiv.com/psh48/. The subjects\n studied 8 lists of 16 words each and then performed a free recall test.\n\n The naturalistic example data is i... | 201 | false | ContextLab/quail | load_example_data | 20,851 | |
LDU_FT/sanger-pathogens/pymummer/ref_coords | LDU_FT | [
"<BEGIN>\n## `_swap`",
"Swaps the alignment so that the reference becomes the query and vice-versa. Swaps their names, coordinates etc. The frame is not changed\n<END>",
"<BEGIN>\n## `qry_coords`",
"Returns a pyfastaq.intervals.Interval object of the start and end coordinates in the query sequence\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ref_coords API.
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 ref_coords API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns a pyfastaq.intervals.Interval object of the start and end coordinates in the reference sequence | "Returns a pyfastaq.intervals.Interval object of the start and end coordinates in the reference sequence" | 26 | false | sanger-pathogens/pymummer | ref_coords | 20,852 | |
LDU_FT/joerick/pyinstrument/open_in_browser | LDU_FT | [
"<BEGIN>\n## `file_supports_color`",
"Returns True if the running system's terminal supports color.",
" Borrowed from Django\n https://github.com/django/django/blob/master/django/core/management/color.py\n<END>",
"<BEGIN>\n## `load_report`",
"Returns the session referred to by identifier\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the open_in_browser API.
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 open_in_browser API.
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... | Open the rendered HTML in a webbrowser.
If output_filename=None (the default), a tempfile is used.
The filename of the HTML file is returned. | "Open the rendered HTML in a webbrowser.\n\n If output_filename=None (the default), a tempfile is used.\n\n The filename of the HTML file is returned." | 43 | false | joerick/pyinstrument | open_in_browser | 20,853 | |
LDU_FT/mozilla/funfactory/get_best_language | LDU_FT | [
"<BEGIN>\n## `clone_repo`",
"Clone the Playdoh repo into a custom path.\n<END>",
"<BEGIN>\n## `init_pkg`",
"Initializes a custom named package module.",
" This works by replacing all instances of 'project' with a custom module\n name.\n<END>",
"<BEGIN>\n## `create_settings`",
"Creates a local sett... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_best_language API.
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_best_language API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Given an Accept-Language header, return the best-matching language. | "Given an Accept-Language header, return the best-matching language." | 52 | false | mozilla/funfactory | get_best_language | 20,854 | |
LDU_FT/prompt-toolkit/ptpython/tab_should_insert_whitespace | LDU_FT | [
"<BEGIN>\n## `tab_should_insert_whitespace`",
"When the 'tab' key is pressed with only whitespace character before the\n cursor, do autocompletion. Otherwise, insert indentation.",
" Except for the first character at the first line. Then always do a\n completion. It doesn't make sense to start the firs... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tab_should_insert_whitespace 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 tab_should_insert_whitespace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | When the 'tab' key is pressed with only whitespace character before the
cursor, do autocompletion. Otherwise, insert indentation.
Except for the first character at the first line. Then always do a
completion. It doesn't make sense to start the first line with
indentation. | "When the 'tab' key is pressed with only whitespace character before the\n cursor, do autocompletion. Otherwise, insert indentation.\n\n Except for the first character at the first line. Then always do a\n completion. It doesn't make sense to start the first line with\n indentation." | 81 | false | prompt-toolkit/ptpython | tab_should_insert_whitespace | 20,855 | |
LDU_FT/ladybug-tools/uwg/qsat | LDU_FT | [
"<BEGIN>\n## `solarcalcs`",
"Solar Calculation\n Mutates RSM, BEM, and UCM objects based on following parameters:\n UCM # Urban Canopy - Building Energy Model object\n BEM # Building Energy Model object\n simTime # Simulation time bbject\n RSM... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the qsat API.
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 qsat API.
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... | Calculate (qsat_lst) vector of saturation humidity from:
temp = vector of element layer temperatures
pres = pressure (at current timestep). | "Calculate (qsat_lst) vector of saturation humidity from:\n temp = vector of element layer temperatures\n pres = pressure (at current timestep)." | 53 | false | ladybug-tools/uwg | qsat | 20,856 | |
LDU_FT/codeinthehole/purl/subdomains | LDU_FT | [
"<BEGIN>\n## `to_utf8`",
"Encode a string as a UTF8 bytestring. This function could be passed a\n bytestring or unicode string so must distinguish between the two.\n<END>",
"<BEGIN>\n## `dict_to_unicode`",
"Ensure all keys and values in a dict are unicode.",
" The passed dict is assumed to have lists... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subdomains API.
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 subdomains API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Returns a list of subdomains or set the subdomains and returns a
new :class:`URL` instance.
:param list value: a list of subdomains | "Returns a list of subdomains or set the subdomains and returns a\n new :class:`URL` instance.\n\n :param list value: a list of subdomains" | 75 | false | codeinthehole/purl | subdomains | 20,857 | |
LDU_FT/computational-metabolomics/msp2db/_parse_compound_info | LDU_FT | [
"<BEGIN>\n## `create_db`",
"Create an empty SQLite database for library spectra.",
" Example:\n >>> from msp2db.db import create_db\n >>> db_pth = 'library.db'\n >>> create_db(file_pth=db_pth)",
" Args:\n file_pth (str): File path for SQLite database\n<END>",
"<BEGIN>\n## `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_compound_info 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 _parse_compound_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Parse and extract all compound data by looping through the dictionary of compound_info regexs
updates self.compound_info
Args:
line (str): line of the msp file | "Parse and extract all compound data by looping through the dictionary of compound_info regexs\n\n updates self.compound_info\n\n Args:\n line (str): line of the msp file" | 79 | false | computational-metabolomics/msp2db | _parse_compound_info | 20,858 | |
LDU_FT/frnsys/broca/_doc2vec_doc_stream | LDU_FT | [
"<BEGIN>\n## `train_doc2vec`",
"Train a doc2vec model on a list of files.\n<END>",
"<BEGIN>\n## `_doc2vec_doc_stream`",
"Generator to feed sentences to the dov2vec model.\n<END>",
"<BEGIN>\n## `estimate_eps`",
"Estimates possible eps values (to be used with DBSCAN)\n for a given distance matrix by look... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _doc2vec_doc_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _doc2vec_doc_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.
T... | Generator to feed sentences to the dov2vec model. | "Generator to feed sentences to the dov2vec model." | 125 | false | frnsys/broca | _doc2vec_doc_stream | 20,859 | |
LDU_FT/argaen/aiocache/exists | LDU_FT | [
"<BEGIN>\n## `loads`",
"Deserialize value using ``msgpack.loads``.",
" :param value: bytes\n :returns: obj\n<END>",
"<BEGIN>\n## `parse_uri_path`",
"Given a uri path, return the Redis specific configuration\n options in that path string according to iana definition\n http://www.i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the exists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Check key exists in the cache.
:param key: str key to check
:param namespace: str alternative namespace to use
:param timeout: int or float in seconds specifying maximum timeout
for the operations to last
:returns: True if key exists otherwise False
:raises: :class:`... | "Check key exists in the cache.\n\n :param key: str key to check\n :param namespace: str alternative namespace to use\n :param timeout: int or float in seconds specifying maximum timeout\n for the operations to last\n :returns: True if key exists otherwise False\n :raises: ... | 77 | false | argaen/aiocache | exists | 20,860 | |
LDU_FT/serge-sans-paille/pythran/visit_Module | LDU_FT | [
"<BEGIN>\n## `check_specs`",
"Does nothing but raising PythranSyntaxError if specs\n are incompatible with the actual code\n<END>",
"<BEGIN>\n## `check_exports`",
"Does nothing but raising PythranSyntaxError if specs\n references an undefined global\n<END>",
"<BEGIN>\n## `visit_Import`",
"Check if i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_Module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_Module API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Keep everything but function definition then add sorted functions.
Most of the time, many function sort work so we use function calldepth
as a "sort hint" to simplify typing. | "Keep everything but function definition then add sorted functions.\n\n Most of the time, many function sort work so we use function calldepth\n as a \"sort hint\" to simplify typing." | 547 | false | serge-sans-paille/pythran | visit_Module | 20,861 | |
LDU_FT/OSLL/jabba/get_label | LDU_FT | [
"<BEGIN>\n## `depends_on`",
"Analysis function",
" Get list of files that depend on given configs\n If there is 'graph=name' in analysis parameters, instead graph of includes will be rendered into name.svg\n<END>",
"<BEGIN>\n## `parse_from_args`",
"Parse an array of string from argparser\n to Synon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_label API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_label API.
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... | Format label
If value is missing, label will be colored red | "Format label\n If value is missing, label will be colored red" | 41 | false | OSLL/jabba | get_label | 20,862 | |
LDU_FT/miLibris/flask-rest-jsonapi/get_relationships | LDU_FT | [
"<BEGIN>\n## `_get_key_values`",
"Return a dict containing key / values items for a given key, used for items like filters, page, etc.",
" :param str name: name of the querystring parameter\n :return dict: a dict of key / values items\n<END>",
"<BEGIN>\n## `querystring`",
"Return original quer... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_relationships API.
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_relationships API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Return relationship fields of a schema
:param Schema schema: a marshmallow schema
:param list: list of relationship fields of a schema | "Return relationship fields of a schema\n\n :param Schema schema: a marshmallow schema\n :param list: list of relationship fields of a schema" | 149 | false | miLibris/flask-rest-jsonapi | get_relationships | 20,863 | |
LDU_FT/KenjiTakahashi/td/setOptions | LDU_FT | [
"<BEGIN>\n## `save`",
"@decorator: Saves data after executing :func:.",
" Also performs modifications set as permanent options.\n<END>",
"<BEGIN>\n## `add`",
"Adds new item to the model.",
" Name argument may contain (ref:) syntax, which will be\n stripped down as needed.",
" :pa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the setOptions API.
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 setOptions API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Set option(s).
:glob: If True, stores specified options globally.
:kwargs: Dictionary of options and values to set. | "Set option(s).\n\n :glob: If True, stores specified options globally.\n :kwargs: Dictionary of options and values to set." | 82 | false | KenjiTakahashi/td | setOptions | 20,864 | |
LDU_FT/albert12132/templar/hash_blocks | LDU_FT | [
"<BEGIN>\n## `applies`",
"Checks if this rule applies to the given src and dst paths, based on the src pattern and\n dst pattern given in the constructor.",
" If src pattern was None, this rule will apply to any given src path (same for dst).\n<END>",
"<BEGIN>\n## `link`",
"Links the content f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hash_blocks API.
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 hash_blocks API.
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 HTML block tags.
PARAMETERS:
text -- str; Markdown text
hashes -- dict; a dictionary of all hashes, where keys are hashes
and values are their unhashed versions.
When HTML block tags are used, all content inside the tags is
preserved as-is, without any Markdown processing. S... | "Hashes HTML block tags.\n\n PARAMETERS:\n text -- str; Markdown text\n hashes -- dict; a dictionary of all hashes, where keys are hashes\n and values are their unhashed versions.\n\n When HTML block tags are used, all content inside the tags is\n preserved as-is, without any Markdown proc... | 130 | false | albert12132/templar | hash_blocks | 20,865 | |
LDU_FT/MaT1g3R/option/filter | LDU_FT | [
"<BEGIN>\n## `maybe`",
"Shortcut method to return ``Some`` or :py:data:`NONE` based on ``val``.",
" Args:\n val: Some value.",
" Returns:\n ``Some(val)`` if the ``val`` is not None, otherwise :py:data:`NONE`.",
" Examples:\n >>> Option.maybe(0)\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter API.
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 filter API.
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 :py:data:`NONE` if the :py:class:`Option` is :py:data:`NONE`,
otherwise filter the contained value by ``predicate``.
Args:
predicate: The fitler function.
Returns:
:py:data:`NONE` if the contained value is :py:data:`NONE`, otherwise:
* The option... | "Returns :py:data:`NONE` if the :py:class:`Option` is :py:data:`NONE`,\n otherwise filter the contained value by ``predicate``.\n\n Args:\n predicate: The fitler function.\n\n Returns:\n :py:data:`NONE` if the contained value is :py:data:`NONE`, otherwise:\n * T... | 107 | false | MaT1g3R/option | filter | 20,866 | |
LDU_FT/stuaxo/mnd/bind_instancemethod | LDU_FT | [
"<BEGIN>\n## `bind`",
":param handler: a function with\n :param argspec:\n :return:\n<END>",
"<BEGIN>\n## `unbind`",
"handler will no longer be called if args match argspec",
" :param argspec: instance of ArgSpec - args to be matched\n<END>",
"<BEGIN>\n## `dispatch`",
"Call handlers... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bind_instancemethod 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 bind_instancemethod 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... | Bind a function to a dispatcher.
Takes accept_args, and accept_kwargs and creates and ArgSpec instance,
adding that to the MNDFunction which annotates the function
:param f: function to wrap
:param accept_args:
:param accept_kwargs:
:return: | "Bind a function to a dispatcher.\n\n Takes accept_args, and accept_kwargs and creates and ArgSpec instance,\n adding that to the MNDFunction which annotates the function\n\n\n :param f: function to wrap\n :param accept_args:\n :param accept_kwargs:\n :return:" | 36 | false | stuaxo/mnd | bind_instancemethod | 20,867 | |
LDU_FT/mitodl/pylti/is_role | LDU_FT | [
"<BEGIN>\n## `_post_patched_request`",
"Authorization header needs to be capitalized for some LTI clients\n this function ensures that header is capitalized",
" :param body: body of the call\n :param client: OAuth Client\n :param url: outcome url\n :return: response\n<END>",
"<BEGIN>\n## `post_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_role API.
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 is_role API.
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... | Verify if user is in role
:param: role: role to verify against
:return: if user is in role
:exception: LTIException if role is unknown | "Verify if user is in role\n\n :param: role: role to verify against\n :return: if user is in role\n :exception: LTIException if role is unknown" | 53 | false | mitodl/pylti | is_role | 20,868 | |
LDU_FT/amcat/amcatclient/check | LDU_FT | [
"<BEGIN>\n## `serialize`",
"JSON serializer that accepts datetime & date\n<END>",
"<BEGIN>\n## `check`",
"Check whether the status code of the response equals expected_status and\n raise an APIError otherwise.\n @param url: The url of the response (for error messages).\n Defaults to respo... | 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... | Check whether the status code of the response equals expected_status and
raise an APIError otherwise.
@param url: The url of the response (for error messages).
Defaults to response.url
@param json: if True, return r.json(), otherwise return r.text | "Check whether the status code of the response equals expected_status and\n raise an APIError otherwise.\n @param url: The url of the response (for error messages).\n Defaults to response.url\n @param json: if True, return r.json(), otherwise return r.text" | 24 | false | amcat/amcatclient | check | 20,869 | |
LDU_FT/geomet/geomet/_load_linestring | LDU_FT | [
"<BEGIN>\n## `block_splitter`",
"Creates a generator by slicing ``data`` into chunks of ``block_size``.",
" >>> data = range(10)\n >>> list(block_splitter(data, 2))\n [[0, 1], [2, 3], [4, 5], [6, 7], [8, 9]]",
" If ``data`` cannot be evenly divided by ``block_size``, the last block will\n simpl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_linestring API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _load_linestring API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Has similar inputs and return value to to :func:`_load_point`, except is
for handling LINESTRING geometry.
:returns:
A GeoJSON `dict` LineString representation of the WKT ``string``. | "Has similar inputs and return value to to :func:`_load_point`, except is\n for handling LINESTRING geometry.\n\n :returns:\n A GeoJSON `dict` LineString representation of the WKT ``string``." | 120 | false | geomet/geomet | _load_linestring | 20,870 | |
LDU_FT/psphere-project/psphere/update | LDU_FT | [
"<BEGIN>\n## `get_options`",
"Get the options that have been set.",
" Called after the user has added all their own options\n and is ready to use the variables.\n<END>",
"<BEGIN>\n## `_get_dataobject`",
"This function only gets called if the decorated property\n doesn't have a value in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Updates the properties being held for this instance.
:param properties: The list of properties to update.
:type properties: list or None (default). If None, update all
currently cached properties. | "Updates the properties being held for this instance.\n\n :param properties: The list of properties to update.\n :type properties: list or None (default). If None, update all\n currently cached properties." | 82 | false | psphere-project/psphere | update | 20,871 | |
LDU_FT/ratt-ru/PyMORESANE/handle_input | LDU_FT | [
"<BEGIN>\n## `iuwt_decomposition`",
"This function serves as a handler for the different implementations of the IUWT decomposition. It allows the\n different methods to be used almost interchangeably.",
" INPUTS:\n in1 (no default): Array on which the decomposition is to be perfor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_input API.
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 handle_input API.
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... | This method tries to ensure that the input data has the correct dimensions.
INPUTS:
input_hdr (no default) Header from which data shape is to be extracted. | "This method tries to ensure that the input data has the correct dimensions.\n\n INPUTS:\n input_hdr (no default) Header from which data shape is to be extracted." | 125 | false | ratt-ru/PyMORESANE | handle_input | 20,872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.