Skip to main content

pboot-typing

The type-system layer the pboot stack is written against. Three upstream projects, vendored unmodified except for their import lines:

Module Upstream Version License
pboot.typing typing_extensions 4.16.0 PSF-2.0
pboot.typing.annotated_types annotated_types 0.8.0 MIT
pboot.typing.doc annotated_doc 0.0.7 MIT
pboot.typing.inspection typing_inspection 0.4.5 MIT

Nothing is reimplemented, so behaviour is byte-for-byte what upstream does — including the typing vs typing_extensions discrimination that pydantic depends on. Only import typing_extensions and from typing_extensions import became pboot.typing; _backport.py itself is a straight copy of the upstream single-module release, so diff against it still works.

Why one package

typing_extensions is a single module, annotated_types another 416 lines, typing_inspection three files, annotated_doc two files and thirty-nine lines. Keeping them as three separate distributions costs three PyPI projects, three release flows and three version pins for code that only the pboot packages consume. Keeping them out of pboot would force pboot, pboot-kernel and pboot-validator to vendor three private copies of the same code and drift apart.

Use

from pboot.typing import Self, override, deprecated
from pboot.typing.doc import Doc
from pboot.typing.inspection.introspection import get_type_hints, is_annotated

def handler(name: Annotated[str, Doc("Who to greet")]) -> None: ...

This package is a component of pboot, not a general-purpose replacement for typing_extensions — it has no compatibility promise of its own.

Licenses

LICENSE.typing_extensions, LICENSE.typing_inspection and LICENSE.annotated_doc carry the original notices and must ship with every wheel and sdist.

Metadata

Release files for pboot-typing 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pboot-typing 1.1.0
File Size Uploaded Provenance Actions
pboot_typing-1.1.0.tar.gz 60.7 kB Without provenance Details for pboot_typing-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pboot-typing 1.1.0
File Interpreter ABI Platform Actions
pboot_typing-1.1.0-py3-none-any.whl Python 3 none any Details for pboot_typing-1.1.0-py3-none-any.whl

Total release size: 127.0 kB

Release files / pboot_typing-1.1.0.tar.gz

Download URL pboot_typing-1.1.0.tar.gz
Size 60.7 kB
Tags Source
SHA-256 checksum
How to use checksums
94796da7b16e14bf7315292c1f64a2ed69f70b4c5c81e28ec847c2a655452720
BLAKE2b-256 checksum
How to use checksums
f217416577d8781d362fe1f8a5b0ad19469ef524e1010fe5a4fbc052aecb7a94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / pboot_typing-1.1.0-py3-none-any.whl

Download URL pboot_typing-1.1.0-py3-none-any.whl
Size 66.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddca1ad3c191435c51a589259cc3d52727493e76e6086545d79a0f6daa649958
BLAKE2b-256 checksum
How to use checksums
5d2455bf1a1837ed8517235ccfe7971dc219672a67e8ddba4ffb8bc3a0e547c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Security for pboot-typing 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page