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.1.tar.gz (6.8 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.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: foxmath-0.1.1.tar.gz
  • Upload date:
  • Size: 6.8 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.1.tar.gz
Algorithm Hash digest
SHA256 73077c764fe709020f72b2b4823f7ae70025a28cc52fe32f3b8c99a463ae9e1a
MD5 a92fac3ff3793ce230879f05b730121e
BLAKE2b-256 95982dd694eb15126ad4b09983267c8dc75af5324a8c6043b15a42c86b064a5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: foxmath-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9c8c4d4badd49490049ded6f1b8a711386cbb97eea01f014de26d24f3f15bee
MD5 6938aea3f242e2c28873295f949205c3
BLAKE2b-256 c70939f695cf0b3548b455aead31afbfa7d51f61296ac6425bc3d5b24b713ecf

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