Skip to main content

A stunning terminal inspector for JSON, CSV, and environment files.

Project description

config-lens

config-lens (clens) is a lightweight, high-performance command-line utility designed to inspect JSON, CSV, and environment (.env) files instantly inside your terminal with gorgeous, color-coded tables.


Features

  • Instant Visual Previews: Automatically detects file types and renders them into clean, structured tables.
  • Rich Styling: Built with rich for vibrant, readable terminal formatting.
  • Smart Truncation: Gracefully previews large CSV datasets (showing the first 25 rows by default) to prevent terminal flooding.
  • Zero Bloat: Minimal dependencies focused purely on fast, friction-free configuration and data inspection.

Installation

Install the package directly from PyPI:

pip install config-lens

Or install it locally in editable mode for development:

git clone https://github.com/yourusername/config-lens.git
cd config-lens
pip install -e .

Usage

Run the clens command followed by the path to the configuration or data file you want to inspect:

# Inspect an environment configuration file
clens .env

# Inspect a structured JSON configuration
clens config.json

# Preview a tabular CSV dataset
clens data.csv

Project Structure

config-lens/
├── pyproject.toml
├── README.md
└── src/
    └── config_lens/
        ├── __init__.py
        ├── cli.py
        └── parser.py

License

Distributed under the MIT License. See LICENSE for more information.

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

config_lens-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

config_lens-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file config_lens-0.1.0.tar.gz.

File metadata

  • Download URL: config_lens-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for config_lens-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0026fe04e0bc1f0b767a3211a836fa3d0c6839cf5ff4e2835fbb6b8d21ef1689
MD5 e9d6c4c81de1ce881116cd67d670cd9a
BLAKE2b-256 7a36e1e5ff0d777cbbe5586fdd5b00187b75b741d928d91c2bdc00b325d5d81b

See more details on using hashes here.

File details

Details for the file config_lens-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: config_lens-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for config_lens-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 254f6f119a9ca2a7faf61103f00025ef1f567e97f5dcda3d4102b3d4129f8d9e
MD5 bf6530f9acf7337bcd7098da7a586da1
BLAKE2b-256 7d053cafa196f02a7d4bc9623a1f03c44bcfcddf76de835f50c57a2292fbc915

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