|
| 1 | +--- |
| 2 | +layout: default |
| 3 | +title: Libraries |
| 4 | +permalink: /libraries |
| 5 | +--- |
| 6 | + |
| 7 | +<div id="libraries-page" class="common-layout"> |
| 8 | + <div class="content"> |
| 9 | + <h1>CircuitPython Libraries</h1> |
| 10 | + <p> |
| 11 | + The CircuitPython Library Bundle contains all current libraries available for |
| 12 | + CircuitPython. They are designed for use with CircuitPython and may or may not |
| 13 | + work with MicroPython. The bundle options are explained below. |
| 14 | + <p> |
| 15 | + CircuitPython libraries are separate files designed to work with CircuitPython code. |
| 16 | + CircuitPython programs require a lot of information to run. CircuitPython is so simple |
| 17 | + to use because most of this information is processed in the background and stored in |
| 18 | + libraries. Some libraries are built into CircuitPython. Others are downloaded and |
| 19 | + stored on your CIRCUITPY drive in a folder called lib. |
| 20 | + </p> |
| 21 | + <p> |
| 22 | + The full list of all the CircuitPython libraries contained in the following bundles |
| 23 | + can be found on the |
| 24 | + <a href="https://circuitpython.readthedocs.io/projects/bundle/en/latest/drivers.html" title="">libraries page</a>. |
| 25 | + <h2>Download and Installation Instructions</h2> |
| 26 | + <p> |
| 27 | + The libraries in each release are compiled to .mpy for all recent major versions |
| 28 | + of CircuitPython. Please download the bundle that matches the major version |
| 29 | + of your CircuitPython. For example, if you are running 4.0.0 you should |
| 30 | + download the 4.x bundle. The .mpy files are designed to take up less space on |
| 31 | + your CIRCUITPY drive. Unless you have a specific reason, choose the appropiate |
| 32 | + .mpy library bundle! |
| 33 | + </p> |
| 34 | + <p> |
| 35 | + <b>To install</b>, download the appropriate bundle for your version of CircuitPython. |
| 36 | + Unzip the file, open the resulting folder and find the lib folder. Open the lib |
| 37 | + folder and find the library files you need to load. Create a lib folder on your |
| 38 | + CIRCUITPY drive. Copy the individual library files you need to the lib folder |
| 39 | + on your CIRCUITPY drive. |
| 40 | + </p> |
| 41 | + <p> |
| 42 | + You can always find the |
| 43 | + <a href="https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/latest">latest releases of the libraries bundle</a> |
| 44 | + on GitHub. |
| 45 | + <div class="release-section"> |
| 46 | + <div id="adafruit-circuitpython-bundle-4.x-mpy"> |
| 47 | + <h3>Bundle Version 4.x</h3> |
| 48 | + <p> |
| 49 | + This bundle is built for use with CircuitPython 4.x.x. If you are using |
| 50 | + CircuitPython 4, please download this bundle. |
| 51 | + </p> |
| 52 | + </div> |
| 53 | + <div id="adafruit-circuitpython-bundle-3.x-mpy"> |
| 54 | + <h3>Bundle Version 3.x</h3> |
| 55 | + <p> |
| 56 | + This bundle is built for use with CircuitPython 3.x.x. If you are using |
| 57 | + CircuitPython 3, please download this bundle. |
| 58 | + </p> |
| 59 | + </div> |
| 60 | + <div id="adafruit-circuitpython-bundle-py"> |
| 61 | + <h3>Bundle Version py</h3> |
| 62 | + <p> |
| 63 | + This bundle is the uncompiled source code for every library. It is not |
| 64 | + intended for general use! It is only recommended if you need to edit |
| 65 | + a library file. This bundle works with all versions of CircuitPython. |
| 66 | + </p> |
| 67 | + </div> |
| 68 | + <div id="adafruit-circuitpython-bundle-examples"> |
| 69 | + <h3>Bundle Examples</h3> |
| 70 | + <p> |
| 71 | + Every CircuitPython library has examples to go along with it. This bundle |
| 72 | + contains every library example. This bundle will have examples that |
| 73 | + require the latest version of CircuitPython, and therefore contains files |
| 74 | + that may not work with all versions. |
| 75 | + </p> |
| 76 | + </div> |
| 77 | + </div> |
| 78 | + <h2>Contributing</h2> |
| 79 | + <p> |
| 80 | + If you'd like to contribute to the CircuitPython project, the CircuitPython |
| 81 | + libraries are a great way to begin. Everyone is welcome to contribute! |
| 82 | + Regardless of your experience level, we have many resources to get you |
| 83 | + started. Check out the Contributing page for detailed information! |
| 84 | + </p> |
| 85 | + <p> |
| 86 | + Find out more about how you can |
| 87 | + <a href="{{ "/libraries/contributing" | relative_url }}" title="Contributing Page">contribute to CircuitPython libraries</a>. |
| 88 | + </p> |
| 89 | + <h2>Library Activity for Week of {{ site.data.libraries.updated_at | date: "%a, %b %d, %Y" }}</h2> |
| 90 | + <p> |
| 91 | + Thank you to all of our contributors! |
| 92 | + </p> |
| 93 | + <p> |
| 94 | + This week there were {{ site.data.libraries.merged_pr_count }} pull requests merged: |
| 95 | + <ul> |
| 96 | + <li> |
| 97 | + Authors: |
| 98 | + {% for contributor in site.data.libraries.contributors %} |
| 99 | + <a href="https://github.com/{{contributor}}" title="Contributor Name">{{contributor}}</a>{% if forloop.last != true %}, {% endif %} |
| 100 | + {% endfor %} |
| 101 | + </li> |
| 102 | + <li> |
| 103 | + Reviewers: |
| 104 | + {% for reviewer in site.data.libraries.reviewers %} |
| 105 | + <a href="https://github.com/{{reviewer}}" title="Contributor Name">{{reviewer}}</a>{% if forloop.last != true %}, {% endif %} |
| 106 | + {% endfor %} |
| 107 | + </li> |
| 108 | + </ul> |
| 109 | + </p> |
| 110 | + <div class="libraries new"> |
| 111 | + <h3>New Libraries</h3> |
| 112 | + <ul> |
| 113 | + {% for library in site.data.libraries.library_updates.new %} |
| 114 | + <li><a href="{{library[1]}}" title="New Library Location">{{library[0]}}</a></li> |
| 115 | + {% endfor %} |
| 116 | + </ul> |
| 117 | + </div> |
| 118 | + <div class="libraries updated"> |
| 119 | + <h3>Updated Libraries</h3> |
| 120 | + <ul> |
| 121 | + {% for library in site.data.libraries.library_updates.updated %} |
| 122 | + <li><a href="{{library[1]}}" title="Updated Library Location">{{library[0]}}</a></li> |
| 123 | + {% endfor %} |
| 124 | + </ul> |
| 125 | + </div> |
| 126 | + </div> |
| 127 | +</div> |
| 128 | + |
| 129 | +<script src="/assets/javascript/libraries.js"></script> |
0 commit comments