Official Python SDK for EpicAuth — a modern authentication and licensing solution for applications.
Install the latest version from PyPI:
pip install epicauthUpgrade to the latest version:
pip install --upgrade epicauthfrom epicauth import EpicAuth
EpicAuthApp = EpicAuth(
name="MyApplication",
ownerid="YOUR_OWNER_ID",
version="1.0",
hash_to_check=get_checksum(),
)That's it. Your application can now communicate with EpicAuth.
The EpicAuth client is initialized with your application information:
from epicauth import EpicAuth
EpicAuthApp = EpicAuth(
name="MyApplication",
ownerid="YOUR_OWNER_ID",
version="1.0",
hash_to_check="YOUR_FILE_HASH",
)
EpicAuthApp.init()| Parameter | Type | Description |
|---|---|---|
name |
str |
Your EpicAuth application name |
ownerid |
str |
Your EpicAuth owner ID |
version |
str |
Current application version |
hash_to_check |
str |
Application integrity hash |
A complete example can be found in the official example repository:
EpicAuth Python Example
https://github.com/epicauth-org/EpicAuth-Python-Example
The example repository demonstrates how to integrate the SDK into a Python application.
- Simple Python API
- EpicAuth authentication
- Application initialization
- License management
- Application version checking
- Update detection
- Application integrity verification
- Lightweight integration
- PyPI distribution
- Python 3.10+
requests
Install the SDK and its dependencies automatically with:
pip install epicauthEpicAuth-python-sdk/
├── src/
│ └── epicauth/
│ ├── __init__.py
│ └── client.py
├── examples/
│ └── main.py
├── LICENSE
├── README.md
└── pyproject.toml
Clone the repository:
git clone https://github.com/epicauth-org/EpicAuth-python-sdk.git
cd EpicAuth-python-sdkInstall the package locally:
pip install -e .EpicAuth Python SDK follows semantic versioning:
MAJOR.MINOR.PATCH
For example:
1.0.0
1.1.0
1.1.1
See the Releases page for available versions.
The package is available on PyPI:
https://pypi.org/project/epicauth/
Install it with:
pip install epicauthEpicAuth Python SDK is licensed under the Elastic License 2.0.
See LICENSE for the complete license terms.
- PyPI: https://pypi.org/project/epicauth/
- GitHub: https://github.com/epicauth/EpicAuth-python-sdk
- Examples: https://github.com/epicauth/EpicAuth-Python-Example
- EpicAuth: https://epicauth.cc
Made for developers using EpicAuth.