Skip to main content

Snackutils

Tiny utilities that could save you a few lines Github PyPi

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.1

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

Source distribution (sdist)

Source distribution for snackutils 0.1.1
File Size Uploaded Provenance Actions
snackutils-0.1.1.tar.gz 2.9 kB With provenance Details for snackutils-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 6.3 kB

Release files / snackutils-0.1.1.tar.gz

Download URL snackutils-0.1.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e4b2586163da5b0c2e5980b22666ada6dc922b3a193762a86c85471a00d32ee7
BLAKE2b-256 checksum
How to use checksums
2dfe79f265a16c604645ed675032f86f5ce71797ac42d44e7ed5be9129dac280
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / snackutils-0.1.1-py3-none-any.whl

Download URL snackutils-0.1.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc585cc726ee1055f144410ad468e1efbafa3df7ffa5ed983d9c38b9a2451215
BLAKE2b-256 checksum
How to use checksums
a22bd17452d63c112fe4e52490446e500acc8fcb0be0c880a71af1e96fca6c35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Security for snackutils 0.1.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for snackutils-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

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.

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