JSON-Schema converter for colander
Project description
Convert colander schema to jsonschema compatible dictionary.
Inspired by “Audrey“‘s colanderutil.py
Install
from PyPI:
pip install colander_jsonschema
from source:
python setup.py install
Running
In your source:
import json from colander_jsonschema import convert converted = convert(YourColanderSchema()) with open('some/path.json') as fp: json.dump(converted, fp)
TODO: create useful interfaces
Planned Features
auto-discover schemas
setuptools integration
Change History
0.2 - 2014-10-06
python3 support
0.1 - 2014-10-04
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file colander_jsonschema-0.2.tar.gz
.
File metadata
- Download URL: colander_jsonschema-0.2.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb0bdd0f6e0dd2e5a1cd0a16615f033b6c5944079363a13dc5cb9df9eddc0305 |
|
MD5 | ce0814d00ebbceca52af3a25594b7f16 |
|
BLAKE2b-256 | 3e0f83450cd0a7b659735a89b9344f222b5141359362400daca042a620f9552f |