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.1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

math_assistant_cli-0.1.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

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

Hashes for math_assistant_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 97b54b0468ac8c788fb7c884c06f9d38909fb2094e234683d810f7cbcb9aa794
MD5 2a14403a53b73a35b64990aba2a5e2c1
BLAKE2b-256 13adc67902cdae864a26ab33cdb84ae448ef46e0230f5ee65b5c999964816209

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for math_assistant_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d148cd7bf3a1269383e45c70881cf7fff9831e2f1f952974e624d32f91bd7370
MD5 40430b271f1aaaa21c60e59ea2b6d844
BLAKE2b-256 ac4ec1cfc0e6bc2049a36b720f392ac8025d0699cde5274a403a3e6b5d9361e9

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