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/CamDavidsonPilon/tdigest/cdf | LDU_FT | [
"<BEGIN>\n## `update`",
"Update the t-digest with value x and weight w.\n<END>",
"<BEGIN>\n## `batch_update`",
"Update the t-digest with an iterable of values. This assumes all points have the\n same weight.\n<END>",
"<BEGIN>\n## `percentile`",
"Computes the percentile of a specific value in [0,100... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cdf API.
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 cdf API.
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... | Computes the cdf of a specific value, ie. computes F(x) where F denotes
the CDF of the distribution. | "Computes the cdf of a specific value, ie. computes F(x) where F denotes\n the CDF of the distribution." | 24 | false | CamDavidsonPilon/tdigest | cdf | 25,073 | |
LDU_FT/MLAB-project/pymlab/write_block_data | LDU_FT | [
"<BEGIN>\n## `Move`",
"Move some distance units from current position\n<END>",
"<BEGIN>\n## `SPI_write_byte`",
"Writes a data to a SPI device selected by chipselect bit.\n<END>",
"<BEGIN>\n## `SPI_write`",
"Writes data to SPI device selected by chipselect bit.\n<END>",
"<BEGIN>\n## `GPIO_read`",
"Read... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_block_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the write_block_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | SMBus Block Write: i2c_smbus_write_block_data()
================================================
The opposite of the Block Read command, this writes up to 32 bytes to
a device, to a designated register that is specified through the
Comm byte. The amount of data is specified in the Coun... | "SMBus Block Write: i2c_smbus_write_block_data()\n ================================================\n\n The opposite of the Block Read command, this writes up to 32 bytes to\n a device, to a designated register that is specified through the\n Comm byte. The amount of data is specified in th... | 99 | false | MLAB-project/pymlab | write_block_data | 25,074 | |
LDU_FT/codeforamerica/three/convert | LDU_FT | [
"<BEGIN>\n## `city`",
"Store the city that will be queried against.",
" >>> three.city('sf')\n<END>",
"<BEGIN>\n## `dev`",
"Use an endpoint and any additional keyword arguments rather than one\n of the pre-defined cities. Similar to the `city` function, but useful for\n development.\n<END>",
"<BE... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert API.
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 convert API.
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... | Convert content to Python data structures. | "Convert content to Python data structures." | 35 | false | codeforamerica/three | convert | 25,075 | |
LDU_FT/nuagenetworks/monolithe/get_type_name | LDU_FT | [
"<BEGIN>\n## `raiseError`",
"Print an error message",
" Args:\n message: the message to print\n<END>",
"<BEGIN>\n## `json`",
"Print a nice JSON output",
" Args:\n message: the message to print\n<END>",
"<BEGIN>\n## `to_dict`",
"Transform the current ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_type_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_type_name API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ext... | Returns a c# type according to a spec type | "Returns a c# type according to a spec type" | 69 | false | nuagenetworks/monolithe | get_type_name | 25,076 | |
LDU_FT/Zimbra-Community/python-zimbra/enable_batch | LDU_FT | [
"<BEGIN>\n## `set_context_params`",
"Set header context parameters. Refer to the top of <Zimbra\n Server-Root>/docs/soap.txt about specifics.",
" The <format>-Parameter cannot be changed, because it is set by the\n implementing class.",
" Should be called by implementing method to ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the enable_batch API.
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 enable_batch API.
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... | Enables batch request gathering.
Do this first and then consecutively call "add_request" to add more
requests.
:param onerror: "continue" (default) if one request fails (and
response with soap Faults for the request) or "stop" processing. | "Enables batch request gathering.\n\n Do this first and then consecutively call \"add_request\" to add more\n requests.\n\n :param onerror: \"continue\" (default) if one request fails (and\n response with soap Faults for the request) or \"stop\" processing." | 48 | false | Zimbra-Community/python-zimbra | enable_batch | 25,077 | |
LDU_FT/rbit/pydtls/service | LDU_FT | [
"<BEGIN>\n## `decode_cert`",
"Convert an X509 certificate into a Python dictionary",
" This function converts the given X509 certificate into a Python dictionary\n in the manner established by the Python standard library's ssl module.\n<END>",
"<BEGIN>\n## `_get_server_certificate`",
"Retrieve a serve... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the 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 extracted... | Service the root socket
Read from the root socket and forward one datagram to a
connection. The call will return without forwarding data
if any of the following occurs:
* An error is encountered while reading from the root socket
* Reading from the root socket times out
... | "Service the root socket\n\n Read from the root socket and forward one datagram to a\n connection. The call will return without forwarding data\n if any of the following occurs:\n\n * An error is encountered while reading from the root socket\n * Reading from the root socket times... | 83 | false | rbit/pydtls | service | 25,078 | |
LDU_FT/ghukill/pyfc4/options | LDU_FT | [
"<BEGIN>\n## `_post_create`",
"resource.create() hook",
"\t\tFor PCDM Collections, post creation, also create\n<END>",
"<BEGIN>\n## `get_related`",
"get ore:aggregates for this resource, optionally retrieving resource payload",
"\t\tArgs:\n\t\t\tretrieve (bool): if True, issue .refresh() on resource there... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the options API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Small method to return headers of an OPTIONS request to self.uri
Args:
None
Return:
(dict) response headers from OPTIONS request | "Small method to return headers of an OPTIONS request to self.uri\n\n\t\tArgs:\n\t\t\tNone\n\n\t\tReturn:\n\t\t\t(dict) response headers from OPTIONS request" | 203 | false | ghukill/pyfc4 | options | 25,079 | |
LDU_FT/aliyun/aliyun-log-python-sdk/create_consumer_group | LDU_FT | [
"<BEGIN>\n## `set`",
"override base to handle escape case: replace \\\" to \"\n<END>",
"<BEGIN>\n## `copy_project`",
"copy project, logstore, machine group and logtail config to target project,\n will create the target project if it doesn't exist",
" :type from_client: LogClient\n :param from_clien... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_consumer_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_consumer_group API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | create consumer group
:type project: string
:param project: project name
:type logstore: string
:param logstore: logstore name
:type consumer_group: string
:param consumer_group: consumer group name
:type timeout: int
:param timeout: time-o... | "create consumer group\r\n\r\n :type project: string\r\n :param project: project name\r\n\r\n :type logstore: string\r\n :param logstore: logstore name\r\n\r\n :type consumer_group: string\r\n :param consumer_group: consumer group name\r\n\r\n :type timeout: int\r\n ... | 600 | false | aliyun/aliyun-log-python-sdk | create_consumer_group | 25,080 | |
LDU_FT/kieferk/dfply/between | LDU_FT | [
"<BEGIN>\n## `select_if`",
"Selects columns where fun(ction) is true\n Args:\n fun: a function that will be applied to columns\n<END>",
"<BEGIN>\n## `drop_if`",
"Drops columns where fun(ction) is true\n Args:\n fun: a function that will be applied to columns\n<END>",
"<BEGIN>\n## `mean`"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the between API.
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 between API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | Returns a boolean series specifying whether rows of the input series
are between values `a` and `b`.
Args:
series: column to compare, typically symbolic.
a: value series must be greater than (or equal to if `inclusive=True`)
for the output series to be `True` at that position.
... | "Returns a boolean series specifying whether rows of the input series\n are between values `a` and `b`.\n\n Args:\n series: column to compare, typically symbolic.\n a: value series must be greater than (or equal to if `inclusive=True`)\n for the output series to be `True` at that position... | 149 | false | kieferk/dfply | between | 25,081 | |
LDU_FT/architv/soccer-cli/team_scores | LDU_FT | [
"<BEGIN>\n## `get_team_scores`",
"Queries the API and gets the particular team scores\n<END>",
"<BEGIN>\n## `get_standings`",
"Queries the API and gets the standings for a particular league\n<END>",
"<BEGIN>\n## `get_league_scores`",
"Queries the API and fetches the scores for fixtures\n based upon... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the team_scores API.
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 team_scores API.
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... | Store output of team scores to a CSV file | "Store output of team scores to a CSV file" | 50 | false | architv/soccer-cli | team_scores | 25,082 | |
LDU_FT/ModisWorks/modis/make_timebar | LDU_FT | [
"<BEGIN>\n## `success`",
"Creates an embed UI containing a hex color message",
" Args:\n channel (discord.Channel): The Discord channel to bind the embed to\n image (str): The url of the image to add\n hex_str (str): The hex value",
" Returns:\n ui (ui_embed.UI): The embed UI... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_timebar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the make_timebar API.
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... | Makes a new time bar string
Args:
progress: How far through the current song we are (in seconds)
duration: The duration of the current song (in seconds)
Returns:
timebar (str): The time bar string | "Makes a new time bar string\n\n Args:\n progress: How far through the current song we are (in seconds)\n duration: The duration of the current song (in seconds)\n\n Returns:\n timebar (str): The time bar string" | 278 | false | ModisWorks/modis | make_timebar | 25,083 | |
LDU_FT/pybel/pybel-artifactory/convert_to_namespace | LDU_FT | [
"<BEGIN>\n## `convert_to_annotation`",
"Convert a namespace file to an annotation file.\n<END>",
"<BEGIN>\n## `history`",
"Output the hashes for the annotation resources' versions.\n<END>",
"<BEGIN>\n## `convert_to_namespace`",
"Convert an annotation file to a namespace file.\n<END>",
"<BEGIN>\n## `get_... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the convert_to_namespace 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 convert_to_namespace API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Convert an annotation file to a namespace file. | "Convert an annotation file to a namespace file." | 39 | false | pybel/pybel-artifactory | convert_to_namespace | 25,084 | |
LDU_FT/xflr6/graphviz/render | LDU_FT | [
"<BEGIN>\n## `command`",
"Return args list for ``subprocess.Popen`` and name of the rendered file.\n<END>",
"<BEGIN>\n## `run`",
"Run the command described by cmd and return its (stdout, stderr) tuple.\n<END>",
"<BEGIN>\n## `render`",
"Render file with Graphviz ``engine`` into ``format``, return result f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the render API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Render file with Graphviz ``engine`` into ``format``, return result filename.
Args:
engine: The layout commmand used for rendering (``'dot'``, ``'neato'``, ...).
format: The output format used for rendering (``'pdf'``, ``'png'``, ...).
filepath: Path to the DOT source file to render.
... | "Render file with Graphviz ``engine`` into ``format``, return result filename.\n\n Args:\n engine: The layout commmand used for rendering (``'dot'``, ``'neato'``, ...).\n format: The output format used for rendering (``'pdf'``, ``'png'``, ...).\n filepath: Path to the DOT source file to render.... | 93 | false | xflr6/graphviz | render | 25,085 | |
LDU_FT/Atomistica/atomistica/read | LDU_FT | [
"<BEGIN>\n## `read`",
"Convenience function: Detect file extension and read via Atomistica or ASE.\n If reading a NetCDF files, frame numbers can be appended via '@'.\n e.g., a = read('traj.nc@5')\n<END>",
"<BEGIN>\n## `write`",
"Convenience function: Detect file extension and write via Atomistica or AS... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the read API.
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 read API.
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... | Convenience function: Detect file extension and read via Atomistica or ASE.
If reading a NetCDF files, frame numbers can be appended via '@'.
e.g., a = read('traj.nc@5') | "Convenience function: Detect file extension and read via Atomistica or ASE.\n If reading a NetCDF files, frame numbers can be appended via '@'.\n e.g., a = read('traj.nc@5')" | 40 | false | Atomistica/atomistica | read | 25,086 | |
LDU_FT/NiklasRosenstein/myo-python/rotation_of | LDU_FT | [
"<BEGIN>\n## `encode`",
"Encodes the number *value* to a MAC address ASCII string in binary form.\n Raises a #ValueError if *value* is a negative number or exceeds the MAC\n address range.\n<END>",
"<BEGIN>\n## `decode`",
"Decodes an ASCII encoded binary MAC address tring into a number.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the rotation_of API.
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 rotation_of API.
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 #Quaternion that represents a rotation from vector
*source* to *dest*. | "Returns a #Quaternion that represents a rotation from vector\n *source* to *dest*." | 44 | false | NiklasRosenstein/myo-python | rotation_of | 25,087 | |
LDU_FT/Shoobx/xmldiff/patch_apply | LDU_FT | [
"<BEGIN>\n## `diff_main`",
"Find the differences between two texts. Simplifies the problem by\n stripping any common prefix or suffix off the texts before diffing.",
" Args:\n text1: Old string to be diffed.\n text2: New string to be diffed.\n checklines: Optional speedup flag. If prese... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the patch_apply API.
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 patch_apply API.
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... | Merge a set of patches onto the text. Return a patched text, as well
as a list of true/false values indicating which patches were applied.
Args:
patches: Array of Patch objects.
text: Old text.
Returns:
Two element Array, containing the new text and an array of boolean values. | "Merge a set of patches onto the text. Return a patched text, as well\n as a list of true/false values indicating which patches were applied.\n\n Args:\n patches: Array of Patch objects.\n text: Old text.\n\n Returns:\n Two element Array, containing the new text and an array of boolean values." | 146 | false | Shoobx/xmldiff | patch_apply | 25,088 | |
LDU_FT/marshmallow-code/webargs/parse_querystring | LDU_FT | [
"<BEGIN>\n## `dict2schema`",
"Generate a `marshmallow.Schema` class given a dictionary of\n `Fields <marshmallow.fields.Field>`.\n<END>",
"<BEGIN>\n## `is_json`",
"Indicates if this mimetype is JSON or not. By default a request\n is considered to include JSON data if the mimetype is\n ``application/... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the parse_querystring API.
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 parse_querystring API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Pull a querystring value from the request. | "Pull a querystring value from the request." | 108 | false | marshmallow-code/webargs | parse_querystring | 25,089 | |
LDU_FT/unfoldingWord-dev/python-gogs-client/create_organization | LDU_FT | [
"<BEGIN>\n## `json_get`",
"Retrieves the key from a parsed_json dictionary, or raises an exception if the\n key is not present\n<END>",
"<BEGIN>\n## `append_url`",
"Append path to base_url in a sensible way.\n<END>",
"<BEGIN>\n## `authenticated_user`",
"Returns the user authenticated by ``auth``",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_organization 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 create_organization 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... | Creates a new organization, and returns the created organization.
:param auth.Authentication auth: authentication object, must be admin-level
:param str owner_name: Username of organization owner
:param str org_name: Organization name
:param str full_name: Full name of organization
... | "Creates a new organization, and returns the created organization.\n\n :param auth.Authentication auth: authentication object, must be admin-level\n :param str owner_name: Username of organization owner\n :param str org_name: Organization name\n :param str full_name: Full name of organizatio... | 123 | false | unfoldingWord-dev/python-gogs-client | create_organization | 25,090 | |
LDU_FT/Accelize/pycosio/_get_roots | 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 _get_roots API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_roots API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Return URL roots for this storage.
Returns:
tuple of str or re.Pattern: URL roots | "Return URL roots for this storage.\n\n Returns:\n tuple of str or re.Pattern: URL roots" | 498 | false | Accelize/pycosio | _get_roots | 25,091 | |
LDU_FT/Yubico/python-pyhsm/aead_filename | LDU_FT | [
"<BEGIN>\n## `hexdump`",
"Produce a string hexdump of src, for debug output.\n<END>",
"<BEGIN>\n## `group`",
"Split data into chunks of num chars each\n<END>",
"<BEGIN>\n## `key_handle_to_int`",
"Turn \"123\" into 123 and \"KSM1\" into 827151179\n (0x314d534b, 'K' = 0x4b, S = '0x53', M = 0x4d).",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the aead_filename API.
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 aead_filename API.
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 the filename of the AEAD for this public_id,
and create any missing directorys. | "Return the filename of the AEAD for this public_id,\n and create any missing directorys." | 310 | false | Yubico/python-pyhsm | aead_filename | 25,092 | |
LDU_FT/NearHuscarl/py-currency/pretty | LDU_FT | [
"<BEGIN>\n## `read`",
"parameter: file_path - path to cache file\n\treturn: data after parsing json file\n<END>",
"<BEGIN>\n## `write`",
"write data to cache file\n\tparameters:\n\t\tcache_path - path to cache file\n\t\tcontent - a data structure to save into cache file\n<END>",
"<BEGIN>\n## `validate_curre... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the pretty API.
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 pretty API.
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 format price with symbol. Example format(100, 'USD') return '$100'
pretty(price, currency, abbrev=True, trim=False)
abbrev:
True: print value + symbol. Symbol can either be placed before or after value
False: print value + currency code. currency code is placed behind value
trim:
True: trim float value ... | "return format price with symbol. Example format(100, 'USD') return '$100'\n\tpretty(price, currency, abbrev=True, trim=False)\n\tabbrev:\n\t\tTrue: print value + symbol. Symbol can either be placed before or after value\n\t\tFalse: print value + currency code. currency code is placed behind value\n\ttrim:\n\t\tTrue: t... | 18 | false | NearHuscarl/py-currency | pretty | 25,093 | |
LDU_FT/zapier/django-drip/walk | LDU_FT | [
"<BEGIN>\n## `get_fields`",
"Given a Model, return a list of lists of strings with important stuff:\n ...\n ['test_user__user__customuser', 'customuser', 'User', 'RelatedObject']\n ['test_user__unique_id', 'unique_id', 'TestUser', 'CharField']\n ['test_user__confirmed', 'confirmed', 'TestUser', 'Boole... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the walk API.
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 walk API.
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... | Walk over a date range and create new instances of self with new ranges. | "Walk over a date range and create new instances of self with new ranges." | 20 | false | zapier/django-drip | walk | 25,094 | |
LDU_FT/edx/pa11ycrawler/handle_error | LDU_FT | [
"<BEGIN>\n## `make_parser`",
"Returns an argparse instance for this script.\n<END>",
"<BEGIN>\n## `main`",
"Validates script arguments and calls the render_html() function with them.\n<END>",
"<BEGIN>\n## `wcag_refs`",
"Given a `code` from pa11y, return a list of the WCAG references.\n These references... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_error API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the handle_error API.
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... | Provides basic error information for bad requests.
If the error was an HttpError or DNSLookupError, it
prints more specific information. | "Provides basic error information for bad requests.\n If the error was an HttpError or DNSLookupError, it\n prints more specific information." | 56 | false | edx/pa11ycrawler | handle_error | 25,095 | |
LDU_FT/uyar/pygenstub/extract_signature | LDU_FT | [
"<BEGIN>\n## `get_fields`",
"Get the field names and their values from a node.",
" :sig: (Document, str) -> Dict[str, str]\n :param node: Node to get the fields from.\n :param fields_tag: Tag of child node that contains the fields.\n :return: Names and values of fields.\n<END>",
"<BEGIN>\n## `extr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_signature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the extract_signature API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Extract the signature from a docstring.
:sig: (str) -> Optional[str]
:param docstring: Docstring to extract the signature from.
:return: Extracted signature, or ``None`` if there's no signature. | "Extract the signature from a docstring.\n\n :sig: (str) -> Optional[str]\n :param docstring: Docstring to extract the signature from.\n :return: Extracted signature, or ``None`` if there's no signature." | 50 | false | uyar/pygenstub | extract_signature | 25,096 | |
LDU_FT/orsinium/textdistance/optimize | LDU_FT | [
"<BEGIN>\n## `optimize`",
"Sort algorithm implementations by speed.\n<END>",
"<BEGIN>\n## `_dynamic`",
"https://github.com/chrislit/abydos/blob/master/abydos/distance/_lcsseq.py\n http://www.dis.uniroma1.it/~bonifaci/algo/LCSSEQ.py\n http://rosettacode.org/wiki/Longest_common_subsequence#Dynamic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the optimize API.
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 optimize API.
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... | Sort algorithm implementations by speed. | "Sort algorithm implementations by speed." | 15 | false | orsinium/textdistance | optimize | 25,097 | |
LDU_FT/tgalal/python-axolotl/generatePreKeys | LDU_FT | [
"<BEGIN>\n## `getSignature`",
":type signatureKey: ECPrivateKey\n :type serialized: bytearray\n<END>",
"<BEGIN>\n## `process`",
":param sessionRecord:\n :param message:\n :type message: PreKeyWhisperMessage\n<END>",
"<BEGIN>\n## `processV2`",
":type sessionRecord: SessionRecord\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the generatePreKeys API.
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 generatePreKeys API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Generate a list of PreKeys. Clients should do this at install time, and
subsequently any time the list of PreKeys stored on the server runs low.
PreKey IDs are shorts, so they will eventually be repeated. Clients should
store PreKeys in a circular buffer, so that they are repeated as infreque... | "Generate a list of PreKeys. Clients should do this at install time, and\n subsequently any time the list of PreKeys stored on the server runs low.\n\n PreKey IDs are shorts, so they will eventually be repeated. Clients should\n store PreKeys in a circular buffer, so that they are repeated as inf... | 46 | false | tgalal/python-axolotl | generatePreKeys | 25,098 | |
LDU_FT/lvieirajr/mongorest/replace_one | LDU_FT | [
"<BEGIN>\n## `insert`",
"Saves the Document to the database if it is valid.\n Returns errors otherwise.\n<END>",
"<BEGIN>\n## `update`",
"Updates the document with the given _id saved in the collection if it\n is valid.\n Returns errors otherwise.\n<END>",
"<BEGIN>\n## `delete`",
"Del... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_one API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the replace_one API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Replaces a document that passes the filter.
Will upsert a new document if upsert=True and no document is filtered | "Replaces a document that passes the filter.\n Will upsert a new document if upsert=True and no document is filtered" | 42 | false | lvieirajr/mongorest | replace_one | 25,099 | |
LDU_FT/avihad/twistes/validate_scan_result | LDU_FT | [
"<BEGIN>\n## `expand_action`",
"From one document or action definition passed in by the user extract the\n action/data lines needed for elasticsearch's\n :meth:`~elasticsearch.Elasticsearch.bulk` api.\n :return es format to bulk doc\n<END>",
"<BEGIN>\n## `bulk`",
"Helper for the :meth:`~e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_scan_result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate_scan_result API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Check if there's a failed shard in the scan query | "Check if there's a failed shard in the scan query" | 78 | false | avihad/twistes | validate_scan_result | 25,100 | |
LDU_FT/openspending/babbage/cubes | LDU_FT | [
"<BEGIN>\n## `count_results`",
"Get the count of records matching the query.\n<END>",
"<BEGIN>\n## `generate_results`",
"Generate the resulting records for this query, applying pagination.\n Values will be returned by their reference.\n<END>",
"<BEGIN>\n## `apply`",
"Sort on a set of field specificatio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cubes API.
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 cubes API.
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... | Get a listing of all publicly available cubes. | "Get a listing of all publicly available cubes." | 66 | false | openspending/babbage | cubes | 25,101 | |
LDU_FT/cuducos/getgist/get | LDU_FT | [
"<BEGIN>\n## `run_getgist`",
"Passes user inputs to GetGist() and calls get()\n<END>",
"<BEGIN>\n## `run_getmy`",
"Shortcut for run_getgist() reading username from env var\n<END>",
"<BEGIN>\n## `run_putgist`",
"Passes user inputs to GetGist() and calls put()\n<END>",
"<BEGIN>\n## `get`",
"Reads the re... | 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... | Reads the remote file from Gist and save it locally | "Reads the remote file from Gist and save it locally" | 44 | false | cuducos/getgist | get | 25,102 | |
LDU_FT/brews/snakebacon/agedepth | LDU_FT | [
"<BEGIN>\n## `date`",
"Date a proxy record",
" Parameters\n ----------\n proxy : ProxyRecord\n how : str\n How to perform the dating. 'median' returns the average of the MCMC ensemble. 'ensemble' returns a 'n'\n randomly selected members of the MCMC ensemble. De... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the agedepth API.
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 agedepth API.
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 calendar age for a depth
Parameters
----------
d : float
Sediment depth (in cm).
Returns
-------
Numeric giving true age at given depth. | "Get calendar age for a depth\n\n Parameters\n ----------\n d : float\n Sediment depth (in cm).\n\n Returns\n -------\n Numeric giving true age at given depth." | 40 | false | brews/snakebacon | agedepth | 25,103 | |
LDU_FT/openvax/varcode/filter_by_gene_expression | LDU_FT | [
"<BEGIN>\n## `translate_codon`",
"Translate a single codon into a single amino acid or stop '*'",
" Parameters\n ----------\n codon : str\n Expected to be of length 3\n aa_pos : int\n Codon/amino acid offset into the protein (starting from 0)\n<END>",
"<BEGIN>\n## `translate`",
"Tr... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the filter_by_gene_expression 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 filter_by_gene_expression API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusi... | Filters variants down to those which have overlap a gene whose
expression value in the transcript_expression_dict argument is greater
than min_expression_value.
Parameters
----------
gene_expression_dict : dict
Dictionary mapping Ensembl gene IDs to expression estima... | "Filters variants down to those which have overlap a gene whose\n expression value in the transcript_expression_dict argument is greater\n than min_expression_value.\n\n Parameters\n ----------\n gene_expression_dict : dict\n Dictionary mapping Ensembl gene IDs to expressio... | 344 | false | openvax/varcode | filter_by_gene_expression | 25,104 | |
LDU_FT/inveniosoftware-contrib/invenio-workflows/create_data_object_from_data | LDU_FT | [
"<BEGIN>\n## `create`",
"Create a new Workflow Object with given content.\n<END>",
"<BEGIN>\n## `query`",
"Wrap sqlalchemy query methods.",
" A wrapper for the filter and filter_by functions of sqlalchemy.\n Define a dict with which columns should be filtered by which values.",
" .. c... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_data_object_from_data 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 create_data_object_from_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its concl... | Create a new WorkflowObject from given data and return it.
Returns a data object wrapped around data_object given.
:param data_object: object containing the data
:type data_object: object
:param engine: Instance of Workflow that is currently running.
:type engine: py:class:`.engine.WorkflowEngine... | "Create a new WorkflowObject from given data and return it.\n\n Returns a data object wrapped around data_object given.\n\n :param data_object: object containing the data\n :type data_object: object\n\n :param engine: Instance of Workflow that is currently running.\n :type engine: py:class:`.engine.Workf... | 135 | false | inveniosoftware-contrib/invenio-workflows | create_data_object_from_data | 25,105 | |
LDU_FT/pyros-dev/pyzmp/daemon | LDU_FT | [
"<BEGIN>\n## `discover`",
"discovers a service. If timeout is specified, waits for at least minimum_providers service instance to be available.\n Note : we do not want to make the discovery block undefinitely since we never know for sure if a service is running or not\n TODO : improve with future...... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the daemon API.
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 daemon API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted ... | Set whether process is a daemon
:param daemonic:
:return: | "Set whether process is a daemon\n :param daemonic:\n :return:" | 19 | false | pyros-dev/pyzmp | daemon | 25,106 | |
LDU_FT/RedisJSON/rejson-py/bulk_of_jsons | LDU_FT | [
"<BEGIN>\n## `bulk_of_jsons`",
"Replace serialized JSON values with objects in a bulk array response (list)\n<END>",
"<BEGIN>\n## `setEncoder`",
"Sets the client's encoder\n ``encoder`` should be an instance of a ``json.JSONEncoder`` class\n<END>",
"<BEGIN>\n## `setDecoder`",
"Sets the client's dec... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bulk_of_jsons API.
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 bulk_of_jsons API.
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... | Replace serialized JSON values with objects in a bulk array response (list) | "Replace serialized JSON values with objects in a bulk array response (list)" | 43 | false | RedisJSON/rejson-py | bulk_of_jsons | 25,107 | |
LDU_FT/jspricke/python-abook/abook_file | LDU_FT | [
"<BEGIN>\n## `abook2vcf`",
"Command line tool to convert from Abook to vCard\n<END>",
"<BEGIN>\n## `vcf2abook`",
"Command line tool to convert from vCard to Abook\n<END>",
"<BEGIN>\n## `append_vobject`",
"Appends an address to the Abook addressbook\n vcard -- vCard to append\n filename -- un... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the abook_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the abook_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Write a new Abook file with the given vcards | "Write a new Abook file with the given vcards" | 20 | false | jspricke/python-abook | abook_file | 25,108 | |
LDU_FT/Apitax/Apitax/delete_script | LDU_FT | [
"<BEGIN>\n## `get_driver_blacklist`",
"Retrieve the blacklist in the driver",
" Retrieve the blacklist in the driver # noqa: E501",
" :param driver: The driver to use for the request. ie. github\n :type driver: str",
" :rtype: Response\n<END>",
"<BEGIN>\n## `get_driver_config`",
"Retrieve th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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.
The ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the delete_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.
The ext... | Delete a script
Delete a script # noqa: E501
:param delete: The data needed to delete this script
:type delete: dict | bytes
:rtype: Response | "Delete a script\n\n Delete a script # noqa: E501\n\n :param delete: The data needed to delete this script\n :type delete: dict | bytes\n\n :rtype: Response" | 137 | false | Apitax/Apitax | delete_script | 25,109 | |
LDU_FT/harlowja/notifier/can_be_registered | LDU_FT | [
"<BEGIN>\n## `register_deregister`",
"Context manager that registers a callback, then deregisters on exit.",
" NOTE(harlowja): if the callback is none, then this registers nothing, which\n is different from the behavior of the ``register`` method\n which will *not* accep... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the can_be_registered API.
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 can_be_registered API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The... | Checks if the event can be registered/subscribed to.
:param event_type: event that needs to be verified
:returns: whether the event can be registered/subscribed to
:rtype: boolean | "Checks if the event can be registered/subscribed to.\n\n :param event_type: event that needs to be verified\n :returns: whether the event can be registered/subscribed to\n :rtype: boolean" | 42 | false | harlowja/notifier | can_be_registered | 25,110 | |
LDU_FT/mdeous/fatbotslim/_recv_loop | LDU_FT | [
"<BEGIN>\n## `create_logger`",
"Creates a new ready-to-use logger.",
" :param name: new logger's name\n :type name: str\n :param level: default logging level.\n :type level: :class:`str` or :class:`int`\n :return: new logger.\n :rtype: :class:`logging.Logger`\n<END>",
"<BEGIN>\n## `format`",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recv_loop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _recv_loop API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extrac... | Waits for data forever and feeds the input queue. | "Waits for data forever and feeds the input queue." | 83 | false | mdeous/fatbotslim | _recv_loop | 25,111 | |
LDU_FT/boakley/robotframework-hub/add_installed_libraries | LDU_FT | [
"<BEGIN>\n## `add`",
"Add a folder, library (.py) or resource file (.robot, .tsv, .txt) to the database\n<END>",
"<BEGIN>\n## `on_change`",
"Respond to changes in the file system",
" This method will be given the path to a file that\n has changed on disk. We need to reload the keywords\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the add_installed_libraries 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 add_installed_libraries API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion... | Add any installed libraries that we can find
We do this by looking in the `libraries` folder where
robot is installed. If you have libraries installed
in a non-standard place, this won't pick them up. | "Add any installed libraries that we can find\n\n We do this by looking in the `libraries` folder where\n robot is installed. If you have libraries installed\n in a non-standard place, this won't pick them up." | 61 | false | boakley/robotframework-hub | add_installed_libraries | 25,112 | |
LDU_FT/rapidpro/expressions/field | LDU_FT | [
"<BEGIN>\n## `_read_requirements`",
"Returns a list of package requirements read from the file.\n<END>",
"<BEGIN>\n## `field`",
"Reference a field in string separated by a delimiter\n<END>",
"<BEGIN>\n## `epoch`",
"Converts the given date to the number of seconds since January 1st, 1970 UTC\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the field API.
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 field API.
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... | Reference a field in string separated by a delimiter | "Reference a field in string separated by a delimiter" | 124 | false | rapidpro/expressions | field | 25,113 | |
LDU_FT/PyCQA/astroid/visit_pass | LDU_FT | [
"<BEGIN>\n## `_handle_blacklist`",
"remove files/directories in the black list",
" dirnames/filenames are usually from os.walk\n<END>",
"<BEGIN>\n## `load_module_from_name`",
"Load a Python module from its name.",
" :type dotted_name: str\n :param dotted_name: python name of a module or package",... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the visit_pass API.
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 visit_pass API.
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... | visit a Pass node by returning a fresh instance of it | "visit a Pass node by returning a fresh instance of it" | 1,051 | true | PyCQA/astroid | visit_pass | 25,114 | |
LDU_FT/jedie/django-cms-tools/create_cms_index_pages | LDU_FT | [
"<BEGIN>\n## `get_or_create_placeholder`",
"Get or create a placeholder on the given page.\n Optional: Delete existing placeholder.\n<END>",
"<BEGIN>\n## `publish_page`",
"Publish a CMS page in all given languages.\n<END>",
"<BEGIN>\n## `create_cms_index_pages`",
"create cms home page and fill >content... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_cms_index_pages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_cms_index_pages API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.... | create cms home page and fill >content< placeholder with TextPlugin | "create cms home page and fill >content< placeholder with TextPlugin" | 32 | false | jedie/django-cms-tools | create_cms_index_pages | 25,115 | |
LDU_FT/IvanMalison/okcupyd/bust_self | LDU_FT | [
"<BEGIN>\n## `ages`",
"The age range that the user is interested in.\n<END>",
"<BEGIN>\n## `single`",
"Whether or not the user is only interested in people that are single.\n<END>",
"<BEGIN>\n## `update`",
"Update the looking for attributes of the logged in user.",
" :param ages: The ages that th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the bust_self API.
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 bust_self API.
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... | Remove the value that is being stored on `obj` for this
:class:`.cached_property`
object.
:param obj: The instance on which to bust the cache. | "Remove the value that is being stored on `obj` for this\n :class:`.cached_property`\n object.\n\n :param obj: The instance on which to bust the cache." | 149 | false | IvanMalison/okcupyd | bust_self | 25,116 | |
LDU_FT/upsight/doctor/resolve | LDU_FT | [
"<BEGIN>\n## `_parse_array`",
"Coerce value into an list.",
" :param str value: Value to parse.\n :returns: list or None if the value is not a JSON array\n :raises: TypeError or ValueError if value appears to be an array but can't\n be parsed as JSON.\n<END>",
"<BEGIN>\n## `_parse_boolean`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resolve API.
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 resolve API.
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... | Resolve a fragment within the schema.
If the resolved value contains a $ref, it will attempt to resolve that
as well, until it gets something that is not a reference. Circular
references will raise a SchemaError.
:param str ref: URI to resolve.
:param dict document: Optional sc... | "Resolve a fragment within the schema.\n\n If the resolved value contains a $ref, it will attempt to resolve that\n as well, until it gets something that is not a reference. Circular\n references will raise a SchemaError.\n\n :param str ref: URI to resolve.\n :param dict document: Opt... | 236 | false | upsight/doctor | resolve | 25,117 | |
LDU_FT/Basic-Components/msgpack-rpc-protocol/_server_error_handler | LDU_FT | [
"<BEGIN>\n## `add_status_code`",
"用于将mprpc的标准异常注册到`_mprpc_exceptions`的装饰器.",
" Parameters:\n code (int): - 标准状态码\n Return:\n (Callable): - 装饰函数\n<END>",
"<BEGIN>\n## `abort`",
"根据状态码创建一个异常.",
" Parameters:\n status_code (int): - 错误的状态码\n ID (str): - 任务的ID号,通常是一个uuid,默认... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _server_error_handler 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 _server_error_handler API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | 处理500~599段状态码,抛出对应警告.
Parameters:
(code): - 响应的状态码
Return:
(bool): - 已知的警告类型则返回True,否则返回False
Raise:
(ServerException): - 当返回为服务异常时则抛出对应异常 | "处理500~599段状态码,抛出对应警告.\n\n Parameters:\n (code): - 响应的状态码\n\n Return:\n (bool): - 已知的警告类型则返回True,否则返回False\n\n Raise:\n (ServerException): - 当返回为服务异常时则抛出对应异常" | 202 | false | Basic-Components/msgpack-rpc-protocol | _server_error_handler | 25,118 | |
LDU_FT/rodricios/eatiht/calcavg_avgstrlen_subtrees | LDU_FT | [
"<BEGIN>\n## `get_html_tree`",
"From some file path, input stream, or URL, construct and return\r\n an HTML tree.\n<END>",
"<BEGIN>\n## `get_xpath_frequencydistribution`",
"Build and return a frequency distribution over xpath occurrences.\n<END>",
"<BEGIN>\n## `calc_avgstrlen_pathstextnodes`",
"In the ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calcavg_avgstrlen_subtrees API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the calcavg_avgstrlen_subtrees API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | In the effort of not using external libraries (like scipy, numpy, etc),
I've written some harmless code for basic statistical calculations | "In the effort of not using external libraries (like scipy, numpy, etc),\r\n I've written some harmless code for basic statistical calculations" | 36 | false | rodricios/eatiht | calcavg_avgstrlen_subtrees | 25,119 | |
LDU_FT/palantir/python-jsonrpc-server/listen | LDU_FT | [
"<BEGIN>\n## `notify`",
"Send a JSON RPC notification to the client.",
" Args:\n method (str): The method name of the notification to send\n params (any): The payload of the notification\n<END>",
"<BEGIN>\n## `request`",
"Send a JSON RPC request to the client.",
" Ar... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listen API.
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 listen API.
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 ... | Blocking call to listen for messages on the rfile.
Args:
message_consumer (fn): function that is passed each message as it is read off the socket. | "Blocking call to listen for messages on the rfile.\n\n Args:\n message_consumer (fn): function that is passed each message as it is read off the socket." | 26 | false | palantir/python-jsonrpc-server | listen | 25,120 | |
LDU_FT/panosl/django-currencies/memoize_nullary | LDU_FT | [
"<BEGIN>\n## `get_imports`",
"See if we have been passed a set of currencies or a setting variable\n or look for settings CURRENCIES or SHOP_CURRENCIES.\n<END>",
"<BEGIN>\n## `log`",
"Both prints to stdout/stderr and the django.currencies logger\n<END>",
"<BEGIN>\n## `check_rates`",
"Local helper f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the memoize_nullary API.
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 memoize_nullary API.
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... | Memoizes a function that takes no arguments. The memoization lasts only as
long as we hold a reference to the returned function. | "Memoizes a function that takes no arguments. The memoization lasts only as\n long as we hold a reference to the returned function." | 57 | false | panosl/django-currencies | memoize_nullary | 25,121 | |
LDU_FT/google/transitfeed/GetPatternIdTripDict | LDU_FT | [
"<BEGIN>\n## `GetClosestPoint`",
"Returns the point on the great circle segment ab closest to x.\n<END>",
"<BEGIN>\n## `Norm2`",
"Returns the L_2 (Euclidean) norm of self.\n<END>",
"<BEGIN>\n## `Plus`",
"Returns a new point which is the pointwise sum of self and other.\n<END>",
"<BEGIN>\n## `Minus`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the GetPatternIdTripDict 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 GetPatternIdTripDict API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
... | Return a dictionary that maps pattern_id to a list of Trip objects. | "Return a dictionary that maps pattern_id to a list of Trip objects." | 708 | false | google/transitfeed | GetPatternIdTripDict | 25,122 | |
LDU_FT/awslabs/sockeye/get_encoded_seq_len | LDU_FT | [
"<BEGIN>\n## `check_arg_compatibility`",
"Check if some arguments are incompatible with each other.",
" :param args: Arguments as returned by argparse.\n<END>",
"<BEGIN>\n## `check_resume`",
"Check if we should resume a broken training run.",
" :param args: Arguments as returned by argparse.\n :p... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_encoded_seq_len 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_encoded_seq_len API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Returns the size of the encoded sequence. | "Returns the size of the encoded sequence." | 1,056 | true | awslabs/sockeye | get_encoded_seq_len | 25,123 | |
LDU_FT/CodyKochmann/graphdb/store_relation | LDU_FT | [
"<BEGIN>\n## `graph_hash`",
"this hashes all types to a hash without colissions. python's hashing algorithms are not cross type compatable but hashing tuples with the type as the first element seems to do the trick\n<END>",
"<BEGIN>\n## `store_item`",
"use this function to store a python object in the databas... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the store_relation API.
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 store_relation API.
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... | use this to store a relation between two objects | "use this to store a relation between two objects" | 44 | false | CodyKochmann/graphdb | store_relation | 25,124 | |
LDU_FT/expfactory/expfactory/validate | 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 validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | validate
:param folder: full path to experiment folder with config.json. If path begins
with https, we assume to be starting from a repository. | "validate\n :param folder: full path to experiment folder with config.json. If path begins\n with https, we assume to be starting from a repository." | 128 | false | expfactory/expfactory | validate | 25,125 | |
LDU_FT/saltstack/salt/deactivate_license | LDU_FT | [
"<BEGIN>\n## `_config`",
"Return a value for 'name' from command line args then config file options.\n Specify 'key' if the config file option is not the same as 'name'.\n<END>",
"<BEGIN>\n## `add_host`",
"Add, replace, or update the A and PTR (reverse) records for a host.",
" CLI Example:",
" ..... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the deactivate_license 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 deactivate_license 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... | Deactivates an installed license.
Required version 7.0.0 or greater.
key_name(str): The file name of the license key installed.
CLI Example:
.. code-block:: bash
salt '*' panos.deactivate_license key_name=License_File_Name.key | "Deactivates an installed license.\n Required version 7.0.0 or greater.\n\n key_name(str): The file name of the license key installed.\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' panos.deactivate_license key_name=License_File_Name.key" | 61,937 | true | saltstack/salt | deactivate_license | 25,126 | |
LDU_FT/wrwrwr/scikit-gof/cvm_unif_inf | LDU_FT | [
"<BEGIN>\n## `ad_unif_inf`",
"Approximates the limiting distribution to about 5 decimal digits.\n<END>",
"<BEGIN>\n## `ad_unif_fix`",
"Corrects the limiting distribution for a finite sample size.\n<END>",
"<BEGIN>\n## `vectorize`",
"Allows using `@vectorize` as well as `@vectorize()`.\n<END>",
"<BEGIN>\... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the cvm_unif_inf API.
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 cvm_unif_inf API.
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... | Calculates the limiting distribution of the Cramer-von Mises statistic.
After the second line of equation 1.3 from the Csorgo and Faraway paper. | "Calculates the limiting distribution of the Cramer-von Mises statistic.\n\n After the second line of equation 1.3 from the Csorgo and Faraway paper." | 33 | false | wrwrwr/scikit-gof | cvm_unif_inf | 25,127 | |
LDU_FT/mpapi/lazylights/_on_power_state | LDU_FT | [
"<BEGIN>\n## `parse_packet`",
"Parses a Lifx data packet (as a bytestring), returning into a Header object\n for the fields that are common to all data packets, and a bytestring of\n payload data for the type-specific fields (suitable for passing to\n `parse_payload`).\n<END>",
"<BEGIN>\n## `parse_payl... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_power_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _on_power_state API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Records the power (on/off) state of bulbs, and forwards to a high-level
callback with human-friendlier arguments. | "Records the power (on/off) state of bulbs, and forwards to a high-level\n callback with human-friendlier arguments." | 63 | false | mpapi/lazylights | _on_power_state | 25,128 | |
LDU_FT/discontinue/django-secure-js-login/display_login_info | LDU_FT | [
"<BEGIN>\n## `get_salt`",
"return the user password salt.\n If the user doesn't exist return a pseudo salt.\n<END>",
"<BEGIN>\n## `display_login_info`",
"Create a message, after login.",
" Because this signal receiver will be called **after** auth.models.update_last_login(), the\n user.last_login i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_login_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.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the display_login_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.
Th... | Create a message, after login.
Because this signal receiver will be called **after** auth.models.update_last_login(), the
user.last_login information was updated before!
As a work-a-round, we add **user.previous_login** in forms.SecureLoginForm.clean() | "Create a message, after login.\n\n Because this signal receiver will be called **after** auth.models.update_last_login(), the\n user.last_login information was updated before!\n\n As a work-a-round, we add **user.previous_login** in forms.SecureLoginForm.clean()" | 30 | false | discontinue/django-secure-js-login | display_login_info | 25,129 | |
LDU_FT/orbingol/NURBS-Python/export_stl_str | LDU_FT | [
"<BEGIN>\n## `bspline_to_nurbs`",
"Converts non-rational parametric shapes to rational ones.",
" :param obj: B-Spline shape\n :type obj: BSpline.Curve, BSpline.Surface or BSpline.Volume\n :return: NURBS shape\n :rtype: NURBS.Curve, NURBS.Surface or NURBS.Volume\n :raises: TypeError\n<END>",
"<B... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_stl_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the export_stl_str API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Exports surface(s) as a .stl file in plain text or binary format (string).
Keyword Arguments:
* ``binary``: flag to generate a binary STL file. *Default: False*
* ``vertex_spacing``: size of the triangle edge in terms of points sampled on the surface. *Default: 1*
* ``update_delta``: use mu... | "Exports surface(s) as a .stl file in plain text or binary format (string).\n\n Keyword Arguments:\n * ``binary``: flag to generate a binary STL file. *Default: False*\n * ``vertex_spacing``: size of the triangle edge in terms of points sampled on the surface. *Default: 1*\n * ``update_delta``: ... | 809 | false | orbingol/NURBS-Python | export_stl_str | 25,130 | |
LDU_FT/pseudonym117/Riot-Watcher/after_request | LDU_FT | [
"<BEGIN>\n## `matchlist_by_account`",
"Get matchlist for ranked games played on given account ID and platform ID\n and filtered using given filter parameters, if any",
" A number of optional parameters are provided for filtering. It is up to the caller to\n ensure that the combination of fi... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the after_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 ext... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the after_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 ext... | Called after a response is received and before it is returned to the user.
:param string region: the region of this request
:param string endpoint_name: the name of the endpoint that was requested
:param string method_name: the name of the method that was requested
:param url: The url t... | "Called after a response is received and before it is returned to the user.\n\n :param string region: the region of this request\n :param string endpoint_name: the name of the endpoint that was requested\n :param string method_name: the name of the method that was requested\n :param url: The... | 80 | false | pseudonym117/Riot-Watcher | after_request | 25,131 | |
LDU_FT/kvesteri/validators/validator | LDU_FT | [
"<BEGIN>\n## `email`",
"Validate an email address.",
" This validator is based on `Django's email validator`_. Returns\n ``True`` on success and :class:`~validators.utils.ValidationFailure`\n when validation fails.",
" Examples::",
" >>> email('someone@example.com')\n True",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validator API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | A decorator that makes given function validator.
Whenever the given function is called and returns ``False`` value
this decorator returns :class:`ValidationFailure` object.
Example::
>>> @validator
... def even(value):
... return not (value % 2)
>>> even(4)
Tr... | "A decorator that makes given function validator.\n\n Whenever the given function is called and returns ``False`` value\n this decorator returns :class:`ValidationFailure` object.\n\n Example::\n\n >>> @validator\n ... def even(value):\n ... return not (value % 2)\n\n >>> even(4... | 102 | false | kvesteri/validators | validator | 25,132 | |
LDU_FT/rochacbruno/dynaconf/default_loader | LDU_FT | [
"<BEGIN>\n## `init_app`",
"kwargs holds initial dynaconf configuration\n<END>",
"<BEGIN>\n## `get`",
"Gets config from dynaconf variables\n if variables does not exists in dynaconf try getting from\n `app.config` to support runtime settings.\n<END>",
"<BEGIN>\n## `object_merge`",
"Recursivel... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default_loader API.
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 default_loader API.
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... | Loads default settings and check if there are overridings
exported as environment variables | "Loads default settings and check if there are overridings\n exported as environment variables" | 172 | false | rochacbruno/dynaconf | default_loader | 25,133 | |
LDU_FT/chovanecm/sacredboard/_get_collection | LDU_FT | [
"<BEGIN>\n## `get_file`",
"Get a specific file from GridFS.",
" Returns a binary stream response or HTTP 404 if not found.\n<END>",
"<BEGIN>\n## `get_files_zip`",
"Send all artifacts or sources of a run as ZIP.\n<END>",
"<BEGIN>\n## `get`",
"Return the file identified by a file_id string.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _get_collection API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The e... | Get PyMongo client pointing to the current DB and the given collection.
:return: MongoDB client of the current database and given collection.
:raise DataSourceError | "Get PyMongo client pointing to the current DB and the given collection.\n\n :return: MongoDB client of the current database and given collection.\n :raise DataSourceError" | 128 | false | chovanecm/sacredboard | _get_collection | 25,134 | |
LDU_FT/alvations/pywsd/lemmatize | LDU_FT | [
"<BEGIN>\n## `similarity_by_path`",
"Returns maximum path similarity between two senses.",
" :param sense1: A synset.\n :param sense2: A synset.\n :param option: String, one of ('path', 'wup', 'lch').\n :return: A float, similarity measurement.\n<END>",
"<BEGIN>\n## `similarity_by_infocontent`",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lemmatize API.
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 lemmatize API.
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... | Tries to convert a surface word into lemma, and if lemmatize word is not in
wordnet then try and convert surface word into its stem.
This is to handle the case where users input a surface word as an ambiguous
word and the surface word is a not a lemma. | "Tries to convert a surface word into lemma, and if lemmatize word is not in\n wordnet then try and convert surface word into its stem.\n\n This is to handle the case where users input a surface word as an ambiguous\n word and the surface word is a not a lemma." | 83 | false | alvations/pywsd | lemmatize | 25,135 | |
LDU_FT/geertj/pyskiplist/keys | LDU_FT | [
"<BEGIN>\n## `remove`",
"Remove a node from the list.",
" The *node* argument must be a node that was previously inserted in the\n list\n<END>",
"<BEGIN>\n## `insert`",
"Insert a key-value pair in the list.",
" The pair is inserted at the correct location so that the list remains\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the keys API.
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 keys API.
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... | Like :meth:`items` but returns only the keys. | "Like :meth:`items` but returns only the keys." | 34 | false | geertj/pyskiplist | keys | 25,136 | |
LDU_FT/uber/tchannel-python/build_response | LDU_FT | [
"<BEGIN>\n## `should_retry_on_error`",
"rules for retry",
" :param error:\n ProtocolException that returns from Server\n<END>",
"<BEGIN>\n## `client_for`",
"Build a synchronous client class for the given Thrift service.",
" The generated class accepts a TChannelSyncClient and an optio... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_response API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Build response object from protocol level message info
It is allowed to take incompleted CallResponseMessage. Therefore the
created request may not contain whole three arguments.
:param message: CallResponseMessage
:return: response object | "Build response object from protocol level message info\n\n It is allowed to take incompleted CallResponseMessage. Therefore the\n created request may not contain whole three arguments.\n\n :param message: CallResponseMessage\n :return: response object" | 422 | false | uber/tchannel-python | build_response | 25,137 | |
LDU_FT/smnorris/bcdata/get_data | LDU_FT | [
"<BEGIN>\n## `parse_db_url`",
"provided a db url, return a dict with connection properties\n<END>",
"<BEGIN>\n## `from_like_context`",
"Return the value for an option from the context if the option\n or `--all` is given, else return None.\n<END>",
"<BEGIN>\n## `info`",
"Print basic metadata about a Dat... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_data API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Get GeoJSON featurecollection from DataBC WFS | "Get GeoJSON featurecollection from DataBC WFS" | 35 | false | smnorris/bcdata | get_data | 25,138 | |
LDU_FT/xav/Grapefruit/complementary_color | LDU_FT | [
"<BEGIN>\n## `rgb_to_hsl`",
"Convert the color from RGB coordinates to HSL.",
" Parameters:\n :r:\n The Red component value [0...1]\n :g:\n The Green component value [0...1]\n :b:\n The Blue component value [0...1]",
" Returns:\n The color as an (h, s, l) tuple in the range:\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the complementary_color 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 complementary_color API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
T... | Create a new instance which is the complementary color of this one.
Parameters:
:mode:
Select which color wheel to use for the generation (ryb/rgb).
Returns:
A grapefruit.Color instance.
>>> Color.from_hsl(30, 1, 0.5).complementary_color(mode='rgb')
Color(0.0, 0.5, 1.0, 1.0)
... | "Create a new instance which is the complementary color of this one.\n\n Parameters:\n :mode:\n Select which color wheel to use for the generation (ryb/rgb).\n\n\n Returns:\n A grapefruit.Color instance.\n\n >>> Color.from_hsl(30, 1, 0.5).complementary_color(mode='rgb')\n Color(0.0, 0.5, 1.... | 234 | false | xav/Grapefruit | complementary_color | 25,139 | |
LDU_FT/jjjake/internetarchive/get_item | LDU_FT | [
"<BEGIN>\n## `prepare_metadata`",
"Prepare a metadata dict for an\n :class:`S3PreparedRequest <S3PreparedRequest>` or\n :class:`MetadataPreparedRequest <MetadataPreparedRequest>` object.",
" :type metadata: dict\n :param metadata: The metadata dict to be prepared.",
" :type source_metadata: dic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_item API.
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_item API.
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 an :class:`Item` object.
:type identifier: str
:param identifier: The globally unique Archive.org item identifier.
:type config: dict
:param config: (optional) A dictionary used to configure your session.
:type config_file: str
:param config_file: (optional) A path to a config file used t... | "Get an :class:`Item` object.\n\n :type identifier: str\n :param identifier: The globally unique Archive.org item identifier.\n\n :type config: dict\n :param config: (optional) A dictionary used to configure your session.\n\n :type config_file: str\n :param config_file: (optional) A path to a config f... | 281 | false | jjjake/internetarchive | get_item | 25,140 | |
LDU_FT/gplepage/gvar/solve | LDU_FT | [
"<BEGIN>\n## `deriv`",
"Compute *n*-th derivative of ``self``.",
" :param n: Number of derivatives.\n :type n: positive integer\n :returns: *n*-th derivative of ``self``.\n<END>",
"<BEGIN>\n## `integ`",
"Compute *n*-th indefinite integral of ``self``.",
" If *x0* is specified, ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the solve API.
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 solve API.
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... | Find ``x`` such that ``a @ x = b`` for matrix ``a``.
Args:
a: Two-dimensional, square matrix/array of numbers
and/or :class:`gvar.GVar`\s.
b: One-dimensional vector/array of numbers and/or
:class:`gvar.GVar`\s, or an array of such vectors.
Requires ``b.shape[0] =... | "Find ``x`` such that ``a @ x = b`` for matrix ``a``.\n\n Args:\n a: Two-dimensional, square matrix/array of numbers\n and/or :class:`gvar.GVar`\\s.\n b: One-dimensional vector/array of numbers and/or\n :class:`gvar.GVar`\\s, or an array of such vectors.\n Requires ``b.... | 206 | false | gplepage/gvar | solve | 25,141 | |
LDU_FT/aconrad/pycobertura/hunkify_lines | LDU_FT | [
"<BEGIN>\n## `line_rate`",
"Return the global line rate of the coverage report. If the\n `filename` file is given, return the line rate of the file.\n<END>",
"<BEGIN>\n## `branch_rate`",
"Return the global branch rate of the coverage report. If the\n `filename` file is given, return the branch r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the hunkify_lines API.
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 hunkify_lines API.
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 a list of line hunks given a list of lines `lines`. The number of
context lines can be control with `context` which will return line hunks
surrounded with `context` lines before and after the code change. | "Return a list of line hunks given a list of lines `lines`. The number of\n context lines can be control with `context` which will return line hunks\n surrounded with `context` lines before and after the code change." | 53 | false | aconrad/pycobertura | hunkify_lines | 25,142 | |
LDU_FT/Azure/azure-uamqp-python/create_authenticator_async | LDU_FT | [
"<BEGIN>\n## `_close_received`",
"Callback called when a connection CLOSE frame is received.\n This callback will process the received CLOSE error to determine if\n the connection is recoverable or whether it should be shutdown.\n :param error: The error information from the close\n f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_authenticator_async API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the create_authenticator_async API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclus... | Create the async AMQP session and the CBS channel with which
to negotiate the token.
:param connection: The underlying AMQP connection on which
to create the session.
:type connection: ~uamqp.async_ops.connection_async.ConnectionAsync
:param debug: Whether to emit network trace... | "Create the async AMQP session and the CBS channel with which\n to negotiate the token.\n\n :param connection: The underlying AMQP connection on which\n to create the session.\n :type connection: ~uamqp.async_ops.connection_async.ConnectionAsync\n :param debug: Whether to emit networ... | 299 | false | Azure/azure-uamqp-python | create_authenticator_async | 25,143 | |
LDU_FT/noahbenson/pimms/_imm_dir | LDU_FT | [
"<BEGIN>\n## `to_argv_schema`",
"to_argv_schema(instructions) yields a valid tuple of CommandLineParser instructions for the\n given instructions tuple; by itself, this will only return the instructions as they are, but\n optional arguments (below) will override the values in the instructions if provide... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _imm_dir API.
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 _imm_dir API.
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... | An immutable object's dir function should list not only its attributes, but also its un-cached
lazy values. | "An immutable object's dir function should list not only its attributes, but also its un-cached\n lazy values." | 241 | false | noahbenson/pimms | _imm_dir | 25,144 | |
LDU_FT/formwork-io/lazarus/default | LDU_FT | [
"<BEGIN>\n## `stop`",
"Stops lazarus, regardless of which mode it was started in.",
" For example:",
" >>> import lazarus\n >>> lazarus.default()\n >>> lazarus.stop()\n<END>",
"<BEGIN>\n## `_restart`",
"Schedule the restart; returning True if cancelled, False otherwise.\n<END>",
... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the default API.
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 default API.
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... | Sets up lazarus in default mode.
See the :py:func:`custom` function for a more powerful mode of use.
The default mode of lazarus is to watch all modules rooted at
``PYTHONPATH`` for changes and restart when they take place.
Keyword arguments:
restart_cb -- Callback invoked prior to restartin... | "Sets up lazarus in default mode.\n\n See the :py:func:`custom` function for a more powerful mode of use.\n\n The default mode of lazarus is to watch all modules rooted at\n ``PYTHONPATH`` for changes and restart when they take place.\n\n Keyword arguments:\n\n restart_cb -- Callback invoked prior to... | 45 | false | formwork-io/lazarus | default | 25,145 | |
LDU_FT/iKevinY/EulerPy/resources | LDU_FT | [
"<BEGIN>\n## `problem_glob`",
"Returns ProblemFile objects for all valid problem files\n<END>",
"<BEGIN>\n## `human_time`",
"Formats the timespan in a human readable format\n<END>",
"<BEGIN>\n## `format_time`",
"Returns string with relevant time information formatted properly\n<END>",
"<BEGIN>\n## `file... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the resources API.
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 resources API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | Returns a list of resources related to the problem (or None) | "Returns a list of resources related to the problem (or None)" | 24 | false | iKevinY/EulerPy | resources | 25,146 | |
LDU_FT/utek/pyseaweed/file_exists | LDU_FT | [
"<BEGIN>\n## `get_file`",
"Get file from WeedFS.",
" Returns file content. May be problematic for large files as content is\n stored in memory.",
" Args:\n **fid**: File identifier <volume_id>,<file_name_hash>",
" Returns:\n Content of the file with provided... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_exists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the file_exists API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extra... | Checks if file with provided fid exists
Args:
**fid**: File identifier <volume_id>,<file_name_hash>
Returns:
True if file exists. False if not. | "Checks if file with provided fid exists\n\n Args:\n **fid**: File identifier <volume_id>,<file_name_hash>\n\n Returns:\n True if file exists. False if not." | 67 | false | utek/pyseaweed | file_exists | 25,147 | |
LDU_FT/ambitioninc/newrelic-api/dissociate_from_notification_channel | LDU_FT | [
"<BEGIN>\n## `update`",
"Updates any of the optional parameters of the alert condition nrql",
" :type alert_condition_nrql_id: int\n :param alert_condition_nrql_id: Alerts condition NRQL id to update",
" :type policy_id: int\n :param policy_id: Alert policy id where target alert co... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dissociate_from_notification_channel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the dissociate_from_notification_channel API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates i... | This API endpoint allows you to dissociate an alert policy from an
notification channel
:type id: integer
:param id: The id of the policy
:type channel_id: integer
:param channel_id: The id of the notification channel
:rtype: dict
:return: The JSON response... | "This API endpoint allows you to dissociate an alert policy from an\n notification channel\n\n :type id: integer\n :param id: The id of the policy\n\n :type channel_id: integer\n :param channel_id: The id of the notification channel\n\n :rtype: dict\n :return: The JS... | 299 | false | ambitioninc/newrelic-api | dissociate_from_notification_channel | 25,148 | |
LDU_FT/MacHu-GWU/macro-project/shift_fn | LDU_FT | [
"<BEGIN>\n## `learn_all_skill`",
"在技能编辑界面学会所有的技能。运行脚本前, 将鼠标放在第一个技能的技能等级\n 的数字上, 并选中所有文本。然后运行此脚本, 并在1秒内切回到修改器界面。",
" :param level: 技能等级\n :param master_level: 专精等级, 0是普通, 1是专家, 2是大师\n<END>",
"<BEGIN>\n## `right_click`",
"Right click at ``(x, y)`` on screen for ``n`` times.\n at begin.",
" ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the shift_fn API.
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 shift_fn API.
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... | Press Shift + Fn1 ~ 12 once.
**中文文档**
按下 Shift + Fn1 ~ 12 组合键。 | "Press Shift + Fn1 ~ 12 once.\n\n **中文文档**\n\n 按下 Shift + Fn1 ~ 12 组合键。" | 125 | false | MacHu-GWU/macro-project | shift_fn | 25,149 | |
LDU_FT/trevisanj/f311/get_table_info | LDU_FT | [
"<BEGIN>\n## `save_as`",
"Dumps object contents into file on disk.",
" Args:\n filename (optional): defaults to self.filename. If passed, self.filename\n will be updated to filename.\n<END>",
"<BEGIN>\n## `load`",
"Loads file and registers filename as attribute.\n<END>",
"<BEGIN... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_table_info API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ex... | Returns information about fields of a specific table
Returns: OrderedDict(("fieldname", MyDBRow), ...))
**Note** Fields "caption" and "tooltip" are added to rows using information in moldb.gui_info | "Returns information about fields of a specific table\n\n Returns: OrderedDict((\"fieldname\", MyDBRow), ...))\n\n **Note** Fields \"caption\" and \"tooltip\" are added to rows using information in moldb.gui_info" | 204 | false | trevisanj/f311 | get_table_info | 25,150 | |
LDU_FT/WZBSocialScienceCenter/tmtoolkit/get_least_relevant_words_for_topic | LDU_FT | [
"<BEGIN>\n## `compute_models_parallel`",
"Compute several Topic Models in parallel using the \"lda\" package. Use a single or multiple document term matrices\n `data` and optionally a list of varying parameters `varying_parameters`. Pass parameters in `constant_parameters`\n dict to each model calculation. ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_least_relevant_words_for_topic 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 get_least_relevant_words_for_topic API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its... | Get words from `vocab` for `topic` ordered by least to most relevance (Sievert and Shirley 2014) using the relevance
matrix `rel_mat` obtained from `get_topic_word_relevance()`.
Optionally only return the `n` least relevant words. | "Get words from `vocab` for `topic` ordered by least to most relevance (Sievert and Shirley 2014) using the relevance\n matrix `rel_mat` obtained from `get_topic_word_relevance()`.\n Optionally only return the `n` least relevant words." | 135 | false | WZBSocialScienceCenter/tmtoolkit | get_least_relevant_words_for_topic | 25,151 | |
LDU_FT/python-gitlab/python-gitlab/create | LDU_FT | [
"<BEGIN>\n## `on_http_error`",
"Manage GitlabHttpError exceptions.",
" This decorator function can be used to catch GitlabHttpError exceptions\n raise specialized exceptions instead.",
" Args:\n error(Exception): The exception type to raise -- must inherit from\n GitlabError\n<END>"... | 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 ... | Creates a new object.
Args:
data (dict): Parameters to send to the server to create the
resource
**kwargs: Extra options to send to the server (e.g. sudo)
Raises:
GitlabAuthenticationError: If authentication is not correct
Gitlab... | "Creates a new object.\n\n Args:\n data (dict): Parameters to send to the server to create the\n resource\n **kwargs: Extra options to send to the server (e.g. sudo)\n\n Raises:\n GitlabAuthenticationError: If authentication is not correct\n ... | 508 | false | python-gitlab/python-gitlab | create | 25,152 | |
LDU_FT/Nic30/hwtGraph/lazyLoadNet | LDU_FT | [
"<BEGIN>\n## `extractSplits`",
"convert group of indexed assignments witch are splitting signal to Split node",
" a = sig[0]\n b = sig[1]\n to\n a, b = sig",
" :param toL: dictionary {hdl object: layout object}\n<END>",
"<BEGIN>\n## `getPortSideView`",
"Returns a sublist view for all ports ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the lazyLoadNet API.
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 lazyLoadNet API.
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... | :param signal: top signal of hidden operator tree
:note: operator tree is constrained by signals with hidden==False
:note: statement nodes are not connected automatically | ":param signal: top signal of hidden operator tree\n :note: operator tree is constrained by signals with hidden==False\n :note: statement nodes are not connected automatically" | 65 | false | Nic30/hwtGraph | lazyLoadNet | 25,153 | |
LDU_FT/Aplopio/django_rip/update_detail | LDU_FT | [
"<BEGIN>\n## `_setup_configuration`",
"All steps are accepted as classes. Instantiate them with the right\n configuration and set them in a local property.\n<END>",
"<BEGIN>\n## `read_detail`",
"Implements the Read Detail (read an object)",
" maps to GET /api/objects/:id/ in rest semantics\n ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the update_detail API.
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 update_detail API.
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... | Implements the Update Detail (partially update an object)
maps to PATCH /api/object/:id/ in rest semantics
:param request: rip.Request
:return: rip.Response | "Implements the Update Detail (partially update an object)\n\n maps to PATCH /api/object/:id/ in rest semantics\n :param request: rip.Request\n :return: rip.Response" | 35 | false | Aplopio/django_rip | update_detail | 25,154 | |
LDU_FT/varlink/python/server_close | LDU_FT | [
"<BEGIN>\n## `parameters`",
"returns the exception varlink error parameters\n<END>",
"<BEGIN>\n## `GetInfo`",
"The standardized org.varlink.service.GetInfo() varlink method.\n<END>",
"<BEGIN>\n## `GetInterfaceDescription`",
"The standardized org.varlink.service.GetInterfaceDescription() varlink method.\n<... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the server_close API.
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 server_close API.
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... | Called to clean-up the server.
May be overridden. | "Called to clean-up the server.\n\n May be overridden." | 26 | false | varlink/python | server_close | 25,155 | |
LDU_FT/uw-it-aca/uw-restclients/get_events | LDU_FT | [
"<BEGIN>\n## `new_regid_custom_field`",
"Return a BridgeCustomField object for REGID\n to be used in a POST, PATCH request\n<END>",
"<BEGIN>\n## `get_reservations`",
"Return a list of reservations matching the passed filter.\n Supported kwargs are listed at\n http://knowledge25.collegenet.com/display... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extrac... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the get_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 extrac... | Return a list of events matching the passed filter.
Supported kwargs are listed at
http://knowledge25.collegenet.com/display/WSW/events.xml | "Return a list of events matching the passed filter.\n Supported kwargs are listed at\n http://knowledge25.collegenet.com/display/WSW/events.xml" | 129 | false | uw-it-aca/uw-restclients | get_events | 25,156 | |
LDU_FT/proycon/clam/validate | LDU_FT | [
"<BEGIN>\n## `convertforinput`",
"Convert from target format into one of the source formats. Relevant if converters are used in InputTemplates. Metadata already is metadata for the to-be-generated file. 'filepath' is both the source and the target file, the source file will be erased and overwritten with the conv... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the validate API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Validate posted data against the inputtemplate | "Validate posted data against the inputtemplate" | 194 | false | proycon/clam | validate | 25,157 | |
LDU_FT/fugue/credstash/listSecrets | LDU_FT | [
"<BEGIN>\n## `updateVersions`",
"do a full-table scan of the credential-store,\n and update the version format of every credential if it is an integer\n<END>",
"<BEGIN>\n## `paddedInt`",
"return a string that contains `i`, left-padded with 0's up to PAD_LEN digits\n<END>",
"<BEGIN>\n## `getHighestVersion... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the listSecrets API.
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 listSecrets API.
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... | do a full-table scan of the credential-store,
and return the names and versions of every credential | "do a full-table scan of the credential-store,\n and return the names and versions of every credential" | 20 | false | fugue/credstash | listSecrets | 25,158 | |
LDU_FT/aerogear/digger-build-cli/run_cmd | LDU_FT | [
"<BEGIN>\n## `jarsign`",
"Uses Jarsign to sign an apk target file using the provided keystore information.",
" :param storepass(str) - keystore storepass\n :param keypass(str) - keystore keypass\n :param keystore(str) - keystore file path\n :param source(str) - apk path\n :param alias(str) - keystore alias... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_cmd API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run_cmd API.
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... | Runs a command in the backround by creating a new process and writes the output to a specified log file.
:param log(str) - log filename to be used
:param cwd(str) - basedir to write/create the log file
:param stdout(pipe) - stdout process pipe (can be default stdout, a file, etc)
:param bufsize(int) - set the ... | "Runs a command in the backround by creating a new process and writes the output to a specified log file.\n\n :param log(str) - log filename to be used\n :param cwd(str) - basedir to write/create the log file\n :param stdout(pipe) - stdout process pipe (can be default stdout, a file, etc)\n :param bufsize(int) - se... | 100 | false | aerogear/digger-build-cli | run_cmd | 25,159 | |
LDU_FT/druids/django-chamber/on_success | LDU_FT | [
"<BEGIN>\n## `get_class_method`",
"Returns a method from a given class or instance. When the method doest not exist, it returns `None`. Also works with\n properties and cached properties.\n<END>",
"<BEGIN>\n## `model_to_dict`",
"The same implementation as django model_to_dict but editable fields are allowe... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the on_success API.
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 on_success API.
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... | Register a handler or a function to be called after successful code pass.
If transaction signals are not active the handler/function is called immediately.
:param handler: handler or function that will be called.
:param using: name of the database | "Register a handler or a function to be called after successful code pass.\n If transaction signals are not active the handler/function is called immediately.\n :param handler: handler or function that will be called.\n :param using: name of the database" | 38 | false | druids/django-chamber | on_success | 25,160 | |
LDU_FT/jpscaletti/pyceo/param | LDU_FT | [
"<BEGIN>\n## `run`",
"Parse the command line arguments.",
" default:\n Name of default command to run if no arguments are passed.\n<END>",
"<BEGIN>\n## `command`",
"Decorator for adding a command to this manager.\n<END>",
"<BEGIN>\n## `get_doc`",
"Extract and dedent the __doc__ of a fu... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the param API.
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 param API.
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... | Decorator that add a parameter to the wrapped command or function. | "Decorator that add a parameter to the wrapped command or function." | 19 | false | jpscaletti/pyceo | param | 25,161 | |
LDU_FT/rflamary/POT/geometricBar | LDU_FT | [
"<BEGIN>\n## `plot1D_mat`",
"Plot matrix M with the source and target 1D distribution",
" Creates a subplot with the source distribution a on the left and\n target distribution b on the tot. The matrix M is shown in between.",
" Parameters\n ----------\n a : np.array, shape (na,)\n Sour... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the geometricBar API.
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 geometricBar API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extr... | return the weighted geometric mean of distributions | "return the weighted geometric mean of distributions" | 711 | false | rflamary/POT | geometricBar | 25,162 | |
LDU_FT/helium/helium-python/build_request_body | LDU_FT | [
"<BEGIN>\n## `error_for`",
"Return the appropriate initialized exception class for a response.\n<END>",
"<BEGIN>\n## `device_configuration`",
"Get a specific device configuration.",
" A device can have at most one loaded and one pending device\n configuration. This returns that device_configur... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_request_body API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the build_request_body API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
Th... | Build a request body object.
A body JSON object is used for any of the ``update`` or ``create``
methods on :class:`Resource` subclasses. In normal library use you
should not have to use this function directly.
Args:
type(string): The resource type for the attribute
id(uuid): The id o... | "Build a request body object.\n\n A body JSON object is used for any of the ``update`` or ``create``\n methods on :class:`Resource` subclasses. In normal library use you\n should not have to use this function directly.\n\n Args:\n\n type(string): The resource type for the attribute\n id(uuid)... | 223 | false | helium/helium-python | build_request_body | 25,163 | |
LDU_FT/kakwa/ldapcherry/auth | LDU_FT | [
"<BEGIN>\n## `get_param`",
"Get a parameter in config (handle default value)",
" :param param: name of the parameter to recover\n :type param: string\n :param default: the default value, raises an exception\n if param is not in configuration and default\n is None (whic... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the auth API.
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 auth API.
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... | Check authentication against the backend
:param username: 'key' attribute of the user
:type username: string
:param password: password of the user
:type password: string
:rtype: boolean (True is authentication success, False otherwise) | "Check authentication against the backend\n\n :param username: 'key' attribute of the user\n :type username: string\n :param password: password of the user\n :type password: string\n :rtype: boolean (True is authentication success, False otherwise)" | 83 | false | kakwa/ldapcherry | auth | 25,164 | |
LDU_FT/tsnaomi/finnsyll/T4 | LDU_FT | [
"<BEGIN>\n## `syllabify`",
"Syllabify the given word, whether simplex or complex.\n<END>",
"<BEGIN>\n## `apply_T2`",
"There is a syllable boundary within a VV sequence of two nonidentical\n vowels that are not a genuine diphthong, e.g., [ta.e], [ko.et.taa].\n<END>",
"<BEGIN>\n## `apply_T5`",
"If a (V)V... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the T4 API.
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 T4 API.
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... | Optionally split /u,y/-final diphthongs that do not take primary stress.
E.g., [lau.ka.us], [va.ka.ut.taa]. | "Optionally split /u,y/-final diphthongs that do not take primary stress.\n E.g., [lau.ka.us], [va.ka.ut.taa]." | 108 | false | tsnaomi/finnsyll | T4 | 25,165 | |
LDU_FT/twisted/txmongo/notifyReady | LDU_FT | [
"<BEGIN>\n## `configure`",
"Configures the protocol using the information gathered from the\n remote Mongo instance. Such information may contain the max\n BSON document size, replica set configuration, and the master\n status of the instance.\n<END>",
"<BEGIN>\n## `notifyReady`... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the notifyReady API.
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 notifyReady API.
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 deferred that will fire when the factory has created a
protocol that can be used to communicate with a Mongo server.
Note that this will not fire until we have connected to a Mongo
master, unless slaveOk was specified in the Mongo URI connection
options. | "Returns a deferred that will fire when the factory has created a\n protocol that can be used to communicate with a Mongo server.\n\n Note that this will not fire until we have connected to a Mongo\n master, unless slaveOk was specified in the Mongo URI connection\n options." | 64 | false | twisted/txmongo | notifyReady | 25,166 | |
LDU_FT/MostAwesomeDude/gentleman/WaitForJobChange | LDU_FT | [
"<BEGIN>\n## `request`",
"Sends an HTTP request.",
" This constructs a full URL, encodes and decodes HTTP bodies, and\n handles invalid responses in a pythonic way.",
" @type method: string\n @param method: HTTP method to use\n @type path: string\n @param path: HTTP U... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the WaitForJobChange API.
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 WaitForJobChange API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The ... | Waits for job changes.
@type job_id: int
@param job_id: Job ID for which to wait | "Waits for job changes.\n\n @type job_id: int\n @param job_id: Job ID for which to wait" | 173 | false | MostAwesomeDude/gentleman | WaitForJobChange | 25,167 | |
LDU_FT/pgjones/quart/run | LDU_FT | [
"<BEGIN>\n## `get_command`",
"Return the relevant command given the context and name.",
" .. warning::",
" This differs substaintially from Flask in that it allows\n for the inbuilt commands to be overridden.\n<END>",
"<BEGIN>\n## `render_template`",
"Render the template with ... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the run API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted doc... | Run this application.
This is best used for development only, see Hypercorn for
production servers.
Arguments:
host: Hostname to listen on. By default this is loopback
only, use 0.0.0.0 to have the server listen externally.
port: Port number to listen on... | "Run this application.\n\n This is best used for development only, see Hypercorn for\n production servers.\n\n Arguments:\n host: Hostname to listen on. By default this is loopback\n only, use 0.0.0.0 to have the server listen externally.\n port: Port number to ... | 611 | false | pgjones/quart | run | 25,168 | |
LDU_FT/mikhaildubov/AST-text-analysis/score | LDU_FT | [
"<BEGIN>\n## `traverse_depth_first_pre_order`",
"Visits the internal \"nodes\" of the enhanced suffix array in depth-first pre-order.",
" Based on Abouelhoda et al. (2004).\n<END>",
"<BEGIN>\n## `traverse_depth_first_post_order`",
"Visits the internal \"nodes\" of the enhanced suffix array in depth-f... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the score API.
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 score API.
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... | Matches the string against the GAST using
the algorithm described in [Chernyak, sections 1.3 & 1.4].
Expects the input string to consist of
alphabet letters only (no whitespaces etc.)
Returns the score (a float in [0, 1]).
query -- Unicode | "Matches the string against the GAST using\n the algorithm described in [Chernyak, sections 1.3 & 1.4].\n \n Expects the input string to consist of\n alphabet letters only (no whitespaces etc.)\n \n Returns the score (a float in [0, 1]).\n \n query -- Unicode" | 52 | false | mikhaildubov/AST-text-analysis | score | 25,169 | |
LDU_FT/Azure/msrestazure-for-python/_poll | LDU_FT | [
"<BEGIN>\n## `get_msi_token`",
"Get MSI token if MSI_ENDPOINT is set.",
" IF MSI_ENDPOINT is not set, will try legacy access through 'http://localhost:{}/oauth2/token'.format(port).",
" If msi_conf is used, must be a dict of one key in [\"client_id\", \"object_id\", \"msi_res_id\"]",
" :param str r... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _poll API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _poll API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracted d... | Poll status of operation so long as operation is incomplete and
we have an endpoint to query.
:param callable update_cmd: The function to call to retrieve the
latest status of the long running operation.
:raises: OperationFailed if operation status 'Failed' or 'Cancelled'.
:rai... | "Poll status of operation so long as operation is incomplete and\n we have an endpoint to query.\n\n :param callable update_cmd: The function to call to retrieve the\n latest status of the long running operation.\n :raises: OperationFailed if operation status 'Failed' or 'Cancelled'.\n ... | 167 | false | Azure/msrestazure-for-python | _poll | 25,170 | |
LDU_FT/JinnLynn/genpac/set_proxy | LDU_FT | [
"<BEGIN>\n## `set_default_proxy`",
"set_default_proxy(proxy_type, addr[, port[, rdns[, username, password]]])",
" Sets a default proxy which all further socksocket objects will use,\n unless explicitly changed. All parameters are as for socket.set_proxy().\n<END>",
"<BEGIN>\n## `create_connection`",
"... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_proxy API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extract... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the set_proxy API.
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... | set_proxy(proxy_type, addr[, port[, rdns[, username[, password]]]])
Sets the proxy to be used.
proxy_type - The type of the proxy to be used. Three types
are supported: PROXY_TYPE_SOCKS4 (including socks4a),
PROXY_TYPE_SOCKS5 and PROXY_TYPE_HTTP
... | "set_proxy(proxy_type, addr[, port[, rdns[, username[, password]]]])\n Sets the proxy to be used.\n\n proxy_type - The type of the proxy to be used. Three types\n are supported: PROXY_TYPE_SOCKS4 (including socks4a),\n PROXY_TYPE_SOCKS5 and PROXY_TYPE_HTTP\... | 41 | false | JinnLynn/genpac | set_proxy | 25,171 | |
LDU_FT/isislovecruft/python-gnupg/_is_file | LDU_FT | [
"<BEGIN>\n## `get_requirements`",
"Extract the list of requirements from our requirements.txt.",
" :rtype: 2-tuple\n :returns: Two lists, the first is a list of requirements in the form of\n pkgname==version. The second is a list of URIs or VCS checkout strings\n which specify the dependency... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | You are an expert Python programmer. Understand the multiple natural language documentations and identify the one that describes the _is_file API.
Each documentation is for a function and enclosed between special markers: <BEGIN> indicates the start of a documentation, and <END> indicates its conclusion.
The extracte... | Check that the size of the thing which is supposed to be a filename has
size greater than zero, without following symbolic links or using
:func:os.path.isfile.
:param filename: An object to check.
:rtype: bool
:returns: True if **filename** is file-like, False otherwise. | "Check that the size of the thing which is supposed to be a filename has\n size greater than zero, without following symbolic links or using\n :func:os.path.isfile.\n\n :param filename: An object to check.\n :rtype: bool\n :returns: True if **filename** is file-like, False otherwise." | 371 | false | isislovecruft/python-gnupg | _is_file | 25,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.