Skip to main content

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


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-3.0.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

semantic_model-3.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file semantic-model-3.0.0.tar.gz.

File metadata

  • Download URL: semantic-model-3.0.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for semantic-model-3.0.0.tar.gz
Algorithm Hash digest
SHA256 81d39ff4b3d0064f38a975952f56ba10fe61613ef646857c517030353cc2af66
MD5 948bef1edf85bbe426b0891ceddf8ce3
BLAKE2b-256 07a1275a50577b85bad1b7c5cdc0b5bab2d923ecea663f2b9f75d71d7736c39d

See more details on using hashes here.

File details

Details for the file semantic_model-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: semantic_model-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for semantic_model-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef76315371d02b3999bfca7c6e1d7ef1ebcb1dfc81c7b3b04ce7106b550783bf
MD5 f71e7a5374ff0ff19cfaf7035457725d
BLAKE2b-256 bbf4903bacee2cac78228117f53796fb00e461e93c231e114d3f4b3236695c77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page