Skip to main content

海萤物联网教程:物联网RPC框架MicroPython DCOM

欢迎前往社区交流:海萤物联网社区

简介

MicroPython是可以运行在微处理器上的Python解释器,它可以运行在一些单片机上,比如esp32,树莓派pico等。

因为不是全功能的Python,MicroPython做了很多裁剪,很多库与标准版的Python也不同。DCOM为了移植到MicroPython,做了一些适配工作。MicroPython版本的DCOM库所有API接口都和标准版本一致,使用方法也一致。

DCOM的简介与Python下的DCOM库可以查看文档:海萤物联网教程:物联网RPC框架Python DCOM

开源

安装

MicroPython版本的DCOM库已上传到pypi,包名是micropython-dcompy。可以通过pip下载到指定目录,比如以下命令是下载到package目录下:

pip install --target=d:\package micropython-dcompy

下载后文件如下图: 在这里插入图片描述

其中dcompy即是软件包,另外两个文件可以删除。

Metadata

Release files for micropython-dcompy 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for micropython-dcompy 1.3
File Size Uploaded Provenance
micropython-dcompy-1.3.tar.gz 11.7 kB Without provenance Details

Release files / micropython-dcompy-1.3.tar.gz

Download URL micropython-dcompy-1.3.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
56a58163da6b3629298086543d40e592f727145931b1169c2b55a81880b27585
BLAKE2b-256 checksum
How to use checksums
07f3fd1b68221925af96edb12687049d826a3491458210f34cef8ee819dbd371
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.7

Security for micropython-dcompy 1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page