Skip to content

0.1.2

Choose a tag to compare

@AshBrud AshBrud released this 19 Nov 02:32
· 1 commit to dbi_v0.1.2 since this release

Full Changelog: https://github.com/AshBrud/dbinpect/commits/0.1.2

πŸ—‚οΈ DB Inspector v0.1.2

First Public Release on PyPI πŸŽ‰

dbinpect is now available on PyPI! A powerful and flexible command-line tool to inspect and analyze any SQLAlchemy-compatible database.

✨ Features

  • πŸ” Complete Database Inspection - Analyze table structures, columns, types, and constraints
  • πŸ“Š Data Visualization - Browse table contents with customizable row limits
  • πŸ”— Relationship Discovery - Automatically detect foreign keys and table relationships
  • πŸ—‘οΈ Table Management - Safely delete tables with confirmation prompts
  • 🎯 Multi-Database Support - Works with PostgreSQL, MySQL, SQLite, and all SQLAlchemy-compatible databases
  • βš™οΈ Flexible Configuration - Three configuration methods:
    • CLI arguments (highest priority)
    • Environment variables
    • .env file

πŸš€ Quick Start

pip install dbinpect

Then use the analyze-db command:

# List all tables
analyze-db --database-url "postgresql://user:pass@host:5432/dbname"

# Inspect a specific table
analyze-db --database-url "postgresql://user:pass@host:5432/dbname" --table users

# View table data
analyze-db --database-url "postgresql://user:pass@host:5432/dbname" --table users --data 20

πŸ“¦ What's Included

  • Full command-line interface with comprehensive help
  • Support for multiple database backends
  • Flexible configuration system
  • Safe table deletion with confirmation
  • Detailed schema inspection

πŸ”§ Requirements

  • Python 3.8+
  • SQLAlchemy 2.0+
  • Pydantic 2.0+
  • pydantic-settings 2.0+

πŸ“š Documentation

Full documentation is available in the README.

πŸ”— Links

πŸ™ Acknowledgments

Built with:


Made with ❀️ for the Python community


Version courte (pour GitHub Release) :

```markdown
# πŸ—‚οΈ DB Inspector v0.1.2 - First Public Release

**dbinpect** is now available on PyPI! A powerful command-line tool to inspect and analyze any SQLAlchemy-compatible database.

## ✨ Key Features

- Complete database inspection (tables, columns, relationships)
- Data visualization with customizable limits
- Multi-database support (PostgreSQL, MySQL, SQLite, etc.)
- Flexible configuration (CLI, env vars, .env file)
- Safe table management with confirmation

## πŸš€ Install

```bash
pip install dbinpect

πŸ“– Usage

analyze-db --database-url "postgresql://user:pass@host:5432/dbname" --all

Full documentation: README

PyPI: https://pypi.org/project/dbinpect/