Skip to main content

aleatory

PyPI version fury.io Downloads example workflow Documentation Status

Overview

The aleatory (/ˈeɪliətəri/) Python library provides functionality for simulating and visualising stochastic processes. More precisely, it introduces objects representing a number of stochastic processes and provides methods to:

  • generate realizations/trajectories from each process —over discrete time sets
  • create visualisations to illustrate the processes properties and behaviour

Currently, aleatory supports the following stochastic processes in one dimension:

From v1.1.1 aleatory supports the following 2-d stochastic processes:

Installation

Aleatory is available on pypi and can be installed as follows

pip install aleatory

Dependencies

Aleatory relies heavily on

  • numpy for random number generation
  • scipy and statsmodels for support for a number of one-dimensional distributions.
  • matplotlib for creating visualisations

Compatibility

Aleatory is tested on Python versions 3.8, 3.9, 3.10, and 3.11

Quick-Start

Aleatory allows you to create fancy visualisations from different stochastic processes in an easy and concise way.

For example, the following code

from aleatory.processes import BrownianMotion

brownian = BrownianMotion()
brownian.draw(n=100, N=100, colormap="cool", figsize=(12,9))

generates a chart like this:

For more examples visit the Quick-Start Guide.

If you like this project, please give it a star! ⭐️

Thanks for Visiting! ✨

Connect with me via:

Metadata

Release files for aleatory 1.2.4

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

Source distribution (sdist)

Source distribution for aleatory 1.2.4
File Size Uploaded
aleatory-1.2.4.tar.gz 75.7 kB Details

Built distribution (wheel)

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

Total release size: 181.6 kB

Release files / aleatory-1.2.4.tar.gz

Download URL aleatory-1.2.4.tar.gz
Size 75.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1363c8b6cdbe9ab188701ac8c1664017ea82a8b7df29716051c6d57abb7b0b72
BLAKE2b-256 checksum
How to use checksums
a4324b709bf9302361a42bf92b1606e992f995e6e9b5b60d9b3680bbfb810c05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / aleatory-1.2.4-py3-none-any.whl

Download URL aleatory-1.2.4-py3-none-any.whl
Size 105.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25918c27b731315f1da0c32b18d026437c4786e639131584dd16fbc3b8c357e5
BLAKE2b-256 checksum
How to use checksums
0a3968249a7903c25df6085bdeceeca3821a4909782815654e20d5b84adaf354
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.2.4 This release

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.1.1

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release 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