GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - HiDiHo01/python-frank-energie: Asynchronous Python package for Frank Energie. Retrieve energy prices for Frank energie.

BranchesTags
Open more actions menu

Latest commit

 

History

1,088 Commits
1,088 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
python_frank_energie
python_frank_energie
 
 
scripts
scripts
 
 
tests
tests
 
 
.coderabbit.yaml
.coderabbit.yaml
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.yamllint
.yamllint
 
 
AGENTS.md
AGENTS.md
 
 
AI_POLICY.md
AI_POLICY.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
SKILLS.md
SKILLS.md
 
 
example.py
example.py
 
 
graphql.config.yml
graphql.config.yml
 
 
poetry.lock
poetry.lock
 
 
pyproject.toml
pyproject.toml
 
 
pytest.ini
pytest.ini
 
 
requirements-docs.txt
requirements-docs.txt
 
 
sonar-project.properties
sonar-project.properties
 
 
zensical.toml
zensical.toml
 
 

Repository files navigation

Release Run Frank Energie Query Dependabot Updates

python-frank-energie

Documentation website: https://hidiho01.github.io/python-frank-energie/

Asyncio package to communicate with Frank Energie. This package is created to be used with https://github.com/HiDiHo01/home-assistant-frank_energie. The python-frank-energie repository is a well-structured, modern Python library. It effectively leverages asynchronous programming, dataclasses for robust data modeling, and Poetry for packaging. The extensive test suite with mocked GraphQL responses and the automated CI/CD pipeline demonstrate a high standard of software engineering, making it a reliable foundation for the Home Assistant integration it serves.

Disclaimer

This package is not developed, nor supported by Frank Energie.

Installation

python3 -m pip install python-frank-energie

For the site-level Smart HVAC feature status and distinct device-oriented API methods, see Smart HVAC API. Smart PV inventory and status.

Contributing

This repo uses Python Poetry to easily run CI/CD scripts using a local environment. In combination with pre-commet you can make sure the PR passes the checks the first time.

  1. Clone and enter this repo
  2. Install poetry using pip install poetry
  3. Install the environment using poetry install

When making a commit, pre-commit runs to check, format and test the code. If everything passes you can push the changes via a Pull request. There GitHub Actions will check if you did everything right and it will notify me. Feel free to ask me to review your PR.

Use Ruff for Python source formatting and linting (Python 3.12+):

poetry run ruff format .
poetry run ruff format --check .
poetry run ruff check .

The separate blacken-docs hook is retained for Python examples in documentation.

Some nice or useful commands:

  • poetry shell -> Run commands like pytest test with the correct environment, no need to prefix commands with poetry run ...
  • (poetry run) pytest tests -> Runs the unit tests
  • (poetry run) pre-commit run --all-files -> Run all pre-commit steps on all files.
  • git commit -n ... -> The -n flag allows you to ignore the pre-commit result and make a commit, useful when you want to commit drafts. All commits form a PR will be squashed so you can do this any time.

About

Asynchronous Python package for Frank Energie. Retrieve energy prices for Frank energie.

hidiho01.github.io/python-frank-energie/

Topics

automationenergiefrankhome-assistanthomeassistanthomeassistant-integrationpackagepythonpython3

Resources

Readme
Apache-2.0 license

Contributing

Contributing

Security policy

Security policy
Activity

Stars

11 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.