MaixPy Python3 library
Project description
MaixPy3
MaixPy3 is a Python3 toolkit based on cpython, which simplifies the development of applications on Linux AI edge devices through Python programming.
See the wiki.sipeed.com for more information
Support Jupyter Environment
Install rpyc_ikernel kernel in jupyter notebook & lab to get an IDE that can remotely call Python code, videos, and image streaming.
Installation
- ready linux ubuntu20.04 desktop
sudo apt update && sudo apt install libjpeg-dev gcc libopencv-dev -qq -y && wget http://mirrors.kernel.org/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb && sudo apt install ./libffi6_3.2.1-8_amd64.deb -qq -y
python3 -m pip install pybind11 maixpy3
- run this python code
from maix import camera, display
display.show(camera.capture().draw_string(0, 0, "hello world!"))
Develop
Under linux x86_64
, use python3 setup.py build && python3 -m pip install .
to complete the linux package construction.
If you need .whl
pre-compiled package, please change build
to bdist_wheel
.
For other platforms, take the version of maix_v83x
as an example, match the Python3 + cross-compilation chain of the corresponding platform, and run python3.8 setup.py build maix_v83x
to complete the construction of the target platform package.
Welcome to provide configurations of different platforms to MaixPy3/envs/ to adapt to the MaixPy3 environment.
Platform | Status | Config | Progress | Toolchain |
---|---|---|---|---|
linux_pc & RPi_2B | working | linux_desktop | 70% | develop.md & maixpy3_build.yml |
maix_v83x | working | maix_v83x | 99% | v83x_linux_x86_python3.8_toolchain |
maix_r329 | working | maix_r329 | 99% | r329_linux_x86_python3.9_toolchain |
License
Copyright (c) Sipeed Corporation. All rights reserved.
Licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for maixpy3-0.4.9-cp39-cp39-manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56f60a1ebe80043f42512fb30d21c99446673e281f3e8274f742724c67c4aeec |
|
MD5 | 46dbf42e7a989a57f607ba855fb2b694 |
|
BLAKE2b-256 | a7d3b29baad9aea62a05a8b0fb4c7cef0a36986c40a44b5e2b624b6e92efb39e |
Hashes for maixpy3-0.4.9-cp38-cp38-linux_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bed909236b4da8b3ad73c359577c2d7469aeaf79990aa2a4439711d0fd1caa4a |
|
MD5 | 4f92a2d11718b5a2ddd985df35109f9b |
|
BLAKE2b-256 | 83ad447e2271063e60721eca76e6228502e4cab57ab783131082b059cff7d0d8 |