Commit 6bd09efc authored by Michael König's avatar Michael König

moved TCPplot into it's own repo

parents
build/
dist/
__pycache__/
.bkp
.old
*.egg-info
The source code of this software has been developed by:
Karlsruhe Institute of Technology
Institute of Telematics
Zirkel 2, 76131 Karlsruhe
Germany
with contributions from some individuals, listed below.
The software is licensed under the "BSD 2-Clause License":
--------------------------------------------------------------------------------
Copyright (c) 2016,
Karlsruhe Institute of Technology, Institute of Telematics
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
TCPplot is based on Python3.
Tested on GNU/Linux 4.{1-6}
Requirements TCPplot:
================================================================================
* python3
* python-matplotlib
* matplotlib-interactive backend
recommended:
* Qt4Agg or
* Qt5Agg
Running TCPplot:
================================================================================
* ./tcpplot.py OR
* python3 -m TCPplot OR
* tcpplot (after installation)
Installation of TCPplot:
================================================================================
* via pip3:
* sudo pip3 install . # system-wide installation
* pip3 install --user . # local installation
* via setup.py:
* python3 setup.py install # system-wide installation
* python3 setup.py install --user # local installation
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .tcpplot import main
main()
This diff is collapsed.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup
with open("VERSION.txt", "rb") as f:
version = f.read().decode("utf-8")
setup(
name = "tcpplot",
packages = ["TCPplot"],
entry_points = {
"console_scripts": [
'tcpplot = TCPplot.tcpplot:main'
],
"gui_scripts": [
'tcpplot = TCPplot.tcpplot:main'
]
},
version = version,
description = "Tool to visualize TCP flows logged by TCPlog.",
author = "Michael Koenig",
author_email = "michael.koenig2@student.kit.edu",
url = "https://git.scc.kit.edu/CPUnetLOG/TCPplot/",
license = "BSD2",
install_requires = ['tcpinfo>=0.1']
)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Convenience wrapper for running TCPplot directly from source tree."""
from TCPplot.tcpplot import main
if __name__ == '__main__':
main()
ALL
================================================================================
* update meta-data and dist-tools
TCPplot
================================================================================
## TODO(michael):
# * rtt on 2nd axis
# * better scaling (maybe auto-scaling Y?)
# * force fullscreen at startup?
# * refresh legend/labels period. (@blitting)
# * detect flows (maybe server sends info?)
# * set x{Min,Max} to relative currentTimestamp (fix e^x)
# * look into preloading-samples and calc. resolution and buffered time
# * try to re-connect upon connection loss
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment