Skip to main content

Asynchronous Python client for TechnoVE.

Project description

Python: TechnoVE API Client

GitHub Release License

Build Status Code Coverage Open in Dev Containers

Asynchronous Python client for TechnoVE charging station.

About

python-technove (aka pytechnove) is a Python 3.11, asyncio-driven interface to the unofficial TechnoVE charger API from TechnoVE.
This is originally meant to be integrated into Home Assistant, but can be used anywhere.

Usage

import asyncio

from technove import TechnoVE


async def main() -> None:
    """Show example on controlling your TechnoVE station."""
    async with TechnoVE("192.168.1.10") as technove:
        station = await technove.update()
        print(station.info.version)


if __name__ == "__main__":
    asyncio.run(main())

Changelog & Releases

This repository keeps a change log using GitHub's releases functionality.

Releases are based on Semantic Versioning, and use the format of MAJOR.MINOR.PATCH. In a nutshell, the version will be incremented based on the following:

  • MAJOR: Incompatible or major changes.
  • MINOR: Backwards-compatible new features and enhancements.
  • PATCH: Backwards-compatible bugfixes and package updates.

Contributing

This is an active open-source project. We are always open to people who want to use the code or contribute to it.

Thank you for being involved!

Setting up development environment

The easiest way to start, is by opening a CodeSpace here on GitHub, or by using the Dev Container feature of Visual Studio Code.

Open in Dev Containers

This Python project is fully managed using the Poetry dependency manager. But also relies on the use of NodeJS for certain checks during development.

You need at least:

  • Python 3.11+
  • Poetry
  • NodeJS 20+ (including NPM)

To install all packages, including all development requirements:

npm install
poetry install

As this repository uses the pre-commit framework, all changes are linted and tested with each commit. You can run all checks and tests manually, using the following command:

poetry run pre-commit run --all-files

To run just the Python tests:

poetry run pytest

Authors & contributors

The original setup of this repository is by Christophe Gagnier.

Credits to @frenck for the base structure and classes of this library based on python-wled.
The license of python-wled can be found in third_party/python-wled/LICENSE.

For a full list of all authors and contributors, check the contributor's page.

Disclaimer

This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.

Google Play and the Google Play logo are trademarks of Google LLC.

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

python_technove-2.1.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

python_technove-2.1.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file python_technove-2.1.1.tar.gz.

File metadata

  • Download URL: python_technove-2.1.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for python_technove-2.1.1.tar.gz
Algorithm Hash digest
SHA256 991e63e80c6f4e3f6627a7df2e981615fc0cf70be0e5830d9bef1d363aaf1781
MD5 c0805321687a5ae8888ce40e203086bf
BLAKE2b-256 9bb4f1125c4988aa92e6a73ba42fef5f311c37d2f7060523a52cca627e943425

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_technove-2.1.1.tar.gz:

Publisher: release.yaml on Moustachauve/pytechnove

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_technove-2.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_technove-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26f3783a8efbe65d07c8429728d1be85804964998cec83cc561a66a6a4a51886
MD5 e001d57a0abb74039695c45de51069e7
BLAKE2b-256 6dd3f425f6d45d3e938bfc84529c8d65296182b62416ab80015401178ae0fd7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_technove-2.1.1-py3-none-any.whl:

Publisher: release.yaml on Moustachauve/pytechnove

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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