Skip to main content

MaixPy Python3 library

Project description

MaixPy3 Logo

MaixPy3 GitHub forks GitHub stars GitHub watchers

MIT PyPI version Python issue

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.

index.png

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!"))

uasge.png

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maixpy3-0.4.8.tar.gz (74.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

maixpy3-0.4.8-cp39-cp39-manylinux2014_aarch64.whl (12.3 MB view details)

Uploaded CPython 3.9

maixpy3-0.4.8-cp38-cp38-linux_armv7l.whl (5.0 MB view details)

Uploaded CPython 3.8

File details

Details for the file maixpy3-0.4.8.tar.gz.

File metadata

  • Download URL: maixpy3-0.4.8.tar.gz
  • Upload date:
  • Size: 74.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for maixpy3-0.4.8.tar.gz
Algorithm Hash digest
SHA256 bcd930478a6760057c384e445fe520b52af0d4d72a911a708822a112dc4efc56
MD5 69e81ada79b996e62e2a17ea48433dab
BLAKE2b-256 cc7d5d148d81f4f18e3e8efd7c23b36dd3ce8ffc785988d192568a407c1ee819

See more details on using hashes here.

File details

Details for the file maixpy3-0.4.8-cp39-cp39-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for maixpy3-0.4.8-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0042b0419b915e20f845d67405026d804b0e54e93b7885a57377f79015d68f0d
MD5 5e94e043eb760996fc97f0dad68c5012
BLAKE2b-256 64ffa74e0466eb06592ce8f42841481c9914e1883878007e6bc3444c7d2a2c12

See more details on using hashes here.

File details

Details for the file maixpy3-0.4.8-cp38-cp38-linux_armv7l.whl.

File metadata

File hashes

Hashes for maixpy3-0.4.8-cp38-cp38-linux_armv7l.whl
Algorithm Hash digest
SHA256 b131abadbc7356d3bc11023180ee8369deb216c8b3b5917672d78a33942f053e
MD5 91a5e0a094d4b569388f44da9ed6cd33
BLAKE2b-256 95e51acd3dc4e45a537a9c0f448bf4540c86be36099bae4f67b20889a421d8b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page