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.0.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.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: foxmath-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 e6c947bc7ec48a1ed1ac083296dd597312af5c3fca5f7253520670b25057e2d6
MD5 cd7767df1e758d658ecb8deb4cd07e7c
BLAKE2b-256 452e791a36c3c4af21c1e7d8631daa2a2c9811932d3ee226b95dfe8172fef3ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: foxmath-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26c6d8165961d0f4c873320de67291bc19e973c9927daaae044b1cf44257d9a5
MD5 38bdb1e0f80fa24734de419be6d9cfba
BLAKE2b-256 aaf37288d064285c203f996b9e595960a140614ff931954e804bed9600af33d9

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