A library providing tools to enforce type hints.
Project description
coerce_type
coerce_type is a library for the type coercion of values
to the annotations they have. It can be triggered manually with coerce
or be set to happen automatically for a dataclass by having it inherit a TypeCorrecting class
Installation
Currently only a manual installation is possible, but an upload to pip is planned.
git clone git@github.com:reyemDarnok/coerce_type.git
cd coerce_type
hatch build
pip install ./dist/coerce_type-1.0.2-py3-none-any.whl
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
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 coerce_type-1.2.2.tar.gz.
File metadata
- Download URL: coerce_type-1.2.2.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ea1686c2c8957927728b10911d890d9fac67a963e796d1e925c8e6f2a97df95
|
|
| MD5 |
47a5722c613baa0a12fc3505d57d39be
|
|
| BLAKE2b-256 |
ec360007fbfe80838e7bbec624e3f7a47d2bb6b302a41eff0e85698bc060e64a
|
Provenance
The following attestation bundles were made for coerce_type-1.2.2.tar.gz:
Publisher:
publish.yml on reyemDarnok/coerce_type
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coerce_type-1.2.2.tar.gz -
Subject digest:
5ea1686c2c8957927728b10911d890d9fac67a963e796d1e925c8e6f2a97df95 - Sigstore transparency entry: 1122227661
- Sigstore integration time:
-
Permalink:
reyemDarnok/coerce_type@04c19842d9e6813838ce38f72f03784b5f92d7dc -
Branch / Tag:
refs/tags/v1.2.3 - Owner: https://github.com/reyemDarnok
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@04c19842d9e6813838ce38f72f03784b5f92d7dc -
Trigger Event:
push
-
Statement type:
File details
Details for the file coerce_type-1.2.2-py3-none-any.whl.
File metadata
- Download URL: coerce_type-1.2.2-py3-none-any.whl
- Upload date:
- Size: 6.0 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 |
8669f7649156596e7f401f110301b28f6748d3c4c0e9a55123d345394e8c611f
|
|
| MD5 |
ca3935578b4a639f0902fc2b2ecf3188
|
|
| BLAKE2b-256 |
8351f5a0e2cb9cc40863f86cb1724745368b2b5cb1c927e6c98d073e01b750ae
|
Provenance
The following attestation bundles were made for coerce_type-1.2.2-py3-none-any.whl:
Publisher:
publish.yml on reyemDarnok/coerce_type
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coerce_type-1.2.2-py3-none-any.whl -
Subject digest:
8669f7649156596e7f401f110301b28f6748d3c4c0e9a55123d345394e8c611f - Sigstore transparency entry: 1122227753
- Sigstore integration time:
-
Permalink:
reyemDarnok/coerce_type@04c19842d9e6813838ce38f72f03784b5f92d7dc -
Branch / Tag:
refs/tags/v1.2.3 - Owner: https://github.com/reyemDarnok
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@04c19842d9e6813838ce38f72f03784b5f92d7dc -
Trigger Event:
push
-
Statement type: