Shellstats reads your shell history and shows you the most used commands. Typical output looks like:
Command Count Percentage 1 ls 326 17.0% 2 cd 254 13.3% 3 less 172 8.99% 4 sudo 162 8.47% 5 emacs 159 8.31% 6 screen 146 7.63% 7 echo 103 5.38% 8 top 100 5.23% 9 du 85 4.44% 10 grep 70 3.66%
Installation
Install it with a simple:
$ pip install shellstats
In addition if you want to see a pie chart of the above output, you need to have matplotlib installed (package ‘python-matplotlib’ in Debian/Ubuntu/Fedora).
Usage
Usage: shellstats [OPTIONS] Print the most frequently used shell commands. Options: --n INTEGER How many commands to show. --plot Plot command usage in pie chart. --command TEXT Most frequent subcommands for command, e.g. sudo, git. --history-file PATH Read shell history from history-file. --shell TEXT Specify shell history format: bash, fish or zsh. --help Show this message and exit.
Metadata
Release files for shellstats 0.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 | |
|---|---|---|---|---|
| shellstats-0.1.tar.gz | 2.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shellstats-0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / shellstats-0.1.tar.gz
| Download URL | shellstats-0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77ed0911a6e11a3187bc708d3b7a664d152339bceb75fe5c95eda2dc3bee8275
|
|
BLAKE2b-256 checksum How to use checksums |
ba55b37a215f61808b126fcdb0731442d772e8469f82940186939c546d23023b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / shellstats-0.1-py2.py3-none-any.whl
| Download URL | shellstats-0.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2adfe9d708930fd54762d2a9c996b6ddb377eaada0496150282058baaab5fbf4
|
|
BLAKE2b-256 checksum How to use checksums |
22d20e92642c832d45f1390ac71c7b7668d30728b489b73b3b6b5dff5310413e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for shellstats 0.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.