Skip to content

Commit

Permalink
chore: packaging version and README.md new validator
Browse files Browse the repository at this point in the history
Took 4 minutes
  • Loading branch information
vinicius-oa committed Feb 25, 2024
1 parent 7b0bc18 commit c88516a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ pip install brdocs-validation

## Supported docs and its formats

| Supports | Format |
|:--------:|:-----------------------------------------------:|
| CNPJ | *12.345.678/9012-34* OR _Without special chars_ |
| CPF | *123.456.789-01* OR _Without special chars_ |
| CNH | Only numbers |
| Supports | Format |
|:-----------------:|:-----------------------------------------------:|
| CNPJ | *12.345.678/9012-34* OR _Without special chars_ |
| CPF | *123.456.789-01* OR _Without special chars_ |
| CNH | Only numbers |
| NIS/PIS/PASEP/NIT | *123.45678.90-1* OR _Only numbers_ |

## Usage

```python
from br_docs import CPF, CNPJ, CNH
from br_docs import `Supports`
from pydantic import BaseModel


class User(BaseModel):
name: str
age: int
class User(BaseModel):
cpf: CPF
cnpj: CNPJ
cnh: CNH
nis: NIS
```
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "brdocs-validation"
version = "0.0.4"
version = "0.1.0"
dependencies = [
"pydantic>=2.0"
]
Expand Down

0 comments on commit c88516a

Please sign in to comment.