Skip to main content

pySangaboard

This is the Python module that communicates with the Sangaboard, an open-source board for driving unipolar stepper motors. It also supports older versions of the Sangaboard based on an Arduino Nano and a pair of Darlington driver ICs.

The Sangaboard is the motor board designed for the OpenFlexure Microscope, but it can also be used to drive unipolar stepper motors for other applications.

Sangboards can be purchased from many of the vendors that sell OpenFlexure Microscope kits.

Installation

Install from PyPI:

pip install sangaboard

Documentation

The documentation is available on Read the Docs

To edit the documentation either edit the docstrings or the .rst files in the docs directory. The docs can be built locally with:

sphinx-autobuild docs _build/html --watch sangaboard

Developer notes

For development install the dev dependencies and do a editable install:

pip install -e .[dev]

Publishing

pip install build twine
python -m build
twine check dist/*
twine upload dist/*

Metadata

Release files for sangaboard 0.4.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 sangaboard 0.4.1
File Size Uploaded Provenance Actions
sangaboard-0.4.1.tar.gz 31.6 kB Without provenance Details for sangaboard-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 63.9 kB

Release files / sangaboard-0.4.1.tar.gz

Download URL sangaboard-0.4.1.tar.gz
Size 31.6 kB
Tags Source
SHA-256 checksum
How to use checksums
610601383c0484cff54ff3d6c8945c052950d2ef92ae73ae3ba9bdc2b872be7f
BLAKE2b-256 checksum
How to use checksums
0fe9f5c41a9e6823a99d8c9a594295181e1bc8ab517bb19f4c1670cc2f171473
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / sangaboard-0.4.1-py3-none-any.whl

Download URL sangaboard-0.4.1-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd8a5fda3db3586d2a50e61ec166e5754c120cd054c21f28dc0d5c022db3a362
BLAKE2b-256 checksum
How to use checksums
3b7ec1223973b2123cf1c40445c805623b43cdb6adb7bc51a9508990528ececc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.11.15

Security for sangaboard 0.4.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.

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