WindShape Software Suite SDK
Installation
uv add windsuite_sdk
# Legacy pip method
pip install windsuite_sdk
Basic Example
import os
import threading
from dotenv import load_dotenv
from windsuite_sdk import WindsuiteSDK
load_dotenv()
SERVER_IP_ADDRESS = os.getenv("SERVER_IP_ADDRESS", default="localhost")
stop_event = threading.Event()
def main() -> None:
base_url = f"http://{SERVER_IP_ADDRESS}"
print(f"Connecting to WindSuite server at {base_url}")
sdk = WindsuiteSDK(base_url=base_url)
sdk.start_communication()
main_loop_hz = 25
try:
sdk.set_psu(state=True)
stop_event.wait(timeout=2)
sdk.fan_controller.set_intensity(percent=10).apply()
while not stop_event.wait(timeout=(1.0 / main_loop_hz)):
# ! DO WHATEVER
pass
except KeyboardInterrupt:
print("\nShutting down...")
stop_event.set()
finally:
sdk.fan_controller.set_intensity(0).apply()
sdk.cleanup()
print("SDK stopped")
if __name__ == "__main__":
main()
Metadata
Release files for windsuite-sdk 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| windsuite_sdk-0.5.1.tar.gz | 97.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| windsuite_sdk-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 117.8 kB
Release files / windsuite_sdk-0.5.1.tar.gz
| Download URL | windsuite_sdk-0.5.1.tar.gz |
|---|---|
| Size | 97.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a83f351966efd5121068bf7dd7c616a8caf0f266044002a9bb5b59751a880670
|
|
BLAKE2b-256 checksum How to use checksums |
ddf43a3f33a545afab0d4ec7b5f3511ffa53a13d6c944bfead971bbd8b7498c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / windsuite_sdk-0.5.1-py3-none-any.whl
| Download URL | windsuite_sdk-0.5.1-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
205c07c5b74338a33b510c8230d673b28213b2a32e4c15b85fc64745bde4d449
|
|
BLAKE2b-256 checksum How to use checksums |
93a0ae22873f0def994ab68772945b879bb678b6b89aeb38afb992761d6c6269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for windsuite-sdk 0.5.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.