Skip to main content

MBM - A modular CLI platform with Aaryan language support and AI assistant

Project description

MBM - Modular CLI Platform

PyPI version Python 3.9+ License: MIT Code style: black Platform

MBM is a powerful, modular command-line interface platform featuring the Aaryan programming language, an intelligent AI assistant, and a student birthday countdown system. Built for education, productivity, and extensibility.

🚀 Installation

Step 1: Install Python (if not already installed)

Download from python.org and check "Add Python to PATH" during installation.

Step 2: Install MBM

pip install mbm

That's it! Now you can use mbm from any terminal.

Verify Installation

mbm --version

If mbm is not recognized, use this alternative (always works):

python -m mbm.cli.main --version

Troubleshooting PATH Issues

Windows - If 'mbm' is not recognized
# Find where mbm is installed
python -c "import sys, os; print(os.path.join(os.path.dirname(sys.executable), 'Scripts'))"

# Add that path to your system PATH, or use:
python -m mbm.cli.main
macOS/Linux - If 'mbm' is not recognized
# Find where mbm is installed
python3 -c "import sys, os; print(os.path.join(os.path.dirname(sys.executable), 'bin'))"

# Add to PATH in ~/.bashrc or ~/.zshrc:
export PATH="$PATH:$(python3 -m site --user-base)/bin"

📖 Quick Start

Basic Commands

# Show MBM banner and help
mbm

# Access Aaryan language
mbm aaryan

# Run an Aaryan program
mbm aaryan run program.ar

# Start AI assistant
mbm ai

# View student birthday countdown (433 students!)
mbm kanishka_singhal
mbm vidhi_dave
mbm students --upcoming

# View animations demo
mbm animate --all

# List all students
mbm students
mbm students -b CSE    # Filter by branch

# Shutdown PC (use with caution!)
mbm blast

🎯 Features

🖥️ CLI Platform

  • Clean, intuitive command-line interface
  • Rich terminal output with colors and formatting
  • Cross-platform support (Windows, macOS, Linux)
  • Works in any shell (PowerShell, CMD, Bash, Zsh, Fish)

🎂 Student Birthday Countdown

  • 433 unique student commands (mbm <student_name>)
  • Real-time countdown (days, hours, minutes, seconds)
  • Animated celebrations for birthdays
  • Branch-wise filtering and search

🔤 Aaryan Language

  • Custom programming language embedded in MBM
  • Simple syntax for educational purposes
  • File extension: .ar

🤖 AI Assistant

  • Local-first: Uses spaCy for NLP (no cloud LLMs)
  • Intent Detection: Understands what you're asking
  • Entity Extraction: Identifies key terms and subjects
  • Query Cleanup: Processes messy natural language

🎬 ASCII Animations

  • Falling confetti with physics
  • Fireworks explosions
  • Birthday cakes with flickering candles
  • Countdown flip animations

🖼️ Media Handling

  • Fetches images from legal sources only (Wikimedia Commons)
  • Opens media using system's native viewer
  • Temporary files auto-cleaned

📚 Information Retrieval

  • Wikipedia API for factual information
  • Clean, concise text output
  • Privacy-respecting design

🏗️ Architecture

MBM (Platform CLI)
├── aaryan (Language Module)
├── ai (AI Assistant)
├── people (Special Profiles)
│   ├── students
│   └── faculty
└── utils (Cross-platform Utilities)

🔒 Privacy & Ethics

  • No web scraping: Only legal, public APIs
  • No Google Images: Wikimedia Commons only
  • No cloud LLMs: Local NLP processing
  • No tracking: Your data stays local
  • No permanent storage: Temp files only

🛠️ Development

# Clone repository
git clone https://github.com/mbm/mbm-cli.git
cd mbm-cli

# Create virtual environment
python -m venv venv
source venv/bin/activate  # Linux/macOS
venv\Scripts\activate     # Windows

# Install in development mode
pip install -e ".[dev]"

# Download spaCy model
python -m spacy download en_core_web_sm

# Run tests
pytest

📜 License

MIT License - see LICENSE for details.

🙏 Acknowledgments

  • MBM University, Jodhpur
  • All contributors and supporters

Made with ❤️ by the MBM Team

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

mbm-0.1.0.tar.gz (81.1 kB view details)

Uploaded Source

Built Distribution

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

mbm-0.1.0-py3-none-any.whl (83.6 kB view details)

Uploaded Python 3

File details

Details for the file mbm-0.1.0.tar.gz.

File metadata

  • Download URL: mbm-0.1.0.tar.gz
  • Upload date:
  • Size: 81.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mbm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1e9d035a231a24b9c3ac80ef478e3c63aa5500ade2f156a0f7b2676ada52deb9
MD5 bf06ee68c7b4728e3088f5e2af088383
BLAKE2b-256 6fab77e7bd8c71ac99a05fd9bfe037c9df407b40e85a2eb82d9e5f95c324b969

See more details on using hashes here.

File details

Details for the file mbm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mbm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 83.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mbm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59fdf44044c7abc32d4e3b001a75244d1e7338c93a106a45426a2450bc485f89
MD5 73a5d9ebcbb461f10ecd3e10d3700a0a
BLAKE2b-256 87a83ff7178b6a138a2b2e83f0770d219fd0e884c51f50b3685db9f9a9675e81

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