Snackutils
Tiny utilities that could save you a few lines
Install
pip install snackutils
Utilities
Want a utility? Suggest it in issues!
| Function | What it does |
|---|---|
eight_ball() |
Returns a random magic 8-ball answer |
flip_coin() |
Returns "Heads" or "Tails" |
roll_dice() |
Rolls a six-sided die, returns 1 to 6 |
detect_os() |
Returns your OS name, like "Windows", "MacOS", or "Linux" |
average(a, b) / mean(a, b) |
Average of two numbers |
average_list(numbers) / mean_list(numbers) |
Average of a list of numbers |
Requests
Bug? Issue? Feature request? Submit it in issues!
License
MIT
Metadata
Release files for snackutils 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| snackutils-0.1.0.tar.gz | 2.9 kB | Without provenance | Details for snackutils-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| snackutils-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for snackutils-0.1.0-py3-none-any.whl |
Total release size: 6.3 kB
Release files / snackutils-0.1.0.tar.gz
| Download URL | snackutils-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ded257079393cfcf1457586dd9c13386718357cf52a1c4e2573d9fe493b65c6b
|
|
BLAKE2b-256 checksum How to use checksums |
2e4cb88a6c6d5b8c0bb420e00724423647d6e7859716bb1e39a224a73788b39c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / snackutils-0.1.0-py3-none-any.whl
| Download URL | snackutils-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3a659706a20bd86dccb3696f7e6982b5c5249729304e138352247d358abd794
|
|
BLAKE2b-256 checksum How to use checksums |
419c02187316c1e04adfdceb0394d836af8a2aa925af9b2cf9c580513d12e146
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for snackutils 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.