Skip to main content

AI-powered math problem solver and tutor

Project description

Math Assistant CLI

A command-line tool that uses Claude AI to help with math problems. Just show it a picture of your math problem and get explanations, similar practice problems, and solution checking.

Installation

pip install math-assistant-cli

You'll need an Anthropic API key. Set it as an environment variable:

export ANTHROPIC_API_KEY='your-api-key-here'

Quick Start

  1. Explain a problem:
math-assist explain problem.jpg
  1. Interactive mode:
math-assist
  1. Different formatting:
math-assist explain problem.jpg --format rich

Features

  • 📸 Upload images of math problems
  • 💬 Get step-by-step explanations
  • 🏋️ Generate similar practice problems
  • ✅ Check your solutions
  • 💾 Save conversations for later
  • 🎨 Multiple output formats

Interactive Commands

When in interactive mode:

  • image: path/to/image.jpg - Load a new problem
  • save - Save the conversation
  • quit - Exit

Examples

  1. Quick explanation:
math-assist explain calc_problem.jpg
  1. Interactive session:
math-assist
> image: integral.jpg
> Can you explain the first step?
> How do I know which substitution to use?
> save conversation.txt
> quit

Contributing

Contributions welcome! See CONTRIBUTING.md for details.

License

MIT License - see LICENSE 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

math_assistant_cli-0.1.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

math_assistant_cli-0.1.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: math_assistant_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for math_assistant_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fe98e45a019f56c91881985805a6f4c189e9fddec17cf0ce16f82a52e026c63b
MD5 83b10fe8c727bec55b8672b197b7844a
BLAKE2b-256 52d2f49ca0d4cdfdbf4276c320c8b7dfe4d592c40d79bf0aba2c5e2ad6b3c3c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for math_assistant_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc73d252b716127ea4f40d4e6d0d088ff1440c5af2b74d79a9f62391bdf6c20b
MD5 98d6bcf7d7d25dc49d000c24ce82af6e
BLAKE2b-256 52325bacf418e88c49e11860f9a2ca9d0486d6a8e779a4aab8d6a64bacf7b516

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page