Skip to main content

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.

PyPI version License: CC BY 4.0

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

License

CC BY 4.0

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

sot_verify-0.1.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

sot_verify-0.1.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file sot_verify-0.1.1.tar.gz.

File metadata

  • Download URL: sot_verify-0.1.1.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

Hashes for sot_verify-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e454b37db1108b733a716978e46113b7cca4c70d4ae211da0e806c683838c8f1
MD5 1d2f5231535e702664d8f654cdfc9a84
BLAKE2b-256 6512f4792c499fe28c0e81858df864c2ec15705ed5a3e3dac4620d064afcea48

See more details on using hashes here.

File details

Details for the file sot_verify-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sot_verify-0.1.1-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

Hashes for sot_verify-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebabb07e83186405ccbacd2d096cea5a7b57704d3bc3afa9c746d793dc0a98f6
MD5 ca2ba46da5631f1ecd1d9371b5d44dc0
BLAKE2b-256 747f017f3d2e9a44502d2c4d0655ce6aa4f3fd59830a5a76c9bbd0d3e8408c2d

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