Skip to main content

MTABE CLI - Your AI Study Assistant 🎓

MTABE is a powerful CLI tool that helps you study smarter using AI-powered flashcards, tests, and chat assistance. It works with various content sources including YouTube videos, web pages, and local files.

Installation

First, create and activate a virtual environment:

# Create virtual environment
python -m venv venv

# Activate on Windows
venv\Scripts\activate

# Activate on Linux/Mac
source venv/bin/activate

# Install mtabe
pip install mtabe

Features

  • 📝 Create AI-powered flashcards from any study material
  • 📝 Generate custom tests with various question types
  • 💬 Chat with AI about your study materials
  • 📺 Extract content from YouTube video subtitles
  • 🌐 Pull study material from web pages
  • 📄 Support for multiple file formats (PDF, DOCX, TXT, XLSX, etc.)

Usage

Adding Study Notes

# Add notes by typing/pasting
mtabe add mynotes -t

# Add notes from a YouTube video
mtabe add physics-lecture -y "https://youtube.com/watch?v=xxxxx"

# Add notes from a webpage
mtabe add chemistry-notes -w "https://example.com/chemistry-lesson"

# Add notes from a local file
mtabe add math-formulas -l "path/to/your/file.pdf"

Creating Flashcards

# Create flashcards from saved notes
mtabe flash -f mynotes

# Create flashcards directly from YouTube
mtabe flash -y "https://youtube.com/watch?v=xxxxx"

# Create flashcards from a webpage
mtabe flash -w "https://example.com/lesson"

# Create flashcards from a local file
mtabe flash -l "path/to/your/file.pdf"

Generating Tests

# Generate test from saved notes
mtabe test -f mynotes

# Generate test from YouTube content
mtabe test -y "https://youtube.com/watch?v=xxxxx"

# Generate test from a webpage
mtabe test -w "https://example.com/lesson"

# Generate test from a local file
mtabe test -l "path/to/your/file.pdf"

Chat with AI Tutor

# Chat about saved notes
mtabe chat -f mynotes

# Chat about YouTube content
mtabe chat -y "https://youtube.com/watch?v=xxxxx"

# Chat about webpage content
mtabe chat -w "https://example.com/lesson"

# Chat about local file content
mtabe chat -l "path/to/your/file.pdf"

Supported File Formats

  • Text files (.txt)
  • PDF documents (.pdf)
  • Word documents (.docx)
  • Excel spreadsheets (.xlsx, .xls, .xlsm)
  • PowerPoint presentations (.pptx)
  • CSV files (.csv)

First-Time Setup

On first use, MTABE will prompt you to:

  1. Enter your Groq API key (get it from Groq Console)
  2. Provide your name
  3. Specify your education level
  4. Define your area of focus (IT, CS, Science, etc.)

This information helps MTABE personalize your learning experience.

Tips for Best Results

  • When requesting flashcards, specify the number you want (e.g., "Give me 10 cards")
  • For tests, you can specify question types:
    • Multiple choice
    • True/false
    • Essay
    • Fill in the blank
    • Short explanation
    • Short answer
    • Mix of different types
  • Test results include individual question scores and total test score
  • Chat mode allows natural conversation about your study materials

Example Commands

# Create 10 multiple choice flashcards from a YouTube lecture
mtabe flash -y "https://youtube.com/watch?v=xxxxx"

# Generate a mixed test with 5 questions from saved notes
mtabe test -f chemistry-notes

# Add notes from a PDF textbook
mtabe add chapter5 -l "textbook/chapter5.pdf"

# Start a chat session about your physics notes
mtabe chat -f physics-notes

Metadata

Release files for mtabe 1.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mtabe 1.9.0
File Size Uploaded Provenance
mtabe-1.9.0.tar.gz 16.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mtabe 1.9.0
File Interpreter ABI Platform
mtabe-1.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 43.2 kB

Release files / mtabe-1.9.0.tar.gz

Download URL mtabe-1.9.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
95d96f9a0ea525d00377d5cbd9df97c4026b57c9fe1d56619fd826c4f34dfdeb
BLAKE2b-256 checksum
How to use checksums
9671a23852d2d7da4d91ab433277ffaccdb54e5f2d0bbf717a8967ae41279de1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release files / mtabe-1.9.0-py3-none-any.whl

Download URL mtabe-1.9.0-py3-none-any.whl
Size 27.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
728a6e85bee92cb000ef80d6e87e0f7d297f3e219f99c7eea8d9325ade59cc49
BLAKE2b-256 checksum
How to use checksums
11b5dc893970901db131b5cda504645fa741f2960690be528e8ab5cb003911eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Security for mtabe 1.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page