AuthlyX Python SDK (PyPI)
This folder is the publish-ready PyPI package version of the AuthlyX Python SDK.
The package name is:
pip install authlyx-api
Quick Start
from authlyx_api import AuthlyX
AuthlyXApp = AuthlyX(
ownerId="12345678",
appName="MYAPP",
version="1.0.0",
secret="your-secret",
debug=True,
api="https://authly.cc/api/v2",
)
AuthlyXApp.Init()
Optional Parameters
AuthlyXApp = AuthlyX(
ownerId="12345678",
appName="MYAPP",
version="1.0.0",
secret="your-secret",
debug=False,
api="https://example.com/api/v2",
)
Available options
-
debug- Default:
True - Set
Falseto disable SDK logs
- Default:
-
api- Default:
https://authly.cc/api/v2 - Use this for your custom domain
- Default:
Available Methods
Init()Login(identifier, password=None, deviceType=None)Register(username, password, licenseKey, email="")ChangePassword(oldPassword, newPassword)ExtendTime(username, licenseKey)GetVariable(key)SetVariable(key, value)Log(message)GetChats(channelName, limit=100, cursor=None)SendChat(message, channelName=None)ValidateSession()
Authentication Example
# Username + password
AuthlyXApp.Login("username", password="password")
# License key only
AuthlyXApp.Login("XXXXX-XXXXX-XXXXX-XXXXX-XXXXX")
# Device login
AuthlyXApp.Login("YOUR_DEVICE_ID", deviceType="motherboard")
Variable Example
AuthlyXApp.SetVariable("theme", "dark")
value = AuthlyXApp.GetVariable("theme")
print(value)
Logging
By default, SDK logging is enabled.
Logs are written to:
C:\ProgramData\AuthlyX\{AppName}\YYYY_MM_DD.log
Sensitive values such as passwords, secrets, session IDs, request IDs, nonces, license keys, and hashes are masked automatically.
Metadata
Release files for authlyx-api 2.2.0
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 | Actions |
|---|---|---|---|---|
| authlyx_api-2.2.0.tar.gz | 12.2 kB | Without provenance | Details for authlyx_api-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| authlyx_api-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for authlyx_api-2.2.0-py3-none-any.whl |
Total release size: 23.5 kB
Release files / authlyx_api-2.2.0.tar.gz
| Download URL | authlyx_api-2.2.0.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc4c19e95f8602e0116e13c7638f7d7f89e9ab3bea121dbd29ffdf2e2bcd8d40
|
|
BLAKE2b-256 checksum How to use checksums |
2704bc0929d41f8ca6065f6e853092b976831d7bbf9d6a544a6fa847e3bc51b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / authlyx_api-2.2.0-py3-none-any.whl
| Download URL | authlyx_api-2.2.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab6a610d377c1fbae1c6ca8e2ab087166df98cb9e3030a8ca388418c557d73af
|
|
BLAKE2b-256 checksum How to use checksums |
d45e3947f76c46a4bde54ed610dd770943e55fc1428c56e857a636e1f60d9bd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for authlyx-api 2.2.0
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.