Skip to main content

Fast numerical computation library for Python

This project has been quarantined.

PyPI Admins need to review this project before it can be restored. While in quarantine, the project is not installable by clients, and cannot be being modified by its maintainers.

Read more in the project in quarantine help article.

Project description

turbocalcng

Fast numerical computation library for Python.

Features

  • Arithmetic — optimized basic operations with caching
  • Statistics — mean, median, variance, standard deviation, percentiles
  • Linear algebra — vector/matrix operations (dot product, matrix multiply, determinant, inverse)
  • Calculus — numerical differentiation and integration
  • Parallel — automatic parallelization for large datasets via concurrent.futures

All operations work on plain Python lists — no external dependencies required.

Installation

pip install turbocalcng

Quick start

from turbocalcng import stats, linalg, calculus

# Statistics
data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
print(stats.mean(data))        # 5.5
print(stats.stdev(data))       # ~3.03
print(stats.percentile(data, 75))  # 7.75

# Linear algebra
a = [[1, 2], [3, 4]]
b = [[5, 6], [7, 8]]
print(linalg.matmul(a, b))     # [[19, 22], [43, 50]]
print(linalg.det(a))           # -2.0
print(linalg.inverse(a))       # [[-2.0, 1.0], [1.5, -0.5]]

# Calculus
import math
print(calculus.derivative(math.sin, 0))           # ~1.0
print(calculus.integrate(lambda x: x**2, 0, 1))   # ~0.333

Publishing to PyPI

pip install build twine
python -m build
twine upload dist/*

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

turbocalcng-0.2.0.tar.gz (678.0 kB view details)

Uploaded Source

Built Distribution

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

turbocalcng-0.2.0-py3-none-any.whl (684.7 kB view details)

Uploaded Python 3

File details

Details for the file turbocalcng-0.2.0.tar.gz.

File metadata

  • Download URL: turbocalcng-0.2.0.tar.gz
  • Upload date:
  • Size: 678.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for turbocalcng-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2161fc42d69f9511bac1cbe8a83a7076342fab112cd80ab87f2930a466f82323
MD5 fa624474632c09f674242d295ac2a5b0
BLAKE2b-256 b793526665184d74720222d448b9a7d45929361b5e3d44dfa93597f600da9fdc

See more details on using hashes here.

File details

Details for the file turbocalcng-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: turbocalcng-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 684.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for turbocalcng-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cda544f6aad2663ab9d7996eb80db139dc98d8c1a66a6d14efa278ede8ee6bc3
MD5 12780a8a00fd0a3dd1b7d5256c7f76ac
BLAKE2b-256 4c2e78d46cd1b2524bf83d6297fdfeb9aa77e57310823c3245c1a38c0d1f7b85

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