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.
NOTE: On macOS you may get a warning from urllib3. The default installation of Python includes OpenSSL version compiled with LibreSSL, which is no longer supported. You can fix this by installing Python with Homebrew. For details see this issue.
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
File details
Details for the file pricedisplay-0.7.0.tar.gz
.
File metadata
- Download URL: pricedisplay-0.7.0.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.9 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0f7d013886cd63186866fd7d38d847dae0e1b43304c26123a9c0d23e18d3a3d |
|
MD5 | 769a6243d37a506de76788a0a4ea4e55 |
|
BLAKE2b-256 | a4ef65539b25e847906c7fcd429e8984b36d8a8d0a4cd5c127428e3727619cd2 |
File details
Details for the file pricedisplay-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: pricedisplay-0.7.0-py3-none-any.whl
- Upload date:
- Size: 33.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.9 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b98a31ecd91dd94b9e0b724c59e078e29f03d31d973c24cd8fef21f44bb0939 |
|
MD5 | 233624b2fb0c5d9703eaa78cb50007c3 |
|
BLAKE2b-256 | d2aecd9a2a7db5369b32b3d961d78f32c4223c7904fab14d60ab8778be29a226 |