Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reveal_cli-0.59.0.tar.gz (946.6 kB view details)

Uploaded Source

Built Distribution

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

reveal_cli-0.59.0-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

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

Hashes for reveal_cli-0.59.0.tar.gz
Algorithm Hash digest
SHA256 4d2895e2ad2e0736325b09edaa6bc399cfd4f210104071928162a097c8601fe8
MD5 00c95320cfe2c4dad06fba8c979554fd
BLAKE2b-256 922eb9267d0a09c0c610ae08d9d1d1b98e3f73c9b444c5d61e226c8197527769

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for reveal_cli-0.59.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc7dba5b6fed83bce4ec95467d0485a3e8de72b8a20b67a9aee54e1d4151c868
MD5 c859c2f0f638cc93ccc9679f2a411f35
BLAKE2b-256 937162628e5e0f0a5dd24a9d19cf9be41b75485151719cee7bd94902358b5ede

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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