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
- Explain a problem:
math-assist explain problem.jpg
- Interactive mode:
math-assist
- 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 problemsave
- Save the conversationquit
- Exit
Examples
- Quick explanation:
math-assist explain calc_problem.jpg
- 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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe98e45a019f56c91881985805a6f4c189e9fddec17cf0ce16f82a52e026c63b |
|
MD5 | 83b10fe8c727bec55b8672b197b7844a |
|
BLAKE2b-256 | 52d2f49ca0d4cdfdbf4276c320c8b7dfe4d592c40d79bf0aba2c5e2ad6b3c3c8 |
File details
Details for the file math_assistant_cli-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: math_assistant_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc73d252b716127ea4f40d4e6d0d088ff1440c5af2b74d79a9f62391bdf6c20b |
|
MD5 | 98d6bcf7d7d25dc49d000c24ce82af6e |
|
BLAKE2b-256 | 52325bacf418e88c49e11860f9a2ca9d0486d6a8e779a4aab8d6a64bacf7b516 |