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/SetBased/py-etlt/_log_statistics | LDU_FT | [
"<BEGIN>\n## `_split_scheme`",
"Splits the scheme and actual expression",
" :param str expression: The expression.",
" :rtype: str\n<END>",
"<BEGIN>\n## `register_scheme`",
"Registers a scheme.",
" :param str scheme: The scheme.\n :param callable constructor: The SimpleCondit... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _log_statistics API.
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 _log_statistics API.
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... | Log statistics about the number of rows and number of rows per second. | "Log statistics about the number of rows and number of rows per second." | 155 | false | SetBased/py-etlt | _log_statistics | 40,473 | |
LDU_FT/svenkreiss/databench/set_state | LDU_FT | [
"<BEGIN>\n## `color`",
"triangles.",
" Colors:\n - http://paletton.com/#uid=70l150klllletuehUpNoMgTsdcs shade 2\n<END>",
"<BEGIN>\n## `on`",
"Decorator for action handlers.",
" The action name is inferred from the function name.",
" This also decorates the method with `tornado.gen.coroutine`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_state API.
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... | Update the datastore.
:param func|dict updater: (state) => state_change or dict state_change
:rtype: Iterable[tornado.concurrent.Future] | "Update the datastore.\n\n :param func|dict updater: (state) => state_change or dict state_change\n :rtype: Iterable[tornado.concurrent.Future]" | 86 | false | svenkreiss/databench | set_state | 40,474 | |
LDU_FT/trendels/rhino/dual_use_decorator | LDU_FT | [
"<BEGIN>\n## `parse_etag_header`",
"Parse a header containing one or more ETags or a wildcard ('*').",
" Returns the string '*' or a list of ETags as (weak, etag) tuples.\n `weak` is the prefix designating a weak ETag, or the empty string.\n `etag` is the ETag (including quotes) with the weak prefix st... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dual_use_decorator 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 dual_use_decorator 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... | Turn a function into a decorator that can be called with or without
arguments. | "Turn a function into a decorator that can be called with or without\n arguments." | 158 | false | trendels/rhino | dual_use_decorator | 40,475 | |
LDU_FT/agoragames/haigha/add_synchronous_cb | LDU_FT | [
"<BEGIN>\n## `commit`",
"Commit the current transaction. Caller can specify a callback to use\n when the transaction is committed.\n<END>",
"<BEGIN>\n## `rollback`",
"Abandon all message publications and acks in the current transaction.\n Caller can specify a callback to use when the transactio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_synchronous_cb 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 add_synchronous_cb 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... | Add an expectation of a callback to release a synchronous transaction. | "Add an expectation of a callback to release a synchronous transaction." | 200 | false | agoragames/haigha | add_synchronous_cb | 40,476 | |
LDU_FT/akfullfo/taskforce/get_caller | LDU_FT | [
"<BEGIN>\n## `_format`",
"Returns the response tuple according to the selected format.\n A format is available if the method \"_format_xxx\" is callable.\n The default format is json.\n<END>",
"<BEGIN>\n## `version`",
"Return the taskforce version.",
" Supports standard options.\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_caller API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_caller API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | This is obsolete and references are being removed | "This is obsolete and references are being removed" | 290 | false | akfullfo/taskforce | get_caller | 40,477 | |
LDU_FT/the01/python-floscraper/_set_html2text | LDU_FT | [
"<BEGIN>\n## `prepare_headers`",
"Prepare headers object for request (add cache information",
" :param headers: Headers object\n :type headers: dict\n :param cache_info: Cache information to add\n :type cache_info: floscraper.models.CacheInfo\n :return: Prepared headers\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _set_html2text API.
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 _set_html2text API.
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... | Load settings for html2text (https://github.com/Alir3z4/html2text)
Warning: does not check options/values
:param settings: Settings for the object
(see:https://github.com/Alir3z4/html2text/blob/master/docs/usage.md)
:type settings: dict
:rtype: None | "Load settings for html2text (https://github.com/Alir3z4/html2text)\n\n Warning: does not check options/values\n\n :param settings: Settings for the object\n (see:https://github.com/Alir3z4/html2text/blob/master/docs/usage.md)\n :type settings: dict\n :rtype: None" | 50 | false | the01/python-floscraper | _set_html2text | 40,478 | |
LDU_FT/openeventdata/mordecai/format_geonames | LDU_FT | [
"<BEGIN>\n## `country_list_maker`",
"Helper function to return dictionary of countries in {\"country\" : \"iso\"} form.\n<END>",
"<BEGIN>\n## `make_skip_list`",
"Return hand-defined list of place names to skip and not attempt to geolocate. If users would like to exclude\n country names, this would be the f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the format_geonames API.
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 format_geonames API.
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... | Pull out just the fields we want from a geonames entry
To do:
- switch to model picking
Parameters
-----------
res : dict
ES/geonames result
searchterm : str
(not implemented). Needed for better results picking
Returns
--------
... | "Pull out just the fields we want from a geonames entry\n\n To do:\n - switch to model picking\n\n Parameters\n -----------\n res : dict\n ES/geonames result\n\n searchterm : str\n (not implemented). Needed for better results picking\n\n Returns\n ... | 110 | false | openeventdata/mordecai | format_geonames | 40,479 | |
LDU_FT/ralphje/imagemounter/detect_volumes | LDU_FT | [
"<BEGIN>\n## `_get_mount_methods`",
"Finds which mount methods are suitable for the specified disk type. Returns a list of all suitable mount\n methods.\n<END>",
"<BEGIN>\n## `mount`",
"Mounts the base image on a temporary location using the mount method stored in :attr:`method`. If mounting\n w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the detect_volumes API.
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 detect_volumes API.
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... | Generator that detects the volumes from the Disk, using one of two methods:
* Single volume: the entire Disk is a single volume
* Multiple volumes: the Disk is a volume system
:param single: If *single* is :const:`True`, this method will call :Func:`init_single_volumes`.
... | "Generator that detects the volumes from the Disk, using one of two methods:\n\n * Single volume: the entire Disk is a single volume\n * Multiple volumes: the Disk is a volume system\n\n :param single: If *single* is :const:`True`, this method will call :Func:`init_single_volumes`.\n ... | 225 | false | ralphje/imagemounter | detect_volumes | 40,480 | |
LDU_FT/internetarchive/warc/_read_arc_record | LDU_FT | [
"<BEGIN>\n## `open`",
"Shorthand for WARCFile(filename, mode).",
" Auto detects file and opens it.\n<END>",
"<BEGIN>\n## `init_defaults`",
"Initializes important headers to default values, if not already specified.",
" The WARC-Record-ID header is set to a newly generated UUID.\n The WARC... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _read_arc_record API.
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 _read_arc_record API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Reads out an arc record, formats it and returns it | "Reads out an arc record, formats it and returns it" | 41 | false | internetarchive/warc | _read_arc_record | 40,481 | |
LDU_FT/google/openhtf/reset | LDU_FT | [
"<BEGIN>\n## `short_repr`",
"Returns a short, term-friendly string representation of the object.",
" Args:\n obj: An object for which to return a string representation.\n max_len: Maximum length of the returned string. Longer reprs will be turned\n into a brief descriptive string giving the type a... | 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... | Reset the loaded state of the configuration to what it was at import.
Note that this does *not* reset values set by commandline flags or loaded
from --config-file (in fact, any values loaded from --config-file that have
been overridden are reset to their value from --config-file). | "Reset the loaded state of the configuration to what it was at import.\n\n Note that this does *not* reset values set by commandline flags or loaded\n from --config-file (in fact, any values loaded from --config-file that have\n been overridden are reset to their value from --config-file)." | 700 | false | google/openhtf | reset | 40,482 | |
LDU_FT/ValvePython/steam/state | LDU_FT | [
"<BEGIN>\n## `generate_twofactor_code_for_time`",
"Generate Steam 2FA code for timestamp",
" :param shared_secret: authenticator shared secret\n :type shared_secret: bytes\n :param timestamp: timestamp to use, if left out uses current time\n :type timestamp: int\n :return: steam two factor code\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the state API.
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 state API.
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... | Personsa state (e.g. Online, Offline, Away, Busy, etc)
:rtype: :class:`.EPersonaState` | "Personsa state (e.g. Online, Offline, Away, Busy, etc)\n\n :rtype: :class:`.EPersonaState`" | 385 | false | ValvePython/steam | state | 40,483 | |
LDU_FT/ga4gh/ga4gh-common/getLinesFromLogFile | LDU_FT | [
"<BEGIN>\n## `getPathOfExecutable`",
"Returns the full path of the executable, or None if the executable\n can not be found.\n<END>",
"<BEGIN>\n## `requireExecutables`",
"Check that all of the given executables are on the path.\n If at least one of them is not, exit the script and inform\n the user o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getLinesFromLogFile 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 getLinesFromLogFile 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... | Returns all lines written to the passed in stream | "Returns all lines written to the passed in stream" | 20 | false | ga4gh/ga4gh-common | getLinesFromLogFile | 40,484 | |
LDU_FT/kennethreitz/maya/validate_class_type_arguments | 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 validate_class_type_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_class_type_arguments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conc... | Decorator to validate all the arguments to function
are of the type of calling class for passed operator | "Decorator to validate all the arguments to function\n are of the type of calling class for passed operator" | 47 | false | kennethreitz/maya | validate_class_type_arguments | 40,485 | |
LDU_FT/cs50/lib50/prepare | LDU_FT | [
"<BEGIN>\n## `push`",
"Push to github.com/org/repo=username/slug if tool exists.\n Returns username, commit hash\n<END>",
"<BEGIN>\n## `local`",
"Create/update local copy of github.com/org/repo/branch.\n Returns path to local copy\n<END>",
"<BEGIN>\n## `working_area`",
"Copy all files to a temporary... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare API.
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 prepare API.
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... | Prepare git for pushing
Check that there are no permission errors
Add necessities to git config
Stage files
Stage files via lfs if necessary
Check that atleast one file is staged | "Prepare git for pushing\n Check that there are no permission errors\n Add necessities to git config\n Stage files\n Stage files via lfs if necessary\n Check that atleast one file is staged" | 38 | false | cs50/lib50 | prepare | 40,486 | |
LDU_FT/rosenbrockc/ci/_parse_xml | LDU_FT | [
"<BEGIN>\n## `_get_github`",
"Creates an instance of github.Github to interact with the repos via the \n API interface in pygithub.\n<END>",
"<BEGIN>\n## `_parse_repo`",
"Parses a <repo> tag to update settings on this Repository instance.",
" :arg xml: the <repo> tag XMLElement.\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_xml API.
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 _parse_xml API.
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... | Extracts objects representing and interacting with the settings in the
xml tag. | "Extracts objects representing and interacting with the settings in the\n xml tag." | 123 | false | rosenbrockc/ci | _parse_xml | 40,487 | |
LDU_FT/mcocdawc/chemcoord/applymap | LDU_FT | [
"<BEGIN>\n## `_check_construction_table`",
"Checks if a construction table uses valid references.\n Raises an exception (UndefinedCoordinateSystem) otherwise.\n<END>",
"<BEGIN>\n## `_get_frag_constr_table`",
"Create a construction table for a Zmatrix.",
" A construction table is basically a Zm... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the applymap API.
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 applymap API.
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... | Applies function elementwise
Wrapper around the :meth:`pandas.DataFrame.applymap` method. | "Applies function elementwise\n\n Wrapper around the :meth:`pandas.DataFrame.applymap` method." | 503 | false | mcocdawc/chemcoord | applymap | 40,488 | |
LDU_FT/ccubed/PyMoe/login | LDU_FT | [
"<BEGIN>\n## `to_xml`",
"Convert data to XML String.\n :return: Str of valid XML data\n<END>",
"<BEGIN>\n## `search`",
"Search for a user by name.",
" :param str term: What to search for.\n :return: The results as a SearchWrapper iterator or None if no results.\n :rtype: SearchWr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the login API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | This handles login logic instead of stuffing all that in the __init__.
:param username: The username to log in as or None
:param password: The password for that user or None
:return: Nothing
:raises: :class:`Pymoe.errors.UserLoginFailed` - Didn't respond with Ok
:raises: :class:... | "This handles login logic instead of stuffing all that in the __init__.\n\n :param username: The username to log in as or None\n :param password: The password for that user or None\n :return: Nothing\n :raises: :class:`Pymoe.errors.UserLoginFailed` - Didn't respond with Ok\n :raises: ... | 105 | false | ccubed/PyMoe | login | 40,489 | |
LDU_FT/mattbierner/blotre-py/normalize_uri | LDU_FT | [
"<BEGIN>\n## `_try_redeem_disposable_app`",
"Attempt to redeem a one time code registred on the client.\n<END>",
"<BEGIN>\n## `_check_app_is_valid`",
"Check to see if the app has valid creds.\n<END>",
"<BEGIN>\n## `create_disposable_app`",
"Use an existing disposable app if data exists or create a new one... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the normalize_uri API.
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 normalize_uri API.
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... | Convert a stream path into it's normalized form. | "Convert a stream path into it's normalized form." | 19 | false | mattbierner/blotre-py | normalize_uri | 40,490 | |
LDU_FT/neetjn/pyselenium-js/set_attribute | LDU_FT | [
"<BEGIN>\n## `__type2js`",
":Description: Convert python value to executable javascript value by type.\n :param value: Value to transform.\n :type value: None, bool, int, float, string\n :return: string\n<END>",
"<BEGIN>\n## `__type2python`",
":Description: Convert javascript value to pyt... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_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 ext... | :Description: Modify the given attribute of the target element.
:param element: Element for browser instance to target.
:type element: WebElement
:param attribute: Attribute of target element to modify.
:type attribute: string
:param value: Value of target element's attribute to ... | ":Description: Modify the given attribute of the target element.\n :param element: Element for browser instance to target.\n :type element: WebElement\n :param attribute: Attribute of target element to modify.\n :type attribute: string\n :param value: Value of target element's attribu... | 26 | false | neetjn/pyselenium-js | set_attribute | 40,491 | |
LDU_FT/uogbuji/versa/idgen | LDU_FT | [
"<BEGIN>\n## `link`",
"Action function generator to create a link based on the context's current link, or on provided parameters",
" :param origin: IRI/string, or list of same; origins for the created relationships.\n If None, the action context provides the parameter.",
" :param rel: IRI/string, or ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the idgen API.
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 idgen API.
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... | Generate an IRI as a hash of given information, or just make one up if None given
idbase -- Base URI for generating links
tint -- String that affects the sequence of IDs generated if sent None
>>> from bibframe.contrib.datachefids import idgen
>>> g = idgen(None)
>>> next(g) #Or g.send(None)
'g... | "Generate an IRI as a hash of given information, or just make one up if None given\n idbase -- Base URI for generating links\n tint -- String that affects the sequence of IDs generated if sent None\n\n >>> from bibframe.contrib.datachefids import idgen\n >>> g = idgen(None)\n >>> next(g) #Or g.send(None)... | 146 | false | uogbuji/versa | idgen | 40,492 | |
LDU_FT/epandurski/flask_signalbus/flushmany | LDU_FT | [
"<BEGIN>\n## `get_instance`",
"Return a model instance in ``db.session``.",
" :param instance_or_pk: An instance of this model class, or a\n primary key. A composite primary key can be passed as a\n tuple.",
" Example::",
" @db.atomic\n def increase_account_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flushmany API.
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 flushmany API.
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... | Send a potentially huge number of pending signals over the message bus.
This command assumes that the number of pending signals might be
huge, so that they might not fit into memory. However, it is not
very smart in handling concurrent senders. It is mostly useful
when recovering from long periods of d... | "Send a potentially huge number of pending signals over the message bus.\n\n This command assumes that the number of pending signals might be\n huge, so that they might not fit into memory. However, it is not\n very smart in handling concurrent senders. It is mostly useful\n when recovering from long period... | 53 | false | epandurski/flask_signalbus | flushmany | 40,493 | |
LDU_FT/antonev/authorizeme/check | LDU_FT | [
"<BEGIN>\n## `add_rule`",
"Adds an authorization rule.",
" :param rule_class: a class of authorization rule.\n :param target_class: (optional) a class\n or an iterable with classes to associate the rule with.\n<END>",
"<BEGIN>\n## `rule_for`",
"Decorates and adds an authorization ru... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the check API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Raises AuthorizationError when a user has no permission.
:param user: a user.
:param permission: permission to check.
:param obj: (optional) an object to check permission for. | "Raises AuthorizationError when a user has no permission.\n\n :param user: a user.\n :param permission: permission to check.\n :param obj: (optional) an object to check permission for." | 15 | false | antonev/authorizeme | check | 40,494 | |
LDU_FT/databio/pypiper/parse_bowtie_stats | LDU_FT | [
"<BEGIN>\n## `add_pypiper_args`",
"Use this to add standardized pypiper arguments to your python pipeline.",
" There are two ways to use `add_pypiper_args`: by specifying argument groups,\n or by specifying individual arguments. Specifying argument groups will add\n multiple arguments to your parser; t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_bowtie_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_bowtie_stats API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Parses Bowtie2 stats file, returns series with values.
:param str stats_file: Bowtie2 output file with alignment statistics. | "Parses Bowtie2 stats file, returns series with values.\n :param str stats_file: Bowtie2 output file with alignment statistics." | 322 | false | databio/pypiper | parse_bowtie_stats | 40,495 | |
LDU_FT/atlassian-api/atlassian-python-api/get_all_agile_boards | LDU_FT | [
"<BEGIN>\n## `clean_draft_pages_from_space`",
"Remove draft pages from space using datetime.now\n :param confluence:\n :param space_key:\n :param count:\n :param date_now:\n :return: int counter\n<END>",
"<BEGIN>\n## `clean_all_draft_pages_from_all_spaces`",
"Remove all draft pages for all spac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_agile_boards API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_all_agile_boards API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Returns all boards. This only includes boards that the user has permission to view.
:param board_name:
:param project_key:
:param board_type:
:param start:
:param limit:
:return: | "Returns all boards. This only includes boards that the user has permission to view.\n :param board_name:\n :param project_key:\n :param board_type:\n :param start:\n :param limit:\n :return:" | 414 | false | atlassian-api/atlassian-python-api | get_all_agile_boards | 40,496 | |
LDU_FT/tuxpiper/cloudcast/get_possible_builds | LDU_FT | [
"<BEGIN>\n## `_run_resources_file`",
"With a bit of import magic, we load the given path as a python module,\n while providing it access to the given stack under the import name '_context'.\n This function returns the module's global dictionary.\n<END>",
"<BEGIN>\n## `load_template_srcmodule`",
"This fu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_possible_builds 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_possible_builds 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... | Returns a list of possible status ids that are valid entry points
into this ISCM. For each status, there is a list of phases that need
to be executed, i.e.:
[
{ status_id: "ykyk...", run_phases: [ ] },
{ status_id: "znzn...", run_phases: [ <phase3> ] },
{ status_id: "... | "Returns a list of possible status ids that are valid entry points\n into this ISCM. For each status, there is a list of phases that need\n to be executed, i.e.:\n\n [\n { status_id: \"ykyk...\", run_phases: [ ] },\n { status_id: \"znzn...\", run_phases: [ <phase3> ] },\n { ... | 28 | false | tuxpiper/cloudcast | get_possible_builds | 40,497 | |
LDU_FT/jaraco/jaraco.mongodb/get_client | LDU_FT | [
"<BEGIN>\n## `extract_param`",
"From a list of args, extract the one param if supplied,\n returning the value and unused args.",
" >>> extract_param('port', ['foo', '--port=999', 'bar'], type=int)\n (999, ['foo', 'bar'])\n >>> extract_param('port', ['foo', '--port', '999', 'bar'], type=int)\n (99... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extrac... | Use the same MongoDB client as pmxbot if available. | "Use the same MongoDB client as pmxbot if available." | 82 | false | jaraco/jaraco.mongodb | get_client | 40,498 | |
LDU_FT/sernst/cauldron/refresh | LDU_FT | [
"<BEGIN>\n## `set_executing`",
"Toggle whether or not the current thread is executing a step file. This\n will only apply when the current thread is a CauldronThread. This function\n has no effect when run on a Main thread.",
" :param on:\n Whether or not the thread should be annotated as execut... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the refresh API.
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 refresh API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Loads the cauldron.json definition file for the project and populates
the project with the loaded data. Any existing data will be overwritten,
if the new definition file differs from the previous one.
If the project has already loaded with the most recent version of the
cauldron.json fi... | "Loads the cauldron.json definition file for the project and populates\n the project with the loaded data. Any existing data will be overwritten,\n if the new definition file differs from the previous one.\n\n If the project has already loaded with the most recent version of the\n cauldron.j... | 534 | false | sernst/cauldron | refresh | 40,499 | |
LDU_FT/twitterdev/search-tweets-python/request | 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 request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Executes a request with the given payload and arguments.
Args:
session (requests.Session): the valid session object
url (str): Valid API endpoint
rule_payload (str or dict): rule package for the POST. If you pass a
dictionary, it will be converted into JSON. | "Executes a request with the given payload and arguments.\n\n Args:\n session (requests.Session): the valid session object\n url (str): Valid API endpoint\n rule_payload (str or dict): rule package for the POST. If you pass a\n dictionary, it will be converted into JSON." | 88 | false | twitterdev/search-tweets-python | request | 40,500 | |
LDU_FT/mjirik/sed3/set_window | LDU_FT | [
"<BEGIN>\n## `show_slices`",
"Show slices as tiled image\r",
" :param data3d: Input data\r\n :param contour: Data for contouring\r\n :param seeds: Seed data\r\n :param axis: Axis for sliceing\r\n :param slice_step: Show each \"slice_step\"-th slice, can be float\r\n :param shape: tuple(vertica... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_window API.
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_window API.
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... | Sets visualization window
:param windowC: window center
:param windowW: window width
:return: | "Sets visualization window\r\n :param windowC: window center\r\n :param windowW: window width\r\n :return:" | 30 | false | mjirik/sed3 | set_window | 40,501 | |
LDU_FT/scrapinghub/exporters/readline | LDU_FT | [
"<BEGIN>\n## `formatted_prefix`",
"Gets a dict with format info, and formats a prefix template with that info. For example:\n if our prefix template is:\n 'some_file_{groups[0]}_{file_number}'",
" And we have this method called with:",
" formatted_prefix(groups=[US], file_number=0)... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the readline API.
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 readline API.
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... | Read until a new-line character is encountered | "Read until a new-line character is encountered" | 90 | false | scrapinghub/exporters | readline | 40,502 | |
LDU_FT/CellProfiler/centrosome/score_zernike | LDU_FT | [
"<BEGIN>\n## `fill_labeled_holes`",
"Fill all background pixels that are holes inside the foreground",
" A pixel is a hole inside a foreground object if",
" * there is no path from the pixel to the edge AND",
" * there is no path from the pixel to any other non-hole\n pixel AND",
" * ther... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the score_zernike API.
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 score_zernike API.
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... | Score the output of construct_zernike_polynomials
zf - the output of construct_zernike_polynomials which is I x J x K
where K is the number of zernike polynomials computed
radii - a vector of the radius of each of N labeled objects
labels - a label matrix
outputs a N x K matrix of the... | "Score the output of construct_zernike_polynomials\n \n zf - the output of construct_zernike_polynomials which is I x J x K\n where K is the number of zernike polynomials computed\n radii - a vector of the radius of each of N labeled objects\n labels - a label matrix\n \n outputs a N x K matri... | 668 | false | CellProfiler/centrosome | score_zernike | 40,503 | |
LDU_FT/ornlneutronimaging/ImagingReso/calculate_linear_attenuation_coefficient | LDU_FT | [
"<BEGIN>\n## `add_layer`",
"provide another way to define the layers (stack)",
" Parameters:\n ===========\n formula: string\n ex: 'CoAg2'\n ex: 'Al'\n thickness: float (in mm)\n density: float (g/cm3)\n<END>",
"<BEGIN>\n## `get_isotopic_ratio`",
"retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_linear_attenuation_coefficient API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_linear_attenuation_coefficient API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicat... | calculate the transmission signal using the formula
transmission = exp( - thickness_cm * atoms_per_cm3 * 1e-24 * sigma_b)
Parameters:
===========
thickness: float (in cm)
atoms_per_cm3: float (number of atoms per cm3 of element/isotope)
sigma_b: np.array of sigma retrieved from database
R... | "calculate the transmission signal using the formula\n\n transmission = exp( - thickness_cm * atoms_per_cm3 * 1e-24 * sigma_b)\n\n Parameters:\n ===========\n thickness: float (in cm)\n atoms_per_cm3: float (number of atoms per cm3 of element/isotope)\n sigma_b: np.array of sigma retrieved from databa... | 114 | false | ornlneutronimaging/ImagingReso | calculate_linear_attenuation_coefficient | 40,504 | |
LDU_FT/ivilata/pymultihash/hash_from_func | LDU_FT | [
"<BEGIN>\n## `reset`",
"Reset the registry to the standard codecs.\n<END>",
"<BEGIN>\n## `register`",
"Add a codec to the registry.",
" Registers a codec with the given `name` (a string) to be used with the\n given `encode` and `decode` functions, which take a `bytes` object and\n retur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hash_from_func API.
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 hash_from_func API.
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... | Return a hashlib-compatible object for the multihash `func`.
If the `func` is registered but no hashlib-compatible constructor is
available for it, `None` is returned. If the `func` is not
registered, a `KeyError` is raised.
>>> h = FuncReg.hash_from_func(Func.sha2_256)
>>> h.... | "Return a hashlib-compatible object for the multihash `func`.\n\n If the `func` is registered but no hashlib-compatible constructor is\n available for it, `None` is returned. If the `func` is not\n registered, a `KeyError` is raised.\n\n >>> h = FuncReg.hash_from_func(Func.sha2_256)\n ... | 59 | false | ivilata/pymultihash | hash_from_func | 40,505 | |
LDU_FT/kata198/AdvancedHTMLParser/getElementsWithAttrValues | LDU_FT | [
"<BEGIN>\n## `getRootNodes`",
"getRootNodes - Gets all objects at the \"root\" (first level; no parent). Use this if you may have multiple roots (not children of <html>)\n Use this method to get objects, for example, in an AJAX request where <html> may not be your root.",
" Note: I... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getElementsWithAttrValues API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getElementsWithAttrValues API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | getElementsWithAttrValues - Search children of this tag for tags with an attribute name and one of several values
@param attrName <lowercase str> - Attribute name (lowercase)
@param attrValues set<str> - set of acceptable attribute values
@return - TagCollection of matching element... | "getElementsWithAttrValues - Search children of this tag for tags with an attribute name and one of several values\n\n @param attrName <lowercase str> - Attribute name (lowercase)\n @param attrValues set<str> - set of acceptable attribute values\n\n @return - TagCollection of matching e... | 541 | false | kata198/AdvancedHTMLParser | getElementsWithAttrValues | 40,506 | |
LDU_FT/mikekatz04/BOWIE/run_snr | LDU_FT | [
"<BEGIN>\n## `read_noise_curve`",
"Simple auxillary function that can read noise curves in.",
" This function can read in noise curves from a provided file or those that are preinstalled\n with this installation. All pre-installed noise curves are in the form of\n an amplitude spectral density. Informa... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_snr API.
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 run_snr API.
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... | Run the snr calculation.
Takes results from ``self.set_parameters`` and other inputs and inputs these
into the snr calculator. | "Run the snr calculation.\n\n Takes results from ``self.set_parameters`` and other inputs and inputs these\n into the snr calculator." | 264 | false | mikekatz04/BOWIE | run_snr | 40,507 | |
LDU_FT/fake-name/ChromeController/DOM_setFileInputFiles | LDU_FT | [
"<BEGIN>\n## `close_chromium`",
"Close the remote chromium instance.",
"\t\tThis command is normally executed as part of the class destructor.\n\t\tIt can be called early without issue, but calling ANY class functions\n\t\tafter the remote chromium instance is shut down will have unknown effects.",
"\t\tNote ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the DOM_setFileInputFiles 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 DOM_setFileInputFiles API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Function path: DOM.setFileInputFiles
Domain: DOM
Method name: setFileInputFiles
WARNING: This function is marked 'Experimental'!
Parameters:
Required arguments:
'files' (type: array) -> Array of file paths to set.
Optional arguments:
'nodeId' (type: NodeId) -> Identifier of the node.... | "Function path: DOM.setFileInputFiles\n\t\t\tDomain: DOM\n\t\t\tMethod name: setFileInputFiles\n\t\t\n\t\t\tWARNING: This function is marked 'Experimental'!\n\t\t\n\t\t\tParameters:\n\t\t\t\tRequired arguments:\n\t\t\t\t\t'files' (type: array) -> Array of file paths to set.\n\t\t\t\tOptional arguments:\n\t\t\t\t\t'node... | 709 | false | fake-name/ChromeController | DOM_setFileInputFiles | 40,508 | |
LDU_FT/panosl/django-currencies/get_imports | LDU_FT | [
"<BEGIN>\n## `get_imports`",
"See if we have been passed a set of currencies or a setting variable\n or look for settings CURRENCIES or SHOP_CURRENCIES.\n<END>",
"<BEGIN>\n## `log`",
"Both prints to stdout/stderr and the django.currencies logger\n<END>",
"<BEGIN>\n## `check_rates`",
"Local helper f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_imports API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_imports API.
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... | See if we have been passed a set of currencies or a setting variable
or look for settings CURRENCIES or SHOP_CURRENCIES. | "See if we have been passed a set of currencies or a setting variable\n or look for settings CURRENCIES or SHOP_CURRENCIES." | 57 | false | panosl/django-currencies | get_imports | 40,509 | |
LDU_FT/bokeh/bokeh/_validator | LDU_FT | [
"<BEGIN>\n## `notify_owner`",
"A decorator for mutating methods of property container classes\n that notifies owners of the property container about mutating changes.",
" Args:\n func (callable) : the container method to wrap in a notification",
" Returns:\n wrapped method",
" Exam... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _validator API.
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 _validator API.
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... | Internal shared implementation to handle both error and warning
validation checks.
Args:
code code_or_name (int or str) : a defined error code or custom message
validator_type (str) : either "error" or "warning"
Returns:
validation decorator | "Internal shared implementation to handle both error and warning\n validation checks.\n\n Args:\n code code_or_name (int or str) : a defined error code or custom message\n validator_type (str) : either \"error\" or \"warning\"\n\n Returns:\n validation decorator" | 2,090 | true | bokeh/bokeh | _validator | 40,510 | |
LDU_FT/ansible/ansible-container/set_path_ownership | LDU_FT | [
"<BEGIN>\n## `to_bytes`",
"Make sure that a string is a byte string",
" :arg obj: An object to make sure is a byte string. In most cases this\n will be either a text string or a byte string. However, with\n ``nonstring='simplerepr'``, this can be used as a traceback-free\n version of `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_path_ownership API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_path_ownership 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... | Starting with the path, recursively set ownership of files and subdirectories.
:param path: Root path
:param uid: User ID
:param gid: Group ID
:return: None | "Starting with the path, recursively set ownership of files and subdirectories.\n :param path: Root path\n :param uid: User ID\n :param gid: Group ID\n :return: None" | 64 | false | ansible/ansible-container | set_path_ownership | 40,511 | |
LDU_FT/sci-bots/mpm/_remove_broken_links | LDU_FT | [
"<BEGIN>\n## `update_plugin_dialog`",
"Launch dialog to track status of update of specified plugin package.",
" .. versionadded:: 0.19",
" .. versionchanged:: 0.20\n Add support for updating multiple packages (update all **installed**\n plugins by default).",
" Add :data:`update_a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_broken_links API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _remove_broken_links API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Remove broken links in `<conda prefix>/etc/microdrop/plugins/enabled/`.
Returns
-------
list
List of links removed (if any). | "Remove broken links in `<conda prefix>/etc/microdrop/plugins/enabled/`.\n\n Returns\n -------\n list\n List of links removed (if any)." | 181 | false | sci-bots/mpm | _remove_broken_links | 40,512 | |
LDU_FT/MacHu-GWU/pyknackhq-project/update_one | LDU_FT | [
"<BEGIN>\n## `get_field_key`",
"Given a field key or name, return it's field key.\n<END>",
"<BEGIN>\n## `get_object_key`",
"Given a object key or name, return it's object key.\n<END>",
"<BEGIN>\n## `install`",
"Install your package to all Python version you have installed on Windows.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_one API.
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 update_one API.
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... | Update one record. Any fields you don't specify will remain unchanged.
Ref: http://helpdesk.knackhq.com/support/solutions/articles/5000446111-api-reference-root-access#update
:param id_: record id_
:param data: the new data fields and values
:param using_name: if you ar... | "Update one record. Any fields you don't specify will remain unchanged.\n \n Ref: http://helpdesk.knackhq.com/support/solutions/articles/5000446111-api-reference-root-access#update\n \n :param id_: record id_\n :param data: the new data fields and values\n :param using_name: if... | 122 | false | MacHu-GWU/pyknackhq-project | update_one | 40,513 | |
LDU_FT/Pelagicore/qface/qualified_name | LDU_FT | [
"<BEGIN>\n## `open_ns`",
"generates a open namespace from symbol namespace x { y { z {\n<END>",
"<BEGIN>\n## `close_ns`",
"generates a closing names statement from a symbol\n<END>",
"<BEGIN>\n## `ns`",
"generates a namespace x::y::z statement from a symbol\n<END>",
"<BEGIN>\n## `app`",
"Takes several ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the qualified_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the qualified_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | return the fully qualified name (`<module>.<struct>#<field>`) | "return the fully qualified name (`<module>.<struct>#<field>`)" | 56 | false | Pelagicore/qface | qualified_name | 40,514 | |
LDU_FT/VIVelev/PyDojoML/fit_predict | LDU_FT | [
"<BEGIN>\n## `accuracy_score`",
"Calculates the fraction of the correctly\n classified samples over all.",
" Parameters:\n -----------\n y : vector, shape (n_samples,)\n The target labels.",
" y_pred : vector, shape (n_samples,)\n The predicted labels.",
" Returns:\n --------\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_predict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fit_predict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Shortcut to `model.fit(X, y); return model.predict(X_)`.
Parameters:
-----------
X : matrix, shape (n_samples, n_features)
The samples, the train data.
y : vector, shape (n_samples,)
The target labels.
X_ : matrix, shape (m_samples, m_features)
... | "Shortcut to `model.fit(X, y); return model.predict(X_)`.\n \n Parameters:\n -----------\n X : matrix, shape (n_samples, n_features)\n The samples, the train data.\n\n y : vector, shape (n_samples,)\n The target labels.\n\n X_ : matrix, shape (m_samples, m_feature... | 170 | false | VIVelev/PyDojoML | fit_predict | 40,515 | |
LDU_FT/Jaymon/prom/create | LDU_FT | [
"<BEGIN>\n## `fields`",
"return all the fields and their raw values for this Orm instance. This\n property returns a dict with the field names and their current values",
" if you want to control the values for outputting to an api, use .jsonable()\n<END>",
"<BEGIN>\n## `create`",
"create an in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | create an instance of cls with the passed in fields and set it into the db
fields -- dict -- field_name keys, with their respective values
**fields_kwargs -- dict -- if you would rather pass in fields as name=val, that works also | "create an instance of cls with the passed in fields and set it into the db\n\n fields -- dict -- field_name keys, with their respective values\n **fields_kwargs -- dict -- if you would rather pass in fields as name=val, that works also" | 241 | false | Jaymon/prom | create | 40,516 | |
LDU_FT/tchellomello/python-arlo/captured_today | LDU_FT | [
"<BEGIN>\n## `query`",
"Return a JSON object or raw session.",
" :param url: Arlo API URL\n :param method: Specify the method GET, POST or PUT. Default is GET.\n :param extra_params: Dictionary to be appended on request.body\n :param extra_headers: Dictionary to be apppended on requ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the captured_today API.
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 captured_today API.
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... | Return list of <ArloVideo> object captured today. | "Return list of <ArloVideo> object captured today." | 69 | false | tchellomello/python-arlo | captured_today | 40,517 | |
LDU_FT/Unidata/siphon/request_data | LDU_FT | [
"<BEGIN>\n## `open_store_variable`",
"Turn CDMRemote variable into something like a numpy.ndarray.\n<END>",
"<BEGIN>\n## `get_attrs`",
"Get the global attributes from underlying data set.\n<END>",
"<BEGIN>\n## `get_dimensions`",
"Get the dimensions from underlying data set.\n<END>",
"<BEGIN>\n## `_find_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the request_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Retreive IGRA version 2 data for one station.
Parameters
--------
site_id : str
11-character IGRA2 station identifier.
time : datetime
The date and time of the desired observation. If list of two times is given,
dataframes for all dates within the two ... | "Retreive IGRA version 2 data for one station.\n\n Parameters\n --------\n site_id : str\n 11-character IGRA2 station identifier.\n\n time : datetime\n The date and time of the desired observation. If list of two times is given,\n dataframes for all dates withi... | 309 | false | Unidata/siphon | request_data | 40,518 | |
LDU_FT/havardgulldahl/jottalib/calculate_md5 | LDU_FT | [
"<BEGIN>\n## `get_auth_info`",
"Get authentication details to jottacloud.",
" Will first check environment variables, then the .netrc file.\n<END>",
"<BEGIN>\n## `calculate_md5`",
"Utility function to calculate md5 hashes while being light on memory usage.",
" By reading the fileobject piece by piec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calculate_md5 API.
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 calculate_md5 API.
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... | Utility function to calculate md5 hashes while being light on memory usage.
By reading the fileobject piece by piece, we are able to process content that
is larger than available memory | "Utility function to calculate md5 hashes while being light on memory usage.\n\n By reading the fileobject piece by piece, we are able to process content that\n is larger than available memory" | 111 | false | havardgulldahl/jottalib | calculate_md5 | 40,519 | |
LDU_FT/kiwiz/gkeepapi/dedent | LDU_FT | [
"<BEGIN>\n## `login`",
"Authenticate to Google with the provided credentials.",
" Args:\n email (str): The account to use.\n password (str): The account password.\n android_id (str): An identifier for this client.",
" Raises:\n LoginException: If there... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dedent API.
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 dedent API.
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 ... | Dedent an item. Does nothing if the target is not indented under this item.
Args:
node (gkeepapi.node.ListItem): Item to dedent.
dirty (bool): Whether this node should be marked dirty. | "Dedent an item. Does nothing if the target is not indented under this item.\n\n Args:\n node (gkeepapi.node.ListItem): Item to dedent.\n dirty (bool): Whether this node should be marked dirty." | 164 | false | kiwiz/gkeepapi | dedent | 40,520 | |
LDU_FT/nocarryr/python-dispatch/bind | 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 bind API.
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 bind API.
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... | Subscribes to events or to :class:`~pydispatch.properties.Property` updates
Keyword arguments are used with the Event or Property names as keys
and the callbacks as values::
class Foo(Dispatcher):
name = Property()
foo = Foo()
foo.bind(name=my_list... | "Subscribes to events or to :class:`~pydispatch.properties.Property` updates\n\n Keyword arguments are used with the Event or Property names as keys\n and the callbacks as values::\n\n class Foo(Dispatcher):\n name = Property()\n\n foo = Foo()\n\n foo.bind(n... | 89 | false | nocarryr/python-dispatch | bind | 40,521 | |
LDU_FT/DeV1doR/aioethereum/eth_getBlockByHash | LDU_FT | [
"<BEGIN>\n## `db_putString`",
"https://github.com/ethereum/wiki/wiki/JSON-RPC#db_putstring",
" DEPRECATED\n<END>",
"<BEGIN>\n## `db_getString`",
"https://github.com/ethereum/wiki/wiki/JSON-RPC#db_getstring",
" DEPRECATED\n<END>",
"<BEGIN>\n## `db_putHex`",
"https://github.com/ethereum/wi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the eth_getBlockByHash 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 eth_getBlockByHash 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... | https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getblockbyhash
:param bhash: Block hash
:type bhash: str
:param tx_objects: Return txs full object (optional)
:type tx_objects: bool
:return: block
:rtype: dict or None | "https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getblockbyhash\n\n :param bhash: Block hash\n :type bhash: str\n\n :param tx_objects: Return txs full object (optional)\n :type tx_objects: bool\n\n :return: block\n :rtype: dict or None" | 166 | false | DeV1doR/aioethereum | eth_getBlockByHash | 40,522 | |
LDU_FT/westonplatter/fast_arrow/quote_by_instruments | LDU_FT | [
"<BEGIN>\n## `in_chain`",
"fetch all option instruments in an options chain\n - expiration_dates = optionally scope\n<END>",
"<BEGIN>\n## `unroll_option_legs`",
"unroll option orders like this,\n https://github.com/joshfraser/robinhood-to-csv/blob/master/csv-options-export.py\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the quote_by_instruments 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 quote_by_instruments API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | create instrument urls, fetch, return results | "create instrument urls, fetch, return results" | 23 | false | westonplatter/fast_arrow | quote_by_instruments | 40,523 | |
LDU_FT/cbclab/MOT/split_vector_ctype | LDU_FT | [
"<BEGIN>\n## `get_historical_data`",
"Get the historical tank data.",
" Args:\n nmr_problems (int): the number of problems",
" Returns:\n tuple: (observations, nmr_tanks_ground_truth)\n<END>",
"<BEGIN>\n## `get_simulated_data`",
"Simulate some data.",
" This returns the simulated ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the split_vector_ctype 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 split_vector_ctype 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... | Split a vector ctype into a raw ctype and the vector length.
If the given ctype is not a vector type, we raise an error. I
Args:
ctype (str): the ctype to possibly split into a raw ctype and the vector length
Returns:
tuple: the raw ctype and the vector length | "Split a vector ctype into a raw ctype and the vector length.\n\n If the given ctype is not a vector type, we raise an error. I\n\n Args:\n ctype (str): the ctype to possibly split into a raw ctype and the vector length\n\n Returns:\n tuple: the raw ctype and the vector length" | 445 | false | cbclab/MOT | split_vector_ctype | 40,524 | |
LDU_FT/estnltk/estnltk/_get_synsets | LDU_FT | [
"<BEGIN>\n## `templatesCollector`",
"leaves related articles and wikitables in place\n<END>",
"<BEGIN>\n## `assert_legal_arguments`",
"Assert that PrettyPrinter arguments are correct.",
" Raises\n ------\n ValueError\n In case there are unknown arguments or a single layer is mapped to more t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_synsets API.
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_synsets API.
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... | Given synset offsets in the WordNet file, parses synset object for every offset.
Notes
-----
Internal function. Do not call directly.
Stores every parsed synset into global synset dictionary under two keys:
synset's name lemma.pos.sense_no and synset's id (unique integer).
Parameters
---... | "Given synset offsets in the WordNet file, parses synset object for every offset.\n\n Notes\n -----\n Internal function. Do not call directly.\n Stores every parsed synset into global synset dictionary under two keys:\n synset's name lemma.pos.sense_no and synset's id (unique integer).\n\n Parameter... | 1,003 | false | estnltk/estnltk | _get_synsets | 40,525 | |
LDU_FT/maxalbert/tohu/spawn | LDU_FT | [
"<BEGIN>\n## `augment_init_method`",
"Replace the existing cls.__init__() method with a new one which\n also initialises the field generators and similar bookkeeping.\n<END>",
"<BEGIN>\n## `find_field_generators`",
"Return dictionary with the names and instances of\n all tohu.BaseGenerator occurring in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the spawn API.
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 spawn API.
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... | Return an exact copy of this generator which behaves the same way
(i.e., produces the same elements in the same order) but is otherwise
independent, i.e. there is no link between the two generators
(as opposed to a cloned generator, which is automatically reset
whenever the original gene... | "Return an exact copy of this generator which behaves the same way\n (i.e., produces the same elements in the same order) but is otherwise\n independent, i.e. there is no link between the two generators\n (as opposed to a cloned generator, which is automatically reset\n whenever the original... | 142 | false | maxalbert/tohu | spawn | 40,526 | |
LDU_FT/anomaly/prestans/adapt_persistent_to_rest | LDU_FT | [
"<BEGIN>\n## `_setup_serializers`",
"Auto set the return serializer based on Accept headers\n http://docs.webob.org/en/latest/reference.html#header-getters",
" Intersection of requested types and supported types tells us if we\n can in fact respond in one of the request formats\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the adapt_persistent_to_rest 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 adapt_persistent_to_rest API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | adapts a persistent model to a rest model by inspecting | "adapts a persistent model to a rest model by inspecting" | 99 | false | anomaly/prestans | adapt_persistent_to_rest | 40,527 | |
LDU_FT/nicodv/kmodes/predict | LDU_FT | [
"<BEGIN>\n## `init_huang`",
"Initialize centroids according to method by Huang [1997].\n<END>",
"<BEGIN>\n## `init_cao`",
"Initialize centroids according to method by Cao et al. [2009].",
" Note: O(N * attr * n_clusters**2), so watch out with large n_clusters\n<END>",
"<BEGIN>\n## `move_point_cat`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the predict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Predict the closest cluster each sample in X belongs to.
Parameters
----------
X : array-like, shape = [n_samples, n_features]
New data to predict.
categorical : Indices of columns that contain categorical data
Returns
-------
labels : array, shape [... | "Predict the closest cluster each sample in X belongs to.\n\n Parameters\n ----------\n X : array-like, shape = [n_samples, n_features]\n New data to predict.\n categorical : Indices of columns that contain categorical data\n\n Returns\n -------\n labels : arr... | 52 | false | nicodv/kmodes | predict | 40,528 | |
LDU_FT/LesPatamechanix/patalib/generate_synonym | LDU_FT | [
"<BEGIN>\n## `generate_clinamen`",
"Generate a clinamen. Here we\n looks for words via the damerau levenshtein distance\n with a distance of 2.\n<END>",
"<BEGIN>\n## `damerau_levenshtein_distance`",
"Dervied algorithm from the following website:\n https://www.guyrutenberg.com/2008/12/15/d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_synonym API.
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 generate_synonym API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Generate Synonym using a WordNet
synset. | "Generate Synonym using a WordNet\n synset." | 12 | false | LesPatamechanix/patalib | generate_synonym | 40,529 | |
LDU_FT/tmux-python/libtmux/attach_session | LDU_FT | [
"<BEGIN>\n## `get_version`",
"Return tmux version.",
" If tmux is built from git master, the version returned will be the latest\n version appended with -master, e.g. ``2.4-master``.",
" If using OpenBSD's base system tmux, the version will have ``-openbsd``\n appended to the latest version, e.g. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the attach_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 ex... | Return ``$ tmux attach-session`` aka alias: ``$ tmux attach``. | "Return ``$ tmux attach-session`` aka alias: ``$ tmux attach``." | 224 | false | tmux-python/libtmux | attach_session | 40,530 | |
LDU_FT/taddeus/wspy/mask | LDU_FT | [
"<BEGIN>\n## `conflicts`",
"Check if the extension conflicts with an already accepted extension.\n This may be the case when the two extensions use the same reserved\n bits, or have the same name (when the same extension is negotiated\n multiple times with different parameters).\n<END>",
"<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the mask API.
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 mask API.
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... | Mask an octet string using the given masking key.
The following masking algorithm is used, as defined in RFC 6455:
for each octet:
j = i MOD 4
transformed-octet-i = original-octet-i XOR masking-key-octet-j | "Mask an octet string using the given masking key.\n The following masking algorithm is used, as defined in RFC 6455:\n\n for each octet:\n j = i MOD 4\n transformed-octet-i = original-octet-i XOR masking-key-octet-j" | 72 | false | taddeus/wspy | mask | 40,531 | |
LDU_FT/ilevkivskyi/typing_inspect/is_union_type | LDU_FT | [
"<BEGIN>\n## `_gorg`",
"This function exists for compatibility with old typing versions.\n<END>",
"<BEGIN>\n## `is_callable_type`",
"Test if the type is a generic callable type, including subclasses\n excluding non-generic types and callables.\n Examples::",
" is_callable_type(int) == False\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_union_type API.
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 is_union_type API.
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... | Test if the type is a union type. Examples::
is_union_type(int) == False
is_union_type(Union) == True
is_union_type(Union[int, int]) == False
is_union_type(Union[T, int]) == True | "Test if the type is a union type. Examples::\n\n is_union_type(int) == False\n is_union_type(Union) == True\n is_union_type(Union[int, int]) == False\n is_union_type(Union[T, int]) == True" | 36 | false | ilevkivskyi/typing_inspect | is_union_type | 40,532 | |
LDU_FT/maartenbreddels/ipyvolume/save_font_awesome | LDU_FT | [
"<BEGIN>\n## `volshow`",
"Deprecated: please use ipyvolume.quickvolshow or use the ipyvolume.pylab interface.\n<END>",
"<BEGIN>\n## `quickvolshow`",
"Visualize a 3d array using volume rendering.",
" :param data: 3d numpy array\n :param lighting: boolean, to use lighting or not, if set to false, lighti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_font_awesome API.
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 save_font_awesome API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Download and save the font-awesome package to a local directory.
:type dirpath: str
:type url: str | "Download and save the font-awesome package to a local directory.\n\n :type dirpath: str\n :type url: str" | 141 | false | maartenbreddels/ipyvolume | save_font_awesome | 40,533 | |
LDU_FT/Apitax/Apitax/create_driver_script | LDU_FT | [
"<BEGIN>\n## `get_driver_blacklist`",
"Retrieve the blacklist in the driver",
" Retrieve the blacklist in the driver # noqa: E501",
" :param driver: The driver to use for the request. ie. github\n :type driver: str",
" :rtype: Response\n<END>",
"<BEGIN>\n## `get_driver_config`",
"Retrieve th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_driver_script API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_driver_script API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Create a new script
Create a new script # noqa: E501
:param name: Get status of a driver with this name
:type name: str
:param create: The data needed to create this script
:type create: dict | bytes
:rtype: Response | "Create a new script\n\n Create a new script # noqa: E501\n\n :param name: Get status of a driver with this name\n :type name: str\n :param create: The data needed to create this script\n :type create: dict | bytes\n\n :rtype: Response" | 137 | false | Apitax/Apitax | create_driver_script | 40,534 | |
LDU_FT/Koed00/django-q/delete_group | LDU_FT | [
"<BEGIN>\n## `loads`",
"Reverse of dumps(), raise BadSignature if signature fails.",
" The serializer is expected to accept a bytestring.\n<END>",
"<BEGIN>\n## `unsign`",
"Retrieve original value and check it wasn't signed more\n than max_age seconds ago.\n<END>",
"<BEGIN>\n## `get_broker`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Delete a group.
:param str group_id: the group id
:param bool tasks: If set to True this will also delete the group tasks.
Otherwise just the group label is removed.
:param bool cached: run this against the cache backend
:return: | "Delete a group.\n\n :param str group_id: the group id\n :param bool tasks: If set to True this will also delete the group tasks.\n Otherwise just the group label is removed.\n :param bool cached: run this against the cache backend\n :return:" | 96 | false | Koed00/django-q | delete_group | 40,535 | |
LDU_FT/jbm950/pygame_toolbox/toggle_shade | LDU_FT | [
"<BEGIN>\n## `initialize_shade`",
"This method will create semi-transparent surfaces with a specified\n color. The surface can be toggled on and off.\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n Inputs:\n Shade_name - String of the name that you want... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toggle_shade API.
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 toggle_shade API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | This method will overlay a semi-transparent shade on top of the
tile's image.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Inputs:
shade - This will designate which shade you wish to turn on or off.
Blue and red shades are available by defa... | "This method will overlay a semi-transparent shade on top of the\n tile's image.\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n Inputs:\n shade - This will designate which shade you wish to turn on or off.\n Blue and red shades are available b... | 35 | false | jbm950/pygame_toolbox | toggle_shade | 40,536 | |
LDU_FT/tophatmonocle/ims_lti_py/has_role | LDU_FT | [
"<BEGIN>\n## `has_role`",
"Check whether the Launch Paramters set the role.\n<END>",
"<BEGIN>\n## `username`",
"Return the full, given, or family name if set.\n<END>",
"<BEGIN>\n## `post_replace_result`",
"POSTs the given score to the Tool Consumer with a replaceResult.",
" Returns OutcomeRespons... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_role API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the has_role API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Check whether the Launch Paramters set the role. | "Check whether the Launch Paramters set the role." | 46 | false | tophatmonocle/ims_lti_py | has_role | 40,537 | |
LDU_FT/sourceperl/pyModbusTCP/long_list_to_word | LDU_FT | [
"<BEGIN>\n## `start`",
"Start the server.",
" Do nothing if server is already running.\n This function will block if no_block is not set to True.\n<END>",
"<BEGIN>\n## `stop`",
"Stop the server.",
" Do nothing if server is already not running.\n<END>",
"<BEGIN>\n## `host`",
"Get o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the long_list_to_word API.
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 long_list_to_word API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Long list (32 bits int) to word list (16 bits int)
By default long_list_to_word() use big endian order. For use little endian, set
big_endian param to False.
:param val_list: list of 32 bits int value
:type val_list: list
:param big_endian: True for big endian/False for little ... | "Long list (32 bits int) to word list (16 bits int)\n\n By default long_list_to_word() use big endian order. For use little endian, set\n big_endian param to False.\n\n :param val_list: list of 32 bits int value\n :type val_list: list\n :param big_endian: True for big endian/False for... | 96 | false | sourceperl/pyModbusTCP | long_list_to_word | 40,538 | |
LDU_FT/amicks/Speculator/get_attribute | LDU_FT | [
"<BEGIN>\n## `set_targets`",
"Sets target market trend for a date",
" Args:\n x: Pandas DataFrame of market features\n delta: Positive number defining a price buffer between what is\n classified as a bullish/bearish market for the training set.\n delta is equivalent to the... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 ext... | Gets the values of an attribute from JSON
Args:
json: JSON data as a list of dict dates, where the keys are
the raw market statistics.
attr: String of attribute in JSON file to collect.
Returns:
List of values of specified attribute from JSON | "Gets the values of an attribute from JSON\n\n Args:\n json: JSON data as a list of dict dates, where the keys are\n the raw market statistics.\n attr: String of attribute in JSON file to collect.\n\n Returns:\n List of values of specified attribute from JSON" | 104 | false | amicks/Speculator | get_attribute | 40,539 | |
LDU_FT/jhshi/wltrace/calc_padding | LDU_FT | [
"<BEGIN>\n## `mcs_to_rate`",
"Convert MCS index to rate in Mbps.",
" See http://mcsindex.com/",
" Args:\n mcs (int): MCS index\n bw (int): bandwidth, 20, 40, 80, ...\n long_gi(bool): True if long GI is used.",
" Returns:\n rate (float): bitrate in Mbps",
" >>> mcs_t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calc_padding API.
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 calc_padding API.
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... | Calculate how many padding bytes needed for ``fmt`` to be aligned to
``align``.
Args:
fmt (str): :mod:`struct` format.
align (int): alignment (2, 4, 8, etc.)
Returns:
str: padding format (e.g., various number of 'x').
>>> calc_padding('b', 2)
'x'
>>> calc_padding('b',... | "Calculate how many padding bytes needed for ``fmt`` to be aligned to\n ``align``.\n\n Args:\n fmt (str): :mod:`struct` format.\n align (int): alignment (2, 4, 8, etc.)\n\n Returns:\n str: padding format (e.g., various number of 'x').\n\n >>> calc_padding('b', 2)\n 'x'\n\n >>> cal... | 47 | false | jhshi/wltrace | calc_padding | 40,540 | |
LDU_FT/koszullab/metaTOR/pdb_to_structure | LDU_FT | [
"<BEGIN>\n## `download_and_install_dependencies`",
"Setup URLS and download dependencies for Python 3.6+\n<END>",
"<BEGIN>\n## `main`",
"This module just acts as an entry point to the bulk of the pipeline.\n All argument parsing is delegated to metator.sh\n<END>",
"<BEGIN>\n## `rename_genome`",
"Rename... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pdb_to_structure API.
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 pdb_to_structure API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Import a structure object from a PDB file. | "Import a structure object from a PDB file." | 180 | false | koszullab/metaTOR | pdb_to_structure | 40,541 | |
LDU_FT/jaraco/keyrings.alt/get_password | LDU_FT | [
"<BEGIN>\n## `_ensure_file_path`",
"Ensure the storage path exists.\n If it doesn't, create it with \"go-rwx\" permissions.\n<END>",
"<BEGIN>\n## `delete_password`",
"Delete the password for the username of the service.\n<END>",
"<BEGIN>\n## `get_password`",
"Get password of the username for the se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_password API.
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_password API.
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... | Get password of the username for the service | "Get password of the username for the service" | 43 | false | jaraco/keyrings.alt | get_password | 40,542 | |
LDU_FT/HDI-Project/BTB/select | LDU_FT | [
"<BEGIN>\n## `tune_pipeline`",
"Tunes a specified pipeline with the\n specified tuner for TUNING_BUDGET_PER_ITER (3) iterations.",
" Params:\n X: np.array of X training data\n y: np.array of y training data\n X_val: np.array of X validation data\n y_val: np.array of y validatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the select API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Use the top k learner's scores for usage in rewards for the bandit calculation | "Use the top k learner's scores for usage in rewards for the bandit calculation" | 75 | false | HDI-Project/BTB | select | 40,543 | |
LDU_FT/GiulioRossetti/dynetx/number_of_interactions | LDU_FT | [
"<BEGIN>\n## `node_link_data`",
"Return data in node-link format that is suitable for JSON serialization\n and use in Javascript documents.",
" Parameters\n ----------\n G : DyNetx graph",
" attrs : dict\n A dictionary that contains three keys 'id', 'source' and 'target'.\n The c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the number_of_interactions 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 number_of_interactions 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 number of edges between two nodes at time t.
Parameters
----------
u, v : nodes, optional (default=all edges)
If u and v are specified, return the number of edges between
u and v. Otherwise return the total number of all edges.
t : snapshot id (default... | "Return the number of edges between two nodes at time t.\n\n Parameters\n ----------\n u, v : nodes, optional (default=all edges)\n If u and v are specified, return the number of edges between\n u and v. Otherwise return the total number of all edges.\n t : snapshot id ... | 349 | false | GiulioRossetti/dynetx | number_of_interactions | 40,544 | |
LDU_FT/hadrianl/huobi/req_withdraw | LDU_FT | [
"<BEGIN>\n## `async_request`",
"异步并发请求\n :param reqs: 请求列表\n :return:\n<END>",
"<BEGIN>\n## `get_kline`",
"获取KLine\n :param symbol\n :param period: 可选值:{1min, 5min, 15min, 30min, 60min, 1day, 1mon, 1week, 1year }\n :param size: 可选值: [1,2000]\n :return:\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the req_withdraw API.
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 req_withdraw API.
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... | 申请提现虚拟币
:param address:
:param amount:
:param currency:btc, ltc, bcc, eth, etc ...(火币Pro支持的币种)
:param fee:
:param addr_tag:
:return: {
"status": "ok",
"data": 700
} | "申请提现虚拟币\n :param address:\n :param amount:\n :param currency:btc, ltc, bcc, eth, etc ...(火币Pro支持的币种)\n :param fee:\n :param addr_tag:\n :return: {\n \"status\": \"ok\",\n \"data\": 700\n }" | 108 | false | hadrianl/huobi | req_withdraw | 40,545 | |
LDU_FT/inspirehep/inspire-dojson/control_number | 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 control_number API.
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 control_number API.
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... | Populate the ``control_number`` key.
Also populates the ``self`` key through side effects. | "Populate the ``control_number`` key.\n\n Also populates the ``self`` key through side effects." | 163 | false | inspirehep/inspire-dojson | control_number | 40,546 | |
LDU_FT/pybluez/pybluez/is_valid_address | LDU_FT | [
"<BEGIN>\n## `btaddrtochars`",
"Takes a bluetooth address and returns a tuple with the corresponding\n char values. This can then be used to construct a\n IOBluetoothDevice object, providing the signature of the withAddress:\n selector has been set (as in _setpyobjcsignatures() in this module).",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_valid_address API.
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 is_valid_address API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | returns True if address is a valid Bluetooth address
valid address are always strings of the form XX:XX:XX:XX:XX:XX
where X is a hexadecimal character. For example,
01:23:45:67:89:AB is a valid address, but
IN:VA:LI:DA:DD:RE is not | "returns True if address is a valid Bluetooth address\n\n valid address are always strings of the form XX:XX:XX:XX:XX:XX\n where X is a hexadecimal character. For example,\n 01:23:45:67:89:AB is a valid address, but\n IN:VA:LI:DA:DD:RE is not" | 80 | false | pybluez/pybluez | is_valid_address | 40,547 | |
LDU_FT/saghul/evergreen/create_connection | LDU_FT | [
"<BEGIN>\n## `_double_prefix`",
"Grow the given deque by doubling, but don't split the second chunk just\n because the first one is small.\n<END>",
"<BEGIN>\n## `_merge_prefix`",
"Replace the first entries in a deque of strings with a single\n string of up to size bytes.",
" >>> d = col... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_connection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Connect to *address* and return the socket object.
Convenience function. Connect to *address* (a 2-tuple ``(host,
port)``) and return the socket object. Passing the optional
*timeout* parameter will set the timeout on the socket instance
before attempting to connect. If no *timeout* is supplied, the... | "Connect to *address* and return the socket object.\n\n Convenience function. Connect to *address* (a 2-tuple ``(host,\n port)``) and return the socket object. Passing the optional\n *timeout* parameter will set the timeout on the socket instance\n before attempting to connect. If no *timeout* is supplie... | 79 | false | saghul/evergreen | create_connection | 40,548 | |
LDU_FT/timothycrosley/deprecated.frosted/is_generator | LDU_FT | [
"<BEGIN>\n## `node_name`",
"Convenience function: Returns node.id, or node.name, or None\n<END>",
"<BEGIN>\n## `names`",
"Return a list of the names referenced by this binding.\n<END>",
"<BEGIN>\n## `unusedAssignments`",
"Return a generator for the assignments which have not been used.\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_generator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_generator API.
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... | Checks whether a function is a generator by looking for a yield
statement or expression. | "Checks whether a function is a generator by looking for a yield\n statement or expression." | 41 | false | timothycrosley/deprecated.frosted | is_generator | 40,549 | |
LDU_FT/asmeurer/iterm2-tools/display_image_file | LDU_FT | [
"<BEGIN>\n## `wrap_prompts_class`",
"Wrap an IPython's Prompt class",
" This is needed in order for Prompt to inject the correct escape sequences\n at the right positions for shell integrations.\n<END>",
"<BEGIN>\n## `image_bytes`",
"Return a bytes string that displays image given by bytes b in the te... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_image_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_image_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.
Th... | Display an image in the terminal.
A newline is not printed.
width and height are strings, following the format
N: N character cells.
Npx: N pixels.
N%: N percent of the session's width or height.
'auto': The image's inherent size will be used to determine an appropriate
... | "Display an image in the terminal.\n\n A newline is not printed.\n\n width and height are strings, following the format\n\n N: N character cells.\n\n Npx: N pixels.\n\n N%: N percent of the session's width or height.\n\n 'auto': The image's inherent size will be used to determine an ap... | 36 | false | asmeurer/iterm2-tools | display_image_file | 40,550 | |
LDU_FT/insanum/gcalcli/reminder_validator | LDU_FT | [
"<BEGIN>\n## `art_msg`",
"Wrapper for easy emission of the calendar borders\n<END>",
"<BEGIN>\n## `_cal_monday`",
"Shift the day number if we're doing cal monday, or cal_weekend is\n false, since that also means we're starting on day 1\n<END>",
"<BEGIN>\n## `QuickAddEvent`",
"Wrapper around Google ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reminder_validator 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 reminder_validator 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... | Allows a string that matches utils.REMINDER_REGEX.
Raises ValidationError otherwise. | "Allows a string that matches utils.REMINDER_REGEX.\n Raises ValidationError otherwise." | 16 | false | insanum/gcalcli | reminder_validator | 40,551 | |
LDU_FT/Capitains/Nautilus/set_label | LDU_FT | [
"<BEGIN>\n## `r_cts`",
"Actual main route of CTS APIs. Transfer typical requests through the ?request=REQUESTNAME route",
" :return: Response\n<END>",
"<BEGIN>\n## `cts_error`",
"Create a CTS Error reply",
" :param error_name: Name of the error\n :param message: Message of the Error\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_label API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_label API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Add the label of the collection in given lang
:param label: Label Value
:param lang: Language code | "Add the label of the collection in given lang\n\n :param label: Label Value\n :param lang: Language code" | 110 | false | Capitains/Nautilus | set_label | 40,552 | |
LDU_FT/bitcraft/PyTMX/visible_object_groups | LDU_FT | [
"<BEGIN>\n## `default_image_loader`",
"This default image loader just returns filename, rect, and any flags\n<END>",
"<BEGIN>\n## `decode_gid`",
"Decode a GID from TMX data",
" as of 0.7.0 it determines if the tile should be flipped when rendered\n as of 0.8.0 bit 30 determines if GID is rotated",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visible_object_groups 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 visible_object_groups 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 iterator of object group indexes that are set 'visible'
:rtype: Iterator | "Return iterator of object group indexes that are set 'visible'\n\n :rtype: Iterator" | 134 | false | bitcraft/PyTMX | visible_object_groups | 40,553 | |
LDU_FT/timothydmorton/VESPA/save_popset | LDU_FT | [
"<BEGIN>\n## `from_df`",
"Builds TripleOrbitPopulation from DataFrame",
" ``DataFrame`` objects must be of appropriate form to pass\n to :func:`OrbitPopulation.from_df`.",
" :param df_long, df_short:\n :class:`pandas.DataFrame` objects to pass to\n :func:`OrbitPopula... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the save_popset API.
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 save_popset API.
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... | Saves the PopulationSet
Calls :func:`PopulationSet.save_hdf`. | "Saves the PopulationSet\n\n Calls :func:`PopulationSet.save_hdf`." | 495 | false | timothydmorton/VESPA | save_popset | 40,554 | |
LDU_FT/jaraco/jaraco.mongodb/safe_purge_collection | LDU_FT | [
"<BEGIN>\n## `extract_param`",
"From a list of args, extract the one param if supplied,\n returning the value and unused args.",
" >>> extract_param('port', ['foo', '--port=999', 'bar'], type=int)\n (999, ['foo', 'bar'])\n >>> extract_param('port', ['foo', '--port', '999', 'bar'], type=int)\n (99... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the safe_purge_collection 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 safe_purge_collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Cannot remove documents from capped collections
in later versions of MongoDB, so drop the
collection instead. | "Cannot remove documents from capped collections\n\tin later versions of MongoDB, so drop the\n\tcollection instead." | 82 | false | jaraco/jaraco.mongodb | safe_purge_collection | 40,555 | |
LDU_FT/tino/pyFirmata/enable_reporting | LDU_FT | [
"<BEGIN>\n## `setup_layout`",
"Setup the Pin instances based on the given board layout.\n<END>",
"<BEGIN>\n## `auto_setup`",
"Automatic setup based on Firmata's \"Capability Query\"\n<END>",
"<BEGIN>\n## `get_pin`",
"Returns the activated pin given by the pin definition.\n May raise an ``InvalidPin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_reporting API.
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 enable_reporting API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Enable reporting of values for the whole port. | "Enable reporting of values for the whole port." | 43 | false | tino/pyFirmata | enable_reporting | 40,556 | |
LDU_FT/yaml/pyyaml/parse | LDU_FT | [
"<BEGIN>\n## `scan`",
"Scan a YAML stream and produce scanning tokens.\n<END>",
"<BEGIN>\n## `parse`",
"Parse a YAML stream and produce parsing events.\n<END>",
"<BEGIN>\n## `compose`",
"Parse the first YAML document in a stream\n and produce the corresponding representation tree.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Parse a YAML stream and produce parsing events. | "Parse a YAML stream and produce parsing events." | 36 | false | yaml/pyyaml | parse | 40,557 | |
LDU_FT/buildbot/buildbot/_spawnAsBatch | LDU_FT | [
"<BEGIN>\n## `parse`",
"Parse messages sent by the 'buildbot-cvs-mail' program.\n<END>",
"<BEGIN>\n## `parse`",
"Parse messages sent by the svn 'commit-email.pl' trigger.\n<END>",
"<BEGIN>\n## `parse`",
"Parse branch notification messages sent by Launchpad.\n<END>",
"<BEGIN>\n## `remote_write`",
"Call... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _spawnAsBatch API.
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 _spawnAsBatch API.
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... | A cheat that routes around the impedance mismatch between
twisted and cmd.exe with respect to escaping quotes | "A cheat that routes around the impedance mismatch between\n twisted and cmd.exe with respect to escaping quotes" | 518 | false | buildbot/buildbot | _spawnAsBatch | 40,558 | |
LDU_FT/SITools2/pySitools2_1.0/getDatasetByName | LDU_FT | [
"<BEGIN>\n## `__parseResponseServer`",
"Parses the response of the server.\n Exception\n ---------\n A Sitools2Exception is raised when the server does not send back a success.\n<END>",
"<BEGIN>\n## `__parseResponseServer`",
"Parses the server response.\n Input\n -----\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getDatasetByName API.
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 getDatasetByName API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Returns a Dataset Object by its name.
Input
-----
name : dataset name to search
Return
------
A Dataset Object or None when the dataset is not found | "Returns a Dataset Object by its name.\n Input\n -----\n name : dataset name to search\n \n Return\n ------\n A Dataset Object or None when the dataset is not found" | 41 | false | SITools2/pySitools2_1.0 | getDatasetByName | 40,559 | |
LDU_FT/MartinThoma/geocodertools/get_parser | LDU_FT | [
"<BEGIN>\n## `build_db`",
"Get a structured dataset out of\n http://download.geonames.org/export/dump/cities1000.txt\n<END>",
"<BEGIN>\n## `get_cartesian`",
"the x-axis goes through long,lat (0,0), so longitude 0 meets the equator;\n the y-axis goes through (0,90);\n and the z-axis goes through th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_parser API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return the parser object for this script. | "Return the parser object for this script." | 12 | false | MartinThoma/geocodertools | get_parser | 40,560 | |
LDU_FT/gc3-uzh-ch/elasticluster/timeout | LDU_FT | [
"<BEGIN>\n## `to_vars_dict`",
"Return local state which is relevant for the cluster setup process.\n<END>",
"<BEGIN>\n## `_init_az_api`",
"Initialise client objects for talking to Azure API.",
" This is in a separate function so to be called by ``__init__``\n and ``__setstate__``.\n<END>",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the timeout API.
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 timeout API.
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... | Context manager to run code and deliver a SIGALRM signal after `delay` seconds.
Note that `delay` must be a whole number; otherwise it is converted to an
integer by Python's `int()` built-in function. For floating-point numbers,
that means rounding off to the nearest integer from below.
If the optiona... | "Context manager to run code and deliver a SIGALRM signal after `delay` seconds.\n\n Note that `delay` must be a whole number; otherwise it is converted to an\n integer by Python's `int()` built-in function. For floating-point numbers,\n that means rounding off to the nearest integer from below.\n\n If the ... | 378 | false | gc3-uzh-ch/elasticluster | timeout | 40,561 | |
LDU_FT/textbook/flash/update_service | LDU_FT | [
"<BEGIN>\n## `parse_config`",
"Parse the configuration and create required services.",
" Note:\n Either takes the configuration from the environment (a variable\n named ``FLASH_CONFIG``) or a file at the module root (named\n ``config.json``). Either way, it will attempt to parse it as\n J... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_service API.
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 update_service API.
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... | Get an update from the specified service.
Arguments:
name (:py:class:`str`): The name of the service.
service_map (:py:class:`dict`): A mapping of service names to
:py:class:`flash.service.core.Service` instances.
Returns:
:py:class:`dict`: The updated data. | "Get an update from the specified service.\n\n Arguments:\n name (:py:class:`str`): The name of the service.\n service_map (:py:class:`dict`): A mapping of service names to\n :py:class:`flash.service.core.Service` instances.\n\n Returns:\n :py:class:`dict`: The updated data." | 20 | false | textbook/flash | update_service | 40,562 | |
LDU_FT/dmwm/DBS/listFileArray | LDU_FT | [
"<BEGIN>\n## `inputChecks`",
"This is a function to check all the input for GET APIs.\n<END>",
"<BEGIN>\n## `validateStringInput`",
"To check if a string has the required format. This is only used for POST APIs.\n<END>",
"<BEGIN>\n## `execute`",
"Lists all primary datasets if pattern is not provided.\n<EN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listFileArray API.
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 listFileArray API.
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... | API to list files in DBS. Either non-wildcarded logical_file_name, non-wildcarded dataset,
non-wildcarded block_name or non-wildcarded lfn list is required.
The combination of a non-wildcarded dataset or block_name with an wildcarded logical_file_name is supported.
* For lumi_list the followi... | "API to list files in DBS. Either non-wildcarded logical_file_name, non-wildcarded dataset, \n\tnon-wildcarded block_name or non-wildcarded lfn list is required.\n The combination of a non-wildcarded dataset or block_name with an wildcarded logical_file_name is supported.\n \n * For lumi_list the f... | 352 | false | dmwm/DBS | listFileArray | 40,563 | |
LDU_FT/kankiri/pabiana/subscribe | LDU_FT | [
"<BEGIN>\n## `read_interfaces`",
"Reads an Interfaces JSON file at the given path and returns it as a dictionary.\n<END>",
"<BEGIN>\n## `multiple`",
"Returns a set of strings to be used as Slots with Pabianas default Clock.",
"\tArgs:\n\t\tlayer: The layer in the hierarchy this Area is placed in.\n\t\t\tTec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscribe API.
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 subscribe API.
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... | Subscribes this Area to the given Areas and optionally given Slots. Must be called before the Area is run.
Args:
clock_name: The name of the Area that is used as synchronizing Clock.
clock_slots: The slots of the Clock relevant to this Area.
subscriptions: A dictionary containing the relevant Areas names as... | "Subscribes this Area to the given Areas and optionally given Slots. Must be called before the Area is run.\n\n\t\tArgs:\n\t\t\tclock_name: The name of the Area that is used as synchronizing Clock.\n\t\t\tclock_slots: The slots of the Clock relevant to this Area.\n\t\t\tsubscriptions: A dictionary containing the releva... | 20 | false | kankiri/pabiana | subscribe | 40,564 | |
LDU_FT/google/prettytensor/softplus | LDU_FT | [
"<BEGIN>\n## `_remove_non_methods`",
"Removes any object in dict that is not a registered method.\n<END>",
"<BEGIN>\n## `regularizer`",
"Wraps a regularizer in a parameter-function.",
" Args:\n name: The name scope for this regularizer.\n regularization_fn: A function with signature:\n fn(variab... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the softplus API.
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 softplus API.
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... | Computes softplus with a scale factor to sharpen of the hinge.
This is an alternate non-linearity to relu. It has a similar shape, but
it has a smooth transition from the linear part to 0.
Args:
x: A tensor.
scale: A float that sharpens the curve.
name: Optional name.
Returns:
y = log(1 + exp(... | "Computes softplus with a scale factor to sharpen of the hinge.\n\n This is an alternate non-linearity to relu. It has a similar shape, but\n it has a smooth transition from the linear part to 0.\n\n Args:\n x: A tensor.\n scale: A float that sharpens the curve.\n name: Optional name.\n Returns:\n y = l... | 551 | false | google/prettytensor | softplus | 40,565 | |
LDU_FT/datacratic/pymldb/put_and_track | LDU_FT | [
"<BEGIN>\n## `query`",
"Shortcut for GET /v1/query, except with argument format='dataframe'\n (the default), in which case it will simply wrap the result of the GET\n query to /v1/query (with format='table') in a `pandas.DataFrame`.\n<END>",
"<BEGIN>\n## `put_and_track`",
"Put and track progress... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put_and_track API.
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 put_and_track API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Put and track progress, displaying progress bars.
May display the wrong progress if 2 things post/put on the same
procedure name at the same time. | "Put and track progress, displaying progress bars.\n\n May display the wrong progress if 2 things post/put on the same\n procedure name at the same time." | 20 | false | datacratic/pymldb | put_and_track | 40,566 | |
LDU_FT/koordinates/python-client/get_items | LDU_FT | [
"<BEGIN>\n## `create`",
"Create single permission for the given object.",
" :param Permission permission: A single Permission object to be set.\n<END>",
"<BEGIN>\n## `set`",
"Set the object permissions. If the parent object already has permissions, they will be overwritten.",
" :param [] per... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_items API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_items API.
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 item models associated with this Publish group. | "Return the item models associated with this Publish group." | 178 | false | koordinates/python-client | get_items | 40,567 | |
LDU_FT/google/openhtf/load_code_info | LDU_FT | [
"<BEGIN>\n## `short_repr`",
"Returns a short, term-friendly string representation of the object.",
" Args:\n obj: An object for which to return a string representation.\n max_len: Maximum length of the returned string. Longer reprs will be turned\n into a brief descriptive string giving the type a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_code_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 ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the load_code_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 ex... | Recursively load code info for a PhaseGroup or list of phases or groups. | "Recursively load code info for a PhaseGroup or list of phases or groups." | 700 | false | google/openhtf | load_code_info | 40,568 | |
LDU_FT/awslabs/aws-sam-cli/is_docker_reachable | LDU_FT | [
"<BEGIN>\n## `invoke_common_options`",
"Common CLI options shared by \"local invoke\" and \"local start-api\" commands",
" :param f: Callback passed by Click\n<END>",
"<BEGIN>\n## `get_or_default_template_file_name`",
"Default value for the template file name option is more complex than what Click can ha... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_docker_reachable 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 is_docker_reachable 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... | Checks if Docker daemon is running. This is required for us to invoke the function locally
Returns
-------
bool
True, if Docker is available, False otherwise | "Checks if Docker daemon is running. This is required for us to invoke the function locally\n\n Returns\n -------\n bool\n True, if Docker is available, False otherwise" | 708 | false | awslabs/aws-sam-cli | is_docker_reachable | 40,569 | |
LDU_FT/edx/django-config-models/require_config | LDU_FT | [
"<BEGIN>\n## `get_serializer_class`",
"Returns a ConfigurationModel serializer class for the supplied configuration_model.\n<END>",
"<BEGIN>\n## `deserialize_json`",
"Given a stream containing JSON, deserializers the JSON into ConfigurationModel instances.",
" The stream is expected to be in the followin... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the require_config API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | View decorator that enables/disables a view based on configuration.
Arguments:
config_model (ConfigurationModel subclass): The class of the configuration
model to check.
Returns:
HttpResponse: 404 if the configuration model is disabled,
otherwise returns the response fr... | "View decorator that enables/disables a view based on configuration.\n\n Arguments:\n config_model (ConfigurationModel subclass): The class of the configuration\n model to check.\n\n Returns:\n HttpResponse: 404 if the configuration model is disabled,\n otherwise returns the re... | 55 | false | edx/django-config-models | require_config | 40,570 | |
LDU_FT/genepattern/genepattern-python/allow_choice_custom_value | LDU_FT | [
"<BEGIN>\n## `GCT`",
"Create a Dataframe with the contents of the GCT file\n<END>",
"<BEGIN>\n## `ODF`",
"Create a Dataframe with the contents of the ODF file",
" For more information on the ODF format see:\n http://software.broadinstitute.org/cancer/software/genepattern/file-formats-guide",
" :o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allow_choice_custom_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the allow_choice_custom_value API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Returns boolean indicating whether choice parameter supports custom value.
If choice parameter supports custom value, user can provide parameter value
other than those provided in choice list. | "Returns boolean indicating whether choice parameter supports custom value.\n\n If choice parameter supports custom value, user can provide parameter value\n other than those provided in choice list." | 156 | false | genepattern/genepattern-python | allow_choice_custom_value | 40,571 | |
LDU_FT/kipe/enocean/parse_msg | LDU_FT | [
"<BEGIN>\n## `_get_raw`",
"Get raw data as integer, based on offset and size\n<END>",
"<BEGIN>\n## `_get_enum`",
"Get enum value, based on the data in XML\n<END>",
"<BEGIN>\n## `_get_boolean`",
"Get boolean value, based on the data in XML\n<END>",
"<BEGIN>\n## `_set_value`",
"set given numeric value t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_msg API.
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_msg API.
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... | Parses message from buffer.
returns:
- PARSE_RESULT
- remaining buffer
- Packet -object (if message was valid, else None) | "Parses message from buffer.\n returns:\n - PARSE_RESULT\n - remaining buffer\n - Packet -object (if message was valid, else None)" | 38 | false | kipe/enocean | parse_msg | 40,572 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.