mirror of
https://github.com/rpfilomeno/crystalwire.git
synced 2025-06-01 00:50:03 +00:00
add graphs
This commit is contained in:
parent
e8802b676c
commit
e5180b9d7b
1
.python-version
Normal file
1
.python-version
Normal file
@ -0,0 +1 @@
|
||||
3.11
|
23
README.md
23
README.md
@ -1 +1,22 @@
|
||||
# crystalwire
|
||||

|
||||
|
||||
## Crystalwire
|
||||
|
||||
Monitor bandwidth usage, per process!
|
||||
|
||||
'crystalwire' is a simple command-line tool that provides real-time monitoring of network bandwidth usage for each running process. It uses the `psutil` library to gather system information and displays the results in a user-friendly format.
|
||||
### Installation
|
||||
To install 'crystalwire', you can use pip:
|
||||
``cmd
|
||||
pip install -r requirements.txt
|
||||
``
|
||||
### Usage
|
||||
Once installed, you can run 'crystalwire' from the command line:
|
||||
``cmd
|
||||
python -m crystalwire.main
|
||||
``
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -159,7 +159,8 @@ def print_pid2traffic():
|
||||
for i in range(40):
|
||||
print("\r\033[3A\033[3A")
|
||||
|
||||
print("CrystalWire 1.0 http://github.com/rpfilomeno/crystalwire", end="\n")
|
||||
print("💎 \033[1mCrystalWire\033[0m ✨ 1.0 \033[3mhttp://github.com/rpfilomeno/crystalwire\033[0m\n")
|
||||
|
||||
plot(df.head(3))
|
||||
stat(printing_df)
|
||||
# update the global df to our dataframe
|
||||
|
6
hello.py
Normal file
6
hello.py
Normal file
@ -0,0 +1,6 @@
|
||||
def main():
|
||||
print("Hello from crystalwire!")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
7
pyproject.toml
Normal file
7
pyproject.toml
Normal file
@ -0,0 +1,7 @@
|
||||
[project]
|
||||
name = "crystalwire"
|
||||
version = "0.1.0"
|
||||
description = "Monitor bandwidth usage, per process!
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = []
|
10
requirements.txt
Normal file
10
requirements.txt
Normal file
@ -0,0 +1,10 @@
|
||||
numpy==2.2.1
|
||||
pandas==2.2.3
|
||||
plotille==5.0.0
|
||||
psutil==6.1.1
|
||||
python-dateutil==2.9.0.post0
|
||||
pytz==2024.2
|
||||
scapy==2.6.1
|
||||
setuptools==75.8.0
|
||||
six==1.17.0
|
||||
tzdata==2024.2
|
Loading…
x
Reference in New Issue
Block a user