Skip to main content

Screamer

Screamingly fast rolling statistics, technical indicators, and signal filters for time series. C++ performance with a simple Python API, and identical results on batch NumPy arrays and live streams.

License Python Versions tests Docs PyPI

Python 3.11 or newer required.

pip install screamer

The wheel is self-contained; the only runtime dependency (pybind11) is bundled. For development setup and running the example notebooks see the Installation page in the docs.

Why screamer

  • Fast. Every function is implemented in C++ and routinely outruns equivalent NumPy and pandas code, often by a factor of two or more.
  • One API, batch or streaming. The same function runs on a stored NumPy array or a live, event-driven stream and produces identical results, so code tested on historical data deploys to production unchanged.
  • Causal by construction. Output depends only on current and past inputs, never future ones, which eliminates look-ahead bias.
  • Batteries included. 150+ rolling and exponentially-weighted statistics, technical indicators (MACD, RSI, Bollinger Bands, ATR, and more), OHLC volatility estimators, signal filters, plus stream operators and composable pipelines.

Quick example

Fit a line to each sliding window of 50 values, take the slope, then its sign to get the trend direction:

import numpy as np
from screamer import RollingPoly2, Sign

data = np.cumsum(np.random.normal(size=300))

slope = RollingPoly2(window_size=50, derivative_order=1)
sign = Sign()

trend = sign(slope(data))   # the same calls work on a live stream, one value at a time

Documentation

Full documentation, the function reference grouped by topic, and runnable example notebooks live at screamer.readthedocs.io.

Contributing

Contributions are welcome. See CONTRIBUTING.md for how to set up a development environment, build the extension, run the tests, and open a pull request. By participating you agree to abide by our Code of Conduct.

License

Screamer is released under the MIT License. See LICENSE.

Download files

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

Source Distribution

screamer-2.0.0.tar.gz (5.2 MB view details)

Uploaded Source

Built Distributions

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

screamer-2.0.0-cp312-abi3-win_amd64.whl (769.3 kB view details)

Uploaded CPython 3.12+Windows x86-64

screamer-2.0.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

screamer-2.0.0-cp312-abi3-macosx_11_0_arm64.whl (727.9 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

screamer-2.0.0-cp312-abi3-macosx_10_13_x86_64.whl (804.6 kB view details)

Uploaded CPython 3.12+macOS 10.13+ x86-64

File details

Details for the file screamer-2.0.0.tar.gz.

File metadata

  • Download URL: screamer-2.0.0.tar.gz
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for screamer-2.0.0.tar.gz
Algorithm Hash digest
SHA256 9a0c648229c0b0d8b477fe96f6cdb2dc2499aa120d8f0c93e28215bbfa5389b8
MD5 e6e0f2bdc86bc4e6a55b5cbd7e2fdb5d
BLAKE2b-256 ee81cfa6c45cd31564b89c0df700af809fcea74db46c06b8b36667e2059b353b

See more details on using hashes here.

Provenance

The following attestation bundles were made for screamer-2.0.0.tar.gz:

Publisher: build-wheels.yml on screamer-labs/screamer

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

File details

Details for the file screamer-2.0.0-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: screamer-2.0.0-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 769.3 kB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for screamer-2.0.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dcd9e9203174f5035aebc48bfc2fb6be20171cced60548e25ced76eee5faa49e
MD5 a9bb4d0691219daa0d3badce321ff4b9
BLAKE2b-256 6081903d91598a812a2eab4de66a8daaad6e18f20ab54a3c1a1c79c7a739ed00

See more details on using hashes here.

Provenance

The following attestation bundles were made for screamer-2.0.0-cp312-abi3-win_amd64.whl:

Publisher: build-wheels.yml on screamer-labs/screamer

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

File details

Details for the file screamer-2.0.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for screamer-2.0.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9c0de038dbbb2a66743b2adeec83ceb00dff4fc4b4e2534853b2fee4841f126c
MD5 9d36b597b9218732afcc1c133a5e8aca
BLAKE2b-256 347248840f9549870e0a64ef566f993c0c4778356419965cb2924b875bc53eb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for screamer-2.0.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on screamer-labs/screamer

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

File details

Details for the file screamer-2.0.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for screamer-2.0.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 639611b277bc8ce6a81447d1789ffe838f1160cff884f7f2275b7711411b1262
MD5 6b0b051044a1051de2eb0932aac3948e
BLAKE2b-256 3970c9cec94a9c39374f24903374e7088ff6a2ef41d5fdba8c01afd3c77cc44e

See more details on using hashes here.

Provenance

The following attestation bundles were made for screamer-2.0.0-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on screamer-labs/screamer

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

File details

Details for the file screamer-2.0.0-cp312-abi3-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for screamer-2.0.0-cp312-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 eeb9c487db8810107a27bbca8e034a3a82b1e560d9977956e9d60f5fdb31bbd4
MD5 156662d6ab79e784afce05ce15f77c1a
BLAKE2b-256 c2d6df8f9a8c90fab06641ec976d475b5ce9941ec42f481e13cdff6947d29478

See more details on using hashes here.

Provenance

The following attestation bundles were made for screamer-2.0.0-cp312-abi3-macosx_10_13_x86_64.whl:

Publisher: build-wheels.yml on screamer-labs/screamer

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page