프로젝트
GitHub에서 보기
better/jsonschema2db
소개
JSON Schema에서 테이블을 동적으로 생성하고 데이터를 삽입합니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalJSON 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.
관련 프로젝트 살펴보기
불러오는 중…