All data about data in one model
Project description
Semantic-model
All data about data in one model. The single source of truth about data in one model.
Install
pip install semantic-model
Create initial sm model
python3 -m semantic_model -mode one_to_one -input example.json > sm_model.json
Run sm model
python3 -m semantic_model -input example.json -sm sm_model.json
Display sm model
sudo docker run -i attumm/dsm_png:latest < sm_model.json > output.png
Extend
Add to the functionality by creating your own custom formatters. And adding them into semantic-model.
from semantic_model import POSTFORMAT
def strip(item, **kwargs):
return item.strip()
POSTFORMAT["strip"] = strip
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 Distribution
semantic-model-2.2.0.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for semantic_model-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8c68f98229ff9c6929d934a7c2079a3ad59d2de647adaaf825b6fc91a6f823e |
|
MD5 | 4fc8d5afd84f6efa5a0d9c7202a9b555 |
|
BLAKE2b-256 | 118f2647226933ba01022bf4525eb8ea5cf8382c88889fcde99a4cfc1efc651e |