dataclass & validation simple as well as hell.
Project description
Validata
dataclass & validation simple as well as hell.
install
pip install validata
with github
git clone https://github.com/MirS0bhan/validata && cd validata
pip install .
usage
from validata import BaseModel
class A(BaseModel):
x:int
y:int
class B(A):
z:list[str]
c = B(5, 6, ["abc", "xyz"])
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
vlidt-0.1.0.tar.gz
(1.1 kB
view details)
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
vlidt-0.1.0-py3-none-any.whl
(1.6 kB
view details)
File details
Details for the file vlidt-0.1.0.tar.gz.
File metadata
- Download URL: vlidt-0.1.0.tar.gz
- Upload date:
- Size: 1.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.9.8-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48ec0841bce95516a221774f32de05d62dac639d24f102404fc54f37c320ea4f
|
|
| MD5 |
44b9b747dd18eb57019a5109d5785d1c
|
|
| BLAKE2b-256 |
c08a6e75a6b4ec4d4a4af587bc97e25fbec737a90056f48775f179bdb8fb82f8
|
File details
Details for the file vlidt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vlidt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.9.8-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
414ca09f9311be01fb213c356f402100cb8b978401ac6fec0f58d52c1bd9c707
|
|
| MD5 |
9f3f150e205e6ca28f3921017eb11152
|
|
| BLAKE2b-256 |
cfafc88a254db7004c51384bfabd92dc2964274564a96567337edbc8db939df3
|