Python SDK
Python 3.8+ · LibreAuth native client · Protocol v2 available (Enterprise)
Python
Python 3.8+
Setup Guide
libreauth_v2.py · ops_bridge.process_check_ops after check · ops_executor + hardening · full Windows ops parity · cryptography AEAD iv16 · PyNaCl · /api/v2/
- Credentials: name + ownerid (10 characters)
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
python/libreauth.py - Ed25519 key: from
init→ Response Signing - Test: Live API · Init docs
Install / Dependencies
Terminal
pip install requests pynacl
# 1.x: libreauth.py · v2: libreauth_v2.py → /api/v2/
Code Example
Python
from libreauth_v2 import LibreAuthV2
app = LibreAuthV2("AppName", "OWNER_ID_10", "https://host/api/v2/")
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')"
Protocol v2 (Enterprise)
INFO
Requires Enterprise plan. Endpoint
https://libreauth.nutexe.dev/api/v2/. Guide: API Protocol v2.Source: python/libreauth_v2.py
Python · v2
from libreauth_v2 import LibreAuthV2
app = LibreAuthV2("AppName", "OWNER_ID_10", "https://host/api/v2/")
app.init()
app.login("user", "pass", "HWID")
More Links
- ← All Client SDKs
- 1.x source: View libreauth.py
- Protocol v2: View libreauth_v2.py · docs
- Interactive API docs
- Response Signing