Skip to main content

Add your description here

Project description

Supported annotation variants

import typing
import ywpi

def fn(
    a1: int,
    a2: str,
    a3: float,

    # String as text
    a4: typing.Annotated[str, ywpi.Text],

    # File content
    a5: typing.Annotated[bytes, ywpi.File],

    # File reference
    a6: typing.Annotated[ywpi.Ref, ywpi.File],
):
    pass

Referenced JSON

{
    "output_str": {
        "type": "str",
        "value": ""
    },
    "output_int": {
        "type": "int",
        "value": 0
    },
    "output_url": {
        "type": "url",
        "value": "https://python.org/"
    },
    "output_ref": {
        "type": "ref",
        "value": {
            "drive_id": "",
            "preview_href": ""
        }
    }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ywpi-0.1.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ywpi-0.1.0-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file ywpi-0.1.0.tar.gz.

File metadata

  • Download URL: ywpi-0.1.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for ywpi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 088c4237ef9ea6cc10d99aad03ea3f610f93b422a06c24bce6a233f720110916
MD5 c0876426126c3f1b815aa151a4227dc1
BLAKE2b-256 4948a4b598c22bce7e1944d661221840567f71d65cea27229199034803b734ec

See more details on using hashes here.

File details

Details for the file ywpi-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ywpi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for ywpi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 986e1a6621dcd6d8f4206384642efd0cfe664d926d9c552063c06a67c9d1be2e
MD5 388229f9133af8d9922ef073e20b5188
BLAKE2b-256 f70baf6338edcfa52e54a393a0c6161b5ce826aea4477821d4619bd742145388

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page