Skip to main content

Python Implementation of OCPI

Project description

https://img.shields.io/pypi/v/py-ocpi.svg?style=flat https://pepy.tech/badge/py-ocpi/month https://github.com/TECHS-Technological-Solutions/ocpi/actions/workflows/pypi.yaml/badge.svg?style=svg https://coveralls.io/repos/github/TECHS-Technological-Solutions/ocpi/badge.svg

Introduction

This Library is a Python implementation of the Open Charge Point Interface (OCPI)

Getting Started

Installation

install Py-OCPI like this:

pip install py-ocpi

How Does it Work?

Modules that communicate with central system will use crud for retrieving required data. the data that is retrieved from central system may not be compatible with OCPI protocol. So the data will be passed to adapter to make it compatible with schemas defined by OCPI. User only needs to modify crud and adapter based on central system architecture.

Example

https://github.com/TECHS-Technological-Solutions/ocpi/blob/830dba5fb3bbc7297326a4963429d7a9f850f28d/examples/v_2_2_1.py#L1-L205

Documents

Check the Documentation

License

This project is licensed under the terms of the MIT license.

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

py_ocpi-0.3.1.tar.gz (28.9 kB view hashes)

Uploaded Source

Built Distribution

py_ocpi-0.3.1-py3-none-any.whl (51.4 kB view hashes)

Uploaded Python 3

Supported by

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