A simple package for the outcome data type
Project description
Outcome Package
This is a simple package for the outcome data type which includes the outcomes name, its value, and its probability which can be found in probability-tb.
Importing
You can import the outcome package by:
from outcome_tb import outcome
Using Outcome
You can use the outcome type using:
from probability import probability
o = Outcome("outcome1", float(5), probability.Probability(.5))
print(o.outcome_name, o.outcome_value, o.outcome_probability.value)
which will have the values o.outcome_name => "outcome1", o.outcome_value => 5.0, outcome.outcome_probabilty.value => .5.
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 outcome_tb-0.0.1.tar.gz.
File metadata
- Download URL: outcome_tb-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c8c9744054230874e758853834a41fbc9013afea0d23b909b83765cf19748ef
|
|
| MD5 |
64eaaee1ad7ce30fe660be59d588124c
|
|
| BLAKE2b-256 |
4741f41762c5eb92121eb17d2fe40558d60641b55ed956d96414d60441bd2cef
|
File details
Details for the file outcome_tb-0.0.1-py3-none-any.whl.
File metadata
- Download URL: outcome_tb-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bfff856298c5a2fd2e304ed84db8aac04252d61733c4c1eb24e8707c534b527
|
|
| MD5 |
79ade3fb14422d65f151ca0b9152d8cd
|
|
| BLAKE2b-256 |
342b356a545a7df9b2a17e86864c89fad8bd6416571f29bd43570e5c545ece61
|