Metadata-Version: 2.4
Name: kryptorious-draftguard
Version: 1.0.1
Summary: Detect environment configuration drift before it causes production incidents
Project-URL: Homepage, https://codegero.github.io/store/
Project-URL: Repository, https://github.com/CodeGero/draftguard
Project-URL: Changelog, https://github.com/CodeGero/draftguard/releases
Author-email: Kryptorious <tools@kryptorious.dev>
License-Expression: MIT
Keywords: ci-cd,config,devops,dotenv,drift,environment,security
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Requires-Dist: click>=8.0
Requires-Dist: python-dotenv>=1.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich>=13.0
Requires-Dist: tomli>=2.0; python_version < '3.11'
Provides-Extra: dev
Requires-Dist: black>=23.0; extra == 'dev'
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Requires-Dist: ruff>=0.1; extra == 'dev'
Description-Content-Type: text/markdown

# draftguard

> Environment configuration drift detection across dev/staging/prod.

[![PyPI](https://img.shields.io/pypi/v/kryptorious-draftguard)](https://pypi.org/project/kryptorious-draftguard/) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

Part of the [Kryptorious developer toolkit](https://kryptorious.gumroad.com/l/jbvet) — 31 open-source tools, one $9 lifetime license.

## Install

```bash
pip install kryptorious-draftguard
```

## Quickstart

```bash
draftguard compare ./dev ./prod
# -> reports missing keys, value mismatches, type drift
```

## Commands

| Command | Description |
|---------|-------------|
| `draftguard audit` | Audit a single environment for config issues. |
| `draftguard compare dirA dirB` | Compare config files from two directories. |
| `draftguard diff env1 env2` | Key-by-key diff between two config directories. |
| `draftguard scan` | Scan a tree for config files and compare environments. |



## License

MIT — free for personal and commercial use. The $9 lifetime license adds DevFlow Premium (multi-environment CI/CD, approval gates, infrastructure-as-code). Get it at [kryptorious.gumroad.com/l/jbvet](https://kryptorious.gumroad.com/l/jbvet).
