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

Docs

✨ dhruv13x: The Unified Developer Toolchain

Elevator Pitch: A meta-package that installs and manages a suite of essential Python developer utilities, providing a single, unified command-line interface.

📖 About

Why install and manage a dozen different developer tools when you can have one? dhruv13x is a "batteries-included" toolkit that bundles a curated set of high-quality utilities into a single, easy-to-use CLI. It's designed to streamline your workflow, enforce best practices, and automate common development tasks.


🚀 Quick Start

Prerequisites

  • Python 3.11 or higher

Installation

pip install dhruv13x

Usage Example

Get a list of all available commands:

dhruv13x --help

See the suite of installed tools:

dhruv13x tools

Check the version of the meta-package:

dhruv13x version

✨ Key Features

  • Tool Agnostic: Access a suite of standalone tools through a single, consistent interface.
  • God Level: One-Command Cleanup: Run dhruv13x purge to intelligently remove clutter like .pyc files, __pycache__ directories, and other temporary files from your project.
  • Atomic Project Snapshots: Use dhruv13x clone to create a complete, timestamped snapshot of your project, perfect for backups or testing.
  • Duplicate Code Detection: The dhruv13x dedupe command runs duplifinder to identify and report duplicate code blocks.
  • Transparent Subprocess Execution: dhruv13x acts as a wrapper, calling the underlying tools in a subprocess to ensure clean and isolated execution.

⚙️ Configuration & Advanced Usage

CLI Commands

Command Description
tools List all installed meta tools.
version Show the unified version info.
purge Run the pypurge cleanup tool.
clone Run the projectclone CLI to snapshot a project.
dedupe Run the duplifinder tool to find duplicate code.

Note: For commands that act as wrappers (like dedupe), you can pass additional arguments directly to the underlying tool. For example, dhruv13x dedupe --arg1 value is equivalent to duplifinder --arg1 value.

Environment Variables

This tool does not require any specific environment variables for its operation.


🏗️ Architecture

Directory Structure

src/
└── dhruv13x/
    ├── __init__.py
    ├── banner.py   # ASCII art for the CLI
    └── cli.py      # Main Typer application and command definitions

Core Logic

The application is built using Typer, which provides a simple and intuitive way to create a command-line interface. The main entry point is the app object in cli.py. Each command is a separate function decorated with @app.command(). These functions then use the subprocess module to call the underlying tools, passing any additional arguments directly to them.


🗺️ Roadmap

  • Initial release with core functionality
  • Add restore command
  • Add import_fix command
  • Add init command
  • Add routine command
  • Add docs command

🤝 Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.


📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

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-1.0.1.tar.gz (891.0 kB view details)

Uploaded Source

Built Distribution

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

dhruv13x-1.0.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dhruv13x-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bb0083e5f57fa7ecbe9ad26caeedae686a0ddca197c0e704e3c82988eeb62ae6
MD5 0f7c96dbc696e6b1b3de07218a5a04e0
BLAKE2b-256 1a6c8a6b80e5d341965765b9a83957efdaad098804341e9cec8602812d4d6c7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for dhruv13x-1.0.1.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-1.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for dhruv13x-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f4d35d03595f0da4d43e3222d91db54a9e9fa6db63dab49232427a7f14f0564
MD5 28c571c501bbc817cd5b3f3604189c69
BLAKE2b-256 b239cfa225b23497dc23fc88aaa118243500c84074172c349cc371039e699334

See more details on using hashes here.

Provenance

The following attestation bundles were made for dhruv13x-1.0.1-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