python_fortune
A very simple implementation of fortune in Python with pseudo-random cookie generation. (Uses the default random.SystemGenerator to collect entropy from hardware interrupts.)
To install, copy/rename the fortune.py script to /usr/local/bin/fortune, and add the following to your $HOME/.profile file:
[ -x “/usr/local/bin/fortune” ] && /usr/local/bin/fortune 2>&1
To customize the fortune files data directory, set the FORTUNE_DATADIR environment variable like so:
export FORTUNE_DATADIR=/usr/local/share/mydatadir
By default, the script will try to use $HOME/etc/fortune.d as the data directory for data files.
Etienne Robillard <tkadm30[at]yandex.com>
Metadata
Release files for python_fortune 0.2
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 |
|---|---|---|---|---|
| python_fortune-0.2.tar.gz | 25.3 kB | Without provenance | Details for python_fortune-0.2.tar.gz |
Release files / python_fortune-0.2.tar.gz
| Download URL | python_fortune-0.2.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
646d0c6aee27dcb00c7337b5ca90c4d254c10d0e50176e860fa1940c11aa1c1b
|
|
BLAKE2b-256 checksum How to use checksums |
9734ee3704ead4e63db36ee5434c2d574bb3cb1be6a73feb6516ffdf6782d3a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python_fortune 0.2
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.