Skip to main content

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 via pipx:

pipx install pricedisplay

or globally with pip:

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

If you installed with pipx, you can run the display simply with the command:

pricedisplay

or if you used pip:

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:

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

sample output minimal

sample output minimal

sample output minimal

Metadata

Release files for pricedisplay 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pricedisplay 0.7.1
File Size Uploaded
pricedisplay-0.7.1.tar.gz 31.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pricedisplay 0.7.1
File Interpreter ABI Platform
pricedisplay-0.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 65.6 kB

Release files / pricedisplay-0.7.1.tar.gz

Download URL pricedisplay-0.7.1.tar.gz
Size 31.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0b95a03cad16d794954ef8af87e982493ba8ac25b7d5f435c8578b264fa674e6
BLAKE2b-256 checksum
How to use checksums
056cd800179c6f5894234505205df9c3abb49afa9ca84ed12a29c8b3ef43d646
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.11 Linux/6.5.0-1025-azure

Release files / pricedisplay-0.7.1-py3-none-any.whl

Download URL pricedisplay-0.7.1-py3-none-any.whl
Size 34.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fea80f1c481208b2f68653c8442fb0b685d55ba55550e35c25ca7b68f479310c
BLAKE2b-256 checksum
How to use checksums
9bcbc0c7eb4d65af1468dc6a565065adcbf557214e2c9f50e30dc07295c4f504
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.11 Linux/6.5.0-1025-azure

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.3

1 release file

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page