Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zyga/json-schema-validator
Implementation of json-schema.org
https://github.com/zyga/json-schema-validator
Last synced: 2 days ago
JSON representation
Implementation of json-schema.org
- Host: GitHub
- URL: https://github.com/zyga/json-schema-validator
- Owner: zyga
- License: lgpl-3.0
- Created: 2011-06-23T14:03:50.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-01-16T14:30:07.000Z (almost 5 years ago)
- Last Synced: 2024-10-05T03:48:52.437Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 2.96 MB
- Stars: 60
- Watchers: 11
- Forks: 18
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/zyga/json-schema-validator.svg?branch=master)](https://travis-ci.org/zyga/json-schema-validator)
About
=====This package contains an implementation of JSON Schema validator as defined by
http://json-schema.org/Installation
============$ pip install json-schema-validator
Testing
=======You will need tox (get it from pip) as python2.7
$ tox
Generating Documentation
========================Python package 'Sphinx' can be used to generate documentation for the module, giving details as to the mechanics of each module component, their subsequent classes and functions. To install sphinx use:
`pip3 install sphinx`If you don't already have it, sphinx requires the 'versiontools' package which is not included in the install for sphinx itself. Install this with:
`pip3 install versiontools`Now you can generate documentation. Navigate to the root of your json_schema_validator module directory (you can find this path by using: `pip3 show json_schema_validator`, the path will be under 'location in the output). From your shell (not the python interpreter) type `sphinx-build -html doc [dest]` (where [dest] is a directory name you would like to build your documentation to)
Once your documentation is built you will need to host it to see it. `cd` into the directory you used as '[dest]' and use `pydoc -p 8080`. Open your browser and type `pydoc -p 8080`