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.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b36a981f9a157f3c51dd9867cda6d8c3130cbce6ec76e6450ca73234ab27c8f9 |
|
MD5 | bbd206a8f71a6bfb14b41f9ad5fa5388 |
|
BLAKE2b-256 | 044cbaac9d5d8b4f546b08ada99e5c1d9883b52f6b7618244d2fd48618ccf17c |