<p align="center">
<img src="./docs/assets/logo.png" alt="py-v8n" />
</p>
<p align="center">
The ultimate <b>Python</b> validation library you've ever needed.<br/>
Dead simple fluent API. Customizable. Reusable.
</p>
[](https://travis-ci.org/nschejtman/py-v8n)
[](https://circleci.com/gh/nschejtman/py-v8n)
[](https://codecov.io/gh/nschejtman/py-v8n)
```python
v8n()
.int_()
.between(0, 100)
.even()
.not_().equal(32)
.test(74) # true
```
## What is it?
`py-v8n` is a reusable fluent validation library.
## Installation
```shell
pip install py-v8n
```
## Usage
```python
from py_v8n import v8n
# Create a validator
hello_validator = v8n()\
.str_()\
.first("H")\
.last("o")
# Check values
hello_validator.test("Hello") # True
hello_validator.test("Good bye") # False
```
<img src="./docs/assets/logo.png" alt="py-v8n" />
</p>
<p align="center">
The ultimate <b>Python</b> validation library you've ever needed.<br/>
Dead simple fluent API. Customizable. Reusable.
</p>
[](https://travis-ci.org/nschejtman/py-v8n)
[](https://circleci.com/gh/nschejtman/py-v8n)
[](https://codecov.io/gh/nschejtman/py-v8n)
```python
v8n()
.int_()
.between(0, 100)
.even()
.not_().equal(32)
.test(74) # true
```
## What is it?
`py-v8n` is a reusable fluent validation library.
## Installation
```shell
pip install py-v8n
```
## Usage
```python
from py_v8n import v8n
# Create a validator
hello_validator = v8n()\
.str_()\
.first("H")\
.last("o")
# Check values
hello_validator.test("Hello") # True
hello_validator.test("Good bye") # False
```
Metadata
Release files for py-v8n 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py-v8n-0.0.5.tar.gz | 3.1 kB | Details |
Release files / py-v8n-0.0.5.tar.gz
| Download URL | py-v8n-0.0.5.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a04317a321070714bdaf6306652c51ccba6eab27c979314a51c185351a0e4b31
|
|
BLAKE2b-256 checksum How to use checksums |
d77d50def9b3165952b380470424dba80f41c89b29b758858ffe91bff22cb210
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
|