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.