Skip to main content

Flespi REST API wrapper for Python

pypi version

Installation

Use the package manager pip to install flespi

$ pip3 install flespi

Usage

from flespi import FlespiClient
# Or
from flespi.rest import FlespiClient

token = 'your_token' # Without "FlespiToken"
# Initialize Flespi instance
flespi = FlespiClient(token)

response = flespi.get('/gw/devices/all')

print(response)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for flespi 2.0.1

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

Source distribution (sdist)

Source distribution for flespi 2.0.1
File Size Uploaded Provenance Actions
flespi-2.0.1.tar.gz 3.7 kB Without provenance Details for flespi-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flespi 2.0.1
File Interpreter ABI Platform Actions
flespi-2.0.1-py3-none-any.whl Python 3 none any Details for flespi-2.0.1-py3-none-any.whl

Total release size: 7.5 kB

Release files / flespi-2.0.1.tar.gz

Download URL flespi-2.0.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b2282f44fab831999e9bcfef4edca6b9bbd9a63b36e9aebc15284ea763b0b387
BLAKE2b-256 checksum
How to use checksums
04515a3e136bb11cb2fcc60afa2b39634754b2b423cd73b9a335ac4b410b348d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.9

Release files / flespi-2.0.1-py3-none-any.whl

Download URL flespi-2.0.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d9690dc798959ff2407788f14d595a12200b179ff01ece9e8ebbd5ed0c16c24
BLAKE2b-256 checksum
How to use checksums
8be051e2b22a1bfb87535447af173ae8f3ecadb559159e97569a06c0c7300623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.9

Security for flespi 2.0.1

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