Phantom-types

Latest version: v3.0.2

Safety actively analyzes 723650 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.18.0

What's Changed
* Canonicalize mutable bound check by antonagestam in https://github.com/antonagestam/phantom-types/pull/224
* Introduce PhantomBound and NonEmptyStr by antonagestam in https://github.com/antonagestam/phantom-types/pull/193
* Drop workaround for fixed 3.11 issue (see 220) by antonagestam in https://github.com/antonagestam/phantom-types/pull/228

**Full Changelog**: https://github.com/antonagestam/phantom-types/compare/v0.17.1...0.18.0

0.17.1

New features

* Support Python 3.11 https://github.com/antonagestam/phantom-types/pull/220 https://github.com/antonagestam/phantom-types/pull/221

**Full Changelog**: https://github.com/antonagestam/phantom-types/compare/v0.17.0...v0.17.1

0.17.0

New features

* Use narrower types in predicates and bounds by antonagestam in https://github.com/antonagestam/phantom-types/pull/218

Fixed

* Fix broken docstring function references by antonagestam in https://github.com/antonagestam/phantom-types/pull/204
* Pin numerary on Python 3.7 by antonagestam in https://github.com/antonagestam/phantom-types/pull/213

Meta

* Add .editorconfig pre-commit check by antonagestam in https://github.com/antonagestam/phantom-types/pull/205
* Add project URLs to setup.cfg by antonagestam in https://github.com/antonagestam/phantom-types/pull/212
* Remove duplicate section in docs by antonagestam in https://github.com/antonagestam/phantom-types/pull/208
* Make base modules private by antonagestam in https://github.com/antonagestam/phantom-types/pull/215
* Bump pre-commit hooks by antonagestam in https://github.com/antonagestam/phantom-types/pull/216
* Run test suite on Python 3.11 by antonagestam in https://github.com/antonagestam/phantom-types/pull/217

**Full Changelog**: https://github.com/antonagestam/phantom-types/compare/0.16.0...v0.17.0

0.16.0

What's Changed

* Explode partials in reprs by antonagestam in https://github.com/antonagestam/phantom-types/pull/191
* Remove instability notice by antonagestam in https://github.com/antonagestam/phantom-types/pull/192
* Introduce SequenceNotStr by antonagestam in https://github.com/antonagestam/phantom-types/pull/194
* Add minLength/maxLength to Schema by antonagestam in https://github.com/antonagestam/phantom-types/pull/198

**Full Changelog**: https://github.com/antonagestam/phantom-types/compare/0.15.1...0.16.0

0.15.1

0.15.0

- Add initial support for numeric tower through numerary, thanks to posita for writing the library and making me aware of it 🍰 (179)

Page 3 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.