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/astrocatalogs/astrocats/add_spectrum | LDU_FT | [
"<BEGIN>\n## `main`",
"Primary entry point for all AstroCats catalogs.",
" From this entry point, all internal catalogs can be accessed and their\n public methods executed (for example: import scripts).\n<END>",
"<BEGIN>\n## `setup_user_config`",
"Setup a configuration file in the user's home director... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_spectrum API.
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_spectrum API.
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 `Spectrum` instance to this entry. | "Add a `Spectrum` instance to this entry." | 243 | false | astrocatalogs/astrocats | add_spectrum | 143,273 | |
LDU_FT/ranaroussi/pywallet/to_b58check | LDU_FT | [
"<BEGIN>\n## `create_new_address_for_user`",
"Create a new bitcoin address to accept payments for a User.",
" This is a convenience wrapper around `get_child` that helps you do\n the right thing. This method always creates a public, non-prime\n address that can be generated from a BIP32 pub... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_b58check API.
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 to_b58check API.
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... | Generates a Base58Check encoding of this key.
Args:
testnet (bool): True if the key is to be used with
testnet, False otherwise.
Returns:
str: A Base58Check encoded string representing the key. | "Generates a Base58Check encoding of this key.\n\n Args:\n testnet (bool): True if the key is to be used with\n testnet, False otherwise.\n Returns:\n str: A Base58Check encoded string representing the key." | 186 | false | ranaroussi/pywallet | to_b58check | 143,274 | |
LDU_FT/rwl/pylon/getYbus | LDU_FT | [
"<BEGIN>\n## `performAction`",
"perform an action on the world that changes it's internal state\n (maybe stochastically).",
" All you have to do is pull one of the arm and receive a payout. Each\n arm has a distribution of different payouts that are delivered with\n different probabi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getYbus API.
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 getYbus API.
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... | Based on makeYbus.m from MATPOWER by Ray Zimmerman, developed at
PSERC Cornell. See U{http://www.pserc.cornell.edu/matpower/} for more
information.
@rtype: tuple
@return: A triple consisting of the bus admittance matrix (i.e. for all
buses) and the matrices Yf and Yt which, when... | "Based on makeYbus.m from MATPOWER by Ray Zimmerman, developed at\n PSERC Cornell. See U{http://www.pserc.cornell.edu/matpower/} for more\n information.\n\n @rtype: tuple\n @return: A triple consisting of the bus admittance matrix (i.e. for all\n buses) and the matrices Yf and Yt whic... | 527 | false | rwl/pylon | getYbus | 143,275 | |
LDU_FT/AoiKuiyuyou/AoikLiveReload/virtualenv_setup | LDU_FT | [
"<BEGIN>\n## `main`",
"Main function.",
" :return:\n None.\n<END>",
"<BEGIN>\n## `start_watcher_thread`",
"Start watcher thread.",
" :return:\n Watcher thread object.\n<END>",
"<BEGIN>\n## `run_watcher`",
"Watcher thread's function.",
" :return:\n None.\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the virtualenv_setup API.
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 virtualenv_setup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Create task that sets up `virtualenv` package.
:param ctx: BuildContext object.
:param python: Python program path.
:param inputs: Input items list to add to created task.
See :paramref:`create_cmd_task.inputs` for allowed item types.
:param outputs: Output items list to add to created task... | "Create task that sets up `virtualenv` package.\n\n :param ctx: BuildContext object.\n\n :param python: Python program path.\n\n :param inputs: Input items list to add to created task.\n\n See :paramref:`create_cmd_task.inputs` for allowed item types.\n\n :param outputs: Output items list to add to c... | 216 | false | AoiKuiyuyou/AoikLiveReload | virtualenv_setup | 143,276 | |
LDU_FT/NORDUnet/python-norduniclient/get_node_model | LDU_FT | [
"<BEGIN>\n## `get_db_driver`",
":param uri: Bolt uri\n :type uri: str\n :param username: Neo4j username\n :type username: str\n :param password: Neo4j password\n :type password: str\n :param encrypted: Use TLS\n :type encrypted: Boolean\n :param max_pool_size: Maximum number of idle sessio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_node_model API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_node_model API.
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... | :param manager: Context manager to handle transactions
:type manager: Neo4jDBSessionManager
:param handle_id: Nodes handle id
:type handle_id: str|unicode
:param node: Node object
:type node: neo4j.v1.types.Node
:return: Node model
:rtype: models.BaseNodeModel or sub class of models.BaseNode... | ":param manager: Context manager to handle transactions\n :type manager: Neo4jDBSessionManager\n :param handle_id: Nodes handle id\n :type handle_id: str|unicode\n :param node: Node object\n :type node: neo4j.v1.types.Node\n :return: Node model\n :rtype: models.BaseNodeModel or sub class of models.... | 71 | false | NORDUnet/python-norduniclient | get_node_model | 143,277 | |
LDU_FT/chrismattmann/nutch-python/inject | LDU_FT | [
"<BEGIN>\n## `defaultCrawlId`",
"Provide a reasonable default crawl name using the user name and date\n<END>",
"<BEGIN>\n## `call`",
"Call the Nutch Server, do some error checking, and return the response.",
" :param verb: One of nutch.RequestVerbs\n :param servicePath: path component of URL t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the inject API.
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 inject API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | :param seed: A Seed object (this or urlDir must be specified)
:param urlDir: The directory on the server containing the seed list (this or urlDir must be specified)
:param args: Extra arguments for the job
:return: a created Job object | ":param seed: A Seed object (this or urlDir must be specified)\n :param urlDir: The directory on the server containing the seed list (this or urlDir must be specified)\n :param args: Extra arguments for the job\n :return: a created Job object" | 46 | false | chrismattmann/nutch-python | inject | 143,278 | |
LDU_FT/donovan-duplessis/pwnurl/module_functions | LDU_FT | [
"<BEGIN>\n## `timestamp`",
"Return current datetime with timezone applied\n [all timezones] print sorted(pytz.all_timezones)\n<END>",
"<BEGIN>\n## `module_functions`",
"Return ordered dictionary of all functions declared in module\n<END>",
"<BEGIN>\n## `saveform`",
"Create and save form model data ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the module_functions API.
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 module_functions API.
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 ordered dictionary of all functions declared in module | "Return ordered dictionary of all functions declared in module" | 12 | false | donovan-duplessis/pwnurl | module_functions | 143,279 | |
LDU_FT/kennethreitz/maya/parse | LDU_FT | [
"<BEGIN>\n## `comparable`",
"Class decorator that ensures support for the special C{__cmp__} method.\n On Python 2 this does nothing.\n On Python 3, C{__eq__}, C{__lt__}, etc. methods are added to the class,\n relying on C{__cmp__} to implement their comparisons.\n<END>",
"<BEGIN>\n## `validate_class_t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Returns a MayaDT instance for the machine-produced moment specified.
Powered by pendulum.
Accepts most known formats. Useful for working with data.
Keyword Arguments:
string -- string to be parsed
timezone -- timezone referenced from (default: 'UTC')
day_first -- if true, the first... | "Returns a MayaDT instance for the machine-produced moment specified.\n\n Powered by pendulum.\n Accepts most known formats. Useful for working with data.\n\n Keyword Arguments:\n string -- string to be parsed\n timezone -- timezone referenced from (default: 'UTC')\n day_first -- if true, ... | 47 | false | kennethreitz/maya | parse | 143,280 | |
LDU_FT/NiklasRosenstein/py-localimport/is_subpath | LDU_FT | [
"<BEGIN>\n## `is_local`",
"Returns True if *filename* is a subpath of any of the paths in *pathlist*.\n<END>",
"<BEGIN>\n## `is_subpath`",
"Returns True if *path* points to the same or a subpath of *parent*.\n<END>",
"<BEGIN>\n## `eval_pth`",
"Evaluates a `.pth` file (including support for `import` statem... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_subpath API.
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 is_subpath API.
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 True if *path* points to the same or a subpath of *parent*. | "Returns True if *path* points to the same or a subpath of *parent*." | 12 | false | NiklasRosenstein/py-localimport | is_subpath | 143,281 | |
LDU_FT/PSPC-SPAC-buyandsell/von_anchor/tags | LDU_FT | [
"<BEGIN>\n## `least_role`",
"Return the TRUSTEE indy-sdk role for an anchor acting in an AnchorSmith capacity.",
" :return: TRUSTEE role\n<END>",
"<BEGIN>\n## `send_nym`",
"Send input anchor's cryptonym (including DID, verification key, plus optional alias and role)\n to the distributed ledger... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the tags API.
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 tags API.
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... | Accessor for record tags (metadata).
:param val: record tags | "Accessor for record tags (metadata).\n\n :param val: record tags" | 734 | false | PSPC-SPAC-buyandsell/von_anchor | tags | 143,282 | |
LDU_FT/pytroll/python-geotiepoints/generic_modis5kmto1km | LDU_FT | [
"<BEGIN>\n## `_interp`",
"The interpolation method implemented here is a kind of a billinear\n interpolation. The input *data* field is first interpolated along the \n rows and subsequently along its columns.",
" The final size of the interpolated *data* field is determined by the \n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generic_modis5kmto1km 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 generic_modis5kmto1km API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Getting 1km data for modis from 5km tiepoints. | "Getting 1km data for modis from 5km tiepoints." | 43 | false | pytroll/python-geotiepoints | generic_modis5kmto1km | 143,283 | |
LDU_FT/mediawiki-utilities/python-mwtypes/strptime | 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 strptime API.
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 strptime API.
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... | Constructs a :class:`mw.Timestamp` from an explicitly formatted string.
See `<https://docs.python.org/3/library/time.html#time.strftime>`_ for a
discussion of formats descriptors.
:Parameters:
string : str
A formatted timestamp
format : str
... | "Constructs a :class:`mw.Timestamp` from an explicitly formatted string.\n See `<https://docs.python.org/3/library/time.html#time.strftime>`_ for a\n discussion of formats descriptors.\n\n :Parameters:\n string : str\n A formatted timestamp\n format : str\n ... | 41 | false | mediawiki-utilities/python-mwtypes | strptime | 143,284 | |
LDU_FT/klen/muffin/parse | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse URL path and convert it to regexp if needed.\n<END>",
"<BEGIN>\n## `create_signature`",
"Create HMAC Signature from secret for value.\n<END>",
"<BEGIN>\n## `generate_password_hash`",
"Hash a password with given method and salt length.\n<END>",
"<BEGIN>\n## `register`",
"M... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Parse URL path and convert it to regexp if needed. | "Parse URL path and convert it to regexp if needed." | 37 | false | klen/muffin | parse | 143,285 | |
LDU_FT/alephdata/memorious/emit | LDU_FT | [
"<BEGIN>\n## `size`",
"Total operations pending for this crawler\n<END>",
"<BEGIN>\n## `read_word`",
"OCR a single word from an image. Useful for captchas.\n Image should be pre-processed to remove noise etc.\n<END>",
"<BEGIN>\n## `read_char`",
"OCR a single character from an image. Useful for capt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the emit API.
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 emit API.
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... | Invoke the next stage, either based on a handling rule, or by calling
the `pass` rule by default. | "Invoke the next stage, either based on a handling rule, or by calling\n the `pass` rule by default." | 71 | false | alephdata/memorious | emit | 143,286 | |
LDU_FT/Stranger6667/postmarker/from_mime | LDU_FT | [
"<BEGIN>\n## `create`",
"Creates a template.",
" :param Name: Name of template\n :param Subject: The content to use for the Subject when this template is used to send email.\n :param HtmlBody: The content to use for the HtmlBody when this template is used to send email.\n :param Text... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_mime API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the from_mime API.
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... | Instantiates ``Email`` instance from ``MIMEText`` instance.
:param message: ``email.mime.text.MIMEText`` instance.
:param manager: :py:class:`EmailManager` instance.
:return: :py:class:`Email` | "Instantiates ``Email`` instance from ``MIMEText`` instance.\n\n :param message: ``email.mime.text.MIMEText`` instance.\n :param manager: :py:class:`EmailManager` instance.\n :return: :py:class:`Email`" | 74 | false | Stranger6667/postmarker | from_mime | 143,287 | |
LDU_FT/paramiko/paramiko/start_client | LDU_FT | [
"<BEGIN>\n## `make_tarball`",
"Create a tar file from all the files under 'base_dir'.\n This file may be compressed.",
" :param compress: Compression algorithms. Supported algorithms are:\n 'gzip': (the default)\n 'compress'\n 'bzip2'\n None\n For 'gzip' and 'bzip2' the inte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the start_client API.
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 start_client API.
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... | Negotiate a new SSH2 session as a client. This is the first step after
creating a new `.Transport`. A separate thread is created for protocol
negotiation.
If an event is passed in, this method returns immediately. When
negotiation is done (successful or not), the given ``Event`` will... | "Negotiate a new SSH2 session as a client. This is the first step after\n creating a new `.Transport`. A separate thread is created for protocol\n negotiation.\n\n If an event is passed in, this method returns immediately. When\n negotiation is done (successful or not), the given ``Event`... | 608 | false | paramiko/paramiko | start_client | 143,288 | |
LDU_FT/GaretJax/lancet/pull_request | LDU_FT | [
"<BEGIN>\n## `load_config`",
"Loads and parses an INI style configuration file using Python's built-in\n configparser module. If path is specified, load it.\n If ``defaults`` (a list of strings) is given, try to load each entry as a\n file, without throwing any error if the operation fails.\n If ``def... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pull_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pull_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Create a new pull request for this issue. | "Create a new pull request for this issue." | 50 | false | GaretJax/lancet | pull_request | 143,289 | |
LDU_FT/cgarciae/phi/Seq | LDU_FT | [
"<BEGIN>\n## `RegisterMethod`",
"**RegisterMethod**",
" RegisterMethod(f, library_path, alias=None, original_name=None, doc=None, wrapped=None, explanation=\"\", method_type=utils.identity, explain=True)",
"`classmethod` for registering functions as methods of this class.",
"**Arguments**",
"* **f** : ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Seq API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the Seq API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | `Seq` is used to express function composition. The expression
Seq(f, g)
be equivalent to
lambda x: g(f(x))
As you see, its a little different from the mathematical definition. Excecution order flow from left to right, this makes reading and reasoning about code way more easy. This bahaviour is based upon th... | "`Seq` is used to express function composition. The expression\n\n Seq(f, g)\n\nbe equivalent to\n\n lambda x: g(f(x))\n\nAs you see, its a little different from the mathematical definition. Excecution order flow from left to right, this makes reading and reasoning about code way more easy. This bahaviour is base... | 252 | false | cgarciae/phi | Seq | 143,290 | |
LDU_FT/JensAstrup/pyOutlook/delete | LDU_FT | [
"<BEGIN>\n## `auto_reply_message`",
"The account's Internal auto reply message. Setting the value will change the auto reply message of the\n account, automatically setting the status to enabled (but not altering the schedule).\n<END>",
"<BEGIN>\n## `set_auto_reply`",
"Set an automatic reply for the a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Deletes this Folder.
Raises:
AuthError: Raised if Outlook returns a 401, generally caused by an invalid or expired access token. | "Deletes this Folder.\n\n Raises:\n AuthError: Raised if Outlook returns a 401, generally caused by an invalid or expired access token." | 99 | false | JensAstrup/pyOutlook | delete | 143,291 | |
LDU_FT/nicferrier/md/do_rm | LDU_FT | [
"<BEGIN>\n## `_list`",
"Do structured list output.",
" Sorts the list by date, possibly reversed, filtered from 'since'.",
" The returned list is: foldername, message key, message object\n<END>",
"<BEGIN>\n## `ls`",
"Do standard text list of the folder to the stream.",
" 'foldername... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the do_rm API.
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 do_rm API.
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... | ${cmd_name}: remove the specified message
${cmd_usage} | "${cmd_name}: remove the specified message\n\n ${cmd_usage}" | 135 | false | nicferrier/md | do_rm | 143,292 | |
LDU_FT/HIPS/autograd/repeat_to_match_shape | LDU_FT | [
"<BEGIN>\n## `make_gp_funs`",
"Functions that perform Gaussian process regression.\n cov_func has signature (cov_params, x, x')\n<END>",
"<BEGIN>\n## `def_linear`",
"Flags that a function is linear wrt all args\n<END>",
"<BEGIN>\n## `project`",
"Project the velocity field to be approximately mass-co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the repeat_to_match_shape 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 repeat_to_match_shape API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns the array g repeated along axis to fit vector space vs.
Also returns the number of repetitions of the array. | "Returns the array g repeated along axis to fit vector space vs.\n Also returns the number of repetitions of the array." | 79 | false | HIPS/autograd | repeat_to_match_shape | 143,293 | |
LDU_FT/twisted/twistedchecker/_getMethodNamePrefix | LDU_FT | [
"<BEGIN>\n## `_isInner`",
"Determine whether the given node is, at any point in its syntactic\n parentage, defined within a function.",
" @param node: The node to inspect.\n @type node: L{logilab.astng.bases.NodeNG}",
" @return: a boolean indicating if the given node is defined as an inner\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _getMethodNamePrefix 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 _getMethodNamePrefix 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 the prefix of this method based on sibling methods.
@param node: the current node | "Return the prefix of this method based on sibling methods.\n\n @param node: the current node" | 146 | false | twisted/twistedchecker | _getMethodNamePrefix | 143,294 | |
LDU_FT/Sanji-IO/sanji/set | LDU_FT | [
"<BEGIN>\n## `add`",
"Add a object\n Args:\n Object: Object will be added\n Returns:\n Object: Object with id\n Raises:\n TypeError: If add object is not a dict\n MultipleInvalid: If input object is invaild\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Set a object
Args:
id (int): Target Object ID
newObj (object): New object will be set
Returns:
Object: New object
None: If specified object id is not found
MultipleInvalid: If input object is invaild | "Set a object\n Args:\n id (int): Target Object ID\n newObj (object): New object will be set\n Returns:\n Object: New object\n None: If specified object id is not found\n MultipleInvalid: If input object is invaild" | 45 | false | Sanji-IO/sanji | set | 143,295 | |
LDU_FT/zimeon/iiif/set_cookie_prefix | LDU_FT | [
"<BEGIN>\n## `do_first`",
"Load generator, set size.",
" We take the generator module name from self.srcfile so that\n this manipulator will work with different generators in a\n similar way to how the ordinary generators work with\n different images\n<END>",
"<BEGIN>\n## `main`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cookie_prefix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_cookie_prefix API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Set a random cookie prefix unless one is specified.
In order to run multiple demonstration auth services on the
same server we need to have different cookie names for each
auth domain. Unless cookie_prefix is set, generate a random
one. | "Set a random cookie prefix unless one is specified.\n\n In order to run multiple demonstration auth services on the\n same server we need to have different cookie names for each\n auth domain. Unless cookie_prefix is set, generate a random\n one." | 333 | false | zimeon/iiif | set_cookie_prefix | 143,296 | |
LDU_FT/HEPData/hepdata-validator/get_messages | LDU_FT | [
"<BEGIN>\n## `validate`",
"Validates a submission file",
" :param file_path: path to file to be loaded.\n :param data: pre loaded YAML object (optional).\n :return: Bool to indicate the validity of the file.\n<END>",
"<BEGIN>\n## `load_custom_schema`",
"Loads a custom schema, or will us... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_messages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_messages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return messages for a file (if file_name provided).
If file_name is none, returns all messages as a dict.
:param file_name:
:return: array if file_name is provided, dict otherwise. | "Return messages for a file (if file_name provided).\n If file_name is none, returns all messages as a dict.\n :param file_name:\n :return: array if file_name is provided, dict otherwise." | 12 | false | HEPData/hepdata-validator | get_messages | 143,297 | |
LDU_FT/faucamp/python-gsmmodem/decodeSmsPdu | 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 decodeSmsPdu API.
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 decodeSmsPdu API.
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... | Decodes SMS pdu data and returns a tuple in format (number, text)
:param pdu: PDU data as a hex string, or a bytearray containing PDU octects
:type pdu: str or bytearray
:raise EncodingError: If the specified PDU data cannot be decoded
:return: The decoded SMS data as a dictionary
:rt... | "Decodes SMS pdu data and returns a tuple in format (number, text)\n \n :param pdu: PDU data as a hex string, or a bytearray containing PDU octects\n :type pdu: str or bytearray\n \n :raise EncodingError: If the specified PDU data cannot be decoded\n \n :return: The decoded SMS data as a dictionary... | 214 | false | faucamp/python-gsmmodem | decodeSmsPdu | 143,298 | |
LDU_FT/sunt05/SuPy/gen_opt_str | LDU_FT | [
"<BEGIN>\n## `_path_insensitive`",
"Recursive part of path_insensitive to do the work.\n<END>",
"<BEGIN>\n## `url_is_alive`",
"Checks that a given URL is reachable.\n :param url: A URL\n :rtype: bool\n<END>",
"<BEGIN>\n## `form_option`",
"generate option name based suffix for URL",
" :param str... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_opt_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the gen_opt_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 extra... | generate rst option string
Parameters
----------
ser_rec : pd.Series
record for specifications
Returns
-------
str
rst string | "generate rst option string\n\n Parameters\n ----------\n ser_rec : pd.Series\n record for specifications\n\n Returns\n -------\n str\n rst string" | 143 | false | sunt05/SuPy | gen_opt_str | 143,299 | |
LDU_FT/majerteam/sqla_inspect/force_ascii | LDU_FT | [
"<BEGIN>\n## `get_info_field`",
"Return the info attribute of the given property\n<END>",
"<BEGIN>\n## `add_formatter`",
"Add a formatter to the registry\n if key_specific is provided, this formatter will only be used for some\n specific exports\n<END>",
"<BEGIN>\n## `render`",
"Write to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the force_ascii API.
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 force_ascii API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return enforced ascii string
éko=>ko | "Return enforced ascii string\n éko=>ko" | 132 | false | majerteam/sqla_inspect | force_ascii | 143,300 | |
LDU_FT/bdastur/spam/encrpyt_file | LDU_FT | [
"<BEGIN>\n## `rados_df`",
"Invoked the rados df command and return output to user\n<END>",
"<BEGIN>\n## `rados_parse_df`",
"Parse the result from ansirunner module and save it as a json\n object\n<END>",
"<BEGIN>\n## `is_file_encrypted`",
"Given a file. Check if it is already encrypted.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrpyt_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 extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the encrpyt_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 extr... | Encrypt File
Args:
filename: Pass the filename to encrypt.
Returns:
No return. | "Encrypt File\n Args:\n filename: Pass the filename to encrypt.\n Returns:\n No return." | 14 | false | bdastur/spam | encrpyt_file | 143,301 | |
LDU_FT/coala/coala-decorators-USE-cOALA-UTILS-INSTEAD/enforce_signature | LDU_FT | [
"<BEGIN>\n## `yield_once`",
"Decorator to make an iterator returned by a method yield each result only\n once.",
" >>> @yield_once\n ... def generate_list(foo):\n ... return foo\n >>> list(generate_list([1, 2, 1]))\n [1, 2]",
" :param iterator: Any method that returns an iterator\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enforce_signature API.
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 enforce_signature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Enforces the signature of the function by throwing TypeError's if invalid
arguments are provided. The return value is not checked.
You can annotate any parameter of your function with the desired type or a
tuple of allowed types. If you annotate the function with a value, this
value only will be allowe... | "Enforces the signature of the function by throwing TypeError's if invalid\n arguments are provided. The return value is not checked.\n\n You can annotate any parameter of your function with the desired type or a\n tuple of allowed types. If you annotate the function with a value, this\n value only will be ... | 35 | false | coala/coala-decorators-USE-cOALA-UTILS-INSTEAD | enforce_signature | 143,302 | |
LDU_FT/chr-1x/ananas/spec_dice | LDU_FT | [
"<BEGIN>\n## `_expand_scheduledict`",
"Converts a dict of items, some of which are scalar and some of which are\n lists, to a list of dicts with scalar items.\n<END>",
"<BEGIN>\n## `interval_next`",
"Calculate the number of seconds from now until the function should next run.\n This function handles bot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spec_dice API.
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 spec_dice API.
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 dice specification as a string in a common format | "Return the dice specification as a string in a common format" | 19 | false | chr-1x/ananas | spec_dice | 143,303 | |
LDU_FT/Josef-Friedrich/phrydy/_sc_decode | LDU_FT | [
"<BEGIN>\n## `as_string`",
"Convert a value to a Unicode object for matching with a query.\n None becomes the empty string. Bytestrings are silently decoded.\n<END>",
"<BEGIN>\n## `displayable_path`",
"Attempts to decode a bytestring path to a unicode object for the\n purpose of displaying it to the use... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sc_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _sc_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 extrac... | Convert a Sound Check bytestring value to a (gain, peak) tuple as
used by ReplayGain. | "Convert a Sound Check bytestring value to a (gain, peak) tuple as\n used by ReplayGain." | 72 | false | Josef-Friedrich/phrydy | _sc_decode | 143,304 | |
LDU_FT/d11wtq/dockerpty/write | LDU_FT | [
"<BEGIN>\n## `before_all`",
"Pulls down busybox:latest before anything is tested.\n<END>",
"<BEGIN>\n## `after_scenario`",
"Cleans up docker containers used as test fixtures after test completes.\n<END>",
"<BEGIN>\n## `set_blocking`",
"Set the given file-descriptor blocking or non-blocking.",
" Retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write API.
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 write API.
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... | Write `data` to the Stream. Not all data may be written right away.
Use select to find when the stream is writeable, and call do_write()
to flush the internal buffer. | "Write `data` to the Stream. Not all data may be written right away.\n Use select to find when the stream is writeable, and call do_write()\n to flush the internal buffer." | 66 | false | d11wtq/dockerpty | write | 143,305 | |
LDU_FT/googlefonts/fontbakery/com_google_fonts_check_fontbakery_version | LDU_FT | [
"<BEGIN>\n## `get_module_profile`",
"Get or create a profile from a module and return it.",
" If the name `module.profile` is present the value of that is returned.\n Otherwise, if the name `module.profile_factory` is present, a new profile\n is created using `module.profile_factory` and then `profile.auto_r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the com_google_fonts_check_fontbakery_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the com_google_fonts_check_fontbakery_version API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indica... | Do we have the latest version of FontBakery installed? | "Do we have the latest version of FontBakery installed?" | 381 | false | googlefonts/fontbakery | com_google_fonts_check_fontbakery_version | 143,306 | |
LDU_FT/drongo-framework/drongo/find_call | LDU_FT | [
"<BEGIN>\n## `set_cookie`",
"Set a cookie.",
" Args:\n key (:obj:`str`): Cookie name\n value (:obj:`str`): Cookie value\n domain (:obj:`str`): Cookie domain\n path (:obj:`str`): Cookie value\n secure (:obj:`bool`): True if secure, False otherwise\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_call API.
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 find_call API.
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... | Find callable for the specified URL path and HTTP method.
Args:
path (:obj:`str`): URL path to match
method (:obj:`str`): HTTP method
Note:
A trailing '/' is always assumed in the path. | "Find callable for the specified URL path and HTTP method.\n\n Args:\n path (:obj:`str`): URL path to match\n method (:obj:`str`): HTTP method\n\n Note:\n A trailing '/' is always assumed in the path." | 46 | false | drongo-framework/drongo | find_call | 143,307 | |
LDU_FT/neo4j/neo4j-python-driver/experimental | LDU_FT | [
"<BEGIN>\n## `basic_auth`",
"Generate a basic auth token for a given user and password.",
" :param user: user name\n :param password: current password\n :param realm: specifies the authentication provider\n :return: auth token for use with :meth:`GraphDatabase.driver`\n<END>",
"<BEGIN>\n## `custom... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the experimental API.
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 experimental API.
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... | Decorator for tagging experimental functions and methods.
::
@experimental("'foo' is an experimental function and may be "
"removed in a future release")
def foo(x):
pass | "Decorator for tagging experimental functions and methods.\n\n ::\n\n @experimental(\"'foo' is an experimental function and may be \"\n \"removed in a future release\")\n def foo(x):\n pass" | 133 | false | neo4j/neo4j-python-driver | experimental | 143,308 | |
LDU_FT/wdecoster/nanoget/process_fasta | LDU_FT | [
"<BEGIN>\n## `process_summary`",
"Extracting information from an albacore summary file.",
" Only reads which have a >0 length are returned.",
" The fields below may or may not exist, depending on the type of sequencing performed.\n Fields 1-14 are for 1D sequencing.\n Fields 1-23 for 2D sequencing... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_fasta API.
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 process_fasta API.
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... | Combine metrics extracted from a fasta file. | "Combine metrics extracted from a fasta file." | 63 | false | wdecoster/nanoget | process_fasta | 143,309 | |
LDU_FT/jmoiron/par2ools/related_pars | 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 related_pars API.
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 related_pars API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Returns a list of related par2 files (ones par2 will try to read
from to find file recovery blocks). If this par2 file was a file-like
object (like a StringIO) without an associated path, return [].
Otherwise, the name of this file + associated files are returned. | "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 associated path, return [].\n Otherwise, the name of this file + associated files are returned." | 10 | false | jmoiron/par2ools | related_pars | 143,310 | |
LDU_FT/cogniteev/docido-python-sdk/component_activated | LDU_FT | [
"<BEGIN>\n## `to_unicode`",
"Convert input to an `unicode` object.",
" For a `str` object, we'll first try to decode the bytes using the given\n `charset` encoding (or UTF-8 if none is specified), then we fall back to\n the latin1 encoding which might be correct or not, but at least preserves\n the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the component_activated 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 component_activated 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... | Initialize additional member variables for components.
Every component activated through the `Environment` object
gets an additional member variable: `env` (the environment object) | "Initialize additional member variables for components.\n\n Every component activated through the `Environment` object\n gets an additional member variable: `env` (the environment object)" | 147 | false | cogniteev/docido-python-sdk | component_activated | 143,311 | |
LDU_FT/lekhakpadmanabh/Summarizer/better_sentences | LDU_FT | [
"<BEGIN>\n## `goose_extractor`",
"webpage extraction using\n Goose Library\n<END>",
"<BEGIN>\n## `_normalize`",
"returns tf-idf matrix\n (unigrams+bigrams)\n<END>",
"<BEGIN>\n## `_intertext_score`",
"returns tuple of scored sentences\n in order of appearance\n Note: Doing an A/B te... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the better_sentences API.
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 better_sentences API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | takes care of some edge cases of sentence
tokenization for cases when websites don't
close sentences properly, usually after
blockquotes, image captions or attributions | "takes care of some edge cases of sentence\n tokenization for cases when websites don't\n close sentences properly, usually after\n blockquotes, image captions or attributions" | 16 | false | lekhakpadmanabh/Summarizer | better_sentences | 143,312 | |
LDU_FT/lmjohns3/downhill/set_params | LDU_FT | [
"<BEGIN>\n## `build`",
"Build and return an optimizer for the rosenbrock function.",
" In downhill, an optimizer can be constructed using the build() top-level\n function. This function requires several Theano quantities such as the loss\n being optimized and the parameters to update during optimizatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_params API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Set the values of the parameters to the given target values.
Parameters
----------
targets : sequence of ndarray, optional
Arrays for setting the parameters of our model. If this is not
provided, the current best parameters for this optimizer will be
used. | "Set the values of the parameters to the given target values.\n\n Parameters\n ----------\n targets : sequence of ndarray, optional\n Arrays for setting the parameters of our model. If this is not\n provided, the current best parameters for this optimizer will be\n ... | 79 | false | lmjohns3/downhill | set_params | 143,313 | |
LDU_FT/digidotcom/python-devicecloud/list_files | LDU_FT | [
"<BEGIN>\n## `_parse_command_response`",
"Parse an SCI command response into ElementTree XML",
" This is a helper method that takes a Requests Response object\n of an SCI command response and will parse it into an ElementTree Element\n representing the root of the XML response.",
" :param response... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the list_files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | List all files and directories in the path on the target
:param target: The device(s) to be targeted with this request
:type target: :class:`devicecloud.sci.TargetABC` or list of :class:`devicecloud.sci.TargetABC` instances
:param path: The path on the target to list files and directories from
... | "List all files and directories in the path on the target\n\n :param target: The device(s) to be targeted with this request\n :type target: :class:`devicecloud.sci.TargetABC` or list of :class:`devicecloud.sci.TargetABC` instances\n :param path: The path on the target to list files and directories ... | 366 | false | digidotcom/python-devicecloud | list_files | 143,314 | |
LDU_FT/nerdvegas/rez/merged | LDU_FT | [
"<BEGIN>\n## `add_node`",
"Add given node to the graph.",
" @attention: While nodes can be of any type, it's strongly recommended to use only\n numbers and single-line strings as node identifiers if you intend to use write().",
" @type node: node\n @param node: Node identifier.",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the merged API.
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 merged API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Returns the merged result of two requirements.
Two requirements can be in conflict and if so, this function returns
None. For example, requests for "foo-4" and "foo-6" are in conflict,
since both cannot be satisfied with a single version of foo.
Some example successful requirements mer... | "Returns the merged result of two requirements.\n\n Two requirements can be in conflict and if so, this function returns\n None. For example, requests for \"foo-4\" and \"foo-6\" are in conflict,\n since both cannot be satisfied with a single version of foo.\n\n Some example successful requi... | 2,330 | true | nerdvegas/rez | merged | 143,315 | |
LDU_FT/aleontiev/dj/info | LDU_FT | [
"<BEGIN>\n## `parse_application_name`",
"Parse a setup.py file for the name.",
" Returns:\n name, or None\n<END>",
"<BEGIN>\n## `build`",
"Builds the app in the app's environment.",
" Only builds if the build is out-of-date and is non-empty.\n Builds in 3 stages: requiremen... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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.
The extracted do... | Display app info.
Examples:
$ dj info
No application, try running dj init.
$ dj info
Application:
foo @ 2.7.9
Requirements:
Django == 1.10 | "Display app info.\n\n Examples:\n\n $ dj info\n No application, try running dj init.\n\n $ dj info\n Application:\n foo @ 2.7.9\n Requirements:\n Django == 1.10" | 44 | false | aleontiev/dj | info | 143,316 | |
LDU_FT/zlobspb/txtarantool/_unpack_body | LDU_FT | [
"<BEGIN>\n## `pack_int_base128`",
"Pack integer value using LEB128 encoding\n :param value: integer value to encode\n :type value: int",
" :return: encoded value\n :rtype: bytes\n<END>",
"<BEGIN>\n## `pack_str`",
"Pack string field\n <field> ::= <int32_varint><data>",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _unpack_body API.
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 _unpack_body API.
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... | Parse the response body.
After body unpacking its data available as python list of tuples
For each request type the response body has the same format:
<insert_response_body> ::= <count> | <count><fq_tuple>
<update_response_body> ::= <count> | <count><fq_tuple>
<delete_response_b... | "Parse the response body.\n After body unpacking its data available as python list of tuples\n\n For each request type the response body has the same format:\n <insert_response_body> ::= <count> | <count><fq_tuple>\n <update_response_body> ::= <count> | <count><fq_tuple>\n <delete_res... | 43 | false | zlobspb/txtarantool | _unpack_body | 143,317 | |
LDU_FT/catherinedevlin/ddl-generator/_prep_datum | LDU_FT | [
"<BEGIN>\n## `precision_and_scale`",
"From a float, decide what precision and scale are needed to represent it.",
" >>> precision_and_scale(54.2)\n (3, 1)\n >>> precision_and_scale(9)\n (1, 0)",
" Thanks to Mark Ransom,\n http://stackoverflow.com/questions/3018758/determine-precision-and-sca... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _prep_datum API.
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 _prep_datum API.
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... | Puts a value in proper format for a SQL string | "Puts a value in proper format for a SQL string" | 63 | false | catherinedevlin/ddl-generator | _prep_datum | 143,318 | |
LDU_FT/KeithSSmith/switcheo-python/neo_get_scripthash_from_address | LDU_FT | [
"<BEGIN>\n## `neo_get_scripthash_from_address`",
"Convert a Public Address String to a ScriptHash (Address) String.",
" :param address: The Public address to convert.\n :type address: str\n :return: String containing the converted ScriptHash.\n<END>",
"<BEGIN>\n## `num2hexstring`",
"Converts a numb... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the neo_get_scripthash_from_address API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the neo_get_scripthash_from_address API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its co... | Convert a Public Address String to a ScriptHash (Address) String.
:param address: The Public address to convert.
:type address: str
:return: String containing the converted ScriptHash. | "Convert a Public Address String to a ScriptHash (Address) String.\n\n :param address: The Public address to convert.\n :type address: str\n :return: String containing the converted ScriptHash." | 218 | false | KeithSSmith/switcheo-python | neo_get_scripthash_from_address | 143,319 | |
LDU_FT/libyal/dtfabric/_ReadElementSequenceDataTypeDefinition | LDU_FT | [
"<BEGIN>\n## `Main`",
"The main program function.",
" Returns:\n bool: True if successful or False if not.\n<END>",
"<BEGIN>\n## `CheckDirectory`",
"Validates definition files in a directory.",
" Args:\n path (str): path of the definition file.\n extension (Optional[str]): extension of th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ReadElementSequenceDataTypeDefinition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _ReadElementSequenceDataTypeDefinition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates... | Reads an element sequence data type definition.
Args:
definitions_registry (DataTypeDefinitionsRegistry): data type definitions
registry.
definition_values (dict[str, object]): definition values.
data_type_definition_class (str): data type definition class.
definition_name (str): ... | "Reads an element sequence data type definition.\n\n Args:\n definitions_registry (DataTypeDefinitionsRegistry): data type definitions\n registry.\n definition_values (dict[str, object]): definition values.\n data_type_definition_class (str): data type definition class.\n definition_name... | 373 | false | libyal/dtfabric | _ReadElementSequenceDataTypeDefinition | 143,320 | |
LDU_FT/botstory/botstory/consume_options | LDU_FT | [
"<BEGIN>\n## `desc`",
"Describe Class Dependency",
" :param reg: should we register this class as well\n :param t: custom type as well\n :return:\n<END>",
"<BEGIN>\n## `get_validator`",
"ask every matcher whether it can serve such filter data",
" :param filter_data:\n :return:\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the consume_options API.
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 consume_options API.
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... | Interpret sequential arguments related to known hittypes based on declared structures | "Interpret sequential arguments related to known hittypes based on declared structures" | 72 | false | botstory/botstory | consume_options | 143,321 | |
LDU_FT/OCA/openupgradelib/logged_query | LDU_FT | [
"<BEGIN>\n## `_adjust_merged_values_orm`",
"This method deals with the values on the records to be merged +\n the target record, performing operations that makes sense on the meaning\n of the model.",
" :param field_spec: Dictionary with field names as keys and forced operation\n to perform as val... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logged_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the logged_query API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Logs query and affected rows at level DEBUG.
:param query: a query string suitable to pass to cursor.execute()
:param args: a list, tuple or dictionary passed as substitution values
to cursor.execute().
:param skip_no_result: If True, then logging details are only shown
if there are affected re... | "Logs query and affected rows at level DEBUG.\n\n :param query: a query string suitable to pass to cursor.execute()\n :param args: a list, tuple or dictionary passed as substitution values\n to cursor.execute().\n :param skip_no_result: If True, then logging details are only shown\n if there are affe... | 190 | false | OCA/openupgradelib | logged_query | 143,322 | |
LDU_FT/ajyoon/blur/remove_node | LDU_FT | [
"<BEGIN>\n## `with_random_weights`",
"Initialize from a list of options with random weights.",
" The weights assigned to each object are uniformally random\n integers between ``1`` and ``len(options)``",
" Args:\n options (list): The list of options of any type this object\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_node API.
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 remove_node API.
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... | Remove a node from ``self.node_list`` and links pointing to it.
If ``node`` is not in the graph, do nothing.
Args:
node (Node): The node to be removed
Returns: None
Example:
>>> from blur.markov.node import Node
>>> node_1 = Node('One')
... | "Remove a node from ``self.node_list`` and links pointing to it.\n\n If ``node`` is not in the graph, do nothing.\n\n Args:\n node (Node): The node to be removed\n\n Returns: None\n\n Example:\n >>> from blur.markov.node import Node\n >>> node_1 = Node('One')... | 235 | false | ajyoon/blur | remove_node | 143,323 | |
LDU_FT/inspirehep/inspire-dojson/record2marcxml | LDU_FT | [
"<BEGIN>\n## `normalize_rank`",
"Normalize a rank in order to be schema-compliant.\n<END>",
"<BEGIN>\n## `get_recid_from_ref`",
"Retrieve recid from jsonref reference object.",
" If no recid can be parsed, returns None.\n<END>",
"<BEGIN>\n## `absolute_url`",
"Returns an absolute URL from a URL relati... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the record2marcxml API.
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 record2marcxml API.
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... | Convert a JSON record to a MARCXML string.
Deduces which set of rules to use by parsing the ``$schema`` key, as
it unequivocally determines which kind of record we have.
Args:
record(dict): a JSON record.
Returns:
str: a MARCXML string converted from the record. | "Convert a JSON record to a MARCXML string.\n\n Deduces which set of rules to use by parsing the ``$schema`` key, as\n it unequivocally determines which kind of record we have.\n\n Args:\n record(dict): a JSON record.\n\n Returns:\n str: a MARCXML string converted from the record." | 163 | false | inspirehep/inspire-dojson | record2marcxml | 143,324 | |
LDU_FT/theiviaxx/Frog/report | LDU_FT | [
"<BEGIN>\n## `export`",
"The export function needs to:\n - Move source image to asset folder\n - Rename to guid.ext\n - Save thumbnail, small, and image versions\n<END>",
"<BEGIN>\n## `export`",
"The export function needs to:\n - Move source image to asset folder\n - Rename ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the report API.
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 report API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Create a technical server error response. The last three arguments are
the values returned from sys.exc_info() and friends.
:param title: Title of error email
:type title: str
:param exec_info: exc_info from traceback | "Create a technical server error response. The last three arguments are\n the values returned from sys.exc_info() and friends.\n\n :param title: Title of error email\n :type title: str\n :param exec_info: exc_info from traceback" | 101 | false | theiviaxx/Frog | report | 143,325 | |
LDU_FT/facundobatista/yaswfp/_generic_definefont_parser | LDU_FT | [
"<BEGIN>\n## `_str`",
"Show nicely the generic object received.\n<END>",
"<BEGIN>\n## `_repr`",
"Show the received object as precise as possible.\n<END>",
"<BEGIN>\n## `parsefile`",
"Parse a SWF.",
" If you have a file object already, just use SWFParser directly.",
" read_twips: True - return v... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generic_definefont_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _generic_definefont_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | A generic parser for several DefineFontX. | "A generic parser for several DefineFontX." | 56 | false | facundobatista/yaswfp | _generic_definefont_parser | 143,326 | |
LDU_FT/SeanOC/sharpy/delete_all_customers | LDU_FT | [
"<BEGIN>\n## `build_url`",
"Constructs the url for a cheddar API resource\n<END>",
"<BEGIN>\n## `make_request`",
"Makes a request to the cheddar api using the authentication and\n configuration settings available.\n<END>",
"<BEGIN>\n## `get_customers`",
"Returns all customers. Sometimes they are to... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_all_customers 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 delete_all_customers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | This method does exactly what you think it does. Calling this method
deletes all customer data in your cheddar product and the configured
gateway. This action cannot be undone.
DO NOT RUN THIS UNLESS YOU REALLY, REALLY, REALLY MEAN TO! | "This method does exactly what you think it does. Calling this method\n deletes all customer data in your cheddar product and the configured\n gateway. This action cannot be undone.\n \n DO NOT RUN THIS UNLESS YOU REALLY, REALLY, REALLY MEAN TO!" | 20 | false | SeanOC/sharpy | delete_all_customers | 143,327 | |
LDU_FT/pycontribs/jira/get_jira | LDU_FT | [
"<BEGIN>\n## `translate_resource_args`",
"Decorator that converts Issue and Project resources to their keys when used as arguments.\n<END>",
"<BEGIN>\n## `_check_update_`",
"Check if the current version of the library is outdated.\n<END>",
"<BEGIN>\n## `_fetch_pages`",
"Fetch pages.",
" :param it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_jira API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_jira API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Return a JIRA object by loading the connection details from the `config.ini` file.
:param profile: The name of the section from config.ini file that stores server config url/username/password
:param url: URL of the Jira server
:param username: username to use for authentication
:param password: passwor... | "Return a JIRA object by loading the connection details from the `config.ini` file.\n\n :param profile: The name of the section from config.ini file that stores server config url/username/password\n :param url: URL of the Jira server\n :param username: username to use for authentication\n :param password: p... | 468 | false | pycontribs/jira | get_jira | 143,328 | |
LDU_FT/nagius/snmp_passpersist/add_cnt_64bit | LDU_FT | [
"<BEGIN>\n## `encode`",
"Encode the given string as an OID.",
"\t\t>>> import snmp_passpersist as snmp\n\t\t>>> snmp.PassPersist.encode(\"hello\")\n\t\t'5.104.101.108.108.111'\n\t\t>>>\n<END>",
"<BEGIN>\n## `cut_oid`",
"Remove the base OID from the given string.",
"\t\t>>> import snmp_passpersist as snmp\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_cnt_64bit API.
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_cnt_64bit API.
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... | Short helper to add a 64 bit counter value to the MIB subtree. | "Short helper to add a 64 bit counter value to the MIB subtree." | 38 | false | nagius/snmp_passpersist | add_cnt_64bit | 143,329 | |
LDU_FT/eliorc/node2vec/parallel_generate_walks | LDU_FT | [
"<BEGIN>\n## `parallel_generate_walks`",
"Generates the random walks which will be used as the skip-gram input.\n :return: List of walks. Each walk is a list of nodes.\n<END>",
"<BEGIN>\n## `as_keyed_vectors`",
"Generated a KeyedVectors instance with all\n :return:\n<END>",
"<BEGIN>\n## `_precompu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parallel_generate_walks 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 parallel_generate_walks API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Generates the random walks which will be used as the skip-gram input.
:return: List of walks. Each walk is a list of nodes. | "Generates the random walks which will be used as the skip-gram input.\n :return: List of walks. Each walk is a list of nodes." | 10 | false | eliorc/node2vec | parallel_generate_walks | 143,330 | |
LDU_FT/dh1tw/pyhamtools/copy_data_in_redis | LDU_FT | [
"<BEGIN>\n## `get_homecall`",
"Strips off country prefixes (HC2/DH1TW) and activity suffixes (DH1TW/P).",
" Args:\n callsign (str): Amateur Radio callsign",
" Returns:\n str: callsign without country/activity pre/suffixes",
" Raises:\n ValueError: No cal... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the copy_data_in_redis 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 copy_data_in_redis 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... | Copy the complete lookup data into redis. Old data will be overwritten.
Args:
redis_prefix (str): Prefix to distinguish the data in redis for the different looktypes
redis_instance (str): an Instance of Redis
Returns:
bool: returns True when the data has been copied... | "Copy the complete lookup data into redis. Old data will be overwritten.\n\n Args:\n redis_prefix (str): Prefix to distinguish the data in redis for the different looktypes\n redis_instance (str): an Instance of Redis\n\n Returns:\n bool: returns True when the data has bee... | 238 | false | dh1tw/pyhamtools | copy_data_in_redis | 143,331 | |
LDU_FT/marcinmiklitz/pywindow/calculate_average_diameter | LDU_FT | [
"<BEGIN>\n## `unique`",
"Return a list of unique items (similar to set functionality).",
" Parameters\n ----------\n input_list : list\n A list containg some items that can occur more than once.",
" Returns\n -------\n list\n A list with only unique occurances of an item.\n<END... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_average_diameter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_average_diameter API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Return the average diamension of a molecule.
Returns
-------
:class:`float`
The average dimension of the molecule. | "Return the average diamension of a molecule.\n\n Returns\n -------\n :class:`float`\n The average dimension of the molecule." | 303 | false | marcinmiklitz/pywindow | calculate_average_diameter | 143,332 | |
LDU_FT/quantmind/ccy/countries | LDU_FT | [
"<BEGIN>\n## `countries`",
"get country dictionar from pytz and add some extra.\n<END>",
"<BEGIN>\n## `countryccys`",
"Create a dictionary with keys given by countries ISO codes and values\n given by their currencies\n<END>",
"<BEGIN>\n## `set_country_map`",
"Set a mapping between a country code to ano... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the countries API.
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 countries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | get country dictionar from pytz and add some extra. | "get country dictionar from pytz and add some extra." | 24 | false | quantmind/ccy | countries | 143,333 | |
LDU_FT/quiltdata/quilt/_check_team_login | LDU_FT | [
"<BEGIN>\n## `create_s3_session`",
"Creates a session with automatic retries on 5xx errors.\n<END>",
"<BEGIN>\n## `load_module`",
"Returns an object that lazily looks up tables and groups.\n<END>",
"<BEGIN>\n## `find_module`",
"Looks up the table based on the module path.\n<END>",
"<BEGIN>\n## `_path_ha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_team_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... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _check_team_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... | Disallow simultaneous public cloud and team logins. | "Disallow simultaneous public cloud and team logins." | 202 | false | quiltdata/quilt | _check_team_login | 143,334 | |
LDU_FT/ulule/django-linguist/is_linguist_lookup | LDU_FT | [
"<BEGIN>\n## `_filter_or_exclude`",
"Overrides default behavior to handle linguist fields.\n<END>",
"<BEGIN>\n## `_get_concrete_fields_with_model`",
"For compatibility with Django<=1.10. Replace old\n `_meta.get_concrete_fields_with_model`.\n https://docs.djangoproject.com/en/1.10/ref/models/met... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_linguist_lookup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_linguist_lookup API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Returns true if the given lookup is a valid linguist lookup. | "Returns true if the given lookup is a valid linguist lookup." | 62 | false | ulule/django-linguist | is_linguist_lookup | 143,335 | |
LDU_FT/amzn/ion-python/set_empty_symbol | 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 set_empty_symbol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_empty_symbol API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Resets the context, retaining the fields that make it a child of its container (``container``, ``queue``,
``depth``, ``whence``), and sets an empty ``pending_symbol``.
This is useful when an empty quoted symbol immediately follows a long string. | "Resets the context, retaining the fields that make it a child of its container (``container``, ``queue``,\n ``depth``, ``whence``), and sets an empty ``pending_symbol``.\n\n This is useful when an empty quoted symbol immediately follows a long string." | 384 | false | amzn/ion-python | set_empty_symbol | 143,336 | |
LDU_FT/nocarryr/python-dispatch/trigger | LDU_FT | [
"<BEGIN>\n## `register_event`",
"Registers new events after instance creation",
" Args:\n *names (str): Name or names of the events to register\n<END>",
"<BEGIN>\n## `bind`",
"Subscribes to events or to :class:`~pydispatch.properties.Property` updates",
" Keyword arguments are use... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the trigger API.
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 trigger API.
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... | Called on event emission and notifies the :meth:`wait` method
Called by :class:`AioEventWaiters` when the
:class:`~pydispatch.dispatch.Event` instance is dispatched.
Positional and keyword arguments are stored as instance attributes for
use in the :meth:`wait` method and :attr:`aio_eve... | "Called on event emission and notifies the :meth:`wait` method\n\n Called by :class:`AioEventWaiters` when the\n :class:`~pydispatch.dispatch.Event` instance is dispatched.\n\n Positional and keyword arguments are stored as instance attributes for\n use in the :meth:`wait` method and :attr:`... | 89 | false | nocarryr/python-dispatch | trigger | 143,337 | |
LDU_FT/bioidiap/gridtk/queue | LDU_FT | [
"<BEGIN>\n## `submit`",
"Submits a job that will be executed on the local machine during a call to \"run\".\n All kwargs will simply be ignored.\n<END>",
"<BEGIN>\n## `stop_jobs`",
"Resets the status of the job to 'submitted' when they are labeled as 'executing'.\n<END>",
"<BEGIN>\n## `stop_job`",
"Res... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the queue API.
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 queue API.
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... | Sets the status of this job to 'queued' or 'waiting'. | "Sets the status of this job to 'queued' or 'waiting'." | 163 | false | bioidiap/gridtk | queue | 143,338 | |
LDU_FT/SFDO-Tooling/CumulusCI/_init_org | LDU_FT | [
"<BEGIN>\n## `_download_file`",
"Download the bulk API result file for a single batch\n<END>",
"<BEGIN>\n## `_create_job`",
"Initiate a bulk insert and upload batches to run in parallel.\n<END>",
"<BEGIN>\n## `_query_db`",
"Build a query to retrieve data from the local db.",
" Includes columns fr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _init_org API.
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 _init_org API.
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... | Test and refresh credentials to the org specified. | "Test and refresh credentials to the org specified." | 165 | false | SFDO-Tooling/CumulusCI | _init_org | 143,339 | |
LDU_FT/Cognexa/cxflow/after_epoch | LDU_FT | [
"<BEGIN>\n## `_write_header`",
"Write CSV header row with column names.",
" Column names are inferred from the ``epoch_data`` and ``self.variables`` (if specified).\n Variables and streams expected later on are stored in ``self._variables`` and ``self._streams`` respectively.",
" :param e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the after_epoch API.
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 after_epoch API.
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... | Call :py:meth:`_on_plateau_action` if the ``long_term``
variable mean is lower/greater than the ``short_term`` mean. | "Call :py:meth:`_on_plateau_action` if the ``long_term``\n variable mean is lower/greater than the ``short_term`` mean." | 325 | false | Cognexa/cxflow | after_epoch | 143,340 | |
LDU_FT/dronekit/dronekit-python/on_attribute | LDU_FT | [
"<BEGIN>\n## `condition_yaw`",
"Send MAV_CMD_CONDITION_YAW message to point vehicle at a specified heading (in degrees).",
" This method sets an absolute heading by default, but you can set the `relative` parameter\n to `True` to set yaw relative to the current yaw heading.",
" By default the yaw of ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_attribute API.
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 on_attribute API.
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... | Decorator for parameter listeners.
.. note::
There is no way to remove a listener added with this decorator. Use
:py:func:`add_attribute_listener` if you need to be able to remove
the :py:func:`listener <remove_attribute_listener>`.
The callback function is invoked... | "Decorator for parameter listeners.\n\n .. note::\n\n There is no way to remove a listener added with this decorator. Use\n :py:func:`add_attribute_listener` if you need to be able to remove\n the :py:func:`listener <remove_attribute_listener>`.\n\n The callback function i... | 290 | false | dronekit/dronekit-python | on_attribute | 143,341 | |
LDU_FT/belambert/edit-distance/edit_distance | LDU_FT | [
"<BEGIN>\n## `lowest_cost_action`",
"Given the following values, choose the action (insertion, deletion,\n or substitution), that results in the lowest cost (ties are broken using\n the 'match' score). This is used within the dynamic programming algorithm.",
" * ic - insertion cost",
" * dc - del... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the edit_distance API.
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 edit_distance API.
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... | Computes the edit distance between the two given sequences.
This uses the relatively fast method that only constructs
two columns of the 2d array for edits. This function actually uses four columns
because we track the number of matches too. | "Computes the edit distance between the two given sequences.\n This uses the relatively fast method that only constructs\n two columns of the 2d array for edits. This function actually uses four columns\n because we track the number of matches too." | 34 | false | belambert/edit-distance | edit_distance | 143,342 | |
LDU_FT/wiredrive/wtframework/raw_search | LDU_FT | [
"<BEGIN>\n## `print_debug`",
"Print if and only if the debug flag is set true in the config.yaml file.",
" Args:\n args : var args of print arguments.\n<END>",
"<BEGIN>\n## `print_time`",
"Print the current elapsed time.",
" Kwargs:\n message (str) : Message to prefix the time ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the raw_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 extrac... | Find the a set of emails matching each regular expression passed in against the (RFC822) content.
Args:
*args: list of regular expressions.
Kwargs:
limit (int) - Limit to how many of the most resent emails to search through.
date (datetime) - If specified, it will f... | "Find the a set of emails matching each regular expression passed in against the (RFC822) content.\n\n Args:\n *args: list of regular expressions.\n\n Kwargs:\n limit (int) - Limit to how many of the most resent emails to search through.\n date (datetime) - If specified, i... | 236 | false | wiredrive/wtframework | raw_search | 143,343 | |
LDU_FT/helium/helium-python/singleton | LDU_FT | [
"<BEGIN>\n## `error_for`",
"Return the appropriate initialized exception class for a response.\n<END>",
"<BEGIN>\n## `device_configuration`",
"Get a specific device configuration.",
" A device can have at most one loaded and one pending device\n configuration. This returns that device_configur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the singleton API.
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 singleton API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Get the a singleton API resource.
Some Helium API resources are singletons. The authorized user
and organization for a given API key are examples of this.
.. code-block:: python
authorized_user = User.singleton(session)
will retrieve the authorized user for the given
... | "Get the a singleton API resource.\n\n Some Helium API resources are singletons. The authorized user\n and organization for a given API key are examples of this.\n\n .. code-block:: python\n\n authorized_user = User.singleton(session)\n\n will retrieve the authorized user for the ... | 223 | false | helium/helium-python | singleton | 143,344 | |
LDU_FT/bitshares/uptick/spread | LDU_FT | [
"<BEGIN>\n## `orderbook`",
"Show the orderbook of a particular market\n<END>",
"<BEGIN>\n## `buy`",
"Buy a specific asset at a certain rate against a base asset\n<END>",
"<BEGIN>\n## `cancelall`",
"Cancel all orders of an account in a market\n<END>",
"<BEGIN>\n## `spread`",
"Place multiple orders",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spread API.
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 spread API.
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 ... | Place multiple orders
\b
:param str market: Market pair quote:base (e.g. USD:BTS)
:param str side: ``buy`` or ``sell`` quote
:param float min: minimum price to place order at
:param float max: maximum price to place order at
:param int num: Number of orders to place
... | "Place multiple orders\n\n \\b\n :param str market: Market pair quote:base (e.g. USD:BTS)\n :param str side: ``buy`` or ``sell`` quote\n :param float min: minimum price to place order at\n :param float max: maximum price to place order at\n :param int num: Number of orders to p... | 50 | false | bitshares/uptick | spread | 143,345 | |
LDU_FT/bububa/pyTOP/send | LDU_FT | [
"<BEGIN>\n## `ordersku_update`",
"taobao.trade.ordersku.update 更新交易订单的销售属性",
" 需要商家或以上权限才可调用此接口,可重复调用本接口更新交易备注,本接口同时具有添加备注的功能\n<END>",
"<BEGIN>\n## `get`",
"taobao.topats.result.get 获取异步任务结果",
" 使用指南:http://open.taobao.com/doc/detail.htm?id=30 ",
" - 1.此接口用于获取异步任务处理的结果,传入的task_id必需属... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | taobao.topats.delivery.send 异步批量物流发货api
使用指南:http://open.taobao.com/dev/index.php/ATS%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97
- 1.提供异步批量物流发货功能
- 2.一次最多发货40个订单
- 3.提交任务会进行初步任务校验,如果成功会返回任务号和创建时间,如果失败就报错
- 4.可以接收淘宝发出的任务完成消息,也可以过一段时间来取结果。获取结果接口为taobao.topats.result.... | "taobao.topats.delivery.send 异步批量物流发货api\n \n 使用指南:http://open.taobao.com/dev/index.php/ATS%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97 \n \n - 1.提供异步批量物流发货功能 \n - 2.一次最多发货40个订单 \n - 3.提交任务会进行初步任务校验,如果成功会返回任务号和创建时间,如果失败就报错 \n - 4.可以接收淘宝发出的任务完成消息,也可以过一段时间来取结果。获取结果接口为taobao.topats... | 619 | false | bububa/pyTOP | send | 143,346 | |
LDU_FT/barryp/py-amqplib/_redirect | LDU_FT | [
"<BEGIN>\n## `_textlist`",
"Returns a list of text strings contained within an element and its sub-elements.",
" Helpful for extracting text from prose-oriented XML (such as XHTML or DocBook).\n<END>",
"<BEGIN>\n## `_reindent`",
"Remove the existing indentation from each line of a chunk of\n text, s, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _redirect API.
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 _redirect API.
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... | asks the client to use a different server
This method redirects the client to another server, based on
the requested virtual host and/or capabilities.
RULE:
When getting the Connection.Redirect method, the client
SHOULD reconnect to the host specified, and if that host... | "asks the client to use a different server\n\n This method redirects the client to another server, based on\n the requested virtual host and/or capabilities.\n\n RULE:\n\n When getting the Connection.Redirect method, the client\n SHOULD reconnect to the host specified, and if ... | 449 | false | barryp/py-amqplib | _redirect | 143,347 | |
LDU_FT/mcash/merchant-api-python-sdk/_depaginate_all | LDU_FT | [
"<BEGIN>\n## `do_req`",
"Used internally to send a request to the API, left public\n so it can be used to talk to the API more directly.\n<END>",
"<BEGIN>\n## `_depaginate_all`",
"GETs the url provided and traverses the 'next' url that's\n returned while storing the data in a list. Returns a sin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _depaginate_all API.
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 _depaginate_all API.
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... | GETs the url provided and traverses the 'next' url that's
returned while storing the data in a list. Returns a single list of all
items. | "GETs the url provided and traverses the 'next' url that's\n returned while storing the data in a list. Returns a single list of all\n items." | 76 | false | mcash/merchant-api-python-sdk | _depaginate_all | 143,348 | |
LDU_FT/skyfielders/python-skyfield/to | LDU_FT | [
"<BEGIN>\n## `add_deflection`",
"Update `position` for how solar system masses will deflect its light.",
" Given the ICRS `position` [x,y,z] of an object (au) that is being\n viewed from the `observer` also expressed as [x,y,z], and given an\n ephemeris that can be used to determine solar system body p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to API.
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 docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to API.
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 docu... | Convert this angle to the given AstroPy unit. | "Convert this angle to the given AstroPy unit." | 392 | false | skyfielders/python-skyfield | to | 143,349 | |
LDU_FT/dbuscher/pois/PhaseScreens | LDU_FT | [
"<BEGIN>\n## `ScreenGenerator`",
"Generate an infinite series of rectangular phase screens\n Uses an FFT screen generator to make a large screen and then\n returns non-overlapping subsections of it\n<END>",
"<BEGIN>\n## `PhaseScreens`",
"Return a generator for atmospheric wavefront perturbations across\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the PhaseScreens API.
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 PhaseScreens API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Return a generator for atmospheric wavefront perturbations across
a set of *numTelescope* telescopes, each of size *pupilSize* and
with Fried parameter *r0*. The perturbations are modelled as being
uncorrelated between telescopes. The number of realisations is given
by *numRealisation*, but if *numReali... | "Return a generator for atmospheric wavefront perturbations across\n a set of *numTelescope* telescopes, each of size *pupilSize* and\n with Fried parameter *r0*. The perturbations are modelled as being\n uncorrelated between telescopes. The number of realisations is given\n by *numRealisation*, but if *num... | 20 | false | dbuscher/pois | PhaseScreens | 143,350 | |
LDU_FT/calmjs/nunja/render | LDU_FT | [
"<BEGIN>\n## `_init`",
"Arguments:",
" registry_name\n The name of this registry.\n<END>",
"<BEGIN>\n## `_generate_and_store_mold_id_map`",
"Not a pure generator expression as this has the side effect of\n storing the resulting id and map it into a local dict. Produces\n a l... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
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 render API.
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 ... | Render a mold `mold_id`. No wrappers are applied as only the
default template defined for the mold is rendered. | "Render a mold `mold_id`. No wrappers are applied as only the\n default template defined for the mold is rendered." | 21 | false | calmjs/nunja | render | 143,351 | |
LDU_FT/KieranWynn/pyquaternion/slerp | LDU_FT | [
"<BEGIN>\n## `_validate_number_sequence`",
"Validate a sequence to be of a certain length and ensure it's a numpy array of floats.",
" Raises:\n ValueError: Invalid length or non-numeric value\n<END>",
"<BEGIN>\n## `_from_matrix`",
"Initialise from matrix representation",
" Create... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the slerp API.
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 slerp API.
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... | Spherical Linear Interpolation between quaternions.
Implemented as described in https://en.wikipedia.org/wiki/Slerp
Find a valid quaternion rotation at a specified distance along the
minor arc of a great circle passing through any two existing quaternion
endpoints lying on the unit radi... | "Spherical Linear Interpolation between quaternions.\n Implemented as described in https://en.wikipedia.org/wiki/Slerp\n\n Find a valid quaternion rotation at a specified distance along the\n minor arc of a great circle passing through any two existing quaternion\n endpoints lying on the uni... | 129 | false | KieranWynn/pyquaternion | slerp | 143,352 | |
LDU_FT/5monkeys/djedi-cms/_decode_content | LDU_FT | [
"<BEGIN>\n## `_encode_content`",
"Join node uri and content as string and convert to bytes to ensure no pickling in memcached.\n<END>",
"<BEGIN>\n## `_decode_content`",
"Split node string to uri and content and convert back to unicode.\n<END>",
"<BEGIN>\n## `render_node`",
"Render node as html for templat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _decode_content API.
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 _decode_content API.
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... | Split node string to uri and content and convert back to unicode. | "Split node string to uri and content and convert back to unicode." | 37 | false | 5monkeys/djedi-cms | _decode_content | 143,353 | |
LDU_FT/JelleAalbers/multihist/all_axis_bin_centers | LDU_FT | [
"<BEGIN>\n## `from_histogram`",
"Make a Hist1D from a numpy bin_edges + histogram pair\n :param histogram: Initial histogram\n :param bin_edges: Bin edges of histogram. Must be one longer than length of histogram\n :param axis_names: Ignored. Sorry :-)\n :return:\n<END>",
"<BEGIN>\n#... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_axis_bin_centers API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the all_axis_bin_centers 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 ndarray of same shape as histogram containing bin center value along axis at each point | "Return ndarray of same shape as histogram containing bin center value along axis at each point" | 57 | false | JelleAalbers/multihist | all_axis_bin_centers | 143,354 | |
LDU_FT/Phylliade/ikpy/cartesian_to_homogeneous | LDU_FT | [
"<BEGIN>\n## `plot_basis`",
"Plot le repère adapté à la taille du robot\n<END>",
"<BEGIN>\n## `plot_target_trajectory`",
"Ajoute la trajectoire (liste des targets) au plot\n<END>",
"<BEGIN>\n## `symbolic_Rz_matrix`",
"Matrice symbolique de rotation autour de l'axe Z\n<END>",
"<BEGIN>\n## `rotation_matri... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cartesian_to_homogeneous API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cartesian_to_homogeneous API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Converts a cartesian matrix to an homogenous matrix | "Converts a cartesian matrix to an homogenous matrix" | 88 | false | Phylliade/ikpy | cartesian_to_homogeneous | 143,355 | |
LDU_FT/moderngl/moderngl/get | LDU_FT | [
"<BEGIN>\n## `render`",
"The render primitive (mode) must be the same as\n the input primitive of the GeometryShader.",
" Args:\n mode (int): By default :py:data:`TRIANGLES` will be used.\n vertices (int): The number of vertices to transform.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Returns a Uniform, UniformBlock, Subroutine, Attribute or Varying.
Args:
default: This is the value to be returned in case key does not exist.
Returns:
:py:class:`Uniform`, :py:class:`UniformBlock`, :py:class:`Subroutine`,
:py:class:`Attribute` o... | "Returns a Uniform, UniformBlock, Subroutine, Attribute or Varying.\n\n Args:\n default: This is the value to be returned in case key does not exist.\n\n Returns:\n :py:class:`Uniform`, :py:class:`UniformBlock`, :py:class:`Subroutine`,\n :py:class:`Attr... | 263 | false | moderngl/moderngl | get | 143,356 | |
LDU_FT/dschien/PyExcelModelingHelper/generate_values | LDU_FT | [
"<BEGIN>\n## `growth_coefficients`",
"Build a matrix of growth factors according to the CAGR formula y'=y0 (1+a)^(t'-t0).",
" a growth rate alpha\n t0 start date\n t' end date\n y' output\n y0 start value\n<END>",
"<BEGIN>\n## `get_mean`",
"Get the mean value for a distribution.\n If ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_values API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Generate a sample of values by sampling from a distribution. The size of the sample can be overriden with the 'size' kwarg.
If `self.sample_mean_value == True` the sample will contain "size" times the mean value.
:param args:
:param kwargs:
:return: sample as vector of given size | "Generate a sample of values by sampling from a distribution. The size of the sample can be overriden with the 'size' kwarg.\n\n If `self.sample_mean_value == True` the sample will contain \"size\" times the mean value.\n\n :param args:\n :param kwargs:\n :return: sample as vector of given s... | 39 | false | dschien/PyExcelModelingHelper | generate_values | 143,357 | |
LDU_FT/PSU-OIT-ARC/elasticmodels/get_from_instance | LDU_FT | [
"<BEGIN>\n## `ListField`",
"This wraps a field so that when get_from_instance is called, the field's\n values are iterated over\n<END>",
"<BEGIN>\n## `get_from_instance`",
"Given an object to index with ES, return the value that should be put\n into ES for this field\n<END>",
"<BEGIN>\n## `cleaned... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_from_instance API.
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_from_instance API.
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 object to index with ES, return the value that should be put
into ES for this field | "Given an object to index with ES, return the value that should be put\n into ES for this field" | 29 | false | PSU-OIT-ARC/elasticmodels | get_from_instance | 143,358 | |
LDU_FT/astropy/pyregion/read_region | LDU_FT | [
"<BEGIN>\n## `_generate_arg_types`",
"Find coordinate types based on shape name and coordlist length",
" This function returns a list of coordinate types based on which\n coordinates can be repeated for a given type of shap",
" Parameters\n ----------\n coordlist_length : int\n The numbe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_region API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read_region API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Read region.
Parameters
----------
s : str
Region string
Returns
-------
shapes : `ShapeList`
List of `~pyregion.Shape` | "Read region.\n\n Parameters\n ----------\n s : str\n Region string\n\n Returns\n -------\n shapes : `ShapeList`\n List of `~pyregion.Shape`" | 75 | false | astropy/pyregion | read_region | 143,359 | |
LDU_FT/zencoder/zencoder-py/minutes | LDU_FT | [
"<BEGIN>\n## `delete`",
"Executes an HTTP DELETE request for the given URL.",
" ``params`` should be a dictionary\n<END>",
"<BEGIN>\n## `get`",
"Executes an HTTP GET request for the given URL.",
" ``data`` should be a dictionary of url parameters\n<END>",
"<BEGIN>\n## `post`",
"E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the minutes API.
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 minutes API.
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 a detailed Report of encoded minutes and billable minutes for a
date range.
**Warning**: ``start_date`` and ``end_date`` must be ``datetime.date`` objects.
Example::
import datetime
start = datetime.date(2012, 12, 31)
end = datetime.today()
... | "Gets a detailed Report of encoded minutes and billable minutes for a\n date range.\n\n **Warning**: ``start_date`` and ``end_date`` must be ``datetime.date`` objects.\n\n Example::\n import datetime\n start = datetime.date(2012, 12, 31)\n end = datetime.today()\n ... | 33 | false | zencoder/zencoder-py | minutes | 143,360 | |
LDU_FT/jorgenschaefer/elpy/options | LDU_FT | [
"<BEGIN>\n## `get_pydoc_completions`",
"Get possible completions for modulename for pydoc.",
" Returns a list of possible values to be passed to pydoc.\n<END>",
"<BEGIN>\n## `get_modules`",
"Return a list of modules and packages under modulename.",
" If modulename is not given, return a list of all ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
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 options API.
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... | Decorator to set some options on a method. | "Decorator to set some options on a method." | 97 | false | jorgenschaefer/elpy | options | 143,361 | |
LDU_FT/ngmarchant/oasis/reset | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the posterior and estimates after a label is sampled",
" Parameters\n ----------\n ell : int\n sampled label: 0 or 1",
" k : int\n index of stratum where label was sampled\n<END>",
"<BEGIN>\n## `_sample_item`",
"Sample an it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reset API.
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 reset API.
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... | Resets the sampler to its initial state
Note
----
This will destroy the label cache and history of estimates. | "Resets the sampler to its initial state\n\n Note\n ----\n This will destroy the label cache and history of estimates." | 115 | false | ngmarchant/oasis | reset | 143,362 | |
LDU_FT/pgxcentre/geneparse/_get_variant_silent | LDU_FT | [
"<BEGIN>\n## `get_variant_genotypes`",
"Get the genotypes from a well formed variant instance.",
" Args:\n marker (Variant): A Variant instance.",
" Returns:\n A list of Genotypes instance containing a pointer to the variant as\n well as a vector of encoded genot... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_variant_silent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_variant_silent API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Gets a variant from the parser while disabling logging. | "Gets a variant from the parser while disabling logging." | 120 | false | pgxcentre/geneparse | _get_variant_silent | 143,363 | |
LDU_FT/philgyford/django-spectator/most_seen_works_card | LDU_FT | [
"<BEGIN>\n## `generate_slug`",
"A copy of spectator.core.models.SluggedModelMixin._generate_slug()\n<END>",
"<BEGIN>\n## `set_slug`",
"Create a slug for each Work already in the DB.\n<END>",
"<BEGIN>\n## `get_kinds_data`",
"Returns a dict of all the data about the kinds, keyed to the kind\n value. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the most_seen_works_card 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 most_seen_works_card API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Displays a card showing the Works that are associated with the most Events. | "Displays a card showing the Works that are associated with the most Events." | 169 | false | philgyford/django-spectator | most_seen_works_card | 143,364 | |
LDU_FT/yougov/pmxbot/version | LDU_FT | [
"<BEGIN>\n## `attach`",
"Given a function and a namespace of possible parameters,\n\tbind any params matching the signature of the function\n\tto that function.\n<END>",
"<BEGIN>\n## `init_config`",
"Install the config dict as pmxbot.config, setting overrides,\n\tand return the result.\n<END>",
"<BEGIN>\n##... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the version API.
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 version API.
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... | Get the version of pmxbot or one of its plugins | "Get the version of pmxbot or one of its plugins" | 128 | false | yougov/pmxbot | version | 143,365 | |
LDU_FT/graphql-python/graphene-django/perform_import | LDU_FT | [
"<BEGIN>\n## `convert_serializer_field`",
"Converts a django rest frameworks field to a graphql field\n and marks the field as required if we are creating an input type\n and the field itself is required\n<END>",
"<BEGIN>\n## `perform_import`",
"If the given setting is a string import notation,\n the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the perform_import API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the perform_import API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | If the given setting is a string import notation,
then perform the necessary import or imports. | "If the given setting is a string import notation,\n then perform the necessary import or imports." | 10 | false | graphql-python/graphene-django | perform_import | 143,366 | |
LDU_FT/blockstack/blockstack-core/get_DID_subdomain | LDU_FT | [
"<BEGIN>\n## `anyword_substring_search_inner`",
"return True if ANY target_word matches a query_word\n<END>",
"<BEGIN>\n## `search_people_by_bio`",
"queries lucene index to find a nearest match, output is profile username\n<END>",
"<BEGIN>\n## `order_search_results`",
"order of results should be a) query ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_DID_subdomain API.
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_DID_subdomain API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Static method for resolving a DID to a subdomain
Return the subdomain record on success
Return None on error | "Static method for resolving a DID to a subdomain\n Return the subdomain record on success\n Return None on error" | 1,580 | true | blockstack/blockstack-core | get_DID_subdomain | 143,367 | |
LDU_FT/libfuse/python-fuse/feature_needs | LDU_FT | [
"<BEGIN>\n## `feature_needs`",
"Get info about the FUSE API version needed for the support of some features.",
" This function takes a variable number of feature patterns.",
" A feature pattern is either:",
" - an integer (directly referring to a FUSE API version number)\n - a built-in feature... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the feature_needs API.
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 feature_needs API.
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 info about the FUSE API version needed for the support of some features.
This function takes a variable number of feature patterns.
A feature pattern is either:
- an integer (directly referring to a FUSE API version number)
- a built-in feature specifier string (meaning defined by dictionary)
... | "Get info about the FUSE API version needed for the support of some features.\n\n This function takes a variable number of feature patterns.\n\n A feature pattern is either:\n\n - an integer (directly referring to a FUSE API version number)\n - a built-in feature specifier string (meaning defined by dicti... | 27 | false | libfuse/python-fuse | feature_needs | 143,368 | |
LDU_FT/charettes/django-mutant/base_definition_post_delete | LDU_FT | [
"<BEGIN>\n## `nonraw_instance`",
"A signal receiver decorator that fetch the complete instance from db when\n it's passed as raw\n<END>",
"<BEGIN>\n## `base_definition_pre_delete`",
"This is used to pass data required for deletion to the post_delete\n signal that is no more available thereafter.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the base_definition_post_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the base_definition_post_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Make sure to delete fields inherited from an abstract model base. | "Make sure to delete fields inherited from an abstract model base." | 22 | false | charettes/django-mutant | base_definition_post_delete | 143,369 | |
LDU_FT/twitterdev/search-tweets-python/make_session | LDU_FT | [
"<BEGIN>\n## `parse_version`",
"Parses the program's version from a python variable declaration.\n<END>",
"<BEGIN>\n## `make_session`",
"Creates a Requests Session for use. Accepts a bearer token\n for premiums users and will override username and password information if\n present.",
" Args:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_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 make_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... | Creates a Requests Session for use. Accepts a bearer token
for premiums users and will override username and password information if
present.
Args:
username (str): username for the session
password (str): password for the user
bearer_token (str): token for a premium API user. | "Creates a Requests Session for use. Accepts a bearer token\n for premiums users and will override username and password information if\n present.\n\n Args:\n username (str): username for the session\n password (str): password for the user\n bearer_token (str): token for a premium API user... | 88 | false | twitterdev/search-tweets-python | make_session | 143,370 | |
LDU_FT/20c/munge/parse_url | LDU_FT | [
"<BEGIN>\n## `find_datafile`",
"find all matching data files in search_path\n search_path: path of directories to load from\n codecs: allow to override from list of installed\n returns array of tuples (codec_object, filename)\n<END>",
"<BEGIN>\n## `load_datafile`",
"find datafile and load them from c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | parse a munge url
type:URL
URL.type
examples:
file.yaml
yaml:file.txt
http://example.com/file.yaml
yaml:http://example.com/file.txt
mysql://user:password@localhost/database/table
django:///home/user/project/settings_dir.settings/app_name/model | "parse a munge url\n\n type:URL\n URL.type\n\n examples:\n file.yaml\n yaml:file.txt\n http://example.com/file.yaml\n yaml:http://example.com/file.txt\n\n mysql://user:password@localhost/database/table\n django:///home/user/project/settings_dir.settings/app_name/model" | 25 | false | 20c/munge | parse_url | 143,371 | |
LDU_FT/MacHu-GWU/dataIO-project/load | LDU_FT | [
"<BEGIN>\n## `is_json_file`",
"Parse file extension.",
" - *.json: uncompressed, utf-8 encode json file\n - *.gz: compressed, utf-8 encode json file\n<END>",
"<BEGIN>\n## `load`",
"Load Json from file. If file are not exists, returns ``default``.",
" :param abspath: file path. use absolute path a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Load Json from file. If file are not exists, returns ``default``.
:param abspath: file path. use absolute path as much as you can.
extension has to be ``.json`` or ``.gz`` (for compressed Json).
:type abspath: string
:param default: default ``dict()``, if ``abspath`` not exists, return the
... | "Load Json from file. If file are not exists, returns ``default``.\n\n :param abspath: file path. use absolute path as much as you can. \n extension has to be ``.json`` or ``.gz`` (for compressed Json). \n :type abspath: string\n\n :param default: default ``dict()``, if ``abspath`` not exists, return the\... | 115 | false | MacHu-GWU/dataIO-project | load | 143,372 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.