No project description provided
Project description
JSkiner
The is a python Json Schema Inference Engine with Rust's core.
Installation
pip install jskiner
Usage
Checking the Json Schema of a Large .jsonl file
jskiner \
--jsonl <path_to_jsonl>
--verbose <0/1>
--out <output_file_path>
--nworkers <number_of_cpu_core>
Infering the Schema in Python
from jskiner 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())})})'
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 Distributions
Close
Hashes for jskiner-0.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bfcb2e05d128d7392d5681d173c227d98a5e8b5361fcd1fcafa0ac788324a66 |
|
MD5 | 0ca04b5d6f627b2485d2017641b77a9d |
|
BLAKE2b-256 | de854ff7c7777177bb41e9a837348fff621ca74569c4e85e471fee4591d49db5 |
Close
Hashes for jskiner-0.0.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb773f01528921004b9fc23b517fe356b49404ea19f067a0e93a91a7b44dd284 |
|
MD5 | 5449924c74117ae8b753ab55d73461ac |
|
BLAKE2b-256 | ccc410726ae895cb89fe6bd63831407977aa9c03a221df0a7835edf24e9ca5d7 |
Close
Hashes for jskiner-0.0.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d164747c22189e8aff1e03142dda0ad4a8a488d20092ff30185c3a5534489938 |
|
MD5 | 39bb866a4a2b4e8a38537a4d16c1128c |
|
BLAKE2b-256 | 41ff683b95bc641c3bd9bbe1ba4dca7f398ef70a915489166188c5fa8722adb6 |
Close
Hashes for jskiner-0.0.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba33e9ed7caa6962d486f315dd31e7b5c666e98210d284f1d0c2bdf48e71210 |
|
MD5 | 0e7e48061dddcf1020a08aa3c04555f8 |
|
BLAKE2b-256 | c8843da6b7e9928a0a8ef49f3f006e20e4776c6974b6755fd2b74b59a7169b6d |