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
richfor 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.
Metadata
Release files for config-lens 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| config_lens-0.1.1.tar.gz | 4.8 kB | Without provenance | Details for config_lens-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| config_lens-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for config_lens-0.1.1-py3-none-any.whl |
Total release size: 8.6 kB
Release files / config_lens-0.1.1.tar.gz
| Download URL | config_lens-0.1.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
992f3b28e3aa7b16f345ef8f0fa0113f20f291f2e07ec9a566e7131a628412c4
|
|
BLAKE2b-256 checksum How to use checksums |
802d9f89efcaf541be1daa4a55738a94110ecd6c297627ace91ab1f87e4bed8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / config_lens-0.1.1-py3-none-any.whl
| Download URL | config_lens-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af138dafce8828de4c56d7880e584be4762271e99779c89b79523fd137eac73d
|
|
BLAKE2b-256 checksum How to use checksums |
7fa9bf592d82a4f6876fd3a07ebea929dac2db094e76ccd52143d96d514c3bf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for config-lens 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.