maixpy3


Namemaixpy3 JSON
Version 0.5.3 PyPI version JSON
download
home_pagehttps://github.com/sipeed/maixpy3
SummaryMaixPy Python3 library
upload_time2022-12-02 10:31:56
maintainer
docs_urlNone
authorSipeed
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
    <img height="120" src="https://wiki.sipeed.com/soft/maixpy/assets/maixpy/maixpy.png" title="" alt="MaixPy3 Logo">
</p>

# MaixPy3 ![GitHub forks](https://img.shields.io/github/forks/sipeed/maixpy3.svg?style=social) ![GitHub stars](https://img.shields.io/github/stars/sipeed/maixpy3.svg?style=social) ![GitHub watchers](https://img.shields.io/github/watchers/sipeed/maixpy3.svg?style=social)

[![MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![PyPI version](https://badge.fury.io/py/maixpy3.svg)](https://badge.fury.io/py/maixpy3) ![Python](https://img.shields.io/badge/Python-3.5↗-ff69b4.svg) ![issue](https://img.shields.io/github/issues/sipeed/maixpy3.svg)

MaixPy3 is a Python3 toolkit based on [cpython](https://github.com/python/cpython), which simplifies the development of applications on Linux AI edge devices through Python programming.

### [See the wiki.sipeed.com for more information](https://wiki.sipeed.com/maixpy3)

## Support Jupyter Environment

Install [rpyc_ikernel](https://github.com/sipeed/rpyc_ikernel) kernel in jupyter notebook & lab to get an IDE that can remotely call Python code, videos, and image streaming.

![index.png](https://github.com/sipeed/rpyc_ikernel/raw/master/tests/images/index.png)

## Installation

- ready linux ubuntu20.04 desktop

```bash
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

```python3
from maix import camera, display
display.show(camera.capture().draw_string(0, 0, "hello world!"))
```

![uasge.png](./docs/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/](./envs/) to adapt to the MaixPy3 environment.

| **Platform**      | **Status** |  **Config** | **Progress** | **Toolchain** |
| --------------    | ---------- | ----------- | ------------ | ------------ |
| linux_pc & RPi_2B | working    | [linux_desktop](./envs/linux_desktop.py)  | 70%  | [develop.md](./docs/develop.md) & [maixpy3_build.yml](.github/workflows/maixpy3_build.yml)
| maix_v83x         | working    | [maix_v83x](./envs/maix_v83x.py)    | 99%  | [v83x_linux_x86_python3.8_toolchain](https://github.com/sipeed/MaixPy3/releases/tag/20210613)
| maix_r329         | working    | [maix_r329](./envs/maix_r329.py)    |  99%  | [r329_linux_x86_python3.9_toolchain](https://github.com/sipeed/MaixPy3/releases/tag/20211101)

## License

Copyright (c) Sipeed Corporation. All rights reserved.

Licensed under the MIT license.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sipeed/maixpy3",
    "name": "maixpy3",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Sipeed",
    "author_email": "support@sipeed.com",
    "download_url": "https://files.pythonhosted.org/packages/dd/f5/b5a29b1cfff0ab9f198d1217f9ec821634aea391aa72eebb8c21a059ac9f/maixpy3-0.5.3.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n    <img height=\"120\" src=\"https://wiki.sipeed.com/soft/maixpy/assets/maixpy/maixpy.png\" title=\"\" alt=\"MaixPy3 Logo\">\n</p>\n\n# MaixPy3 ![GitHub forks](https://img.shields.io/github/forks/sipeed/maixpy3.svg?style=social) ![GitHub stars](https://img.shields.io/github/stars/sipeed/maixpy3.svg?style=social) ![GitHub watchers](https://img.shields.io/github/watchers/sipeed/maixpy3.svg?style=social)\n\n[![MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![PyPI version](https://badge.fury.io/py/maixpy3.svg)](https://badge.fury.io/py/maixpy3) ![Python](https://img.shields.io/badge/Python-3.5\u2197-ff69b4.svg) ![issue](https://img.shields.io/github/issues/sipeed/maixpy3.svg)\n\nMaixPy3 is a Python3 toolkit based on [cpython](https://github.com/python/cpython), which simplifies the development of applications on Linux AI edge devices through Python programming.\n\n### [See the wiki.sipeed.com for more information](https://wiki.sipeed.com/maixpy3)\n\n## Support Jupyter Environment\n\nInstall [rpyc_ikernel](https://github.com/sipeed/rpyc_ikernel) kernel in jupyter notebook & lab to get an IDE that can remotely call Python code, videos, and image streaming.\n\n![index.png](https://github.com/sipeed/rpyc_ikernel/raw/master/tests/images/index.png)\n\n## Installation\n\n- ready linux ubuntu20.04 desktop\n\n```bash\nsudo 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\n\npython3 -m pip install pybind11 maixpy3\n```\n\n- run this python code\n\n```python3\nfrom maix import camera, display\ndisplay.show(camera.capture().draw_string(0, 0, \"hello world!\"))\n```\n\n![uasge.png](./docs/uasge.png)\n\n## Develop\n\nUnder `linux x86_64`, use `python3 setup.py build && python3 -m pip install .` to complete the linux package construction.\nIf you need `.whl` pre-compiled package, please change `build` to `bdist_wheel`.\nFor 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.\n\nWelcome to provide configurations of different platforms to [MaixPy3/envs/](./envs/) to adapt to the MaixPy3 environment.\n\n| **Platform**      | **Status** |  **Config** | **Progress** | **Toolchain** |\n| --------------    | ---------- | ----------- | ------------ | ------------ |\n| linux_pc & RPi_2B | working    | [linux_desktop](./envs/linux_desktop.py)  | 70%  | [develop.md](./docs/develop.md) & [maixpy3_build.yml](.github/workflows/maixpy3_build.yml)\n| maix_v83x         | working    | [maix_v83x](./envs/maix_v83x.py)    | 99%  | [v83x_linux_x86_python3.8_toolchain](https://github.com/sipeed/MaixPy3/releases/tag/20210613)\n| maix_r329         | working    | [maix_r329](./envs/maix_r329.py)    |  99%  | [r329_linux_x86_python3.9_toolchain](https://github.com/sipeed/MaixPy3/releases/tag/20211101)\n\n## License\n\nCopyright (c) Sipeed Corporation. All rights reserved.\n\nLicensed under the MIT license.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "MaixPy Python3 library",
    "version": "0.5.3",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "2325ad93b05244d9d592ffb46b8eb93f",
                "sha256": "03123de2f5fa10afbde7c7f12bcf7c1a20d9eb6bd0769ceb48aee23fa1463683"
            },
            "downloads": -1,
            "filename": "maixpy3-0.5.3-cp38-cp38-linux_armv7l.whl",
            "has_sig": false,
            "md5_digest": "2325ad93b05244d9d592ffb46b8eb93f",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 5120251,
            "upload_time": "2022-12-02T10:31:48",
            "upload_time_iso_8601": "2022-12-02T10:31:48.898891Z",
            "url": "https://files.pythonhosted.org/packages/41/5a/b32229c2da4ad1cef1c093fb35e3488ead3904cb1954925abc43758eaa7a/maixpy3-0.5.3-cp38-cp38-linux_armv7l.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "0b8227514b4d9e5d8eb5c4ac5195ed8d",
                "sha256": "15c101ec7f65225d6d27106d7f006775270a870a08b94b6ed5f2e550c0e3a66b"
            },
            "downloads": -1,
            "filename": "maixpy3-0.5.3-cp39-cp39-manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "0b8227514b4d9e5d8eb5c4ac5195ed8d",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 12252492,
            "upload_time": "2022-12-02T10:31:51",
            "upload_time_iso_8601": "2022-12-02T10:31:51.742653Z",
            "url": "https://files.pythonhosted.org/packages/6b/14/e1ac8780c4ecb1920b9278b729805f240f608accf0bd11d2e2d5adcbf9fa/maixpy3-0.5.3-cp39-cp39-manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "91dd4937adcddfbb7d242f81aded5d54",
                "sha256": "13cc9cf3edec310edecd67b85f6664b3a8fbb5dc55476cf4707037b77b710369"
            },
            "downloads": -1,
            "filename": "maixpy3-0.5.3.tar.gz",
            "has_sig": false,
            "md5_digest": "91dd4937adcddfbb7d242f81aded5d54",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 74494880,
            "upload_time": "2022-12-02T10:31:56",
            "upload_time_iso_8601": "2022-12-02T10:31:56.985254Z",
            "url": "https://files.pythonhosted.org/packages/dd/f5/b5a29b1cfff0ab9f198d1217f9ec821634aea391aa72eebb8c21a059ac9f/maixpy3-0.5.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-02 10:31:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "sipeed",
    "github_project": "maixpy3",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "maixpy3"
}
        
Elapsed time: 0.27302s