Terminal display for the Finnish power price.
Project description
pricedisplay
Terminal Display for the Finnish Power Price
Building
You can install the dependencies and build the package with Poetry:
poetry install
poetry build
You can test the build with:
poetry run python -m pricedisplay
Installing
Install the package from PyPI:
python -m pip install pricedisplay
Currently you need Python 3.9 or greater.
Usage
Run the display with the command:
python -m pricedisplay
The package creates a settings file config.yml in your config path.
OS | Settings Location |
---|---|
macOS | ~/Library/Application Support/pricedisplay/ |
GNU/Linux | ~/.config/pricedisplay/ |
Windows | %APPDATA%\pricedisplay\ |
You can also pass your own settings file as an argument:
python -m pricedisplay --settings PATH
Notes
The actual display of the graph depends on your terminal font and colors. For best results you should have UTF-8 encoding and a font which includes unicode East Asian ambiguous characters (in wide format). Some tested combinations are:
OS | Terminal | Font |
---|---|---|
macOS | iTerm with Bash | Hack |
GNU/Linux | Gnome with Bash | Ubuntu Mono |
Windows | Mintty with Bash | Lucida Console |
Sample outputs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pricedisplay-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 189d0d8577496291065fdeb75b49570710f01ed81fca431fac63099fe31a0336 |
|
MD5 | 739d0486ec0d543ebf12402d0926636a |
|
BLAKE2b-256 | d11c16757cb5084ceb9b0c5e344a9e5a64d4a773dce81d7c18cca746db888726 |