A package for probabilistic function execution.
Project description
Probabilistic.py
Probabilistic is a Python library designed to facilitate the probabilistic execution of functions and the analysis of their outcome distributions. Whether you're simulating uncertain events, performing randomized experiments, or adding an element of chance to your applications, Probabilistic provides a straightforward and flexible toolkit to meet your needs.
Table of Contents
Features
-
Probabilistic Function Function
-
Mutual Exclusivity Function
-
Distribution Analysis Function
-
Customizable Random Engines
-
Conditional Probability-Based Function
-
Probability Chains
-
Asynchronous Execution Support
-
Integration with Popular Libraries like NumPy and Pandas for enhanced data handling and analysis.
Installation
You can install the Probabilistic library using pip. Ensure that you have Python 3.6 or higher installed on your system.
pip install probabilistic.py
Quick Start
Here's a quick example to get you started with Probabilistic.
import probabilistic
def hello():
print("Hello!")
# Create a probabilistic function with a 50% execution probability
maybe_hello = probabilistic.function(func=hello, p=0.5)
# Execute the probabilistic function
maybe_hello()
Documentation
For documentation, please see the API Reference and Examples.
Support This Project
If you find this project helpful, please consider giving it a star on GitHub! 🌟
If you'd like to improve this project, feel free to submit a pull request or open an issue. Let's build something great together! 🚀
Happy Probabilistic Coding!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file probabilistic_py-0.2.0.tar.gz.
File metadata
- Download URL: probabilistic_py-0.2.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5b30615d1ead9b790a81bc0ac1cd0ff36e41a74dbb6c7c7b08f637c9a0ad627
|
|
| MD5 |
a431b752acd44d6327df0b54ed987954
|
|
| BLAKE2b-256 |
9d4cba934c2b2aa7323ec6d37c11aef872182abc7c733b430a72d8cc48a23a81
|
File details
Details for the file probabilistic.py-0.2.0-py3-none-any.whl.
File metadata
- Download URL: probabilistic.py-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a47703de1997c7b067d164cbe72f80b46ee70d78c0ece24680fe53f307a08739
|
|
| MD5 |
b805dba83d81b7e2c64e96da0e31617e
|
|
| BLAKE2b-256 |
6bfefcb83db92dc2b15a1efa7046a5cb1368c8d8c966142b5034bc16809cadf1
|