Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lig/cerberus-loaders
Cerberus loaders to load Validators from various data formats including JSON, YaML and Python Classes
https://github.com/lig/cerberus-loaders
Last synced: 12 days ago
JSON representation
Cerberus loaders to load Validators from various data formats including JSON, YaML and Python Classes
- Host: GitHub
- URL: https://github.com/lig/cerberus-loaders
- Owner: lig
- Created: 2015-03-23T16:02:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-23T18:53:02.000Z (over 9 years ago)
- Last Synced: 2024-10-18T12:55:13.559Z (about 1 month ago)
- Language: Python
- Size: 168 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Join the chat at https://gitter.im/lig/cerberus-loaders](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/lig/cerberus-loaders?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
# Cerberus Loaders
Loaders to load [Cerberus](https://github.com/nicolaiarocci/cerberus) Validators from various data formats.## Formats support
* JSON
* YaML
* Python classes (planned)## Usage
from cerberus_loaders.json import validator_from_json
v = validator_from_json(json_schema_file)
v.validate({'field': 'value'})## Python support
* Python 2.7
* Python 3.4
* Python 3.5Older versions could do the job too but are not supported.