Skip to main content

Strømpris

Usage

Supported sources:

  • Hvakosterstrommen
from strompris.strompris import Strompris 
from strompris.const import SOURCE_HVAKOSTERSTROMMEN

strompris = Strompris(source=SOURCE_HVAKOSTERSTROMMEN, zone=1) # Can also be used with direct string # Zone 1-5

"""Returns pricing for today and tomorrow if available"""
priser = strompris.get_available_prices() 

"""Returns pricing for current hour using GMT+1|+2"""
now = strompris.get_current_price()

"""Returns pricing for current hour along with extra info:

total (kwh + tax)
min
max
avg
tax
price_level
"""
nowAttrs = strompris.getPriceAttrs(zone=1)

hvakosterstrommen.no

Metadata

Release files for pyStrompris 0.0.11

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

Source distribution (sdist)

Source distribution for pyStrompris 0.0.11
File Size Uploaded Provenance Actions
pyStrompris-0.0.11.tar.gz 8.6 kB Without provenance Details for pyStrompris-0.0.11.tar.gz

Built distribution (wheel)

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

Total release size: 17.3 kB

Release files / pyStrompris-0.0.11.tar.gz

Download URL pyStrompris-0.0.11.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
24430f62212fe5b7417148ccc629ca59c4f0928e8cd10db749e9021ab3ff714f
BLAKE2b-256 checksum
How to use checksums
165cc6a6f57158cdd293aecbecb28bec7b42525ba3ee87b5e53d5f7b6036e67d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / pyStrompris-0.0.11-py3-none-any.whl

Download URL pyStrompris-0.0.11-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b0f28638ef12f4591f43a4981e75722e506c98fee8f8e0188e4649ae640163d
BLAKE2b-256 checksum
How to use checksums
3219e0cb75dfb93d83f62e279f09fc2a3f4ed54327c3cf87c99eb460a4fc6051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for pyStrompris 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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