ocpp
Python package implementing the JSON version of the Open Charge Point Protocol (OCPP).
Decision gist · record as of 2026-08-14
Yes. OCPP is production-stable, actively maintained, has no known vulnerabilities, and carries a permissive MIT license. It is the standard library for OCPP protocol work in Python and has low install friction. Install it if you are building or integrating EV charging infrastructure that requires OCPP compliance.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later (3.11–3.13 supported); websockets library recommended for actual protocol communication over WebSocket connections.
- Low friction installation with a single runtime dependency (jsonschema).
- Actively maintained with recent commits and a stable production release status.
License · maintenance · safety
MIT (permissive) — MIT-licensed code with permissive terms. Documentation in docs/v16 and docs/v201 uses Creative Commons Attribution-NoDerivatives 4.0 International, which restricts derivative works but allows redistribution with attribution.
last release 2025-07-16 (394 days) · last repo commit 2026-07-19 · 1,031 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 152,822 downloads/mo, #10,892 on PyPI
Alternatives
Verify before relying
pip install ocpp
import ocpp
from ocpp.v16 import ChargePoint
# Instantiate and use a charge point for OCPP 1.6 communication- Whether websockets is an optional or required dependency for typical use cases
- Specific OCPP message types and command support across 1.6, 2.0.1, and 2.1.0 versions
- Performance characteristics under high message volume or concurrent connections
What it is and what it does
OCPP is a Python library that implements the Open Charge Point Protocol in JSON format, enabling communication between electric vehicle charging stations (charge points) and central management systems. It supports three protocol versions: OCPP 1.6 (errata v4), OCPP 2.0.1 (Edition 2 FINAL, 2022-12-15 and Edition 3 errata 2024-11), and OCPP 2.1.0, allowing developers to build either charge point clients or central system servers that speak the standard protocol.
The package depends only on jsonschema for message validation and is designed as a lightweight protocol layer. It has been actively maintained since 2019 and is classified as production-stable. The codebase is well-documented with examples and API references, and the project maintains a published security policy for responsible disclosure.
Use it for
- Build a central management system that monitors and controls multiple EV charging stations across a network
- Implement a charge point simulator or mock station for testing central system logic without hardware
- Develop a charging station firmware component that communicates with a backend management platform
- Create integration middleware that translates between OCPP and proprietary charging network protocols
- Monitor and log charging events, diagnostics, and status updates from deployed charge points
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
OCPP is production-stable, actively maintained, has no known vulnerabilities, and carries a permissive MIT license. It is the standard library for OCPP protocol work in Python and has low install friction. Install it if you are building or integrating EV charging infrastructure that requires OCPP compliance.
Install
ocpp on PyPI
Before you install
Low friction installation with a single runtime dependency (jsonschema). Actively maintained with recent commits and a stable production release status. Supports Python 3.8 through 3.13.
Requires Python 3.11 or later (3.11–3.13 supported); websockets library recommended for actual protocol communication over WebSocket connections.
License in practice
MIT-licensed code with permissive terms. Documentation in docs/v16 and docs/v201 uses Creative Commons Attribution-NoDerivatives 4.0 International, which restricts derivative works but allows redistribution with attribution.
Quickstart
pip install ocpp
import ocpp
from ocpp.v16 import ChargePoint
# Instantiate and use a charge point for OCPP 1.6 communication
Verify before relying
- Whether websockets is an optional or required dependency for typical use cases
- Specific OCPP message types and command support across 1.6, 2.0.1, and 2.1.0 versions
- Performance characteristics under high message volume or concurrent connections
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagejsonschema |
| Maintenance | Actively maintained 394 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 152,822 / month, #10,892 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: ocpp-2.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “OCPP protocol implementation”
- ocppImplements the JSON version of the Open Charge Point Protocol (OCPP),…
- daveyImplements the Discord Audio & Video End-to-End Encryption (DAVE)…
- smpSerializes and deserializes the Simple Management Protocol (SMP),…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also python-openevse-http · pytrydan · pytrafikverket · traia-iatp · kuksa-client · electrickiwi-api · udsoncan · opower · subarulink · tesla-fleet-api