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

Core Python libraries ported to MicroPython

License

NotificationsYou must be signed in to change notification settings

micropython/micropython-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!micropython-lib is a highly experimental community project.Please help to drive it to just "experimental" state by testingprovided packages with MicroPython.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

micropython-lib is a project to develop a non-monolothic standard libraryfor MicroPython. Each module or package is available as a separatedistribution package from PyPI. Each module is either written from scratch orported from CPython.

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

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 readadditional package information.

To install packages from PyPI for usage on your local system, use thepip-micropython tool, which is a simple wrapper around the standardpip tool, which is used to install packages for CPython.Thepip-micropython tool can be found intools subdirectoryof the main MicroPython repository (https://github.com/micropython/micropython).Just install thepip-micropython script somewhere on yourPATH.

Afterwards, just usepip-micropython in a way similar topip:

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

Review thepip-micropython source code for more info.

Development

To install modules during development, usemake install. By default, allavailable packages will be installed. To install a specific module, add theMOD=<module> parameter to the end of themake install command.

Links

More information is on GitHub and in the MicroPython forums:

For basic guidelines for installing packages from PyPI:

About

Core Python libraries ported to MicroPython

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp