Skip to main content

Driver for VL53L5CX in Python

Python transliteration of VL53L5CX ultra lite driver from C to Python. More precisely, it is implementation from this github repository: https://github.com/thingswebuilt/VL53L5CX/tree/minimal_mods_for_pi

(Thanks Mark for cracking i2c data size and addressing of chunks for Raspberry Pi)

Note: Current implementation is tested on Raspberry Pi with SMBus2 for i2c communication, but in theory it should work on any system that implements SMBus2.

I tried to preserve as much original comments in the code as well.

Examples

Currently there is only one example for simple ranging. To run it on Raspberry Pi:

PYTHONPATH=`pwd` python3 examples/simple_ranging_example.py

Metadata

Release files for VL53L5CX 1.0.1

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

Source distribution (sdist)

Source distribution for VL53L5CX 1.0.1
File Size Uploaded Provenance Actions
VL53L5CX-1.0.1.tar.gz 124.2 kB Without provenance Details for VL53L5CX-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 256.1 kB

Release files / VL53L5CX-1.0.1.tar.gz

Download URL VL53L5CX-1.0.1.tar.gz
Size 124.2 kB
Tags Source
SHA-256 checksum
How to use checksums
55f342dd498471061f0b811280495653c5a9c473e1600a58e75963675c1cde66
BLAKE2b-256 checksum
How to use checksums
4187efc27773cfb2ae606bac0951c2fb59f9c03f1028fef4d34b8deda4df5399
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release files / VL53L5CX-1.0.1-py3-none-any.whl

Download URL VL53L5CX-1.0.1-py3-none-any.whl
Size 131.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e11d48470836a4c27c243ae2ba58c0f3ee67ecf2985c0456133eef0cb151dbb
BLAKE2b-256 checksum
How to use checksums
1a7a81c571da531b39f6d1669a85b34c06c8073c87bbabb92814affd154f7efc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Security for VL53L5CX 1.0.1

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

1.0.1 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