REST API for ZeroSeg Improved library.
Project description
ZeroSeg API
REST API for ZeroSeg Improved library. This API can be hosted on your Raspberry Pi device for remote displaying information on LCD display purpose.
Running
You probably don't need run it with extra options like HTTPS when you use it in your home network. Of course if you want to deploy this API to be accesible outside your home you always should enable TLS for example with NGINX reverse proxy + uWSGI or Gunicorn.
In this example you can see simplest way to run production server.
- Install packages from PyPI.
$ pip3 install --user ZeroSeg_API gunicorn
- Start server with Gunicorn CLI.
$ gunicorn ZeroSeg_API:app --log-file - --bind <LOCAL_IP>
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
ZeroSeg-API-0.3.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file ZeroSeg-API-0.3.tar.gz
.
File metadata
- Download URL: ZeroSeg-API-0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dda61da4aabf2515635506ed7e9912284af2eae565c64acdfe31ba4c19a69a5 |
|
MD5 | 185756ddfebc06019ff66655de38fb0b |
|
BLAKE2b-256 | 26c82292065e0a3e79c8acf87d14f71cf540711a25ece7dce13fd2583e614479 |
File details
Details for the file ZeroSeg_API-0.3-py3-none-any.whl
.
File metadata
- Download URL: ZeroSeg_API-0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f57c806daa33e8273410157c5afd054d00efb60f638f7035bb13ee86d147fd1 |
|
MD5 | ec27e2e2bf1e07d1d86d350c9d54562a |
|
BLAKE2b-256 | 460b9990edca601f4e061ea99db4128db91c12c98c48cf39d9067d5504fbf12f |