Progressive code exploration with semantic queries and structural diffs - understand code by navigating structure, not reading text
Project description
Reveal
Progressive disclosure for codebases, databases, and infrastructure.
Reveal is a command-line tool that provides structured, token-efficient inspection of:
- Code: AST queries, imports, structure analysis
- Databases: MySQL, PostgreSQL health monitoring
- Infrastructure: SSL certificates, domains, git repos
- Data: JSON, CSV, YAML, XML analysis
Installation
pip install reveal-cli
Quick Start
# Inspect code structure
reveal file.py
# Database health check
reveal mysql://localhost
# SSL certificate check
reveal ssl://example.com
# AST queries
reveal 'ast://src?complexity>30'
Documentation
- Quick Start:
reveal help://quick-start - Full Guide:
reveal help:// - Agent Help:
reveal --agent-help
Subcommands
reveal check src/ # Quality check (complexity, maintainability, links)
reveal review main..feature # PR review: diff + check + hotspots in one pass
reveal health ssl://site.com # Health check with exit codes 0/1/2
reveal pack src/ --budget 8k # Token-budgeted snapshot for LLM context
reveal dev new-adapter # Scaffold new adapters/rules
Features
- 🎯 Progressive Disclosure: Structure → Element → Detail
- 🔍 Unified Query Syntax: Filter and sort across all adapters
- 🤖 AI-Optimized: Token-efficient output for LLM consumption
- 📊 Quality Metrics: Complexity, maintainability, test coverage
- 🔌 Extensible: 20 built-in adapters, 42+ languages, easy to add custom ones
License
See LICENSE for details.
Contributing
See CONTRIBUTING.md for guidelines.
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 reveal_cli-0.59.0.tar.gz.
File metadata
- Download URL: reveal_cli-0.59.0.tar.gz
- Upload date:
- Size: 946.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d2895e2ad2e0736325b09edaa6bc399cfd4f210104071928162a097c8601fe8
|
|
| MD5 |
00c95320cfe2c4dad06fba8c979554fd
|
|
| BLAKE2b-256 |
922eb9267d0a09c0c610ae08d9d1d1b98e3f73c9b444c5d61e226c8197527769
|
Provenance
The following attestation bundles were made for reveal_cli-0.59.0.tar.gz:
Publisher:
publish-to-pypi.yml on Semantic-Infrastructure-Lab/reveal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reveal_cli-0.59.0.tar.gz -
Subject digest:
4d2895e2ad2e0736325b09edaa6bc399cfd4f210104071928162a097c8601fe8 - Sigstore transparency entry: 1025313398
- Sigstore integration time:
-
Permalink:
Semantic-Infrastructure-Lab/reveal@f89a3a983faa9d53e23f9552d75fa79c06f202e4 -
Branch / Tag:
refs/tags/v0.59.0 - Owner: https://github.com/Semantic-Infrastructure-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@f89a3a983faa9d53e23f9552d75fa79c06f202e4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file reveal_cli-0.59.0-py3-none-any.whl.
File metadata
- Download URL: reveal_cli-0.59.0-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc7dba5b6fed83bce4ec95467d0485a3e8de72b8a20b67a9aee54e1d4151c868
|
|
| MD5 |
c859c2f0f638cc93ccc9679f2a411f35
|
|
| BLAKE2b-256 |
937162628e5e0f0a5dd24a9d19cf9be41b75485151719cee7bd94902358b5ede
|
Provenance
The following attestation bundles were made for reveal_cli-0.59.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on Semantic-Infrastructure-Lab/reveal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reveal_cli-0.59.0-py3-none-any.whl -
Subject digest:
dc7dba5b6fed83bce4ec95467d0485a3e8de72b8a20b67a9aee54e1d4151c868 - Sigstore transparency entry: 1025313473
- Sigstore integration time:
-
Permalink:
Semantic-Infrastructure-Lab/reveal@f89a3a983faa9d53e23f9552d75fa79c06f202e4 -
Branch / Tag:
refs/tags/v0.59.0 - Owner: https://github.com/Semantic-Infrastructure-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@f89a3a983faa9d53e23f9552d75fa79c06f202e4 -
Trigger Event:
release
-
Statement type: