Skip to main content

Lispium

A Symbolic Computer Algebra System written in Zig.

Installation

pip install lispium

Or with uv:

uv pip install lispium

Usage

After installation, the lispium command is available:

# Start the REPL
lispium repl

# Run a file
lispium run script.lspm

# Show version
lispium --version

# Show help
lispium --help

Features

  • Symbolic Computation: Work with symbolic expressions and variables
  • Calculus: Differentiation, integration, Taylor series, limits
  • Linear Algebra: Matrices, determinants, eigenvalues, linear systems
  • Algebra: Polynomial operations, equation solving, factoring
  • Number Theory: Prime testing, factorization, modular arithmetic
  • And much more: Complex numbers, vectors, statistics, plotting

Example

; Differentiate x^3
(diff (^ x 3) x)  ; => (* 3 (^ x 2))

; Solve quadratic equation
(solve (- (^ x 2) 4) x)  ; => {2, -2}

; Matrix determinant
(det (matrix (1 2) (3 4)))  ; => -2

Documentation

See the GitHub repository for full documentation.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lispium-0.15.0.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

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

lispium-0.15.0-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

Details for the file lispium-0.15.0.tar.gz.

File metadata

  • Download URL: lispium-0.15.0.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lispium-0.15.0.tar.gz
Algorithm Hash digest
SHA256 b15ff029b991eec1293fcaf2b30a741b660016cf259405c0ca21e1ab0ee4db48
MD5 94f465b59b8cb750296b6ee9953f6364
BLAKE2b-256 cf6114d46c5a424b2676e9f265547800492eb4c8f1c34d3365af42b7e612648e

See more details on using hashes here.

Provenance

The following attestation bundles were made for lispium-0.15.0.tar.gz:

Publisher: pypi.yml on Tetraslam/lispium

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lispium-0.15.0-py3-none-any.whl.

File metadata

  • Download URL: lispium-0.15.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for lispium-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26792add45129ced7d8884a6d792e72f9cbc71e21240f7f640ac8eec3a0d5f06
MD5 52233f9d592bcd794866e930b6f15424
BLAKE2b-256 8cd9060589442c25a36be324b30d00b6fbc5276d49b01bbc037fc1de3f474cdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for lispium-0.15.0-py3-none-any.whl:

Publisher: pypi.yml on Tetraslam/lispium

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.16.0

2 files

This release

0.15.0 This release

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page