This is a repository of libraries designed to be useful for writing MicroPython applications.
 
 
Go to file
Paul Sokolovsky 65fb3707ba all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03: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: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
argparse all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
asyncio_slow asyncio_slow: Add example of wait() from docs. 2014-10-21 01:31:57 +03:00
base64 all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
binascii all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
binhex all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
bisect
calendar all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
cgi all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
cmd all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
collections all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
collections.defaultdict all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
collections.deque all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
concurrent.futures all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
contextlib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
copy
cpython-uasyncio all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
csv all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
curses.ascii all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
datetime all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
dbm all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
decimal all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
difflib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
email.charset all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
email.encoders all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
email.errors all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
email.feedparser all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
email.header all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
email.internal all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
email.message all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
email.parser all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
email.utils all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
errno all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
fcntl all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
ffilib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
fnmatch all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
formatter all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
fractions all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
ftplib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
functools all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
getopt all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
getpass all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
gettext all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
glob all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
gzip all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
hashlib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
heapq all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
hmac all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
html all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
html.entities all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
html.parser all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
http.client all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
imaplib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
imp all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
inspect all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
io all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
ipaddress all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
itertools all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
json
keyword
linecache all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
locale all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
logging all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
machine all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
mailbox all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
mailcap all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
mimetypes all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
multiprocessing all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
nntplib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
numbers all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
operator all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
optparse all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
os all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
os.path all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
pathlib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
pdb all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
pickle all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
pickletools all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
pkg_resources all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
pkgutil all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
platform all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
poplib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
posixpath all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
pprint all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
profile all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
pty all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
pyb pyb: Add LED blink example. 2015-04-05 14:08:16 +03:00
pystone all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
pystone_lowmem all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
queue all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
quopri all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
random all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
re-pcre all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
reprlib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
runpy all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
sched all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
select all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
selectors all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
shelve all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
shlex all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
shutil all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
signal all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
smtplib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
socket all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
socketserver all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
sqlite3 all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
stat all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
statistics all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
string all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
stringprep all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
struct all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
subprocess all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
tarfile all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
telnetlib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
tempfile all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
test test: test_pep380.py: Update to pass on MicroPython. 2015-07-08 00:07:48 +03:00
test.pystone all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
test.support all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
textwrap all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
threading all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
time all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
timeit all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
trace all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
traceback all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
tty all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
types
uasyncio all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
uasyncio.core all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
uasyncio.queues all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
ucontextlib all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
ucurses all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
umqtt.robust all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
umqtt.simple all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
unicodedata all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
unittest all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
upip all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
upysh all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
urequests all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
urllib
urllib.parse all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
urllib.urequest all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
utarfile all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
uu all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
uuid all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
warnings all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
weakref all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
xmltok all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
zipfile all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +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
README.md README.md: Tweak a bit. 2014-10-19 14:29: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: Script to optimize archives for low-heap upip usage. 2016-10-11 00:12:51 +03:00

README.md

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
micropython-lib is a highly experimental community project.

Please help to drive it to just "experimental" state by testing
provided packages with MicroPython.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

micropython-lib

micropython-lib is a project to develop a non-monolothic standard library for 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 (additional ports to support are to be determined). Actual system requirements vary per module. Though if a module is not related to I/O, the module should work without problem 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.

To install packages from PyPI for usage on your local system, use the pip-micropython tool, which is a simple wrapper around the standard pip tool, which is used to install packages for CPython. The pip-micropython tool can be found in tools subdirectory of the main MicroPython repository (https://github.com/micropython/micropython). Just install the pip-micropython script somewhere on your PATH.

Afterwards, just use pip-micropython in a way similar to pip:

$ pip-micropython install micropython-copy
$ micropython
>>> import copy
>>> copy.copy([1, 2, 3])
[1, 2, 3]

Review the pip-micropython source code for more info.

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.

More information is on GitHub and in the MicroPython forums:

Guidelines for packaging MicroPython modules for PyPI: