Cownet
I wanted to view my up to date network usage in a easy to read and friendly way. So I built a tool that pulls the data in from netstat, and displays a cleaned up output in Cowsay.
Setup
This is a Python tool that is presently only built for OSX. To render the output as seen above we use figlet and cowsay.
$ pip install cownet
Usage
$ cownet
_
___ _____ ___ __ ___| |_
/ __/ _ \ \ /\ / / '_ \ / _ \ __|
| (_| (_) \ V V /| | | | __/ |_
\___\___/ \_/\_/ |_| |_|\___|\__|
___________________________________
< Received 173.9 MB / Sent 337.7 MB >
-----------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Low calorie “light” mode
$ cownet -l Received 2.4 GB / Sent 2.4 GB
Help
$ cownet -h
usage: Cownet [-h] [-l] [-i INTERFACE] [-d DELAY] [-v]
optional arguments:
-h, --help show this help message and exit
-l, --light The low calorie version
-i INTERFACE, --interface INTERFACE
Change the network interface (defaults to en1)
-d DELAY, --delay DELAY
Change the frequency we check your usage data
(defaults to 30 seconds)
-v, --version show program's version number and exit
License
This tool is protected by the GNU General Public License v2.
Copyright Jeffrey Hann 2013
Metadata
Release files for Cownet 0.3.0
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 |
|---|---|---|---|---|
| Cownet-0.3.0.tar.gz | 2.1 kB | Without provenance | Details for Cownet-0.3.0.tar.gz |
Release files / Cownet-0.3.0.tar.gz
| Download URL | Cownet-0.3.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e53869f5028e8066b0b2d2829e1d6ae0553229e5f52792934c3d7794bb33c2c
|
|
BLAKE2b-256 checksum How to use checksums |
c8919e767bd991854ee6bc54f7bebbb8dfa0c3bf25b638693ee6ba21eeb14beb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Cownet 0.3.0
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.