Skip to main content

A class to control Raspberry Pi GPIO channels

Project description

Spring-RPi

介绍

树莓派cpython对接

软件架构

软件架构说明

安装教程

  1. xxxx
  2. xxxx
  3. xxxx

使用说明

  1. 一些命令需要更新版本的pip,所以首先确保你安装了最新版本: Linux: python3 -m pip install --upgrade pip Windows: py -m pip install --upgrade pip

  2. 安装最新版本的 PyPA构建 先安装pip包 Linux: python3 -m ensurepip --default-pip Windows: py -m ensurepip --default-pip(python -m pip) 再安装编译包工具 Linux: python3 -m pip install --upgrade build Windows:py -m pip install --upgrade build

  3. 编译包 Linux: python3 -m build Windows:py -m build

    此命令应输出大量文本,完成后应在dist目录中生成两个文件: dist/ example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl example_package_YOUR_USERNAME_HERE-0.0.1.tar.gz 该tar.gz文件是一个源档案,而该 .whl文件是一个内置的分发。 较新的 pip版本优先安装构建的发行版,但如果需要,将回退到源存档。 您应该始终上传源存档并为您的项目兼容的平台提供构建的存档。 在这种情况下,我们的示例包在任何平台上都与 Python 兼容, 因此只需要一个构建的发行版。

  4. 上传包到PyPi 安装:twine Linux:python3 -m pip install --upgrade twine Windows:py -m pip install --upgrade twine 安装后,运行 Twine 以上传以下所有档案dist: 上传测试服务器: Linux:python3 -m twine upload --repository testpypi dist/* Windows:py -m twine upload --repository testpypi dist/*

    上传正式服务器: Linux:python3 -m twine upload dist/--repository Windows:py -m twine upload dist/--repository

  5. 使用上传的python包 Linux:python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps example-pkg-YOUR-USERNAME-HERE Windows:py -m pip install --index-url https://test.pypi.org/simple/ --no-deps example-pkg-YOUR-USERNAME-HERE

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

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

rpi.tcy-0.0.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

rpi.tcy-0.0.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file rpi.tcy-0.0.1.tar.gz.

File metadata

  • Download URL: rpi.tcy-0.0.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6rc1

File hashes

Hashes for rpi.tcy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2d36c16f82f2f3b72392704bedd90a6d51f8d2038a2adacc9f9b71a0c163f5f0
MD5 91717b5f866bd82a60cd8dd52644f190
BLAKE2b-256 9141ad1a0606d2b9c453f8de83af7104e190ba89ccd9aa925ed2991bbcd04c80

See more details on using hashes here.

File details

Details for the file rpi.tcy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: rpi.tcy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.6rc1

File hashes

Hashes for rpi.tcy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac222ae06cc0150e045e9dc6684d7562b718d567fb2a3bcc46faeb18fa39d76c
MD5 99cedba233731a25257f9026dcc81374
BLAKE2b-256 7bbdc460b10cb988e14ea77e6e3f18e539bf9f2da2c4da78e3dd734cd73ff9a2

See more details on using hashes here.

Supported by

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