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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file py_ocpi-0.3.1.tar.gz.

File metadata

  • Download URL: py_ocpi-0.3.1.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.16 Linux/5.15.0-1035-azure

File hashes

Hashes for py_ocpi-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ef15f84fbc08e189a1aa46e9911625decca4cf2e58854898929b3fd38367d29e
MD5 750420214146661fddc82c44947c1239
BLAKE2b-256 ed4bef5681a06c1ca4c67bf992d33f1b51abf8653d9ac7c3137629a308f57275

See more details on using hashes here.

File details

Details for the file py_ocpi-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: py_ocpi-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 51.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.16 Linux/5.15.0-1035-azure

File hashes

Hashes for py_ocpi-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6388ee6cc4f1226cf272694de332379c20f11f842c2cdc68fd5d45dd36712461
MD5 eedf131cfd20599c77f2142a0d1eee70
BLAKE2b-256 a91f9538bcaf19b015861c530c4e9cbabae4a6bc63ff9c2129765fdd2fc9ea76

See more details on using hashes here.

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