barz
Installation
uv tool install barz
pipx install barz
Usage
$ barz --help
usage: barz [-h] [-s] [-r] [filename]
positional arguments:
filename
options:
-h, --help show this help message and exit
-s, --sort
-r, --reverse
$ python3 -c "print(*['asdf']*100, *['qwer']*15, *['zxcv']*34, sep='\n')" | uniq -c | barz
asdf 100 ██████████████████████████████
qwer 15 ████▌
zxcv 34 ██████████▎
$ python3 -c "print(*['asdf']*100, *['qwer']*15, *['zxcv']*34, sep='\n')" | uniq -c | barz -r
zxcv 34 ██████████▎
qwer 15 ████▌
asdf 100 ██████████████████████████████
$ python3 -c "print(*['asdf']*100, *['qwer']*15, *['zxcv']*34, sep='\n')" | uniq -c | barz -s
qwer 15 ████▌
zxcv 34 ██████████▎
asdf 100 ██████████████████████████████
$ python3 -c "print(*['asdf']*100, *['qwer']*15, *['zxcv']*34, sep='\n')" | uniq -c | barz -sr
asdf 100 ██████████████████████████████
zxcv 34 ██████████▎
qwer 15 ████▌
Release files for barz 0.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 | |
|---|---|---|---|
| barz-0.1.1.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| barz-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / barz-0.1.1.tar.gz
| Download URL | barz-0.1.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60b8aa4fd1d880f61991ebfb7d116547f06ef8e3f5f723afbcf510cf41350a4f
|
|
BLAKE2b-256 checksum How to use checksums |
dfcbe8d6e43d656586b9b9cb0c8d0319e33615311653ac9b75447a41628dc6c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / barz-0.1.1-py3-none-any.whl
| Download URL | barz-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d827511b19c0e19b54b9140ad6012de567a77ac93d0c3b4266a07dd6bf249b38
|
|
BLAKE2b-256 checksum How to use checksums |
cd52a3dddc4acc8cf11a88aa63ba22363870ae5df6dbaceb8db9addf46ca6604
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|