Analyze, restructure, and harden vibe-coded projects for production. Architecture-level linting, secret detection, and code quality enforcement in one CLI.
Project description
Propre
Propre is a post-vibe-coding cleanup and hardening CLI.
It analyzes AI-generated or rapidly prototyped codebases and prepares them for real-world use by detecting structural issues, unsafe patterns, and production blockers — then optionally fixing them.
From messy prototype → production-ready project.
Installation
pip install propre
Quick Start
Analyze a project:
propre scan .
Auto-fix safe issues:
propre fix .
Check production readiness:
propre ship .
Generate a report:
propre report . -o report.md
Commands
| Command | Description |
|---|---|
propre scan [path] |
Full analysis (no changes) |
propre fix [path] |
Auto-fix safe issues |
propre res [path] |
Project restructuring only |
propre sec [path] |
Secret scanning only |
propre ship [path] |
Production readiness checklist |
propre report [path] -o file |
Export full report |
Common Workflows
Before committing AI-generated code
propre scan .
Before opening a pull request
propre fix .
propre ship .
CI safety check
propre scan . --ci
Security audit
propre sec . --deep-scan
Global Flags
| Flag | Description | |||
|---|---|---|---|---|
--dry-run |
Preview changes without applying | |||
--verbose / -v |
Detailed output | |||
--config propre.yml |
Custom rules | |||
--fix |
Apply safe fixes outside fix command |
|||
--ignore <pattern> |
Exclude paths | |||
--ci |
Exit non-zero if blockers found | |||
| `--format terminal | md | json | sarif` | Output format |
Configuration
Create a propre.yml at your project root:
stack: auto
restructure:
enabled: true
confirm: true
secrets:
deep_scan: false
severity_threshold: medium
rules:
dead_code: warn
console_logs: error
missing_types: warn
hardcoded_config: error
ignore:
- node_modules/
- .git/
- dist/
What Propre Detects
- Dead code & unused files
- Debug logs & leftover prints
- Missing typing
- Hardcoded configuration
- Project structure issues
- Secrets & credentials
- Production blockers
CI Integration
Example GitHub Action step:
propre scan . --ci
The command exits with a non-zero code if blocking issues are found.
Philosophy
Modern coding workflows generate code faster than they validate it.
Propre acts as the final safety layer between experimentation and deployment:
- AI coding assistants create
- Developers iterate
- Propre hardens
License
MIT
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
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 propre_cli-0.1.0.tar.gz.
File metadata
- Download URL: propre_cli-0.1.0.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4e410a9f2260a3b34148238549b62325b7bb8ddbd5823b2d803aadbd0a5cfb5
|
|
| MD5 |
f005f6624603e12f5230320432efc418
|
|
| BLAKE2b-256 |
0359c7b82a3c260b01cf95a3b04c9bce400238997b82fb23a0895daf97b03f70
|
File details
Details for the file propre_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: propre_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 32.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3be480c3a346cec4209f0c9419e8df4129b8de8248ce2f3e2af55d42cf5602a
|
|
| MD5 |
6ebbc0249a48736e96efcb6bd6e57266
|
|
| BLAKE2b-256 |
3cbab44637f81d8c085661652c408127e748daf669d584b9c5eea38cf0b3a5b7
|