Maat
Maat is a easy extensible transformation and validation library for Python. Build for corner cases.
The project is named after the ancient egyption god Maat. Her scale was used to weight the heart as described by book of the dead.
Since the scale is magical besides validating values it can transform them too.
Maat is an dictionary to dictionary tool, that is to say that from the input dictionary and validation dictionary an new dictionary is created. each value of dictionary to be validated is passed through their selected validator functions. The result is an validated new dictionary.
Examples
>>> import maat
>>> user = {'name': 'John Doe'}
>>> user_validation = {'name': {'validator': 'str'}}
>>> maat.scale(user, user_validation)
{'name': 'John Doe'}
More to come…
Metadata
Release files for Maat2 0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Maat2-0.8.tar.gz | 1.7 kB | Without provenance | Details for Maat2-0.8.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Maat2-0.8-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for Maat2-0.8-py2.py3-none-any.whl |
| Maat2-0.8-py2-none-any.whl | Python 2 | none | any | Details for Maat2-0.8-py2-none-any.whl |
Total release size: 7.9 kB
Release files / Maat2-0.8.tar.gz
| Download URL | Maat2-0.8.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8329d92ff53c4406e7b18fb85e46b8bcecbc035c3bffc78cb8cb646e4a22c55f
|
|
BLAKE2b-256 checksum How to use checksums |
44b91c6839d8bae032a8ccda1845c753272c7243f59b587e98d5a0991cdd5416
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Maat2-0.8-py2.py3-none-any.whl
| Download URL | Maat2-0.8-py2.py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c796ef285a83af907eaf95d10d5bb807aee330e1acffdb9850baaffc54e022b2
|
|
BLAKE2b-256 checksum How to use checksums |
2e558e131f5a61c0ca1ee2da3c8e0bca0ef190f8da167b2ae621fb89c10d41af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Maat2-0.8-py2-none-any.whl
| Download URL | Maat2-0.8-py2-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
9ffff7a419e622bf55355ae3984f96e19dd4baa530b1eaef7762f3efb4624488
|
|
BLAKE2b-256 checksum How to use checksums |
5d743079cad71fe6cfbc0a8a6b8be46f09c7eeadab77d4a343eba300c5604ecf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Maat2 0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.