Skip to main content

OSDP Python is a python framework implementation of the Open Supervised Device Protocol (OSDP). This protocol has been adopted by the Security Industry Association(SIA) to standardize communication to access control hardware. Further information can be found at http://www.osdp-connect.com.

This project is highly inspired by @bytedreamer’s OSDP.Net <https://github.com/bytedreamer/OSDP.Net>

License

  • Apache

Quick Start

Installation

To install OSDP, use pip3 or pipenv:

$ pip3 install -U osdp

This module depends on

  • pycryptodome

  • pyserial

Example Usage

>>> from osdp import *
>>> conn = SerialPortOsdpConnection(port='/dev/tty.wchusbserial1420', baud_rate=9600)
>>> cp = ControlPanel()
>>> bus_id = cp.start_connection(conn)
>>> cp.add_device(connection_id=bus_id, address=0x7F, use_crc=True, use_secure_channel=False)
>>> id_report = cp.id_report(connection_id=bus_id, address=0x7F)
>>> device_capabilities = cp.device_capabilities(connection_id=bus_id, address=0x7F)
>>> local_status = cp.local_status(connection_id=bus_id, address=0x7F)
>>> input_status = cp.input_status(connection_id=bus_id, address=0x7F)
>>> output_status = cp.output_status(connection_id=bus_id, address=0x7F)
>>> cp.shutdown()

Metadata

Release files for osdp 1.6

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

Source distribution (sdist)

Source distribution for osdp 1.6
File Size Uploaded Provenance Actions
osdp-1.6.tar.gz 24.0 kB Without provenance Details for osdp-1.6.tar.gz

Built distribution (wheel)

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

Total release size: 46.3 kB

Release files / osdp-1.6.tar.gz

Download URL osdp-1.6.tar.gz
Size 24.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f8356813e72e1d45bdacba8e17512d91a597f0dadfa9090b40a2c4c78603245f
BLAKE2b-256 checksum
How to use checksums
0c270c3ff91a877c8a74da9181346b057d0cbab7ca6446c54ef6783caf6ea01a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / osdp-1.6-py3-none-any.whl

Download URL osdp-1.6-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8746da9c835b0bf33cc55b4368d7e7afe351e055e69ac1812d912eeb6263a70
BLAKE2b-256 checksum
How to use checksums
6a650b23c2f700f52c82ac1e481b99a724499413aa1c2fd9d90d3b6e8c02aa05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for osdp 1.6

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.

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