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

RPITCY-0.0.2.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

RPITCY-0.0.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file RPITCY-0.0.2.tar.gz.

File metadata

  • Download URL: RPITCY-0.0.2.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 RPITCY-0.0.2.tar.gz
Algorithm Hash digest
SHA256 de82b649143242998594a2594f155c2db3c31aa742f4fd62a64cb45f5b04ce27
MD5 73a4d80af4cab2c3b330257df8ceb5a6
BLAKE2b-256 7efcc2ea388021de58b382669d876eda3fe41abc668b8edb1fad254532b5119d

See more details on using hashes here.

File details

Details for the file RPITCY-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: RPITCY-0.0.2-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 RPITCY-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 41e299c8c15f3851f6e917aab95d786ace3e85ac4d8068ffc812a614be113198
MD5 155cc12f77cea959dfadf56059dd08fe
BLAKE2b-256 c30b03b2d006bbcf54ed7954ae279822443b5c9a0ab1f1dbc4444a88731d884e

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