endrpi-1.0.0b22
توضیحات
Endpoints for Raspberry Pi (Endrpi) is a web API server for the Raspberry Pi that provides basic statuses and GPIO controls through a collection of HTTP endpoints.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | endrpi-1.0.0b22 |
| نام | endrpi |
| نسخه کتابخانه | 1.0.0b22 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Persanix LLC |
| ایمیل نویسنده | opensource@persanix.com |
| آدرس صفحه اصلی | https://endrpi.io |
| آدرس اینترنتی | https://pypi.org/project/endrpi/ |
| مجوز | - |

[](https://github.com/persanix-llc/endrpi-server/actions/workflows/power-on-test.yml)
[](https://github.com/persanix-llc/endrpi-server/actions/workflows/unit-tests.yml)
[](https://github.com/persanix-llc/endrpi-server/actions/workflows/coverage.yml)
[](https://github.com/persanix-llc/endrpi-server/actions/workflows/codeql-analysis.yml)
Endpoints for Raspberry Pi (Endrpi) is a web API server for the [Raspberry Pi](https://raspberrypi.org)
that provides basic statuses and GPIO controls through a collection of HTTP endpoints.
Powered by [Fast API](https://github.com/tiangolo/fastapi),
[GPIO Zero](https://github.com/gpiozero/gpiozero),
and [others](requirements.txt).
## Features
#### REST API
* Reads system statuses such as temperature, memory usage, throttling, etc.
* Reads/updates GPIO pin state, function, and pull
* Generates interactive documentation via [Swagger UI](https://swagger.io/tools/swagger-ui)
#### Websocket
* Maintains a persistent, low-latency connection
* Mirrors the REST API through a request/response action pattern
## Requirements
≥ Python 3.7
≥ Raspberry Pi 3
* Compatible with the standard [Raspberry Pi OS](https://www.raspberrypi.org/documentation/raspbian) image
* Previous Raspberry Pi versions may work but have not been verified
## Quickstart
```
pip3 install -U endrpi && endrpi
```
## Project documentation
Project documentation is hosted at [https://endrpi.io](https://endrpi.io).
The project documentation source can be found at
[https://github.com/persanix-llc/endrpi-docs](https://github.com/persanix-llc/endrpi-docs).
## License
Licensed under the Apache License, Version 2.0.
Copyright © 2020 - 2021 Persanix LLC. All rights reserved.
نیازمندی
| مقدار | نام |
|---|---|
| ==0.68.1 | fastapi |
| ==0.15.0 | uvicorn |
| ==1.8.2 | pydantic |
| ==0.7.0 | aiofiles |
| ==1.6.2 | gpiozero |
| ==0.5.3 | loguru |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl endrpi-1.0.0b22:
pip install endrpi-1.0.0b22.whl
نصب پکیج tar.gz endrpi-1.0.0b22:
pip install endrpi-1.0.0b22.tar.gz