Skip to main content

Maintenance Easee library

Buy me a coffee

Easee EV Charger library

This library is an async thin wrapper around Easee's Rest API

Installation

You can install the libray from PyPI:

pip install pyeasee

The library is tested on Python 3.7 and Python 3.8

Command line tool

Run python -m pyeasee -h for help.

Usage of the library

Docs

Read the API documentation here

Small example

Easee is the connection class and Charger

from pyeasee import Easee, Charger, Site

async def main():
    _LOGGER.info("Logging in using: %s %s", sys.argv[1], sys.argv[2])
    easee = Easee(sys.argv[1], sys.argv[2])
    chargers = await easee.get_chargers()
    for charger in chargers:
        state = await charger.get_state()
        _LOGGER.info("Charger: %s status: %s", charger.name, state["chargerOpMode"])

    sites = await easee.get_sites()
    for site in sites:
        _LOGGER.info("Get sites circuits chargers: %s", site["createdOn"])
        charger = site.get_circuits()[0].get_chargers()[0]
        state = await charger.get_state()
        _LOGGER.info("Charger: %s status: %s", charger.name, state["chargerOpMode"])

    await easee.close()

See also __main__.py for a more complete usage example.

Development

This project uses black for code formatting and flake8 for linting. To autoformat and run lint run

make lint

Metadata

Release files for pyeasee 0.7.44

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

Source distribution (sdist)

Source distribution for pyeasee 0.7.44
File Size Uploaded Provenance Actions
pyeasee-0.7.44.tar.gz 16.7 kB Without provenance Details for pyeasee-0.7.44.tar.gz

Built distribution (wheel)

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

Total release size: 35.2 kB

Release files / pyeasee-0.7.44.tar.gz

Download URL pyeasee-0.7.44.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
17dfb3c43e8c295bdffb2954a8eb3dbfbd356d87ffffbfdbc130b3ac6796e158
BLAKE2b-256 checksum
How to use checksums
0a106ff39783d8c26b4edf5c51b4fe872368acd7187a174382356790b0c20504
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Release files / pyeasee-0.7.44-py3-none-any.whl

Download URL pyeasee-0.7.44-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7268971efb06cf8bcea332c8856106df27cbc3eb0a2caa21a8bfe0562a175396
BLAKE2b-256 checksum
How to use checksums
4f6a2aab189694971313b523785ea770657cccc5408a2ad7222ff88edd63a05e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Security for pyeasee 0.7.44

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.

Release history Release notifications | RSS feed

This release

0.7.44 This release

2 release files No provenance

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