Skip to main content

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 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pricedisplay-0.7.1.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pricedisplay-0.7.1-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file pricedisplay-0.7.1.tar.gz.

File metadata

  • Download URL: pricedisplay-0.7.1.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.11 Linux/6.5.0-1025-azure

File hashes

Hashes for pricedisplay-0.7.1.tar.gz
Algorithm Hash digest
SHA256 0b95a03cad16d794954ef8af87e982493ba8ac25b7d5f435c8578b264fa674e6
MD5 0ace8895d8d0b2e1f740b20a9decf25d
BLAKE2b-256 056cd800179c6f5894234505205df9c3abb49afa9ca84ed12a29c8b3ef43d646

See more details on using hashes here.

File details

Details for the file pricedisplay-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: pricedisplay-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.11 Linux/6.5.0-1025-azure

File hashes

Hashes for pricedisplay-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fea80f1c481208b2f68653c8442fb0b685d55ba55550e35c25ca7b68f479310c
MD5 1fbe9cb14ce61916f87c65521c33a14e
BLAKE2b-256 9bcbc0c7eb4d65af1468dc6a565065adcbf557214e2c9f50e30dc07295c4f504

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page