Python SDK
Python 3.8+ · LibreAuth native client
Python
Python 3.8+
Setup Guide
pip install requests · copy libreauth.py
- Panel → Manage Applications → copy name + ownerid
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
python/libreauth.py - Ed25519 key: /health · Response Signing
- Test: Live API · Init docs
Install / Dependencies
Terminal
pip install requests
# Copy sdk/python/libreauth.py
Code Example
Python
from libreauth import LibreAuth
app = LibreAuth("AppName", "OWNER_ID_10", "1.0", "https://libreauth.nutexe.dev/api/1.3/")
app.init()
app.login("user", "pass", "HWID")
Quick Test
Test
python -c "from libreauth import LibreAuth; a=LibreAuth('App','OWNER','1.0','https://libreauth.nutexe.dev/api/1.3/'); a.init(); print('ok')"