Contents Menu Expand Light mode Dark mode Auto light/dark mode
phantom-types 1.2.1 documentation
phantom-types 1.2.1 documentation
  • Getting Started
  • Types
  • Predicates and factories
  • Composing types
  • Functional composition
  • External wrappers
  • Pydantic Support
  • Implementation
  v: 1.2.1
Versions
stable
1.2.1
1.2.0
v1.1.0
1.0.0
0.18.0
v0.17.1
v0.17.0
0.16.0
v0.15.1
0.15.0
0.14.0
0.13.1
0.13.0
0.12.0
0.11.0
0.10.0
0.9.1
0.9.0
0.8.1
0.8.0
0.7.1
0.4.1
main
Downloads
On Read the Docs
Project Home
Builds
Back to top
Edit this page

phantom-types#

This is the documentation of phantom-types, a library that let’s you arbitrarily narrow builtin types, without any runtime overhead. Full documentation and reference is available here, you will hopefully find what you’re looking for in the sections below.

Documentation sections#

  • Getting Started
  • Types
  • Predicates and factories
  • Composing types
  • Functional composition
  • External wrappers
  • Pydantic Support
  • Implementation
Next
Getting Started
Copyright © 2020-2022, Anton Agestam
Made with Sphinx and @pradyunsg's Furo
On this page
  • phantom-types
    • Documentation sections