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/axltxl/m2bk/init | LDU_FT | [
"<BEGIN>\n## `chkstr`",
"Small routine for checking whether a string is empty\n even a string",
" :param s: the string in question\n :param v: variable name\n<END>",
"<BEGIN>\n## `load`",
"Load this driver",
" Note that if either aws_access_key_id or aws_secret_access_key are\n not specifie... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the init API.
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 init API.
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... | Set up output directory
:param output_dir(str, optional): Output dir for holding temporary files
:param \*\*kwargs: arbitrary keyword arguments | "Set up output directory\n\n :param output_dir(str, optional): Output dir for holding temporary files\n :param \\*\\*kwargs: arbitrary keyword arguments" | 83 | false | axltxl/m2bk | init | 2,873 | |
LDU_FT/PolyJIT/benchbuild/no_args | LDU_FT | [
"<BEGIN>\n## `write_makeconfig`",
"Write a valid gentoo make.conf file to :path:.",
" Args:\n path - The output path of the make.conf\n<END>",
"<BEGIN>\n## `write_bashrc`",
"Write a valid gentoo bashrc file to :path:.",
" Args:\n path - The output path of the make.conf\n<END>",
"<BEG... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the no_args API.
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 no_args API.
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... | Return the uchroot command without any customizations. | "Return the uchroot command without any customizations." | 401 | false | PolyJIT/benchbuild | no_args | 2,874 | |
LDU_FT/wangsix/vmo/predict | LDU_FT | [
"<BEGIN>\n## `main`",
"This example shows how to parse a music mxl file (music21 and musescore/finale required) \n and create a simple oracle representation. The output is a reshuffled midi stream shown\n in either musescore or finale based on your installation of music21. ",
" OPTIONAL ARGS:\n ... | 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... | Single symbolic prediction given a context, an oracle and an alphabet.
:param oracle: a learned vmo object from a symbolic sequence.
:param context: the context precedes the predicted symbol
:param ab: alphabet
:param verbose: to show if the context if pruned or not
:return: a probability distribut... | "Single symbolic prediction given a context, an oracle and an alphabet.\n\n :param oracle: a learned vmo object from a symbolic sequence.\n :param context: the context precedes the predicted symbol\n :param ab: alphabet\n :param verbose: to show if the context if pruned or not\n :return: a probability di... | 61 | false | wangsix/vmo | predict | 2,875 | |
LDU_FT/nabetama/slacky/create | LDU_FT | [
"<BEGIN>\n## `create`",
"https://api.slack.com/methods/channels.create\n<END>",
"<BEGIN>\n## `history`",
"https://api.slack.com/methods/channels.history\n<END>",
"<BEGIN>\n## `info`",
"https://api.slack.com/methods/channels.info\n<END>",
"<BEGIN>\n## `invite`",
"https://api.slack.com/methods/channels.... | 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 ... | https://api.slack.com/methods/channels.create | "https://api.slack.com/methods/channels.create" | 60 | false | nabetama/slacky | create | 2,876 | |
LDU_FT/the01/paps-settings/_plugin_get | LDU_FT | [
"<BEGIN>\n## `get_file_hash`",
"Generate hash for given file",
" :param file_path: Path to file\n :type file_path: str\n :param block_size: Size of block to be read at once (default: 1024)\n :type block_size: int\n :param hasher: Use specific hasher, defaults to md5 (default: None)\n :type has... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _plugin_get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _plugin_get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Find plugins in controller
:param plugin_name: Name of the plugin to find
:type plugin_name: str | None
:return: Plugin or None and error message
:rtype: (settable_plugin.SettablePlugin | None, str) | "Find plugins in controller\n\n :param plugin_name: Name of the plugin to find\n :type plugin_name: str | None\n :return: Plugin or None and error message\n :rtype: (settable_plugin.SettablePlugin | None, str)" | 40 | false | the01/paps-settings | _plugin_get | 2,877 | |
LDU_FT/etingof/pysnmpcrypto/_cryptography_cipher | LDU_FT | [
"<BEGIN>\n## `_cryptodome_encrypt`",
"Use a Pycryptodome cipher factory to encrypt data.",
" :param cipher_factory: Factory callable that builds a Pycryptodome Cipher\n instance based on the key and IV\n :type cipher_factory: callable\n :param bytes plaintext: Plaintext data to encrypt\n :par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _cryptography_cipher 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 _cryptography_cipher API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Build a cryptography AES Cipher object.
:param bytes key: Encryption key
:param bytes iv: Initialization vector
:returns: AES Cipher instance
:rtype: cryptography.hazmat.primitives.ciphers.Cipher | "Build a cryptography AES Cipher object.\n\n :param bytes key: Encryption key\n :param bytes iv: Initialization vector\n :returns: AES Cipher instance\n :rtype: cryptography.hazmat.primitives.ciphers.Cipher" | 27 | false | etingof/pysnmpcrypto | _cryptography_cipher | 2,878 | |
LDU_FT/thautwarm/Redy/reduce_by | LDU_FT | [
"<BEGIN>\n## `map_by`",
"when pycharm supports type hinting for any implementation of currying,\n map_with and map_on would be deprecated.\n >>> from Redy.Collections import Traversal, Flow\n >>> def double(x: int) -> int: return x * 2\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traver... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the reduce_by API.
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 reduce_by API.
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... | >>> from Redy.Collections import Traversal, Flow
>>> def mul(a: int, b: int): return a * b
>>> lst: Iterable[int] = [1, 2, 3]
>>> x = Flow(lst)[Traversal.reduce_by(mul)].unbox
>>> assert x is 6 | ">>> from Redy.Collections import Traversal, Flow\n >>> def mul(a: int, b: int): return a * b\n >>> lst: Iterable[int] = [1, 2, 3]\n >>> x = Flow(lst)[Traversal.reduce_by(mul)].unbox\n >>> assert x is 6" | 83 | false | thautwarm/Redy | reduce_by | 2,879 | |
LDU_FT/bitesofcode/projex/registerStdErr | LDU_FT | [
"<BEGIN>\n## `add`",
"Adds the new key to this enumerated type.",
" :param key | <str>\n<END>",
"<BEGIN>\n## `all`",
"Returns all the values joined together.",
" :return <int>\n<END>",
"<BEGIN>\n## `base`",
"Returns the root base for the given value from this enumeration.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the registerStdErr API.
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 registerStdErr API.
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... | Registers a function to the print hook queue to be called on hook.
This method will also override the current sys.stdout variable with a new
<StreamHooks> instance. This will preserve any current sys.stdout
overrides while providing a hookable class for linking multiple methods to.
:param fu... | "Registers a function to the print hook queue to be called on hook.\n This method will also override the current sys.stdout variable with a new\n <StreamHooks> instance. This will preserve any current sys.stdout \n overrides while providing a hookable class for linking multiple methods to.\n \n :param ... | 676 | false | bitesofcode/projex | registerStdErr | 2,880 | |
LDU_FT/NerdWalletOSS/savage/_get_order_clause | LDU_FT | [
"<BEGIN>\n## `delete`",
"Performs a hard delete on a row, which means the row is deleted from the Savage\n table as well as the archive table.",
" :param table: the model class which inherits from\n :class:`~savage.models.user_table.SavageModelMixin` and specifies the model\n of the user tab... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_order_clause API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_order_clause API.
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 an ascending order clause on the versioned unique constraint as well as the
version column. | "Returns an ascending order clause on the versioned unique constraint as well as the\n version column." | 60 | false | NerdWalletOSS/savage | _get_order_clause | 2,881 | |
LDU_FT/gamechanger/schemer/length | LDU_FT | [
"<BEGIN>\n## `Mixed`",
"Mixed type, used to indicate a field in a schema can be\n one of many types. Use as a last resort only.\n The Mixed type can be used directly as a class to indicate\n any type is permitted for a given field:\n `\"my_field\": {\"type\": Mixed}`\n It can also be instantiated w... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the length API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the length API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Validates that a field value's length is between the bounds given to this
validator. | "Validates that a field value's length is between the bounds given to this\n validator." | 48 | false | gamechanger/schemer | length | 2,882 | |
LDU_FT/ace0/pyrelic/deserializeEc | LDU_FT | [
"<BEGIN>\n## `assertSameType`",
"Raises an exception if @b is not an instance of type(@a)\n<END>",
"<BEGIN>\n## `assertType`",
"Asserts that a variable @var is of an @expectedType. Raises a TypeError\n if the assertion fails.\n<END>",
"<BEGIN>\n## `dp`",
"Debugging print. Prints a list of labels and va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deserializeEc API.
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 deserializeEc API.
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... | Deserialize binary string @x into an EC element. | "Deserialize binary string @x into an EC element." | 109 | false | ace0/pyrelic | deserializeEc | 2,883 | |
LDU_FT/SavinaRoja/OpenAccess_EPUB/uncomment | LDU_FT | [
"<BEGIN>\n## `make_EPUB`",
"Standard workflow for creating an EPUB document.",
" make_EPUB is used to produce an EPUB file from a parsed article. In addition\n to the article it also requires a path to the appropriate image directory\n which it will insert into the EPUB file, as well the output directo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the uncomment API.
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 uncomment API.
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... | Converts the comment node received to a non-commented element, in place,
and will return the new node.
This may fail, primarily due to special characters within the comment that
the xml parser is unable to handle. If it fails, this method will log an
error and return None | "Converts the comment node received to a non-commented element, in place,\n and will return the new node.\n\n This may fail, primarily due to special characters within the comment that\n the xml parser is unable to handle. If it fails, this method will log an\n error and return None" | 245 | false | SavinaRoja/OpenAccess_EPUB | uncomment | 2,884 | |
LDU_FT/expfactory/expfactory/generate_user | LDU_FT | [
"<BEGIN>\n## `get_experiments`",
"get_experiments will return loaded json for all valid experiments from an experiment folder\n :param base: full path to the base folder with experiments inside\n :param load: if True, returns a list of loaded config.json objects. If False (default) returns the paths to the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generate_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | generate a new user on the filesystem, still session based so we
create a new identifier. This function is called from the users new
entrypoint, and it assumes we want a user generated with a token.
since we don't have a database proper, we write the folder name to
the filesystem | "generate a new user on the filesystem, still session based so we\n create a new identifier. This function is called from the users new \n entrypoint, and it assumes we want a user generated with a token.\n since we don't have a database proper, we write the folder name to \n the filesystem" | 128 | false | expfactory/expfactory | generate_user | 2,885 | |
LDU_FT/pmacosta/pexdoc/get_or_create_exh_obj | LDU_FT | [
"<BEGIN>\n## `func`",
"r\"\"\"\n Print your name.",
" :param name: Name to print\n :type name: string",
" .. [[[cog cog.out(exobj.get_sphinx_autodoc(width=69))]]]\n .. [[[end]]]\n<END>",
"<BEGIN>\n## `get_function_args`",
"Return tuple of the function argument names in the order of the fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_or_create_exh_obj 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_or_create_exh_obj API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | r"""
Return global exception handler if set, otherwise create a new one and return it.
:param full_cname: Flag that indicates whether fully qualified
function/method/class property names are obtained for
functions/methods/class properties that use the
... | "r\"\"\"\n Return global exception handler if set, otherwise create a new one and return it.\n\n :param full_cname: Flag that indicates whether fully qualified\n function/method/class property names are obtained for\n functions/methods/class properties that use the\n ... | 220 | false | pmacosta/pexdoc | get_or_create_exh_obj | 2,886 | |
LDU_FT/bjmorgan/vasppy/murnaghan | LDU_FT | [
"<BEGIN>\n## `md5sum`",
"Generate the md5 checksum for a string",
" Args:\n string (Str): The string to be checksummed.",
" Returns:\n (Str): The hex checksum.\n<END>",
"<BEGIN>\n## `file_md5`",
"Generate the md5 checksum for a file",
" Args:\n filename (Str): The file to b... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the murnaghan API.
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 murnaghan API.
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... | Calculate the energy as a function of volume, using the Murnaghan equation of state
[Murnaghan, Proc. Nat. Acad. Sci. 30, 244 (1944)]
https://en.wikipedia.org/wiki/Murnaghan_equation_of_state
cf. Fu and Ho, Phys. Rev. B 28, 5480 (1983).
Args:
vol (float): this volume.
e0 (float): energ... | "Calculate the energy as a function of volume, using the Murnaghan equation of state\n [Murnaghan, Proc. Nat. Acad. Sci. 30, 244 (1944)]\n https://en.wikipedia.org/wiki/Murnaghan_equation_of_state\n cf. Fu and Ho, Phys. Rev. B 28, 5480 (1983).\n\n Args:\n vol (float): this volume.\n e0 (float)... | 174 | false | bjmorgan/vasppy | murnaghan | 2,887 | |
LDU_FT/echinopsii/net.echinopsii.ariane.community.cli.python3/make_refresh_on_demand_service | LDU_FT | [
"<BEGIN>\n## `find_location`",
"find the location according location id (prioritary) or location name\n :param loc_id: the location id\n :param loc_name: the location name\n :return: found location or None if not found\n<END>",
"<BEGIN>\n## `json_2_location`",
"transform JSON obj coming f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_refresh_on_demand_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_refresh_on_demand_service API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its con... | create a refresh on demand service listening to refresh order on the component admin queue
:param injector_component: the injector_component to bind with the new refresh on demande service
:return: the created service | "create a refresh on demand service listening to refresh order on the component admin queue\n :param injector_component: the injector_component to bind with the new refresh on demande service\n :return: the created service" | 303 | false | echinopsii/net.echinopsii.ariane.community.cli.python3 | make_refresh_on_demand_service | 2,888 | |
LDU_FT/Open-ET/openet-core-beta/landsat_c1_toa_cloud_mask | LDU_FT | [
"<BEGIN>\n## `getinfo`",
"Make an exponential back off getInfo call on an Earth Engine object\n<END>",
"<BEGIN>\n## `constant_image_value`",
"Extract the output value from a calculation done with constant images\n<END>",
"<BEGIN>\n## `point_image_value`",
"Extract the output value from a calculation at a ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the landsat_c1_toa_cloud_mask 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 landsat_c1_toa_cloud_mask API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Extract cloud mask from the Landsat Collection 1 TOA BQA band
Parameters
----------
input_img : ee.Image
Image from a Landsat Collection 1 TOA collection with a BQA band
(e.g. LANDSAT/LE07/C01/T1_TOA).
snow_flag : bool
If true, mask snow pixels (the default is False).
cirrus... | "Extract cloud mask from the Landsat Collection 1 TOA BQA band\n\n Parameters\n ----------\n input_img : ee.Image\n Image from a Landsat Collection 1 TOA collection with a BQA band\n (e.g. LANDSAT/LE07/C01/T1_TOA).\n snow_flag : bool\n If true, mask snow pixels (the default is False).\n... | 62 | false | Open-ET/openet-core-beta | landsat_c1_toa_cloud_mask | 2,889 | |
LDU_FT/rocky/python-xdis/findlinestarts | LDU_FT | [
"<BEGIN>\n## `disco`",
"diassembles and deparses a given code block 'co'\n<END>",
"<BEGIN>\n## `disco_loop`",
"Disassembles a queue of code objects. If we discover\n another code object which will be found in co_consts, we add\n the new code to the list. Note that the order of code discovery\n is in ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the findlinestarts API.
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 findlinestarts API.
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... | Find the offsets in a byte code which are start of lines in the source.
Generate pairs (offset, lineno) as described in Python/compile.c. | "Find the offsets in a byte code which are start of lines in the source.\n\n Generate pairs (offset, lineno) as described in Python/compile.c." | 133 | false | rocky/python-xdis | findlinestarts | 2,890 | |
LDU_FT/rndusr/torf/piece_size | LDU_FT | [
"<BEGIN>\n## `files`",
"Yield relative file paths specified in :attr:`metainfo`",
" Each paths starts with :attr:`name`.",
" Note that the paths may not exist. See :attr:`filepaths` for existing\n files.\n<END>",
"<BEGIN>\n## `filepaths`",
"Yield absolute paths to existing files in :a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the piece_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the piece_size API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Piece size/length or ``None``
If set to ``None``, :attr:`calculate_piece_size` is called.
If :attr:`size` returns ``None``, this also returns ``None``.
Setting this property sets ``piece length`` in :attr:`metainfo`\
``['info']``. | "Piece size/length or ``None``\n\n If set to ``None``, :attr:`calculate_piece_size` is called.\n\n If :attr:`size` returns ``None``, this also returns ``None``.\n\n Setting this property sets ``piece length`` in :attr:`metainfo`\\\n ``['info']``." | 89 | false | rndusr/torf | piece_size | 2,891 | |
LDU_FT/vnmabus/dcor/_energy_distance_imp | LDU_FT | [
"<BEGIN>\n## `_float_copy_to_out`",
"Copy origin to out and return it.",
" If ``out`` is None, a new copy (casted to floating point) is used. If\n ``out`` and ``origin`` are the same, we simply return it. Otherwise we\n copy the values.\n<END>",
"<BEGIN>\n## `_double_centered_imp`",
"Real implement... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _energy_distance_imp 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 _energy_distance_imp API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Real implementation of :func:`energy_distance`.
This function is used to make parameter ``exponent`` keyword-only in
Python 2. | "Real implementation of :func:`energy_distance`.\n\n This function is used to make parameter ``exponent`` keyword-only in\n Python 2." | 201 | false | vnmabus/dcor | _energy_distance_imp | 2,892 | |
LDU_FT/ayust/kitnirc/_parse_featurelist | LDU_FT | [
"<BEGIN>\n## `on_line`",
"Default handling for incoming lines.",
" This handler will automatically manage the following IRC messages:",
" PING:\n Responds with a PONG.\n PRIVMSG:\n Dispatches the PRIVMSG event.\n NOTICE:\n Dispatches the NOTICE event.\n MOTDSTART:\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_featurelist 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_featurelist 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... | Parse FEATURELIST and update the Host object. | "Parse FEATURELIST and update the Host object." | 151 | false | ayust/kitnirc | _parse_featurelist | 2,893 | |
LDU_FT/fedora-infra/fedora-messaging/user_avatar_url | LDU_FT | [
"<BEGIN>\n## `cli`",
"The fedora-messaging command line interface.\n<END>",
"<BEGIN>\n## `consume`",
"Consume messages from an AMQP queue using a Python callback.\n<END>",
"<BEGIN>\n## `_consume_errback`",
"Handle any errors that occur during consumer registration.\n<END>",
"<BEGIN>\n## `_consume_callba... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_avatar_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_avatar_url API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Get the avatar URL of the provided Fedora username.
The URL is returned from the Libravatar service.
Args:
username (str): The username to get the avatar of.
size (int): Size of the avatar in pixels (it's a square).
default (str): Default avatar to return if not found.
Returns:
... | "Get the avatar URL of the provided Fedora username.\n\n The URL is returned from the Libravatar service.\n\n Args:\n username (str): The username to get the avatar of.\n size (int): Size of the avatar in pixels (it's a square).\n default (str): Default avatar to return if not found.\n Ret... | 302 | false | fedora-infra/fedora-messaging | user_avatar_url | 2,894 | |
LDU_FT/AmesCornish/buttersink/_rescanSizes | LDU_FT | [
"<BEGIN>\n## `update`",
"Update self and parent with intermediate progress.\n<END>",
"<BEGIN>\n## `close`",
"Stop overwriting display, or update parent.\n<END>",
"<BEGIN>\n## `transfer`",
"Transfer (large) data from sender to receiver.\n<END>",
"<BEGIN>\n## `display`",
"Friendly string for volume, usi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _rescanSizes API.
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 _rescanSizes API.
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... | Zero and recalculate quota sizes to subvolume sizes will be correct. | "Zero and recalculate quota sizes to subvolume sizes will be correct." | 148 | false | AmesCornish/buttersink | _rescanSizes | 2,895 | |
LDU_FT/jmoore987/sharp_aquos_rc/info | LDU_FT | [
"<BEGIN>\n## `_send_command_raw`",
"Description:",
" The TV doesn't handle long running connections very well,\n so we open a new connection every time.\n There might be a better way to do this,\n but it's pretty quick and resilient.",
" Returns:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Description:
Returns dict of information about the TV
name, model, version | "Description:\n\n Returns dict of information about the TV\n name, model, version" | 25 | false | jmoore987/sharp_aquos_rc | info | 2,896 | |
LDU_FT/RIPE-NCC/ripe.atlas.sagan/set_destination_ip_responded | LDU_FT | [
"<BEGIN>\n## `_get_buf`",
"Lazy read-only accessor for the (a|q)buf.\n The qbuf Message object is cached for subsequent requests.\n<END>",
"<BEGIN>\n## `build_responses`",
"DNS measurement results are a little wacky. Sometimes you get a single\n response, other times you get a set of responses ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_destination_ip_responded API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_destination_ip_responded API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Sets the flag if destination IP responded. | "Sets the flag if destination IP responded." | 27 | false | RIPE-NCC/ripe.atlas.sagan | set_destination_ip_responded | 2,897 | |
LDU_FT/andychase/reparse/AlternatesGroup | LDU_FT | [
"<BEGIN>\n## `separate_string`",
">>> separate_string(\"test <2>\")\n (['test ', ''], ['2'])\n<END>",
"<BEGIN>\n## `overlapping`",
">>> overlapping(0, 5, 6, 7)\n False\n >>> overlapping(1, 2, 0, 4)\n True\n >>> overlapping(5,6,0,5)\n False\n<END>",
"<BEGIN>\n## `remove_lower_overlapping`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the AlternatesGroup API.
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 AlternatesGroup API.
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... | Group expressions using the OR character ``|``
>>> from collections import namedtuple
>>> expr = namedtuple('expr', 'regex group_lengths run')('(1)', [1], None)
>>> grouping = AlternatesGroup([expr, expr], lambda f: None, 'yeah')
>>> grouping.regex # doctest: +IGNORE_UNICODE
'(?:(1))|(?:(1))'
>... | "Group expressions using the OR character ``|``\n >>> from collections import namedtuple\n >>> expr = namedtuple('expr', 'regex group_lengths run')('(1)', [1], None)\n >>> grouping = AlternatesGroup([expr, expr], lambda f: None, 'yeah')\n >>> grouping.regex # doctest: +IGNORE_UNICODE\n '(?:(1))|(?:(1))'... | 23 | false | andychase/reparse | AlternatesGroup | 2,898 | |
LDU_FT/frejanordsiek/GeminiMotorDrive/motion_commanded | LDU_FT | [
"<BEGIN>\n## `get_driver`",
"Gets a driver for a Parker Motion Gemini drive.",
" Gets and connects a particular driver in ``drivers`` to a Parker\n Motion Gemini GV-6 or GT-6 servo/stepper motor drive.",
" The only driver currently supported is the ``'ASCII_RS232'`` driver\n which corresponds to `... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the motion_commanded API.
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 motion_commanded API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Whether motion is commanded or not.
``bool``
Can't be set.
Notes
-----
It is the value of the first bit of the 'TAS' command. | "Whether motion is commanded or not.\n\n ``bool``\n\n Can't be set.\n\n Notes\n -----\n It is the value of the first bit of the 'TAS' command." | 159 | false | frejanordsiek/GeminiMotorDrive | motion_commanded | 2,899 | |
LDU_FT/yunojuno/elasticsearch-django/_on_model_delete | LDU_FT | [
"<BEGIN>\n## `execute_search`",
"Create a new SearchQuery instance and execute a search against ES.",
" Args:\n search: elasticsearch.search.Search object, that internally contains\n the connection and query; this is the query that is executed. All\n we are doing is logging the i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_model_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_model_delete API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Remove documents from search indexes post_delete. | "Remove documents from search indexes post_delete." | 124 | false | yunojuno/elasticsearch-django | _on_model_delete | 2,900 | |
LDU_FT/MosesSymeonidis/aggregation_builder/INDEX_OF_CP | LDU_FT | [
"<BEGIN>\n## `add_raw`",
"Adds row aggregation state at the query\n :param raw: list of raw stages or a dict of raw stage\n :return: The current object\n<END>",
"<BEGIN>\n## `project`",
"Adds a projection stage at the query\n :param id: Specifies if the id is in selected fields default va... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the INDEX_OF_CP API.
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 INDEX_OF_CP API.
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... | Searches a string for an occurence of a substring and returns the UTF-8 code point index (zero-based) of the first occurence.
If the substring is not found, returns -1.
https://docs.mongodb.com/manual/reference/operator/aggregation/indexOfCP/
for more details
:param string_expression: The string or expr... | "Searches a string for an occurence of a substring and returns the UTF-8 code point index (zero-based) of the first occurence.\n If the substring is not found, returns -1.\n https://docs.mongodb.com/manual/reference/operator/aggregation/indexOfCP/\n for more details\n :param string_expression: The string or... | 33 | false | MosesSymeonidis/aggregation_builder | INDEX_OF_CP | 2,901 | |
LDU_FT/gtaylor/python-colormath/apply_chromatic_adaptation_on_color | LDU_FT | [
"<BEGIN>\n## `get_value_tuple`",
"Returns a tuple of the color's values (in order). For example,\n an LabColor object will return (lab_l, lab_a, lab_b), where each\n member of the tuple is the float value for said variable.\n<END>",
"<BEGIN>\n## `set_observer`",
"Validates and sets the color's o... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_chromatic_adaptation_on_color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the apply_chromatic_adaptation_on_color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates it... | Convenience function to apply an adaptation directly to a Color object. | "Convenience function to apply an adaptation directly to a Color object." | 133 | false | gtaylor/python-colormath | apply_chromatic_adaptation_on_color | 2,902 | |
LDU_FT/tumblr/pytumblr/send_api_request | LDU_FT | [
"<BEGIN>\n## `new_oauth`",
"Return the consumer and oauth tokens with three-legged OAuth process and\n save in a yaml file in the user's home directory.\n<END>",
"<BEGIN>\n## `validate_params`",
"Helps us validate the parameters for the request",
" :param valid_options: a list of strings of valid opti... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_api_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the send_api_request API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Sends the url with parameters to the requested url, validating them
to make sure that they are what we expect to have passed to us
:param method: a string, the request method you want to make
:param params: a dict, the parameters used for the API request
:param valid_parameters: a list,... | "Sends the url with parameters to the requested url, validating them\n to make sure that they are what we expect to have passed to us\n\n :param method: a string, the request method you want to make\n :param params: a dict, the parameters used for the API request\n :param valid_parameters: a... | 126 | false | tumblr/pytumblr | send_api_request | 2,903 | |
LDU_FT/scrapinghub/exporters/get_boto_connection | 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 get_boto_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.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_boto_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.
T... | Conection parameters must be different only if bucket name has a period | "Conection parameters must be different only if bucket name has a period" | 90 | false | scrapinghub/exporters | get_boto_connection | 2,904 | |
LDU_FT/greyli/flask-avatars/crop_box | LDU_FT | [
"<BEGIN>\n## `gravatar`",
"Pass email hash, return Gravatar URL. You can get email hash like this::",
" import hashlib\n avatar_hash = hashlib.md5(email.lower().encode('utf-8')).hexdigest()",
" Visit https://en.gravatar.com/site/implement/images/ for more information.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the crop_box API.
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 crop_box API.
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... | Create a crop box.
:param endpoint: The endpoint of view function that serve avatar image file.
:param filename: The filename of the image that need to be crop. | "Create a crop box.\n\n :param endpoint: The endpoint of view function that serve avatar image file.\n :param filename: The filename of the image that need to be crop." | 48 | false | greyli/flask-avatars | crop_box | 2,905 | |
LDU_FT/openid/JWTConnect-Python-CryptoJWT/build_key_bundle | LDU_FT | [
"<BEGIN>\n## `encrypt`",
"Encrypts and authenticates the data provided as well as authenticating\n the associated_data.",
" :param msg: The message to be encrypted\n :param iv: MUST be present, at least 96-bit long\n :param auth_data: Associated data\n :return: The cipher text... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_key_bundle API.
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 build_key_bundle API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Builds a :py:class:`oidcmsg.key_bundle.KeyBundle` instance based on a key
specification.
An example of such a specification::
keys = [
{"type": "RSA", "key": "cp_keys/key.pem", "use": ["enc", "sig"]},
{"type": "EC", "crv": "P-256", "use": ["sig"], "kid": "ec.1"},
{"... | "Builds a :py:class:`oidcmsg.key_bundle.KeyBundle` instance based on a key\n specification.\n\n An example of such a specification::\n\n keys = [\n {\"type\": \"RSA\", \"key\": \"cp_keys/key.pem\", \"use\": [\"enc\", \"sig\"]},\n {\"type\": \"EC\", \"crv\": \"P-256\", \"use\": [\"sig\... | 399 | false | openid/JWTConnect-Python-CryptoJWT | build_key_bundle | 2,906 | |
LDU_FT/dj-stripe/dj-stripe/subscriber_has_active_subscription | LDU_FT | [
"<BEGIN>\n## `stripe_to_db`",
"Convert the raw value to decimal representation.\n<END>",
"<BEGIN>\n## `stripe_to_db`",
"Convert the raw timestamp value to a DateTime representation.\n<END>",
"<BEGIN>\n## `from_request`",
"Create, validate and process a WebhookEventTrigger given a Django\n\t\trequest objec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscriber_has_active_subscription API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the subscriber_has_active_subscription API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | Helper function to check if a subscriber has an active subscription.
Throws improperlyConfigured if the subscriber is an instance of AUTH_USER_MODEL
and get_user_model().is_anonymous == True.
Activate subscription rules (or):
* customer has active subscription
If the subscriber is an instance of AUTH_USER_MODE... | "Helper function to check if a subscriber has an active subscription.\n\n\tThrows improperlyConfigured if the subscriber is an instance of AUTH_USER_MODEL\n\tand get_user_model().is_anonymous == True.\n\n\tActivate subscription rules (or):\n\t\t* customer has active subscription\n\n\tIf the subscriber is an instance of... | 300 | false | dj-stripe/dj-stripe | subscriber_has_active_subscription | 2,907 | |
LDU_FT/ryanvarley/ExoData/_processResults | LDU_FT | [
"<BEGIN>\n## `load_db_from_url`",
"Loads the database from a gzipped version of the system folder, by default the one located in the oec_gzip repo\n in the OpenExoplanetCatalogue GitHub group.",
" The database is loaded from the url in memory",
" :param url: url to load (must be gzipped version of sy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _processResults API.
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 _processResults API.
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... | Checks each result can meet SNR requirments, adds to count
:return: | "Checks each result can meet SNR requirments, adds to count\n :return:" | 133 | false | ryanvarley/ExoData | _processResults | 2,908 | |
LDU_FT/juju/charm-helpers/msg | LDU_FT | [
"<BEGIN>\n## `get_ubuntu_release_from_sentry`",
"Get Ubuntu release codename from sentry unit.",
" :param sentry_unit: amulet sentry/service unit pointer\n :returns: list of strings - release codename, failure message\n<END>",
"<BEGIN>\n## `validate_services`",
"Validate that lists of commands... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted doc... | Emit a message. Override to customize log spam. | "Emit a message. Override to customize log spam." | 1,689 | true | juju/charm-helpers | msg | 2,909 | |
LDU_FT/UDST/orca/add_injectable | LDU_FT | [
"<BEGIN>\n## `import_file`",
"Import a file that will trigger the population of Orca.",
" Parameters\n ----------\n filename : str\n<END>",
"<BEGIN>\n## `check_is_table`",
"Decorator that will check whether the \"table_name\" keyword argument\n to the wrapped function matches a registered Orca t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_injectable API.
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 add_injectable API.
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... | Add a value that will be injected into other functions.
Parameters
----------
name : str
value
If a callable and `autocall` is True then the function's
argument names and keyword argument values will be matched
to registered variables when the function needs to be
evalua... | "Add a value that will be injected into other functions.\n\n Parameters\n ----------\n name : str\n value\n If a callable and `autocall` is True then the function's\n argument names and keyword argument values will be matched\n to registered variables when the function needs to be\n ... | 223 | false | UDST/orca | add_injectable | 2,910 | |
LDU_FT/benjamin-hodgson/asynqp/unbind | LDU_FT | [
"<BEGIN>\n## `open_channel`",
"Open a new channel on this connection.",
" This method is a :ref:`coroutine <coroutine>`.",
" :return: The new :class:`Channel` object.\n<END>",
"<BEGIN>\n## `close`",
"Close the connection by handshaking with the server.",
" This method is a :ref:`cor... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unbind API.
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 unbind API.
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 ... | Unbind the queue from the exchange.
This method is a :ref:`coroutine <coroutine>`. | "Unbind the queue from the exchange.\n\n This method is a :ref:`coroutine <coroutine>`." | 95 | false | benjamin-hodgson/asynqp | unbind | 2,911 | |
LDU_FT/ApproxEng/approxeng.input/print_devices | LDU_FT | [
"<BEGIN>\n## `map_into_range`",
"Map an input function into an output value, clamping such that the magnitude of the output is at most 1.0",
" :param low:\n The value in the input range corresponding to zero.\n :param high:\n The value in the input range corresponding to 1.0 or -1.0, dependi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the print_devices API.
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 print_devices API.
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... | Simple test function which prints out all devices found by evdev | "Simple test function which prints out all devices found by evdev" | 86 | false | ApproxEng/approxeng.input | print_devices | 2,912 | |
LDU_FT/KnowledgeLinks/rdfframework/prepare_prop_defs | LDU_FT | [
"<BEGIN>\n## `get_obj_frm_str`",
"Returns a python object from a python object string",
" args:\n obj_str: python object path expamle\n \"rdfframework.connections.ConnManager[{param1}]\"",
" kwargs:\n * kwargs used to format the 'obj_str'\n<END>",
"<BEGIN>\n## `pyfile_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the prepare_prop_defs API.
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 prepare_prop_defs API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Examines and adds any missing defs to the prop_defs dictionary for
use with the RdfPropertyMeta.__prepare__ method
Args:
-----
prop_defs: the defintions from the rdf vocabulary defintion
prop_name: the property name
cls_names: the name of the associated classes
Returns:
---... | "Examines and adds any missing defs to the prop_defs dictionary for\n use with the RdfPropertyMeta.__prepare__ method\n\n Args:\n -----\n prop_defs: the defintions from the rdf vocabulary defintion\n prop_name: the property name\n cls_names: the name of the associated classes\n\n Return... | 627 | false | KnowledgeLinks/rdfframework | prepare_prop_defs | 2,913 | |
LDU_FT/Accelize/pycosio/flush | LDU_FT | [
"<BEGIN>\n## `_copy`",
"Copies file from source to destination",
" Args:\n src (str or file-like object): Source file.\n dst (str or file-like object): Destination file.\n src_is_storage (bool): Source is storage.\n dst_is_storage (bool): Destination is storage.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flush API.
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 flush API.
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... | Flush the write buffers of the stream if applicable. | "Flush the write buffers of the stream if applicable." | 498 | false | Accelize/pycosio | flush | 2,914 | |
LDU_FT/brbsix/subnuker/getch | LDU_FT | [
"<BEGIN>\n## `getch`",
"Request a single character input from the user.\n<END>",
"<BEGIN>\n## `ismatch`",
"Test whether text contains string or matches regex.\n<END>",
"<BEGIN>\n## `parse`",
"Parse command-line arguments. Arguments may consist of any\n combination of directories, files, and options.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the getch API.
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 getch API.
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... | Request a single character input from the user. | "Request a single character input from the user." | 36 | false | brbsix/subnuker | getch | 2,915 | |
LDU_FT/lingpy/sinopy/sixtuple2baxter | LDU_FT | [
"<BEGIN>\n## `is_chinese`",
"Check if a symbol is a Chinese character.",
" Note\n ----",
" Taken from http://stackoverflow.com/questions/16441633/python-2-7-test-if-characters-in-a-string-are-all-chinese-characters\n<END>",
"<BEGIN>\n## `parse_baxter`",
"Parse a Baxter string and render it with a... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the sixtuple2baxter API.
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 sixtuple2baxter API.
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... | Convert the classicial six-tuple representation of MCH readings into IPA
(or Baxter's ASCII system).
This function is more or less implemented in MiddleChinese. | "Convert the classicial six-tuple representation of MCH readings into IPA\n (or Baxter's ASCII system). \n This function is more or less implemented in MiddleChinese." | 21 | false | lingpy/sinopy | sixtuple2baxter | 2,916 | |
LDU_FT/csirtgadgets/csirtgsdk-py/get | LDU_FT | [
"<BEGIN>\n## `show`",
"Show a specific indicator by id",
" :param user: feed username\n :param feed: feed name\n :param id: indicator endpoint id [INT]\n :return: dict",
" Example:\n ret = Indicator.show('csirtgadgets','port-scanners', '1234')\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Performs a search against the predict endpoint
:param q: query to be searched for [STRING]
:return: { score: [0|1] } | "Performs a search against the predict endpoint\n\n :param q: query to be searched for [STRING]\n :return: { score: [0|1] }" | 52 | false | csirtgadgets/csirtgsdk-py | get | 2,917 | |
LDU_FT/python-constraint/python-constraint/preProcess | LDU_FT | [
"<BEGIN>\n## `process_docstring`",
"Process the docstring for a given python object.\n Note that the list 'lines' is changed in this function. Sphinx\n uses the altered content of the list.\n<END>",
"<BEGIN>\n## `getArcs`",
"Return a dictionary mapping pairs (arcs) of constrained variables",
" @att... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the preProcess API.
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 preProcess API.
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... | Preprocess variable domains
This method is called before starting to look for solutions,
and is used to prune domains with specific constraint logic
when possible. For instance, any constraints with a single
variable may be applied on all possible values and removed,
since they ... | "Preprocess variable domains\n\n This method is called before starting to look for solutions,\n and is used to prune domains with specific constraint logic\n when possible. For instance, any constraints with a single\n variable may be applied on all possible values and removed,\n sinc... | 57 | false | python-constraint/python-constraint | preProcess | 2,918 | |
LDU_FT/MartinThoma/geocodertools/build_db | 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 build_db API.
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 build_db API.
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... | Get a structured dataset out of
http://download.geonames.org/export/dump/cities1000.txt | "Get a structured dataset out of\n http://download.geonames.org/export/dump/cities1000.txt" | 12 | false | MartinThoma/geocodertools | build_db | 2,919 | |
LDU_FT/belambert/edit-distance/get_opcodes | LDU_FT | [
"<BEGIN>\n## `lowest_cost_action`",
"Given the following values, choose the action (insertion, deletion,\n or substitution), that results in the lowest cost (ties are broken using\n the 'match' score). This is used within the dynamic programming algorithm.",
" * ic - insertion cost",
" * dc - del... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_opcodes API.
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_opcodes API.
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... | Returns a list of opcodes. Opcodes are the same as defined by
:py:mod:`difflib`. | "Returns a list of opcodes. Opcodes are the same as defined by\n :py:mod:`difflib`." | 34 | false | belambert/edit-distance | get_opcodes | 2,920 | |
LDU_FT/kwlzn/blast/unescape_utf8 | LDU_FT | [
"<BEGIN>\n## `stream_template`",
"allow streaming of jinja templates for reduced page load start latency (e.g. for large lists)\n<END>",
"<BEGIN>\n## `unescape_utf8`",
"convert escaped unicode web entities to unicode\n<END>",
"<BEGIN>\n## `iterplayables`",
"fast iterator of playable file object/dicts foun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the unescape_utf8 API.
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 unescape_utf8 API.
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 escaped unicode web entities to unicode | "convert escaped unicode web entities to unicode" | 15 | false | kwlzn/blast | unescape_utf8 | 2,921 | |
LDU_FT/note35/sinon/_append_condition | LDU_FT | [
"<BEGIN>\n## `__remove_args_first_item`",
"# Todo: finding a better solution\n This is a dirty solution\n Because the first argument of inspectors' args will be itself\n For current implementation, it should be ignore\n<END>",
"<BEGIN>\n## `lastCall`",
"Return: SpyCall object for this spy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _append_condition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _append_condition API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Permanently saves the current (volatile) conditions, which would be otherwise lost
In the _conditions dictionary, the keys "args", "kwargs", "oncall" and "action"
each refer to a list. All 4 lists have a value appended each time the user calls
returns or throws to add a condition to the stub. H... | "Permanently saves the current (volatile) conditions, which would be otherwise lost\n\n In the _conditions dictionary, the keys \"args\", \"kwargs\", \"oncall\" and \"action\"\n each refer to a list. All 4 lists have a value appended each time the user calls\n returns or throws to add a condition t... | 162 | false | note35/sinon | _append_condition | 2,922 | |
LDU_FT/ArabellaTech/django-basic-cms/get_fieldsets | LDU_FT | [
"<BEGIN>\n## `move_page`",
"Move the page to the requested target, at the given\n position.\n<END>",
"<BEGIN>\n## `sub_menu`",
"Render the children of the requested page with the sub_menu\n template.\n<END>",
"<BEGIN>\n## `parse_placeholder`",
"Parse the `PlaceholderNode` parameters.",
" Return... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_fieldsets API.
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_fieldsets API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Add fieldsets of placeholders to the list of already
existing fieldsets. | "Add fieldsets of placeholders to the list of already\n existing fieldsets." | 91 | false | ArabellaTech/django-basic-cms | get_fieldsets | 2,923 | |
LDU_FT/wbond/certvalidator/validate_usage | LDU_FT | [
"<BEGIN>\n## `fetch`",
"Fetches an OCSP response for a certificate",
" :param cert:\n An asn1cyrpto.x509.Certificate object to get an OCSP reponse for",
" :param issuer:\n An asn1crypto.x509.Certificate object that is the issuer of cert",
" :param hash_algo:\n A unicode string ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_usage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_usage API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Validates the end-entity certificate from a
certvalidator.path.ValidationPath object to ensure that the certificate
is valid for the key usage and extended key usage purposes specified.
THE CERTIFICATE PATH MUST BE VALIDATED SEPARATELY VIA validate_path()!
:param validation_context:
A certvali... | "Validates the end-entity certificate from a\n certvalidator.path.ValidationPath object to ensure that the certificate\n is valid for the key usage and extended key usage purposes specified.\n\n THE CERTIFICATE PATH MUST BE VALIDATED SEPARATELY VIA validate_path()!\n\n :param validation_context:\n A ... | 202 | false | wbond/certvalidator | validate_usage | 2,924 | |
LDU_FT/sorend/sshconf/set | LDU_FT | [
"<BEGIN>\n## `read_ssh_config`",
"Read ssh config file and return parsed SshConfig\n<END>",
"<BEGIN>\n## `_remap_key`",
"Change key into correct casing if we know the parameter\n<END>",
"<BEGIN>\n## `host`",
"Return the configuration of a specific host as a dictionary.",
" Dictionary always conta... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Set configuration values for an existing host.
Overwrites values for existing settings, or adds new settings.
Parameters
----------
host : the Host to modify.
**kwargs : The new configuration parameters | "Set configuration values for an existing host.\n Overwrites values for existing settings, or adds new settings.\n\n Parameters\n ----------\n host : the Host to modify.\n **kwargs : The new configuration parameters" | 27 | false | sorend/sshconf | set | 2,925 | |
LDU_FT/Bachmann1234/diff-cover/_parse_source_line | LDU_FT | [
"<BEGIN>\n## `_get_classes`",
"Given a path and parsed xml_document provides class nodes\n with the relevant lines",
" First, we look to see if xml_document contains a source\n node providing paths to search for",
" If we don't have that we check each nodes filename attribute\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_source_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _parse_source_line API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Given a source line in `git diff` output, return the path
to the source file. | "Given a source line in `git diff` output, return the path\n to the source file." | 146 | false | Bachmann1234/diff-cover | _parse_source_line | 2,926 | |
LDU_FT/productml/blurr/get_nested_schema_object | LDU_FT | [
"<BEGIN>\n## `run_evaluate`",
"Overrides the base evaluation to set the value to the evaluation result of the value\n expression in the schema\n<END>",
"<BEGIN>\n## `set`",
"Sets the value of a key to a supplied value\n<END>",
"<BEGIN>\n## `increment`",
"Increments the value set against a key. If ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nested_schema_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_nested_schema_object API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusio... | Used to generate a schema object from the given fully_qualified_parent_name
and the nested_item_name.
:param fully_qualified_parent_name: The fully qualified name of the parent.
:param nested_item_name: The nested item name.
:return: An initialized schema object of the nested item. | "Used to generate a schema object from the given fully_qualified_parent_name\n and the nested_item_name.\n :param fully_qualified_parent_name: The fully qualified name of the parent.\n :param nested_item_name: The nested item name.\n :return: An initialized schema object of the nested item." | 119 | false | productml/blurr | get_nested_schema_object | 2,927 | |
LDU_FT/pmacosta/pexdoc/_format_msg | LDU_FT | [
"<BEGIN>\n## `func`",
"r\"\"\"\n Print your name.",
" :param name: Name to print\n :type name: string",
" .. [[[cog cog.out(exobj.get_sphinx_autodoc(width=69))]]]\n .. [[[end]]]\n<END>",
"<BEGIN>\n## `get_function_args`",
"Return tuple of the function argument names in the order of the fun... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_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 extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _format_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 extra... | Substitute parameters in exception message. | "Substitute parameters in exception message." | 220 | false | pmacosta/pexdoc | _format_msg | 2,928 | |
LDU_FT/autokey/autokey/toggle_service | LDU_FT | [
"<BEGIN>\n## `save`",
"Called by the parent settings dialog when the user clicks on the Save button.\n Stores the current settings in the ConfigManager.\n<END>",
"<BEGIN>\n## `_settings_str`",
"Returns a human readable settings representation for logging purposes.\n<END>",
"<BEGIN>\n## `_should_trigg... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the toggle_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 toggle_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... | Convenience method for toggling the expansion service on or off. This is called by the global hotkey. | "Convenience method for toggling the expansion service on or off. This is called by the global hotkey." | 363 | false | autokey/autokey | toggle_service | 2,929 | |
LDU_FT/inveniosoftware/invenio-oauth2server/scope_choices | LDU_FT | [
"<BEGIN>\n## `require_api_auth`",
"Decorator to require API authentication using OAuth token.",
" :param allow_anonymous: Allow access without OAuth token\n (default: ``False``).\n<END>",
"<BEGIN>\n## `require_oauth_scopes`",
"r\"\"\"Decorator to require a list of OAuth scopes.",
" Decorator ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the scope_choices API.
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 scope_choices API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Return list of scope choices.
:param exclude_internal: Exclude internal scopes or not.
(Default: ``True``)
:returns: A list of tuples (id, scope). | "Return list of scope choices.\n\n :param exclude_internal: Exclude internal scopes or not.\n (Default: ``True``)\n :returns: A list of tuples (id, scope)." | 92 | false | inveniosoftware/invenio-oauth2server | scope_choices | 2,930 | |
LDU_FT/log2timeline/dfdatetime/CopyToDateTimeString | LDU_FT | [
"<BEGIN>\n## `_GetNormalizedTimestamp`",
"Retrieves the normalized timestamp.",
" Returns:\n decimal.Decimal: normalized timestamp, which contains the number of\n seconds since January 1, 1970 00:00:00 and a fraction of second used\n for increased precision, or None if the normalized t... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the CopyToDateTimeString 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 CopyToDateTimeString API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Copies the time elements and fraction of second to a string.
Args:
time_elements_tuple (tuple[int, int, int, int, int, int]):
time elements, contains year, month, day of month, hours, minutes and
seconds.
fraction_of_second (decimal.Decimal): fraction of second, which must be a
... | "Copies the time elements and fraction of second to a string.\n\n Args:\n time_elements_tuple (tuple[int, int, int, int, int, int]):\n time elements, contains year, month, day of month, hours, minutes and\n seconds.\n fraction_of_second (decimal.Decimal): fraction of second, which must be... | 244 | false | log2timeline/dfdatetime | CopyToDateTimeString | 2,931 | |
LDU_FT/SkyLothar/shcmd/files | LDU_FT | [
"<BEGIN>\n## `cd`",
"cd to target dir when running in this block",
" :param cd_path: dir to cd into\n :param create: create new dir if destination not there",
" Usage::",
" >>> with cd(\"/tmp\"):\n ... print(\"we are in /tmp now\")\n<END>",
"<BEGIN>\n## `cd_to`",
"make a gener... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the files API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | files that will be add to tar file later
should be tuple, list or generator that returns strings | "files that will be add to tar file later\n should be tuple, list or generator that returns strings" | 41 | false | SkyLothar/shcmd | files | 2,932 | |
LDU_FT/erikrose/nose-progressive/configure | LDU_FT | [
"<BEGIN>\n## `format_traceback`",
"Return an iterable of formatted Unicode traceback frames.",
" Also include a pseudo-frame at the end representing the exception itself.",
" Format things more compactly than the stock formatter, and make every\n frame an editor shortcut.\n<END>",
"<BEGIN>\n## `ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the configure API.
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 configure API.
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... | Turn style-forcing on if bar-forcing is on.
It'd be messy to position the bar but still have the rest of the
terminal capabilities emit ''. | "Turn style-forcing on if bar-forcing is on.\n\n It'd be messy to position the bar but still have the rest of the\n terminal capabilities emit ''." | 65 | false | erikrose/nose-progressive | configure | 2,933 | |
LDU_FT/bitly/asyncmongo/__pack_message | LDU_FT | [
"<BEGIN>\n## `_unpack_response`",
"Unpack a response from the database.",
" Check the response for errors and unpack, returning a dictionary\n containing the response data.",
" :Parameters:\n - `response`: byte string as returned from the database\n - `cursor_id` (optional): cursor_id we se... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the __pack_message API.
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 __pack_message API.
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... | Takes message data and adds a message header based on the operation.
Returns the resultant message string. | "Takes message data and adds a message header based on the operation.\n\n Returns the resultant message string." | 88 | false | bitly/asyncmongo | __pack_message | 2,934 | |
LDU_FT/fkarb/xltable/to_xlsx | LDU_FT | [
"<BEGIN>\n## `itersheets`",
"Iterates over the worksheets in the book, and sets the active\n worksheet as the current one before yielding.\n<END>",
"<BEGIN>\n## `to_xlsx`",
"Write workbook to a .xlsx file using xlsxwriter.\n Return a xlsxwriter.workbook.Workbook.",
" :param kwargs: Extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the to_xlsx API.
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 to_xlsx API.
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... | Write workbook to a .xlsx file using xlsxwriter.
Return a xlsxwriter.workbook.Workbook.
:param kwargs: Extra arguments passed to the xlsxwriter.Workbook
constructor. | "Write workbook to a .xlsx file using xlsxwriter.\n Return a xlsxwriter.workbook.Workbook.\n\n :param kwargs: Extra arguments passed to the xlsxwriter.Workbook\n constructor." | 48 | false | fkarb/xltable | to_xlsx | 2,935 | |
LDU_FT/sdcooke/django_bundles/run_process | LDU_FT | [
"<BEGIN>\n## `make_bundle`",
"Does all of the processing required to create a bundle and write it to disk, returning its hash version\n<END>",
"<BEGIN>\n## `run_process`",
"This is a modification of subprocess.Popen.communicate that accepts an iterable stdin and is itself a generator for stdout\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_process API.
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 run_process API.
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... | This is a modification of subprocess.Popen.communicate that accepts an iterable stdin and is itself a generator for stdout | "This is a modification of subprocess.Popen.communicate that accepts an iterable stdin and is itself a generator for stdout" | 16 | false | sdcooke/django_bundles | run_process | 2,936 | |
LDU_FT/hanguokai/youku/find_playlist_by_id | LDU_FT | [
"<BEGIN>\n## `check_error`",
"Youku error should return in json form, like:\n HTTP 400\n {\n \"error\":{\n \"code\":120010223,\n \"type\":\"UploadsException\",\n \"description\":\"Expired upload token\"\n }\n }",
" But error also maybe in response url p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_playlist_by_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the find_playlist_by_id API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | doc: http://open.youku.com/docs/doc?id=66 | "doc: http://open.youku.com/docs/doc?id=66" | 120 | false | hanguokai/youku | find_playlist_by_id | 2,937 | |
LDU_FT/daler/gffutils/_bin_from_dict | LDU_FT | [
"<BEGIN>\n## `to_bedtool`",
"Convert any iterator into a pybedtools.BedTool object.",
" Note that the supplied iterator is not consumed by this function. To save\n to a temp file or to a known location, use the `.saveas()` method of the\n returned BedTool object.\n<END>",
"<BEGIN>\n## `tsses`",
"Cr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _bin_from_dict API.
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 _bin_from_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Given a dictionary yielded by the parser, return the genomic "UCSC" bin | "Given a dictionary yielded by the parser, return the genomic \"UCSC\" bin" | 366 | false | daler/gffutils | _bin_from_dict | 2,938 | |
LDU_FT/biocore/mustached-octo-ironman/get_id_from_user | LDU_FT | [
"<BEGIN>\n## `on_message`",
"Accept a message that was published, process and forward",
" Parameters\n ----------\n msg : str\n The message sent over the line",
" Notes\n -----\n This method only handles messages where `message_type` is \"message\".\n<END>"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_id_from_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_id_from_user API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Get an ID from a user, creates if necessary | "Get an ID from a user, creates if necessary" | 68 | false | biocore/mustached-octo-ironman | get_id_from_user | 2,939 | |
LDU_FT/scikit-tda/kepler-mapper/plot_layout | LDU_FT | [
"<BEGIN>\n## `project`",
"Creates the projection/lens from a dataset. Input the data set. Specify a projection/lens type. Output the projected data/lens.",
" Parameters\n ----------",
" X : Numpy Array\n The data to fit a projection/lens to.",
" projection :\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the plot_layout API.
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 plot_layout API.
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... | Set the plotly layout
Parameters
----------
width, height: integers
setting width and height of plot window
bgcolor: string,
rgba or hex color code for the background color
annotation_text: string
meta data to be displayed
annotation_x & annotation_y:
... | "Set the plotly layout\r\n\r\n Parameters\r\n ----------\r\n width, height: integers \r\n setting width and height of plot window\r\n bgcolor: string, \r\n rgba or hex color code for the background color\r\n annotation_text: string\r\n meta data to be displayed\r\n annotation_x &... | 169 | false | scikit-tda/kepler-mapper | plot_layout | 2,940 | |
LDU_FT/amicks/Speculator/avg | 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 avg API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the avg API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Returns the average value
Args:
vals: List of numbers to calculate average from.
count: Int of total count that vals was part of.
Returns:
Float average value throughout a count. | "Returns the average value\n\n Args:\n vals: List of numbers to calculate average from.\n count: Int of total count that vals was part of.\n\n Returns:\n Float average value throughout a count." | 104 | false | amicks/Speculator | avg | 2,941 | |
LDU_FT/Fuyukai/ConfigMaster/GenerateNetworkedConfigFile | LDU_FT | [
"<BEGIN>\n## `initial_populate`",
"Populate a newly created config object with data.",
" If it was populated, this returns True. If it wasn't, this returns False.",
" It is recommended to run a .dump() and .reload() after running this.\n<END>",
"<BEGIN>\n## `apply_defaults`",
"Applies defaul... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GenerateNetworkedConfigFile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GenerateNetworkedConfigFile API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclu... | Generates a NetworkedConfigObject using the specified hooks. | "Generates a NetworkedConfigObject using the specified hooks." | 32 | false | Fuyukai/ConfigMaster | GenerateNetworkedConfigFile | 2,942 | |
LDU_FT/ClimateImpactLab/DataFS/_update_metadata | LDU_FT | [
"<BEGIN>\n## `_generate_manager`",
"Generate a manager from a manager_config dictionary",
" Parameters\n ----------",
" manager_config : dict\n Configuration with keys class, args, and kwargs\n used to generate a new datafs.manager object",
" Returns\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _update_metadata API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Appends the updated_metada dict to the Metadata Attribute list
Parameters
----------
archive_name: str
ID of archive to update
updated_metadata: dict
dictionary of metadata keys and values to update. If the value
for a particular key is `None`, the... | "Appends the updated_metada dict to the Metadata Attribute list\n\n Parameters\n ----------\n archive_name: str\n\n ID of archive to update\n\n updated_metadata: dict\n\n dictionary of metadata keys and values to update. If the value\n for a particular key is... | 318 | false | ClimateImpactLab/DataFS | _update_metadata | 2,943 | |
LDU_FT/jingming/spotify/user_token | LDU_FT | [
"<BEGIN>\n## `auth_string`",
"Get the auth string. If the token is expired and auto refresh enabled,\n a new token will be fetched",
" :return: the auth string\n :rtype: str\n<END>",
"<BEGIN>\n## `tracks`",
"Tracks list context",
" :return: Tracks list context\n<END>",
"<BEGI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the user_token API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Generate a user access token
:param List[str] scopes: Scopes to get
:param str client_id: Spotify Client ID
:param str client_secret: Spotify Client secret
:param str redirect_uri: Spotify redirect URI
:return: Generated access token
:rtype: User | "Generate a user access token\n\n :param List[str] scopes: Scopes to get\n :param str client_id: Spotify Client ID\n :param str client_secret: Spotify Client secret\n :param str redirect_uri: Spotify redirect URI\n :return: Generated access token\n :rtype: User" | 18 | false | jingming/spotify | user_token | 2,944 | |
LDU_FT/itamarst/crochet/wait | LDU_FT | [
"<BEGIN>\n## `register`",
"Register an EventualResult.",
" May be called in any thread.\n<END>",
"<BEGIN>\n## `stop`",
"Indicate no more results will get pushed into EventualResults, since\n the reactor has stopped.",
" This should be called in the reactor thread.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the wait API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted do... | Return the result, or throw the exception if result is a failure.
It may take an unknown amount of time to return the result, so a
timeout option is provided. If the given number of seconds pass with
no result, a TimeoutError will be thrown.
If a previous call timed out, additional cal... | "Return the result, or throw the exception if result is a failure.\n\n It may take an unknown amount of time to return the result, so a\n timeout option is provided. If the given number of seconds pass with\n no result, a TimeoutError will be thrown.\n\n If a previous call timed out, additio... | 61 | false | itamarst/crochet | wait | 2,945 | |
LDU_FT/teepark/greenhouse/schedule_at | LDU_FT | [
"<BEGIN>\n## `read`",
"read up to len bytes and return them, or empty string on EOF\n<END>",
"<BEGIN>\n## `write`",
"write data to the ssl channel and return the # of bytes transferred\n<END>",
"<BEGIN>\n## `connect`",
"connects to the address and wraps the connection in an SSL context\n<END>",
"<BEGIN>... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the schedule_at API.
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 schedule_at API.
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... | insert a greenlet into the scheduler to be run at a set time
If provided a function, it is wrapped in a new greenlet
:param unixtime:
the unix timestamp at which the new greenlet should be started
:type unixtime: int or float
:param target: what to schedule
:type target: function or greenl... | "insert a greenlet into the scheduler to be run at a set time\n\n If provided a function, it is wrapped in a new greenlet\n\n :param unixtime:\n the unix timestamp at which the new greenlet should be started\n :type unixtime: int or float\n :param target: what to schedule\n :type target: function ... | 349 | false | teepark/greenhouse | schedule_at | 2,946 | |
LDU_FT/DLR-RM/RAFCON/remove_data_flow | LDU_FT | [
"<BEGIN>\n## `modify_origin`",
"Set both from_state and from_key at the same time to modify data flow origin",
" :param str from_state: State id of the origin state\n :param int from_key: Data port id of the origin port\n :raises exceptions.ValueError: If parameters have wrong types or the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_data_flow API.
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 remove_data_flow API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Removes a data flow from the container state
:param int data_flow_id: the id of the data_flow to remove
:raises exceptions.AttributeError: if the data_flow_id does not exist | "Removes a data flow from the container state\n\n :param int data_flow_id: the id of the data_flow to remove\n :raises exceptions.AttributeError: if the data_flow_id does not exist" | 2,325 | true | DLR-RM/RAFCON | remove_data_flow | 2,947 | |
LDU_FT/twisted/epsilon/fromHumanly | LDU_FT | [
"<BEGIN>\n## `main`",
"Create a private key and a certificate and write them to a file.\n<END>",
"<BEGIN>\n## `setTimeout`",
"Change the timeout period",
" @type period: C{int} or C{NoneType}\n @param period: The period, in seconds, to change the timeout to, or\n C{None} to disable the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the fromHumanly API.
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 fromHumanly API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Return a new Time instance from a string a human might type.
@param humanStr: the string to be parsed.
@param tzinfo: A tzinfo instance indicating the timezone to assume if
none is specified in humanStr. If None, assume UTC.
@param now: A Time instance to be considered "now" for when
... | "Return a new Time instance from a string a human might type.\n\n @param humanStr: the string to be parsed.\n\n @param tzinfo: A tzinfo instance indicating the timezone to assume if\n none is specified in humanStr. If None, assume UTC.\n\n @param now: A Time instance to be considered \"now\"... | 217 | false | twisted/epsilon | fromHumanly | 2,948 | |
LDU_FT/mar10/pyftpsync/get_options_dict | LDU_FT | [
"<BEGIN>\n## `match_path`",
"Return True if `path` matches `match` and `exclude` options.\n<END>",
"<BEGIN>\n## `_compare_file`",
"Byte compare two files (early out on first difference).\n<END>",
"<BEGIN>\n## `_tick`",
"Write progress info and move cursor to beginning of line.\n<END>",
"<BEGIN>\n## `_sy... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_options_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_options_dict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Return options from synchronizer (possibly overridden by own extra_opts). | "Return options from synchronizer (possibly overridden by own extra_opts)." | 122 | false | mar10/pyftpsync | get_options_dict | 2,949 | |
LDU_FT/SpriteLink/NIPAP/smart_search | LDU_FT | [
"<BEGIN>\n## `_serve_file`",
"Call Paste's FileApp (a WSGI application) to serve the file\n at the specified path\n<END>",
"<BEGIN>\n## `extract_prefix_attr`",
"Extract prefix attributes from arbitary dict.\n<END>",
"<BEGIN>\n## `extract_pool_attr`",
"Extract pool attributes from arbitary dict.\n<E... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the smart_search API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Perform a smart prefix search.
Maps to the function
:py:func:`nipap.backend.Nipap.smart_search_prefix` in the backend.
Please see the documentation for the backend function for
information regarding input arguments and return values. | "Perform a smart prefix search.\n\n Maps to the function\n :py:func:`nipap.backend.Nipap.smart_search_prefix` in the backend.\n Please see the documentation for the backend function for\n information regarding input arguments and return values." | 454 | false | SpriteLink/NIPAP | smart_search | 2,950 | |
LDU_FT/hobson/pug-invest/pandas_mesh | LDU_FT | [
"<BEGIN>\n## `log_loss`",
"Log of the loss (error) summed over all entries",
" The negative of the logarithm of the frequency (probability) of the predicted\n label given the true binary label for a category.",
" Arguments:\n predicted (np.array of float): 2-D table of probabilities for each\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pandas_mesh API.
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 pandas_mesh API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Create numpy 2-D "meshgrid" from 3+ columns in a Pandas DataFrame
Arguments:
df (DataFrame): Must have 3 or 4 columns of numerical data
Returns:
OrderedDict: column labels from the data frame are the keys, values are 2-D matrices
All matrices have shape NxM, where N = len(set(df.iloc[:,0])... | "Create numpy 2-D \"meshgrid\" from 3+ columns in a Pandas DataFrame\n\n Arguments:\n df (DataFrame): Must have 3 or 4 columns of numerical data\n\n Returns:\n OrderedDict: column labels from the data frame are the keys, values are 2-D matrices\n All matrices have shape NxM, where N = len(set(df.... | 205 | false | hobson/pug-invest | pandas_mesh | 2,951 | |
LDU_FT/aegirhall/console-menu/set_left_margin | LDU_FT | [
"<BEGIN>\n## `set_border_style`",
"Set the border style using the specified MenuBorderStyle instance.\n :param border_style: the instance of MenuBorderStyle to use for border style formatting.\n<END>",
"<BEGIN>\n## `set_border_style_type`",
"Set the border style using the specified border style type. T... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_left_margin API.
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 set_left_margin API.
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... | Set the left margin of the menu. This will determine the number of spaces between the left edge of the
screen and the left menu border.
:param left_margin: an integer value | "Set the left margin of the menu. This will determine the number of spaces between the left edge of the\n screen and the left menu border.\n :param left_margin: an integer value" | 107 | false | aegirhall/console-menu | set_left_margin | 2,952 | |
LDU_FT/atl/py-smartdc/delete_boot_script | LDU_FT | [
"<BEGIN>\n## `priv`",
"Quick and dirty method to find an IP on a private network given a correctly\n formatted IPv4 quad.\n<END>",
"<BEGIN>\n## `_save`",
"Take the data from a dict and commit them to appropriate attributes.\n<END>",
"<BEGIN>\n## `refresh`",
"::",
" GET /:login/machines/:id... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_boot_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_boot_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.
Th... | ::
DELETE /:login/machines/:id/metadata/user-script
Deletes any existing boot script on the machine. | "::\n \n DELETE /:login/machines/:id/metadata/user-script\n \n Deletes any existing boot script on the machine." | 290 | false | atl/py-smartdc | delete_boot_script | 2,953 | |
LDU_FT/sthysel/knobs/flatten_and_write | LDU_FT | [
"<BEGIN>\n## `load_dotenv`",
"Read a .env file and load into os.environ.",
" :param dotenv_path:\n :type dotenv_path: str\n :param verbose: verbosity flag, raise warning if path does not exist\n :return: success flag\n<END>",
"<BEGIN>\n## `get_key`",
"Gets the value of a given key from the given... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten_and_write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the flatten_and_write API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Writes dotenv_as_dict to dotenv_path, flattening the values
:param dotenv_path: .env path
:param dotenv_as_dict: dict
:param quote_mode:
:return: | "Writes dotenv_as_dict to dotenv_path, flattening the values\n :param dotenv_path: .env path\n :param dotenv_as_dict: dict\n :param quote_mode:\n :return:" | 33 | false | sthysel/knobs | flatten_and_write | 2,954 | |
LDU_FT/roclark/sportsreference/_retrieve_all_teams | LDU_FT | [
"<BEGIN>\n## `dataframe`",
"Returns a ``pandas DataFrame`` containing all other relevant class\n properties and values for the specified game.\n<END>",
"<BEGIN>\n## `_extract_player_stats`",
"Combine all player stats into a single object.",
" Since each player generally has a couple of rows wo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _retrieve_all_teams 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 _retrieve_all_teams 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... | Find and create Team instances for all teams in the given season.
For a given season, parses the specified NCAAB stats table and finds
all requested stats. Each team then has a Team instance created which
includes all requested stats and a few identifiers, such as the team's
name and ab... | "Find and create Team instances for all teams in the given season.\n\n For a given season, parses the specified NCAAB stats table and finds\n all requested stats. Each team then has a Team instance created which\n includes all requested stats and a few identifiers, such as the team's\n name ... | 588 | false | roclark/sportsreference | _retrieve_all_teams | 2,955 | |
LDU_FT/useblocks/sphinxcontrib-needs/process_needtables | LDU_FT | [
"<BEGIN>\n## `row_col_maker`",
"Creates and returns a column.",
" :param app: current sphinx app\n :param fromdocname: current document\n :param all_needs: Dictionary of all need objects\n :param need_info: need_info object, which stores all related need data\n :param need_key: The key to access ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the process_needtables 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 process_needtables 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... | Replace all needtables nodes with a tale of filtered noded.
:param app:
:param doctree:
:param fromdocname:
:return: | "Replace all needtables nodes with a tale of filtered noded.\n\n :param app:\n :param doctree:\n :param fromdocname:\n :return:" | 155 | false | useblocks/sphinxcontrib-needs | process_needtables | 2,956 | |
LDU_FT/SkyLothar/shcmd/cd | LDU_FT | [
"<BEGIN>\n## `cd`",
"cd to target dir when running in this block",
" :param cd_path: dir to cd into\n :param create: create new dir if destination not there",
" Usage::",
" >>> with cd(\"/tmp\"):\n ... print(\"we are in /tmp now\")\n<END>",
"<BEGIN>\n## `cd_to`",
"make a gener... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted docu... | cd to target dir when running in this block
:param cd_path: dir to cd into
:param create: create new dir if destination not there
Usage::
>>> with cd("/tmp"):
... print("we are in /tmp now") | "cd to target dir when running in this block\n\n :param cd_path: dir to cd into\n :param create: create new dir if destination not there\n\n Usage::\n\n >>> with cd(\"/tmp\"):\n ... print(\"we are in /tmp now\")" | 41 | false | SkyLothar/shcmd | cd | 2,957 | |
LDU_FT/lightning-viz/lightning-python/update | LDU_FT | [
"<BEGIN>\n## `enable_ipython`",
"Enable plotting in the iPython notebook.",
" Once enabled, all lightning plots will be automatically produced\n within the iPython notebook. They will also be available on\n your lightning server within the current session.\n<END>",
"<BEGIN>\n## `disable_i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Base method for updating data.
Applies a plot-type specific cleaning operation, then
updates the data in the visualization. | "Base method for updating data.\n\n Applies a plot-type specific cleaning operation, then\n updates the data in the visualization." | 55 | false | lightning-viz/lightning-python | update | 2,958 | |
LDU_FT/insightindustry/validator-collection/is_integer | LDU_FT | [
"<BEGIN>\n## `disable_on_env`",
"Disable the ``func`` called if its name is present in ``VALIDATORS_DISABLED``.",
" :param func: The function/validator to be disabled.\n :type func: callable",
" :returns: If disabled, the ``value`` (first positional argument) passed to\n ``func``. If enabled, th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_integer API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the is_integer API.
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... | Indicate whether ``value`` contains a whole number.
:param value: The value to evaluate.
:param coerce_value: If ``True``, will return ``True`` if ``value`` can be coerced
to whole number. If ``False``, will only return ``True`` if ``value`` is already
a whole number (regardless of type). Defaults... | "Indicate whether ``value`` contains a whole number.\n\n :param value: The value to evaluate.\n\n :param coerce_value: If ``True``, will return ``True`` if ``value`` can be coerced\n to whole number. If ``False``, will only return ``True`` if ``value`` is already\n a whole number (regardless of type). D... | 599 | false | insightindustry/validator-collection | is_integer | 2,959 | |
LDU_FT/cons3rt/pycons3rt/make_asset_zip | LDU_FT | [
"<BEGIN>\n## `getdict`",
"Returns a standard python Dict with computed values\n from the DynDict\n :param source: (DynDict) input\n :return: (dict) Containing computed values\n<END>",
"<BEGIN>\n## `get_ec2_client`",
"Gets an EC2 client",
" :return: boto3.client object\n :raises: AWSAPIError\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_asset_zip API.
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 make_asset_zip API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Given an asset directory path, creates an asset zip file in the provided
destination directory
:param asset_dir_path: (str) path to the directory containing the asset
:param destination_directory: (str) path to the destination directory for
the asset
:return: (str) Path to the asset zip fil... | "Given an asset directory path, creates an asset zip file in the provided\n destination directory\n\n :param asset_dir_path: (str) path to the directory containing the asset\n :param destination_directory: (str) path to the destination directory for\n the asset\n :return: (str) Path to the asset ... | 386 | false | cons3rt/pycons3rt | make_asset_zip | 2,960 | |
LDU_FT/shveenkov/aiotarantool-queue-python/put | LDU_FT | [
"<BEGIN>\n## `create_from_tuple`",
"Create task from tuple.",
" Returns `Task` instance.\n<END>",
"<BEGIN>\n## `release`",
"Put the task back into the queue.",
" May contain a possible new `delay` before the task is executed again.",
" Returns `True` is task is released (task state ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the put API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Enqueue a task.
Returns a `Task` object. | "Enqueue a task.\n\n Returns a `Task` object." | 43 | false | shveenkov/aiotarantool-queue-python | put | 2,961 | |
LDU_FT/LIVVkit/LIVVkit/translate_section | LDU_FT | [
"<BEGIN>\n## `run_suite`",
"Run the full suite of verification tests\n<END>",
"<BEGIN>\n## `_analyze_case`",
"Runs all of the verification checks on a particular case\n<END>",
"<BEGIN>\n## `_summarize_result`",
"Trim out some data to return for the index page\n<END>",
"<BEGIN>\n## `bit_for_bit`",
"Che... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the translate_section API.
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 translate_section API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Translates data where data["Type"]=="Section" | "Translates data where data[\"Type\"]==\"Section\"" | 107 | false | LIVVkit/LIVVkit | translate_section | 2,962 | |
LDU_FT/RealTimeWeb/datasets/remove_outliers | LDU_FT | [
"<BEGIN>\n## `_parse_int`",
"Attempt to cast *value* into an integer, returning *default* if it fails.\n<END>",
"<BEGIN>\n## `_parse_float`",
"Attempt to cast *value* into a float, returning *default* if it fails.\n<END>",
"<BEGIN>\n## `_parse_type`",
"Attempt to cast *value* into *type_func*, returning *... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the remove_outliers API.
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 remove_outliers API.
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... | I have a list of numbers Z from 0 to N
I have a list of J numbers (where J < N) randomly distributed throughout Z
I wish to remove K numbers from Z, without drawing from any number in J | "I have a list of numbers Z from 0 to N\n I have a list of J numbers (where J < N) randomly distributed throughout Z\n I wish to remove K numbers from Z, without drawing from any number in J" | 76 | false | RealTimeWeb/datasets | remove_outliers | 2,963 | |
LDU_FT/threeML/astromodels/_custom_init_ | LDU_FT | [
"<BEGIN>\n## `angular_distance_fast`",
"Compute angular distance using the Haversine formula. Use this one when you know you will never ask for points at\n their antipodes. If this is not the case, use the angular_distance function which is slower, but works also for\n antipodes.",
" :param lon1:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _custom_init_ API.
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 _custom_init_ API.
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... | Custom initialization for this model
:param model_name: the name of the model, corresponding to the root of the .h5 file in the data directory
:param other_name: (optional) the name to be used as name of the model when used in astromodels. If None
(default), use the same name as model_... | "Custom initialization for this model\n \n :param model_name: the name of the model, corresponding to the root of the .h5 file in the data directory\n :param other_name: (optional) the name to be used as name of the model when used in astromodels. If None \n (default), use the same name as m... | 240 | false | threeML/astromodels | _custom_init_ | 2,964 | |
LDU_FT/weld-project/weld/std | LDU_FT | [
"<BEGIN>\n## `to_weld_type`",
"Summary",
" Args:\n weld_type (TYPE): Description\n dim (TYPE): Description",
" Returns:\n TYPE: Description\n<END>",
"<BEGIN>\n## `evaluate`",
"Summary",
" Args:\n verbose (bool, optional): Description\n decode (bool... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the std API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the std API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Standard deviation
Note that is by default normalizd by n - 1
# TODO, what does pandas do for multiple grouping columns?
# Currently we are just going to use one grouping column | "Standard deviation\n\n Note that is by default normalizd by n - 1\n # TODO, what does pandas do for multiple grouping columns?\n # Currently we are just going to use one grouping column" | 210 | false | weld-project/weld | std | 2,965 | |
LDU_FT/casacore/python-casacore/maketabdesc | LDU_FT | [
"<BEGIN>\n## `fitter`",
"Create a sub-fitter.",
" The created sub-fitter can be used in the same way as a fitter\n default fitter. This function returns an identification, which has to\n be used in the `fid` argument of subsequent calls. The call can\n specify the standard constructo... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the maketabdesc API.
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 maketabdesc API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Create a table description.
Creates a table description from a set of column descriptions. The
resulting table description can be used in the :class:`table` constructor.
For example::
scd1 = makescacoldesc("col2", "aa")
scd2 = makescacoldesc("col1", 1, "IncrementalStMan")
scd3 = makesca... | "Create a table description.\n\n Creates a table description from a set of column descriptions. The\n resulting table description can be used in the :class:`table` constructor.\n\n For example::\n\n scd1 = makescacoldesc(\"col2\", \"aa\")\n scd2 = makescacoldesc(\"col1\", 1, \"IncrementalStMan\")\n ... | 618 | false | casacore/python-casacore | maketabdesc | 2,966 | |
LDU_FT/craffel/mir_eval/match_events | LDU_FT | [
"<BEGIN>\n## `_open`",
"Either open a file handle, or use an existing file-like object.",
" This will behave as the `open` function if `file_or_str` is a string.",
" If `file_or_str` has the `read` attribute, it will return `file_or_str`.",
" Otherwise, an `IOError` is raised.\n<END>",
"<BEGIN>\n... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the match_events API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | Compute a maximum matching between reference and estimated event times,
subject to a window constraint.
Given two lists of event times ``ref`` and ``est``, we seek the largest set
of correspondences ``(ref[i], est[j])`` such that
``distance(ref[i], est[j]) <= window``, and each
``ref[i]`` and ``est... | "Compute a maximum matching between reference and estimated event times,\n subject to a window constraint.\n\n Given two lists of event times ``ref`` and ``est``, we seek the largest set\n of correspondences ``(ref[i], est[j])`` such that\n ``distance(ref[i], est[j]) <= window``, and each\n ``ref[i]`` an... | 1,001 | false | craffel/mir_eval | match_events | 2,967 | |
LDU_FT/pymupdf/PyMuPDF/ParseTab | LDU_FT | [
"<BEGIN>\n## `_Widget_fontdict`",
"Turns the above font definitions into a dictionary. Assumes certain line breaks and spaces.\n<END>",
"<BEGIN>\n## `getTextlength`",
"Calculate length of a string for a given built-in font.",
" Args:\n fontname: name of the font.\n fontsize: size of font in... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the ParseTab API.
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 ParseTab API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Returns the parsed table of a page in a PDF / (open) XPS / EPUB document.
Parameters:
page: fitz.Page object
bbox: containing rectangle, list of numbers [xmin, ymin, xmax, ymax]
columns: optional list of column coordinates. If None, columns are generated
Returns the parsed table as a list of lists o... | "Returns the parsed table of a page in a PDF / (open) XPS / EPUB document.\n Parameters:\n page: fitz.Page object\n bbox: containing rectangle, list of numbers [xmin, ymin, xmax, ymax]\n columns: optional list of column coordinates. If None, columns are generated\n Returns the parsed table as a list of l... | 282 | false | pymupdf/PyMuPDF | ParseTab | 2,968 | |
LDU_FT/nephila/djangocms-helper/_make_settings | LDU_FT | [
"<BEGIN>\n## `run`",
"Run commands in a plain django environment",
" :param app: application\n :param argv: arguments (default to sys.argv)\n :param extra_args: list of extra arguments\n<END>",
"<BEGIN>\n## `cms`",
"Run commands in a django cMS environment",
" :param app: application\n :par... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_settings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _make_settings API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Setup the Django settings
:param args: docopt arguments
:param default_settings: default Django settings
:param settings: Django settings module
:param STATIC_ROOT: static root directory
:param MEDIA_ROOT: media root directory
:return: | "Setup the Django settings\n :param args: docopt arguments\n :param default_settings: default Django settings\n :param settings: Django settings module\n :param STATIC_ROOT: static root directory\n :param MEDIA_ROOT: media root directory\n :return:" | 25 | false | nephila/djangocms-helper | _make_settings | 2,969 | |
LDU_FT/riga/tfdeploy/MatrixDiagPart | LDU_FT | [
"<BEGIN>\n## `setup`",
"Sets up global variables (currently only the tensorflow version) to adapt to peculiarities of\n different tensorflow versions. This function should only be called before :py:class:`Model`\n creation, not for evaluation. Therefore, the tensorflow module *tf* must be passed:",
" .... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the MatrixDiagPart API.
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 MatrixDiagPart API.
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... | Batched diag op that returns only the diagonal elements. | "Batched diag op that returns only the diagonal elements." | 43 | false | riga/tfdeploy | MatrixDiagPart | 2,970 | |
LDU_FT/ccubed/PyMoe/get_text | 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 get_text API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_text API.
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... | This will grab the html content of the chapter given by url. Technically you can use this to get the content of other pages too.
:param title: Title for the page you want the content of
:return: a string containing the html content | "This will grab the html content of the chapter given by url. Technically you can use this to get the content of other pages too.\n\n :param title: Title for the page you want the content of\n :return: a string containing the html content" | 105 | false | ccubed/PyMoe | get_text | 2,971 | |
LDU_FT/openstates/billy/committee | LDU_FT | [
"<BEGIN>\n## `decimal_format`",
"Format a decimal.Decimal like to 2 decimal places.\n<END>",
"<BEGIN>\n## `notification_preference`",
"Display two radio buttons for turning notifications on or off.\n The default value is is have alerts_on = True.\n<END>",
"<BEGIN>\n## `committee_object`",
"If the commi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the committee API.
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 committee API.
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... | Context:
- committee
- abbr
- metadata
- sources
- nav_active
Tempaltes:
- billy/web/public/committee.html | "Context:\n - committee\n - abbr\n - metadata\n - sources\n - nav_active\n\n Tempaltes:\n - billy/web/public/committee.html" | 168 | false | openstates/billy | committee | 2,972 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.