Skip to main content

A simple extendable CLI tool.

Project description

BABICLI — Fast & Modular Command-Line Toolkit

Developer Notes & Version History

Latest Release: 0.2.5

Architecture: Fully plugin-driven — all commands come from modules inside babicli/plugins/.

Highlights:

  • New dynamic plugin loader (no hard-coded command list)
  • Cleaner CLI help system
  • Automatic PyPI update checker
  • Faster plugin initialization
  • Improved cache system and diagnostics
  • Better cross-platform network information plugin

Overview

babicli is a lightweight, fast, and extensible command-line toolkit.

Every command is a plugin , allowing unlimited customization without modifying the core CLI.

If you know Python, you can instantly add new commands.


Installation

Install from PyPI:

pip install babicli

Upgrade to the newest version:

pip install --upgrade babicli

Run:

babicli help

Features

  • Fast command execution
  • Clean plugin system — drop a file, gain a command
  • System diagnostics (doctor, diskguard)
  • Network tools (netinfo)
  • Chaos random generator (ranum)
  • Benchmarks (bench)
  • Auto plugin generator (mgenerate)
  • Cache inspection + cleanup tools
  • Zero dependencies except Python standard library

Available Commands

(Commands vary depending on installed plugins)

Command Description
bench Run CPU and disk benchmarks
cache clear Clear all cache files
cache show Show the cache directory
cache size Display cache storage usage
diskguard Detect low disk space or filesystem issues
doctor Diagnose common system issues
help Show all available commands
mgenerate Generate a boilerplate plugin
modules List all installed plugins
netinfo Show internal and external network information
ranum Generate a secure chaotic 32-digit random number
sysinfo Display OS, CPU, RAM, and storage information

Run any command:

babicli sysinfo babicli netinfo babicli cache size

Usage Examples

Show system information:

babicli sysinfo

Detect low disk space:

babicli diskguard

Generate a cryptographically chaotic random number:

babicli ranum

Clear all cache:

babicli cache clear

Creating Your Own Plugins

babicli is designed to make plugin creation extremely simple.

Option 1: Auto-Generate a Plugin (Recommended)

babicli mgenerate myplugin

Creates:

babicli/plugins/myplugin.py

With boilerplate:

defrun(): print("Plugin myplugin loaded successfully!")

Run it:

babicli myplugin

Option 2: Manual Creation

Create a file:

babicli/plugins/hello.py

Add:

defrun(): print("Hello from babicli!")

Run it:

babicli hello

Troubleshooting

babicli: command not found

Try reinstalling:

pip install --force-reinstall babicli

Or run directly:

python -m babicli help

Plugin not detected

Check the following:

  • Plugin file is in: babicli/plugins/
  • Filename is lowercase
  • Contains a run() function
  • __init__.py exists inside the plugins folder

Ideas for Future Plugins

  • memwatch — detect RAM leaks
  • powercheck — Raspberry Pi undervoltage monitor
  • sdhealth — SD card corruption detector
  • netdoctor — deep network diagnostics
  • logguard — detect rapidly growing log files
  • sshwatch — detect SSH brute-force attempts
  • zombies — zombie process detector

License

MIT License — free for personal and commercial use.

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

babicli-0.2.5.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

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

babicli-0.2.5-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file babicli-0.2.5.tar.gz.

File metadata

  • Download URL: babicli-0.2.5.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for babicli-0.2.5.tar.gz
Algorithm Hash digest
SHA256 7a4e04882027c43ef1f24259e7083148ab05125affd0ee57412777972192bb9b
MD5 b92136ed0d7bff30a23e09e8551cec39
BLAKE2b-256 f7cda6bb408e8f0bca896617a9e862ec532837c1f1cea39560a5f36efe4da97f

See more details on using hashes here.

File details

Details for the file babicli-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: babicli-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for babicli-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c05d848c74d64d138057fe0655cb5b47387df3fe8d9279b0fd7386df98d567d2
MD5 f85c488a06f99ebc2617c468ade51c47
BLAKE2b-256 8703a947e4289f5bf99a8542b0795c7f153dfff3794603b503e1f5f67df97905

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