Skip to main content

Quick verification for Clarity-Gated Document (.cgd) files - returns pass/fail for CI/CD pipelines

Project description

cgd-verify

Quick pass/fail verification for Clarity-Gated Document (.cgd) files — optimized for CI/CD pipelines.

PyPI version License: CC BY 4.0

When to Use

Tool Use Case
cgd-verify CI/CD pipelines, git hooks, quick checks
cgd-validator Detailed reports, debugging, development

Installation

pip install cgd-verify

CLI Usage

# Quick check - exit 0 if valid, exit 1 if invalid
cgd-verify document.cgd

# Multiple files
cgd-verify docs/*.cgd

# Silent mode (only exit code, no output)
cgd-verify document.cgd --silent

In CI/CD

# GitHub Actions
- run: pip install cgd-verify && cgd-verify docs/*.cgd

# Pre-commit hook
cgd-verify $(git diff --cached --name-only -- '*.cgd')

Python API

# Re-exports everything from cgd-validator
from cgd_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

cgd_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.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cgd_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 cgd_verify-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3e04fc16b46ef37331f550272f116f58865cf0877f28b6d373c44e76b1181306
MD5 567d1ff5020e1c0d996fee7697d99cd8
BLAKE2b-256 9100782935df9f46ee586ef8c22f2a8ae036546d8e0996485d6d2e46ab678362

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cgd_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 cgd_verify-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 80e2eefcb9028a0a867c82ef4642e6a9aacaebd95808e4523b20c5baf52d7142
MD5 be522e6acc857091c7c012d5d6d0285b
BLAKE2b-256 5b098a8d6cca1d1420256818880c1a8dcb0f58795f9d3208a7c168300d726a73

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