Skip to main content

pymultidropbus

A Python library that implements a cashless MDB peripheral over UART. This is for integrating an external payment system with an MDB enabled vending machine. This library will not talk to an MDB enabled credit card reader - it pretends to be one.

This library is not production ready, and is a continual work in progress. Contributions are welcome, but we will not be accepting feature requests at this time.

Software Requirements

This library should be compatible with most Linux Python environments that support the pyserial library, and any serial hardware that supports setting a sticky parity bit.

However, this library is currently only developed for and supported on a Raspberry Pi.

Install Dependencies

Install the required Python dependencies by running the following command:

pip3 install -r requirements.txt

Hardware Requirements

Please note that a multicore raspberry pi with an entire core dedicated to your MDB application is highly recommended. Linux is not a realtime operating system, and the MDB protocol has strict timing requirements which occasionally causes issues. If your use case is not public facing or doesn't need high reliability, you may not need to worry about this.

Read more about dedicating one of your cores to a single process here, here and here.

Metadata

Release files for pymultidropbus 0.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 pymultidropbus 0.0.1
File Size Uploaded Provenance
pymultidropbus-0.0.1.tar.gz 6.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 14.1 kB

Release files / pymultidropbus-0.0.1.tar.gz

Download URL pymultidropbus-0.0.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2832a17fdc416ac90b6e46f9b539f98b8057997e752577a5f05118f22836879a
BLAKE2b-256 checksum
How to use checksums
a4df29931f7247b6749a4ecb91fe4d10f0bab580ce5687ea9dd763bb3af7e62a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / pymultidropbus-0.0.1-py3-none-any.whl

Download URL pymultidropbus-0.0.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63340730f4a3da8c698feb4ec3137e42b0305dd12cd0ff5a2984c1aa98c20d0e
BLAKE2b-256 checksum
How to use checksums
872d6a6feac81ba64890b85e6c059d231d935753cf343b0ffd2d29d4b46a0a74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Security for pymultidropbus 0.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.

Release history Release notifications | RSS feed

This release

0.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