Skip to content

Commit 98c7416

Browse files
committed
Release 1.0.7
1 parent 71319f7 commit 98c7416

2 files changed

Lines changed: 71 additions & 60 deletions

File tree

README.md

Lines changed: 70 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,85 @@
66

77
## pytelemetry command line interface
88

9-
This tool is a command-line interface (CLI). It enables superior communication with any embedded device. It was designed for:
9+
This command-line interface (CLI) enables data visualization and communication with embedded platforms.
10+
11+
* **Fast prototyping and debugging**. Set everything up in a few minutes and start debugging any embedded device efficiently. Forget about `printf`. Forever.
12+
* **Communication-based applications**. Stop re-writing custom protocols for each new project.
13+
* **Real-time update of embedded application parameters**. Tune your application without loosing time compiling & flashing.
14+
* **Data-plotting**. Plot data from the device in no time, with a single command. Time-varying values, arrays and sparse arrays.
15+
* **Reusability**. Highly flexible protocol, loosely coupled to your application. Suited for a wide number of application scenarios.
16+
17+
`Arduino` and `ARM mbed` are currently officially supported.
18+
19+
## interface and plot
20+
Aan example of listing serial ports `ls -s`, connecting to a device through COM20 `serial com20 --bauds 115200`, listing all received topics `ls` and opening a plot on topic touch `plot touch`
21+
22+
![Console example](https://raw.githubusercontent.com/Overdrivr/pytelemetrycli/master/console.png)
23+
24+
![Plot example](https://raw.githubusercontent.com/Overdrivr/pytelemetrycli/master/graph.png)
1025

11-
* **fast prototyping and debugging**. Set everything up in a few minutes and start debugging any embedded device efficiently. Forget about `printf`. Forever.
12-
* **communication-based applications**. Stop re-writing custom protocols for each new project.
13-
* **real-time update of embedded application parameters**. Tune your application without loosing time compiling & flashing just for parameter tuning.
14-
* **plot** data from the device in real-time. Standard linear data is supported, but also arrays, sparse arrays. In the future, also Matrices, XYZ, and RGB-type codes.
15-
* **Reusability**. The protocol is highly flexible, loosely coupled to your application. It can be used in a wide number of application scenarios.
1626

1727
## overview
18-
This CLI provides a set of commands to connect to a device, read, plot, write data on it, log any received and sent data.
1928

20-
*In the future*: export to Excel and CSV and replay command in the CLI for offline inspection.
29+
The CLI provides a set of commands to connect to a device, read, plot, write data on it, log any received and sent data.
2130

2231
The communication protocol that carry all exchanged information is implemented in Python and C:
2332
* [`pytelemetry`](https://github.com/Overdrivr/pytelemetry)[![PyPI version](https://badge.fury.io/py/pytelemetry.svg)](https://badge.fury.io/py/pytelemetry) for scripting the communication from your PC
2433
* [`telemetry`](https://github.com/Overdrivr/pytelemetry): for enabling communication in the embedded device.
2534

2635
Officially supported embedded platforms are for now `Arduino` and `Mbed`.
2736

28-
See the [central documentation](https://github.com/Overdrivr/Telemetry/wiki) for installation instructions, tutorials, description of the protocol, etc.
37+
This CLI runs on Windows, Mac OS and Linux.
2938

30-
## interface and plot widget
31-
Aan example of listing serial ports `ls -s`, connecting to a device through COM20 `serial com20 --bauds 115200`, listing all received topics `ls` and opening a plot on topic touch `plot touch`
39+
See the [central documentation](https://github.com/Overdrivr/Telemetry/wiki) for installation tutorials and description of the protocol.
3240

33-
![Console example](https://raw.githubusercontent.com/Overdrivr/pytelemetrycli/master/console.png)
3441

35-
![Plot example](https://raw.githubusercontent.com/Overdrivr/pytelemetrycli/master/graph.png)
42+
## installation
43+
`pytelemetrycli` requires python 3.3+, PyQt4 and numpy.
44+
45+
### Windows
46+
It is recommended to download [`numpy`](http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy) and [`PyQt4`](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4) wheels python packages (courtesy of Christoph Gohlke).
47+
48+
In case you were wondering, **no** you **don't** have to install Qt. The binary wheel is enough.
49+
50+
Install with `pip` the downloaded files
51+
52+
```bash
53+
pip install numpy-x.xx.x+vanilla-cp3x-none-winxxx.whl
54+
pip install PyQt4-x.xx.x-cp3x-none-winxxx.whl
55+
```
56+
57+
Then, simply install `pytelemetrycli` with pip as usual
58+
59+
```bash
60+
pip install pytelemetrycli
61+
```
62+
63+
### Mac OS
64+
The easiest way to install numpy and PyQt4 seem to be using `homebrew`.
65+
lease note that you should also have installed python 3.5 with homebrew for this to work correctly.
66+
Also, avoid to have another python 3.5 distribution on your system otherwise you will face import issues as well.
67+
68+
```bash
69+
brew install python3
70+
brew install pyqt --with-python3
71+
pip3 install pytelemetrycli
72+
```
73+
74+
### Linux
75+
76+
The setup used for testing relies on miniconda.
77+
```
78+
conda install numpy
79+
conda install pyqt
80+
conda install pip
81+
pip install pytelemetrycli
82+
```
83+
However, if you have PyQt4 and numpy already installed in your directory, simply run
84+
```
85+
pip install pytelemetrycli
86+
```
87+
3688

3789
## List of commands
3890
The command line interface can be started like this
@@ -101,8 +153,8 @@ of the maximum baudrate is being used, etc.
101153

102154
Usage: stats
103155
```
104-
105156
### disconnect
157+
106158
```bash
107159
Disconnects from any open connection.
108160

@@ -115,49 +167,8 @@ Exits the terminal application.
115167

116168
Usage: quit
117169
```
170+
# Future milestones
118171
119-
## installation
120-
`pytelemetrycli` requires python 3.3+, PyQt4 and numpy.
121-
122-
### Windows
123-
It is recommended to download [`numpy`](http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy) and [`PyQt4`](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4) wheels python packages (courtesy of Christoph Gohlke).
124-
125-
In case you were wondering, **no** you **don't** have to install Qt. The binary wheel is enough.
126-
127-
Then install with pip the downloaded files
128-
129-
```bash
130-
pip install numpy-x.xx.x+vanilla-cp3x-none-winxxx.whl
131-
pip install PyQt4-x.xx.x-cp3x-none-winxxx.whl
132-
```
133-
134-
Then, simply install `pytelemetrycli` with pip as usual
135-
136-
```bash
137-
pip install pytelemetrycli
138-
```
139-
140-
### Mac OS
141-
The easiest way to install numpy and PyQt4 seem to be using `homebrew`.
142-
lease note that you should also have installed python 3.5 with homebrew for this to work correctly.
143-
Also, avoid to have another python 3.5 distribution on your system otherwise you will face import issues as well.
144-
145-
```bash
146-
brew install python3
147-
brew install pyqt --with-python3
148-
pip3 install pytelemetrycli
149-
```
150-
151-
### Linux
152-
153-
The setup used for testing relies on miniconda.
154-
```
155-
conda install numpy
156-
conda install pyqt
157-
conda install pip
158-
pip install pytelemetrycli
159-
```
160-
However, if you have PyQt4 and numpy already installed in your directory, simply run
161-
```
162-
pip install pytelemetrycli
163-
```
172+
* improve and truly centralize documentation
173+
* export to Excel and CSV and replay command in the CLI for offline inspection.
174+
* support of Matrices, XYZ, and RGB-type codes.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
setup(
1111
name='pytelemetrycli',
1212

13-
version='1.0.6',
13+
version='1.0.7',
1414

1515
description='command-line interface for data visualization and communication with embedded devices',
1616
long_description=long_description,

0 commit comments

Comments
 (0)