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.5.0.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.5.0-cp39-cp39-manylinux2014_aarch64.whl (12.3 MB view details)

Uploaded CPython 3.9

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

Uploaded CPython 3.8

File details

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

File metadata

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

File hashes

Hashes for maixpy3-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e0d30a010fe8be9fe18b0c646b2f7586d933c055316f2dc8fe3a006a74723fb0
MD5 dbccc57dc46c38ba6e5369990a24c3ab
BLAKE2b-256 81c2e1a9d1e4f0051988c9c55839d3d82a993fe653ae6a7f2dde31405f30e95a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for maixpy3-0.5.0-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b5173306d86e1fb22e3b7d4a5f9321c4cb7b8e7759780f68d43952a50326c146
MD5 013dadc5ccdd2f5179186907a1f59d1f
BLAKE2b-256 09efc421076adc9cfadf52d6cd3b7f32aa5c8f67ba9dab8950fab5ae1d3533ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for maixpy3-0.5.0-cp38-cp38-linux_armv7l.whl
Algorithm Hash digest
SHA256 1cbcba77b4fb7d52cfaebb0cfbe8a0147758b903e3a886a0561700c0043dc5bf
MD5 1e7515d70da77a1b173afdacd0613200
BLAKE2b-256 ce908b5fc5089fcf89fb6d9c044b482066701fc4a77337c2f287db9ba4317af5

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