Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MirS0bhan authored Aug 28, 2024
1 parent a3ad11a commit 0e7dc52
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Validata
dataclass & validation simple as well as hell.

## install
```bash
pip install validata
```
with github
```
git clone https://github.com/MirS0bhan/validata && cd validata
pip install .
```

## usage
```python
from validata import BaseModel

class A(BaseModel):
x:int
y:int

class B(A):
z:list[str]

c = B(5, 6, ["abc", "xyz"])
```

0 comments on commit 0e7dc52

Please sign in to comment.