Quick verification for Source of Truth (.sot) files - returns pass/fail for CI/CD pipelines
Project description
sot-verify
Quick pass/fail verification for Source of Truth (.sot) files — optimized for CI/CD pipelines.
When to Use
| Tool | Use Case |
|---|---|
| sot-verify | CI/CD pipelines, git hooks, quick checks |
| sot-validator | Detailed reports, debugging, development |
Installation
pip install sot-verify
CLI Usage
# Quick check - exit 0 if valid, exit 1 if invalid
sot-verify project.sot
# Multiple files
sot-verify docs/*.sot
# Silent mode (only exit code, no output)
sot-verify project.sot --silent
In CI/CD
# GitHub Actions
- run: pip install sot-verify && sot-verify docs/*.sot
# Pre-commit hook
sot-verify $(git diff --cached --name-only -- '*.sot')
Python API
# Re-exports everything from sot-validator
from sot_verify import validate, is_valid, detect
if is_valid(content):
print('Valid')
Related
- sot-validator - Detailed validation with warnings
- cgd-verify - Quick verification for .cgd files
- Clarity Gate - Full ecosystem
License
CC BY 4.0
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
sot_verify-0.1.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sot_verify-0.1.0.tar.gz.
File metadata
- Download URL: sot_verify-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
018b5ba8bfd2bbe587b2dce82aa76d63b967adc2308cd7c8331e1f609d4bf202
|
|
| MD5 |
5791f17703fb1c9f4dcd607980d3afae
|
|
| BLAKE2b-256 |
59567d2f5d2534773eeb537572cd57e7af05de2ade2fcbd54f554139ec1f83ff
|
File details
Details for the file sot_verify-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sot_verify-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b47531f5e1be3f10c06fec9a93df9469ef42cb9f49408d1dee113e8c54c645a7
|
|
| MD5 |
db08e2de0371f8b94b54833048df1fb1
|
|
| BLAKE2b-256 |
4f3971d5caa2c0baa28155c95fe3ebb7eaff5c0ffc8bdf7cb248500bff2a536e
|