Converts a JSON Schema to a Plain Old Python Object class
Project description
# JSONSCHEMA2POPO
A converter to extract ‘Plain Old Python Object’ classes from JSON Schema files. Currenty compatible with python 3.4+
## Installation
pip install jsonschema2popo
## Usage
Basic:
jsonschema2popo -o /path/to/output_file.py /path/to/json_schema.json
object JSON encoding:
import json
g = GeneratedClass() json.dumps(g.as_dict())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsonschema2popo-0.12.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file jsonschema2popo-0.12.tar.gz
.
File metadata
- Download URL: jsonschema2popo-0.12.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec02034a3ffe61e161025448e3b438708e958b2842e8b24325d0a720a7b8184a |
|
MD5 | c1521c2d92cb882cd8c0aa0329bc139c |
|
BLAKE2b-256 | 4ac0efb230811257da216e682920e6cacf85ddc764025b2cf9c555a301b653b6 |
File details
Details for the file jsonschema2popo-0.12-py3-none-any.whl
.
File metadata
- Download URL: jsonschema2popo-0.12-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c796905d0c7f7c8d90ceadbed56618974cbf3a15c177fc125f33e0634c2a6351 |
|
MD5 | 04076bbc09d6cde28092fc34fffdfab2 |
|
BLAKE2b-256 | 5e403274ddf7edff2d75e740ddde4bef87ca82a10c923e80d7755c62c1ee5cc0 |