Skip to main content

Numericals

PyPI version PyPI Downloads License: LGPL-3.0-or-later Ruff


Numerical methods in pure Python.

Documentation is available, but it might be easier to just read the code.

Installation

pip install numericals

Algorithms

  • Integration

    • Trapezoidal Rule
    • Midpoint Rule
    • Simpson's Rule
    • Monte Carlo
    • Gaussian Quadrature
  • ODE

    • Euler's Method
    • Heun's Method
    • Runge-Kutta 4
  • Optimization

    • Golden Section Search
  • Root-finding

    • Bisection Method
    • Secant Method
    • Newton's Method
    • Regula Falsi
    • Illinois Algorithm

Tests

python -m pytest tests

Copyright (C) 2026 Andrew Yoo

Numericals is free software. You may redistribute or modify it under the terms of the GNU Lesser General Public License: feel free to choose either version 3.0 or a later one.

You should have received a copy of the GNU LGPL along with this program, located in the LICENSE file. If not, see http://www.gnu.org/licenses/lgpl.

Metadata

Release files for numericals 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for numericals 0.4.1
File Size Uploaded Provenance Actions
numericals-0.4.1.tar.gz 20.0 kB Without provenance Details for numericals-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for numericals 0.4.1
File Interpreter ABI Platform Actions
numericals-0.4.1-py3-none-any.whl Python 3 none any Details for numericals-0.4.1-py3-none-any.whl

Total release size: 40.2 kB

Release files / numericals-0.4.1.tar.gz

Download URL numericals-0.4.1.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fe179bd71acb66e8f570fb7b4994c02e39165263cc1170d8f84de8742064d173
BLAKE2b-256 checksum
How to use checksums
d23e510593256b38aa12695043bfd488d8b9c9d592a9e56513d6558c535b88a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / numericals-0.4.1-py3-none-any.whl

Download URL numericals-0.4.1-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3ab2a13eef2dfc76d30d1822f93306e1e85c59e7c8dd64a590b9ba2d90d58c3
BLAKE2b-256 checksum
How to use checksums
de5e028a6078e8ab6fc3b9c1e727ec6e9612215cb87d1ee22cfc92855c62d15d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Security for numericals 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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