Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A bundle of useful CircuitPython libraries ready to use from the filesystem.

License

NotificationsYou must be signed in to change notification settings

adafruit/Adafruit_CircuitPython_Bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adafruit CircuitPython Library Bundle

Documentation StatusDiscordBuild StatusCode Style: Black

This repo bundles a bunch of useful CircuitPython libraries into an easy todownload zip file. CircuitPython boards can ship with the contents of the zip tomake it easy to provide a lot of libraries by default.

Use

To use the bundle download the zip (not source zip) from thelatest release,unzip it and copy over the subfolders, such aslib, into the root of yourCircuitPython device. Make sure to indicate that it should be merged with theexisting folder when it exists.

CPython

DO NOT use this to install libraries on a Linux computer, such as the Raspberry Pi,with regular Python (aka CPython). Instead, use the python3 version ofpip to installthe libraries you want to use. It will automatically install dependencies for you. For example:

pip3 install adafruit-circuitpython-lis3dh

Development

After you clone this repository you must rungit submodule initand thengit submodule update.

For developing individual libraries, please see LIBRARY_DEVELOPMENT.rst.

Updating libraries

To update the libraries runupdate-submodules.sh. The script will fetch thelatest code and update to the newest tag (not main).

To find libraries with commits that haven't been included in a release do:

git submodule foreach "git log --oneline HEAD...origin/main"

Adding a library

Determine the best location withinlibraries (libraries/drivers/ orlibraries/helpers/)for the new library and then run:

git submodule add <git url> libraries/<target directory>

The target directory should omit any CircuitPython specific prefixes such asadafruit-circuitpython to simplify the listing.

Removing a library

Only do this if you are replacing the module with an equivalent:

git submodule deinit libraries/<target directory>git rm libraries/<target directory>

Building the bundle

To build this bundle locally you'll need to install thecircuitpython-build-tools package.

python3 -m venv .venvsource .venv/bin/activatepip install circuitpython-build-tools

Once installed, make sure you are in the virtual environment:

source .venv/bin/activate

Then run the build:

circuitpython-build-bundles --filename_prefix adafruit-circuitpython-bundle --library_location libraries --library_depth 2

About

A bundle of useful CircuitPython libraries ready to use from the filesystem.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp