Skip to main content

Dhruv's complete meta tooling suite — installs all utilities in one package.

Project description

dhruv13x logo

PyPI version Python Wheel Release

Build status Codecov Test Coverage Code style: black Ruff Security

Downloads PyPI Downloads OS Python Versions

License: MIT

✨ dhruv13x: The Unified Developer Toolchain

Elevator Pitch: The "Swiss Army Knife" for modern Python engineering—a meta-package that installs and unifies a suite of essential developer utilities under a single, consistent CLI.

📖 About

Why juggle a dozen different tools when you can have a unified workflow? dhruv13x is a "batteries-included" toolkit that bundles high-quality utilities for code hygiene, backups, documentation, and automation. It streamlines your development process by providing a central interface to manage these tasks, while still allowing access to each underlying tool independently.


🚀 Quick Start

Prerequisites

  • Python 3.11 or higher

Installation

Install the meta-suite with a single command:

pip install dhruv13x

Usage Example

Verify the installation and see the suite of installed tools:

# Check version
dhruv13x version

# List all installed meta tools
dhruv13x tools

Run a cleanup of your project:

dhruv13x purge

✨ Key Features

  • Unified Ecosystem: Installs 10+ developer utilities (like duplifinder, pypurge, projectclone) in one go.
  • God Level: Smart Cleanup: The purge command intelligently removes clutter (__pycache__, .pyc, build artifacts) to keep your workspace pristine.
  • Atomic Snapshots: Use clone to create instant, timestamped backups of your entire project state.
  • Disaster Recovery: Mistake made? Use restore to revert your project to a previous snapshot immediately.
  • Duplicate Detection: Identify copy-pasted code blocks using dedupe (powered by duplifinder).
  • Flexible Execution: Acts as a smart wrapper—isolating tool execution in subprocesses for stability while allowing direct argument pass-through.

⚙️ Configuration & Advanced Usage

CLI Commands

The dhruv13x CLI maps common tasks to specific underlying tools.

Command Description underlying Tool
tools List all installed meta tools in the suite. Internal
version Show the unified suite version. Internal
purge Clean project clutter (aggressive mode). pypurge
clone Create a timestamped project snapshot. projectclone
restore Restore project from a snapshot. projectrestore
dedupe Find duplicate code blocks. duplifinder

Note: The dedupe command supports argument pass-through.

# Pass arguments directly to duplifinder
dhruv13x dedupe --min-lines 5 --exclude tests/

Environment Variables

dhruv13x does not require specific environment variables. However, individual tools (like enterprise-docs or create-dump) may respect their own configuration files or env vars.


🏗️ Architecture

Directory Structure

src/
└── dhruv13x/
    ├── __init__.py
    ├── banner.py   # ASCII art and branding
    └── cli.py      # Main Typer application & command routing

Core Logic

The application is built on Typer.

  1. Entry Point: cli.py defines the main application and commands.
  2. Command Routing: Each dhruv13x command acts as a proxy.
    • Direct Import: Some tools (like projectclone) are imported and run directly.
    • Subprocess: Others (like pypurge, duplifinder) are executed in a shell subprocess to ensure environment isolation and capture output streams.

🗺️ Roadmap

  • Core: Unified CLI structure & tool installation.
  • Maintenance: purge (cleanup) and dedupe (code quality).
  • Backup: clone (snapshot) and restore (recovery).
  • Refactoring: import_fix wrapper for import-surgeon.
  • Scaffolding: init wrapper for pyinitgen.
  • Workflow: routine wrapper for routine-workflow.
  • Docs: docs wrapper for enterprise-docs.

🤝 Contributing

We welcome contributions! Whether it's adding a wrapper for a new tool or improving the existing CLI.

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/amazing-feature).
  3. Commit your changes.
  4. Push to the branch.
  5. Open a Pull Request.

📜 License

This project is licensed under the MIT License.

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

dhruv13x-3.0.0.tar.gz (891.9 kB view details)

Uploaded Source

Built Distribution

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

dhruv13x-3.0.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file dhruv13x-3.0.0.tar.gz.

File metadata

  • Download URL: dhruv13x-3.0.0.tar.gz
  • Upload date:
  • Size: 891.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dhruv13x-3.0.0.tar.gz
Algorithm Hash digest
SHA256 fa7bd7d32399b607347d5ae4e9d2d6fc37ed4f0c93a735bac8ed2c59c87a0272
MD5 de80e69dfaca6070f9bb248bd576e751
BLAKE2b-256 764e305cc7a82cd1f11206bc45abf7c7c44f1526d7ff511f88337e278562573e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dhruv13x-3.0.0.tar.gz:

Publisher: publish.yml on dhruv13x/dhruv13x

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

File details

Details for the file dhruv13x-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: dhruv13x-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dhruv13x-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f90e2c2b6faf14ce08103962be6525b0204d8f08190b39151f99b5b5fdec8d5
MD5 b5d2d98b5be88e926c5db8c7adca643e
BLAKE2b-256 dcf8dbcb9100f2b0bf33be565c3e415b93d3b917ff8a6c410fe4a2a8ad556a32

See more details on using hashes here.

Provenance

The following attestation bundles were made for dhruv13x-3.0.0-py3-none-any.whl:

Publisher: publish.yml on dhruv13x/dhruv13x

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