Official Python SDK for the WolfTg API.
Project description
WolfTg
Official Python SDK for the WolfTg API.
WolfTg provides a simple and modern interface for interacting with the WolfTg API from Python applications. The library includes both synchronous and asynchronous clients with fully typed request models powered by Pydantic.
Features
- Official WolfTg API client
- Synchronous and asynchronous interfaces
- Type-safe request models
- Built-in request validation using Pydantic
- Configurable HTTP sessions
- Connection pooling
- Easy integration into existing Python projects
Requirements
- Python 3.12 or newer
Installation
pip install WolfTg
Quick Start
Synchronous Client
from WolfTg import Client
from WolfTg.methods import GetBalance
with Client(api_key="YOUR_API_KEY") as client:
result = client(GetBalance())
print(result)
Asynchronous Client
import asyncio
from WolfTg import AsyncClient
from WolfTg.methods import GetBalance
async def main():
client = AsyncClient(api_key="YOUR_API_KEY")
await client.start()
try:
result = await client(GetBalance())
print(result)
finally:
await client.stop()
asyncio.run(main())
Configuration
The client can be configured with custom options such as:
- API key
- Request timeout
- HTTP session implementation
- Custom HTTP settings
Refer to the API documentation for all available options.
Documentation
- API Documentation: https://wolf-tg.com/api/docs
Support
If you encounter a bug or would like to request a feature, please open an issue on GitHub.
Repository:
https://github.com/eeeob/WolfTg
License
This project is licensed under the MIT License (or the license included with this repository).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wolftg-0.2.0.tar.gz.
File metadata
- Download URL: wolftg-0.2.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fed04fcf18b548473bb1b29b768f5cf3bfb9080366ab8295524459b197378186
|
|
| MD5 |
4d33c0d13deccdc450fc95396f3911bb
|
|
| BLAKE2b-256 |
a5018ae03c2ff2da66eea47ed372f3b10acac5f131ef20f90c76eaefd5af9c86
|
Provenance
The following attestation bundles were made for wolftg-0.2.0.tar.gz:
Publisher:
pypi_release.yml on eeeob/WolfTg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wolftg-0.2.0.tar.gz -
Subject digest:
fed04fcf18b548473bb1b29b768f5cf3bfb9080366ab8295524459b197378186 - Sigstore transparency entry: 2234408677
- Sigstore integration time:
-
Permalink:
eeeob/WolfTg@65794031eab29059f117d367d22a647f19f31e34 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/eeeob
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_release.yml@65794031eab29059f117d367d22a647f19f31e34 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wolftg-0.2.0-py3-none-any.whl.
File metadata
- Download URL: wolftg-0.2.0-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
525bbfd898d6d3f178fe1ddbd518cdec6ae251d52df9c1a3e43764121edf8a47
|
|
| MD5 |
f046b8e2564dcb1f885489801bd4466c
|
|
| BLAKE2b-256 |
7e458a37660bdcea1a4c41892e6c7e2b329642a3d02d8edc174202e8c8f160b6
|
Provenance
The following attestation bundles were made for wolftg-0.2.0-py3-none-any.whl:
Publisher:
pypi_release.yml on eeeob/WolfTg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wolftg-0.2.0-py3-none-any.whl -
Subject digest:
525bbfd898d6d3f178fe1ddbd518cdec6ae251d52df9c1a3e43764121edf8a47 - Sigstore transparency entry: 2234409497
- Sigstore integration time:
-
Permalink:
eeeob/WolfTg@65794031eab29059f117d367d22a647f19f31e34 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/eeeob
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi_release.yml@65794031eab29059f117d367d22a647f19f31e34 -
Trigger Event:
push
-
Statement type: