Ever wanted to have animating fishes for progress bars in your command-line script?
Ever thought about doing it but then realizing you have better things to do with your time than to write meaningless ASCII animation programs?
Now you can have the best of both worlds: introducing fish, the module that makes any program look awesome and display useful data while churning away on some good ‘ole data.
Usage? Simple enough:
>>> import fish >>> while churning: ... churn_churn() ... fish.animate()
As a boy, I often dreamed of birds going back and forth as progress bars, so I decided to implement just that:
>>> import fish >>> bird = fish.Bird() >>> while churning: ... churn_churn() ... bird.animate()
Want to show the current record number?:
>>> from fish import ProgressFish >>> fish = ProgressFish() >>> for i, x in enumerate(churning): ... churn_churn() ... fish.animate(amount=i)
Want to show numeric progress when you know the total number?:
>>> from fish import ProgressFish >>> fish = ProgressFish(total=len(data)) >>> for i, datum in enumerate(data): ... churn_churn() ... fish.animate(amount=i)
The default fish is a simple bass at a pretty good velocity for an ASCII fish.
Possibilities are endless here, gentlemen:
The only limit is yourself.
—zombo.com
Metadata
Release files for fish 1.1
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 |
|---|---|---|---|---|
| fish-1.1.tar.gz | 4.4 kB | Without provenance | Details for fish-1.1.tar.gz |
Release files / fish-1.1.tar.gz
| Download URL | fish-1.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
702eb5228050433c096f0bd29fa08c2be9ffd8d58184779359ccca819dde095f
|
|
BLAKE2b-256 checksum How to use checksums |
61b51ce3a6c258edb6c663acc85fd85a5778bee2578a752272eca43d7cced897
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for fish 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.
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.