DEPRECATED: Use invar-tools (CLI) or invar-runtime (contracts) instead
Project description
python-invar (DEPRECATED)
This package is deprecated. Please migrate to the new packages.
Migration Guide
python-invar has been split into two packages for better modularity:
| Old | New | Purpose |
|---|---|---|
python-invar |
invar-runtime |
Runtime contracts (@pre, @post, must_use, etc.) |
python-invar |
invar-tools |
CLI tools (guard, map, sig, MCP server) |
For Projects Using Contracts
If your project uses Invar contracts at runtime:
pip uninstall python-invar
pip install invar-runtime
Update imports:
# Old
from invar import pre, post, Contract
# New (recommended)
from invar_runtime import pre, post, Contract
# Or keep using 'invar' (still works via invar-tools)
from invar import pre, post, Contract
For Development Tools
If you use Invar CLI tools:
pip uninstall python-invar
pip install invar-tools
Or use without installing:
uvx invar-tools guard
Why the Split?
invar-runtime(~3MB): Lightweight, only what your project needs at runtimeinvar-tools(~100MB): Full development tools with Hypothesis, CrossHair, etc.
Projects can now depend on just invar-runtime without the heavy verification tools.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_invar-1.0.0.tar.gz.
File metadata
- Download URL: python_invar-1.0.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06b871649d36d4c21bae1d63b623d0bad3f60c59acde85cc7f11abcda0b5cd4f
|
|
| MD5 |
dc063c8ca3a9b997d8ad5952df5f22c5
|
|
| BLAKE2b-256 |
ec8c4da4ad7c218b6cc7fc06965eb91439f597cb66cf639e768a2a10aac76696
|
Provenance
The following attestation bundles were made for python_invar-1.0.0.tar.gz:
Publisher:
publish.yml on Tefx/Invar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_invar-1.0.0.tar.gz -
Subject digest:
06b871649d36d4c21bae1d63b623d0bad3f60c59acde85cc7f11abcda0b5cd4f - Sigstore transparency entry: 777530613
- Sigstore integration time:
-
Permalink:
Tefx/Invar@299ff07210187aec6fc60b13510baf83b51fee0e -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/Tefx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@299ff07210187aec6fc60b13510baf83b51fee0e -
Trigger Event:
release
-
Statement type:
File details
Details for the file python_invar-1.0.0-py3-none-any.whl.
File metadata
- Download URL: python_invar-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
040767a9023ae4d324290da6a1ceef01dc68dd3e56eb4079ac4133e561efacc4
|
|
| MD5 |
5abd57352325dc2f7084c36c14841cfe
|
|
| BLAKE2b-256 |
b572a595269482cf3e0ddff62768fa932cf1c524a92b9c80d657810d37f0257d
|
Provenance
The following attestation bundles were made for python_invar-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on Tefx/Invar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
python_invar-1.0.0-py3-none-any.whl -
Subject digest:
040767a9023ae4d324290da6a1ceef01dc68dd3e56eb4079ac4133e561efacc4 - Sigstore transparency entry: 777530661
- Sigstore integration time:
-
Permalink:
Tefx/Invar@299ff07210187aec6fc60b13510baf83b51fee0e -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/Tefx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@299ff07210187aec6fc60b13510baf83b51fee0e -
Trigger Event:
release
-
Statement type: