-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f02c2b
commit 040df96
Showing
7 changed files
with
100 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ __pycache__ | |
bin | ||
lib | ||
share | ||
etc | ||
*.so |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,32 @@ | ||
# colourtime | ||
```sh | ||
pip install colourtime | ||
``` | ||
|
||
Colourtime converts an Event Stream file (.es) into a PNG image, where time is represented with colour gradients. | ||
|
||
The pip package installs a Python library (`import colourtime`) and command-line executable (`colourtime`). | ||
|
||
The following command converts an Event Stream file. | ||
|
||
```sh | ||
colourtime /path/to/input.es | ||
``` | ||
|
||
A Python script to represent event data time with colours | ||
Run `colourtime --help` to list available options. | ||
|
||
Check **python/**init**.py** for details on the Python API. | ||
|
||
## Build from source | ||
|
||
```sh | ||
python3 -m venv . | ||
source ./bin/activate | ||
pip3 install -U pip event_stream matplotlib maturin numpy pillow | ||
maturin develop | ||
maturin develop -r | ||
``` | ||
|
||
## Format | ||
|
||
``` | ||
isort .; black .; pyright . | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters