No project description provided
Project description
JSkiner
The is a python Json Schema Inference Engine with Rust's core.
Installation
pip install jsiner
Usage
Checking the Json Schema of a Large .jsonl file
jshow \
--jsonl <path_to_jsonl>
--verbose <0/1>
--out <output_file_path>
--nworkers <number_of_cpu_core>
Infering the Schema in Python
from jshow import InferenceEngine
cpu_cnt = 16
engine = InferenceEngine(cpu_cnt)
json_string_list = ["1", "1.2", "null", "{\"a\": 1}"]
schema_str = engine.run(json_string_list)
print(schema_str)
'Union({Atomic(Float()), Atomic(Int()), Atomic(Non()), Record({"a": Atomic(Int())})})'
TODO:
- move json schema inference rust code here
- add cmd.py tools for parsing .jsonl file to jshow
- build the cicd pipeline using .workflow
- ci
- cd
pip install twine
pip install pexpect
pip install build --upgrade
python -m build
twine upload dist/*
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.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for jskiner-0.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6286ad1d298600af39fdb14942b7e8e5a4aa8128350637c5c22199ddbe0a64a6 |
|
MD5 | ca79e9ecc12d7711c851d7afa47e2e9a |
|
BLAKE2b-256 | 83177679c80e87c58b0ce2bdde28d9b6d225bea848b237ee7126124c09e54ca6 |