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
File details
Details for the file maixpy3-0.5.3.tar.gz
.
File metadata
- Download URL: maixpy3-0.5.3.tar.gz
- Upload date:
- Size: 74.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13cc9cf3edec310edecd67b85f6664b3a8fbb5dc55476cf4707037b77b710369 |
|
MD5 | 91dd4937adcddfbb7d242f81aded5d54 |
|
BLAKE2b-256 | ddf5b5a29b1cfff0ab9f198d1217f9ec821634aea391aa72eebb8c21a059ac9f |
File details
Details for the file maixpy3-0.5.3-cp39-cp39-manylinux2014_aarch64.whl
.
File metadata
- Download URL: maixpy3-0.5.3-cp39-cp39-manylinux2014_aarch64.whl
- Upload date:
- Size: 12.3 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15c101ec7f65225d6d27106d7f006775270a870a08b94b6ed5f2e550c0e3a66b |
|
MD5 | 0b8227514b4d9e5d8eb5c4ac5195ed8d |
|
BLAKE2b-256 | 6b14e1ac8780c4ecb1920b9278b729805f240f608accf0bd11d2e2d5adcbf9fa |
File details
Details for the file maixpy3-0.5.3-cp38-cp38-linux_armv7l.whl
.
File metadata
- Download URL: maixpy3-0.5.3-cp38-cp38-linux_armv7l.whl
- Upload date:
- Size: 5.1 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03123de2f5fa10afbde7c7f12bcf7c1a20d9eb6bd0769ceb48aee23fa1463683 |
|
MD5 | 2325ad93b05244d9d592ffb46b8eb93f |
|
BLAKE2b-256 | 415ab32229c2da4ad1cef1c093fb35e3488ead3904cb1954925abc43758eaa7a |