Skip to main content

Minimalist CLI for math & cryptography exploration 🦊

Project description

FoxMath 🦊

Minimalist CLI for math & cryptography exploration.

One binary. Clean output. Zero footguns. Educational by design.

Built with curiosity — for students, tinkerers, and crypto/math enthusiasts.

Features

  • Legendre symbol
  • Catalan-inspired π approximation
  • Elliptic curve point addition (over finite fields)
  • Symlink-friendly (foxmath-legendre, foxmath-pi, foxmath-ecadd)
  • JSON output mode
  • Coming soon: CRT, continued fractions, challenge mode, more curves

Installation

pip install foxmath

Or from source:

git clone https://github.com/Abhrankan-Chakrabarti/foxmath.git
cd foxmath
pip install -e .

Usage Examples

# Basic
foxmath pi --terms 200
foxmath legendre 5 17

# Symlinks (optional)
foxmath-ecadd --x1 1 --y1 2 --x2 3 --y2 4 --p 17

# JSON output
foxmath pi --terms 100 --json

Example Output

π ≈ 3.1415926535897932384626433832795028841971693993751  (200 terms)

Why FoxMath?

Because math and cryptography are more fun when you can play with them instantly in the terminal — with the same reliability as FoxPipe and fox-vault.

Simple. Practical. Reliable.

License

MIT © Abhrankan Chakrabarti


Star if you find it useful! Issues and PRs welcome.

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

foxmath-0.1.2.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

foxmath-0.1.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file foxmath-0.1.2.tar.gz.

File metadata

  • Download URL: foxmath-0.1.2.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for foxmath-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d9ef45ec4070f9d4ba0d4fd905d5c4b5285a8024df087047c4bb00ef682102a2
MD5 51a4aaf712fecf56710b3ed2a509bbe8
BLAKE2b-256 baefce733975537eb10523978059269b92d89aa648b4750da0ddf4cca9aab744

See more details on using hashes here.

File details

Details for the file foxmath-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: foxmath-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for foxmath-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6ea03f1077807ebe4a81c58122c5380087670b744feb965183b7d464f96e6d2
MD5 c02edc5e32032383748d89734375b64c
BLAKE2b-256 a74e059b1646ecea1ecabab8f64ccb2c1b506f4f095a876f7ed12ef139de3563

See more details on using hashes here.

Supported by

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