Skip to content

second-pair/pingGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ping Graph

This is a simple python script to ping a destination and graph the returned timing results in real-time. This is still under development and is missing some stuff. There's a settings.json file that stores the runtime configuration.

Dependencies

  • Python 3
  • matplotlib (available through pip)

On Arch:

pacman -S --needed python pacman -S --needed --asdeps python-matplotlib tk

Running

This script will happily run through the Python 3 interpreter, given all the dependencies are met. The best way to install these is with your package manager, though the easiest way to install these is using pip. For example, running either pacman -S python-matplotlib or pip install --user matplotlib will install the matplotlib module.

Making/Distributing

I've set up a build system for native distribution.
Note: I haven't tried this with anything other than windows.

Dependencies

  • pyinstaller (available through pip)
  • make (optional)

Method

If you've got make installed, just run make. make clean will clean the build. Otherwise:
Simply running pyinstaller pingGraph.py will do the business for your machine, though adding --onefile is necessary to end up with a single, distributable binary. Additionally, you'll need to copy settings.json to the same directory as the binary. The commands I've used in the makefile (and that plays nicely with the .gitignore is:
pyinstaller --onefile --specpath build --distpath bin pingGraph.py

About

Python script to ping a destination and graph the timing results.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published