This is a repository of libraries designed to be useful for writing MicroPython applications.
 
 
Go to file
Anne Jan Brouwer e8053fb06a upip: Add server_hostname param to ussl.wrap_socket() call. 2017-06-15 16:04:58 +02:00
__future__ __future__: Release 0.0.3, gzip 4k. 2016-10-11 00:35:40 +03:00
_libc _libc: Release 0.3.1, gzip 4k. 2016-10-11 00:43:05 +03:00
_markupbase _markupbase: Release 3.3.3-1, gzip 4k. 2016-10-11 00:50:22 +03:00
abc all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
argparse all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
asyncio asyncio: Add dummy module. 2016-10-21 00:06:03 +03:00
asyncio_slow asyncio_slow: Add example of wait() from docs. 2014-10-21 01:31:57 +03:00
base64 all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
binascii all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
binhex all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
bisect bisect: Add module from CPython 3.3.3. 2014-05-10 00:43:26 +03:00
calendar all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
cgi all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
cmd all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
collections all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
collections.defaultdict collections.defaultdict: Release 0.3. 2017-01-26 01:35:10 +03:00
collections.deque all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
concurrent.futures all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
contextlib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
copy copy: Use standard metadata, release is 3.3.3-2. 2017-02-08 01:23:00 +03:00
cpython-uasyncio all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
csv all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
curses curses: Add dummy module. 2016-10-21 00:08:08 +03:00
curses.ascii all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
datetime all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
dbm all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
decimal all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
difflib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
email.charset all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
email.encoders all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
email.errors all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
email.feedparser all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
email.header all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
email.internal all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
email.message all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
email.parser all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
email.utils all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
errno all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
fcntl all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
ffilib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
fnmatch all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
formatter all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
fractions all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
ftplib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
functools functools: Make partial wrapper pass on return value. 2016-11-15 19:24:05 +01:00
getopt all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
getpass all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
gettext all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
glob all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
gzip all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
hashlib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
heapq all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
hmac all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
html all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
html.entities all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
html.parser all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
http.client all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
imaplib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
imp all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
inspect all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
io all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
ipaddress all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
itertools itertools: Release 0.2.3. 2017-04-24 22:08:49 +03:00
json
keyword
linecache all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
locale all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
logging all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
machine machine: Release 0.2.1. 2016-11-11 00:18:05 +03:00
mailbox all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
mailcap all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
mimetypes all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
multiprocessing all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
nntplib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
numbers all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
operator all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
optparse all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
os os: Release 0.6. 2017-04-29 19:43:00 +03:00
os.path all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
pathlib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
pdb all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
pickle all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
pickletools all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
pkg_resources pkg_resources: Release 0.2.1. 2017-06-10 16:16:29 +03:00
pkgutil all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
platform all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
poplib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
posixpath all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
pprint pprint: Release 0.0.4. 2017-05-11 21:21:23 +03:00
profile all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
pty all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
pyb pyb: Add LED blink example. 2015-04-05 14:08:16 +03:00
pystone all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
pystone_lowmem pystone_lowmem: Release 3.4.2-4. 2016-11-08 01:53:53 +03:00
queue all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
quopri all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
random all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
re-pcre re-pcre: Release 0.2.4. 2016-12-19 23:07:34 +03:00
reprlib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
runpy all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
sched all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
select all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
selectors all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
shelve all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
shlex all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
shutil all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
signal all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
smtplib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
socket all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
socketserver all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
sqlite3 all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
stat all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
statistics all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
string all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
stringprep all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
struct all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
subprocess all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
tarfile all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
telnetlib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
tempfile all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
test test: test_pep380.py: Update to pass on MicroPython. 2015-07-08 00:07:48 +03:00
test.pystone all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
test.support all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
textwrap all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
threading all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
time all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
timeit all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
trace all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
traceback all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
tty all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
types
uasyncio uasyncio: Release 1.2.2. 2017-06-10 16:11:41 +03:00
uasyncio.core uasyncio.core: Release 1.4.2. 2017-06-08 02:48:45 +03:00
uasyncio.queues uasyncio.queues: Release 0.1.2. 2016-12-08 14:45:55 +03:00
ucontextlib all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
ucurses all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
umqtt.robust umqtt.robust: Elaborate README. 2017-06-07 20:28:30 +03:00
umqtt.simple umqtt.simple: Release 1.3.3. 2017-04-27 17:53:14 +03:00
unicodedata all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
unittest all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
upip upip: Add server_hostname param to ussl.wrap_socket() call. 2017-06-15 16:04:58 +02:00
upysh all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
urequests urequests: Release 0.4.4. 2017-06-14 19:37:36 +03:00
urllib urllib: Add dummy module. 2014-05-08 12:53:32 +03:00
urllib.parse all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
urllib.urequest urllib.urequest: Release 0.4.4. 2017-06-14 19:35:25 +03:00
utarfile all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
uu all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
uuid all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
warnings all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
weakref all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
xmltok all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
zipfile all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
.gitignore .gitignore: Ignore local development files. 2014-05-31 15:18:48 +03:00
CONTRIBUTING.md CONTRIBUTING.md: Add file with a link to Contributor Guidelines. 2015-05-03 21:07:17 +03:00
LICENSE LICENSE: Add concatenation of licensing terms used. 2014-08-18 21:32:04 +03:00
Makefile Makefile install: Add --no-run-if-empty to xargs. 2014-05-11 12:22:03 +03:00
README.md README: More info about naming and links to PyPI search results. 2016-12-11 15:35:10 +03:00
make_metadata.py make_metadata.py: Update URL to point to micropython-lib github page. 2016-10-11 00:34:33 +03:00
optimize_upip.py optimize_upip.py: Rework inclusion/exclusion logic. 2017-05-05 13:01:54 +03:00

README.md

micropython-lib

micropython-lib is a project to develop a non-monolothic standard library for MicroPython (https://github.com/micropython/micropython). Each module or package is available as a separate distribution package from PyPI. Each module is either written from scratch or ported from CPython.

Note that the main target of micropython-lib is a "Unix" port of MicroPython. Actual system requirements vary per module. Though if a module is not related to I/O, the module should work without problems on bare-metal ports too (e.g. pyboard).

Usage

micropython-lib packages are published on PyPI (Python Package Index), the standard Python community package repository: http://pypi.python.org/ . On PyPI, you can search for MicroPython related packages and read additional package information. By convention, all micropython-lib package names are prefixed with "micropython-". Browse available packages via this URL. (Note: search results may include both micropython-lib and 3rd-party packages).

To install packages from PyPI for usage on your local system, use the upip tool, which is MicroPython's native package manager, similar to pip, which is used to install packages for CPython. upip is bundled with MicroPython "Unix" port (i.e. if you build "Unix" port, you automatically have upip tool). Following examples assume that micropython binary is available on your PATH:

$ micropython -m upip install micropython-pystone
...
$ micropython
>>> import pystone
>>> pystone.main()
Pystone(1.2) time for 50000 passes = 0.534
This machine benchmarks at 93633 pystones/second

Run micropython -m upip --help for more information about upip.

Development

To install modules during development, use make install. By default, all available packages will be installed. To install a specific module, add the MOD=<module> parameter to the end of the make install command.

If you would like to trace evolution of MicroPython packaging support, you may find following links useful (note that they may contain outdated information):

Guidelines for packaging MicroPython modules for PyPI: