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.1.tar.gz
(12.7 kB
view details)
Built Distribution
File details
Details for the file math_assistant_cli-0.1.1.tar.gz
.
File metadata
- Download URL: math_assistant_cli-0.1.1.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97b54b0468ac8c788fb7c884c06f9d38909fb2094e234683d810f7cbcb9aa794 |
|
MD5 | 2a14403a53b73a35b64990aba2a5e2c1 |
|
BLAKE2b-256 | 13adc67902cdae864a26ab33cdb84ae448ef46e0230f5ee65b5c999964816209 |
File details
Details for the file math_assistant_cli-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: math_assistant_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.1 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 | d148cd7bf3a1269383e45c70881cf7fff9831e2f1f952974e624d32f91bd7370 |
|
MD5 | 40430b271f1aaaa21c60e59ea2b6d844 |
|
BLAKE2b-256 | ac4ec1cfc0e6bc2049a36b720f392ac8025d0699cde5274a403a3e6b5d9361e9 |