项目
在 GitHub 查看
better/jsonschema2db
关于
根据 JSON Schema 动态生成表,并插入数据。
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文JSON Schema ➣ Database
We use JSON Schema pretty extensively at Better to store complex data. Unfortunately the data is hard to query from SQL. To facilitate querying, this library converts objects stored in a JSON schema into flat Postgres tables with proper types.
For instance, Better uses it to generate 50+ tables automatically, with millions of rows, from a very complex JSON schema that is 7000+ lines long.
Postgres and Redshift are supported, although the latter is somewhat experimental still.
Installation
The easiest way to install is pip install jsonschema2db
Documentation
See full documentation for more info about how to use jsonschema2db!
Other
- The code is tested with a full integration test running a Postgres server inside Docker. To run tests, run
docker build -t jsonschema2db . && docker run jsonschema2db - Pull requests are very welcome.
- This repo uses the MIT license.
探索相关项目
加载中…