Skip to main content

duino

Collection of Arduino libraries and related utilites

Repo Description Status
duino This repository
duino_bus Bus/Packet interface for communicating with Arduino devices
duino_cli Command Line Interface for Arduino Projects
duino_led Some LED Abstractions
duino_littlefs A CLI Plugin for LittleFS filesystems
duino_log A logging abstraction
duino_makefile Common Makefile rules
duino_util Common Utility functions
duino_vscode_settings Generate VSCode c_cpp_properties.json file

This is my collection of Arduino libraries. Much of the code is portable and can work in other environments. Some of the libraries also include python code to allow a host to interact with an Arduino board.

This page has links to all of the other repositories and contains some scripts for installing all of the libraries.

Under Windows, add the Python Scripts directory into your PATH

To determine where the scripts directory is located, do the following:

python -m site

This will print something like the following:

PS C:\Users\dhyla> python -m site
sys.path = [
    'C:\\Users\\dhyla',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\python39.zip',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\DLLs',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\lib',
    'C:\\Users\\dhyla\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0',
    'C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\site-packages',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0',
    'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\\lib\\site-packages',
]
USER_BASE: 'C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages' (exists)
USER_SITE: 'C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\site-packages' (exists)
ENABLE_USER_SITE: True

Find the entry that's in C:\Users and ends in site-packages. Try replacing site-packages with Scripts.

If you see something like the following, then that should be the correct directory.

PS C:\Users\dhyla> dir C:\\Users\\dhyla\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\Scripts


    Directory: C:\Users\dhyla\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        2024-11-23  11:06 PM         106422 pip.exe
-a----        2024-11-23  11:06 PM         106422 pip3.9.exe
-a----        2024-11-23  11:06 PM         106422 pip3.exe

Add the Scripts directory to your PATH (aka Path). See this article for a step-by-step guide on adding a directory to your PATH. You'll probably need to reboot to have the updated PATH take effect.

Installing duino from zip files

To install the duino libraries from zip files, start a shell and and cd into your Arduino directory (the directory that holds the sketches and has the libraries directory) and execute:

pip install duino
install-duino-from-zip

pip install puts the install-duino-from-zip program into your Scripts directory, so ensure that it's in your PATH.

Installing duino from git

To git clone all of the git repos, start a shell and cd into your Arduino directory (the directory that holds the sketches and has the libraries directory) and execute:

pip install duino
install-duino-from-git

pip install puts the install-duino-from-git program into your Scripts directory, so ensure that it's in your PATH.

Metadata

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

Release files / duino-0.0.1.tar.gz

Download URL duino-0.0.1.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3249faf4861bc4e1829bc2d7a68e63bc1572526ef7210ce035da8068942dd8a5
BLAKE2b-256 checksum
How to use checksums
4397c7c07fabff416d82ca27c6a4700c833cad978fd91ac1dd0342f0f9837899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Security for duino 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file 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