Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wolftg-0.2.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wolftg-0.2.0-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

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

Hashes for wolftg-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fed04fcf18b548473bb1b29b768f5cf3bfb9080366ab8295524459b197378186
MD5 4d33c0d13deccdc450fc95396f3911bb
BLAKE2b-256 a5018ae03c2ff2da66eea47ed372f3b10acac5f131ef20f90c76eaefd5af9c86

See more details on using hashes here.

Provenance

The following attestation bundles were made for wolftg-0.2.0.tar.gz:

Publisher: pypi_release.yml on eeeob/WolfTg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for wolftg-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 525bbfd898d6d3f178fe1ddbd518cdec6ae251d52df9c1a3e43764121edf8a47
MD5 f046b8e2564dcb1f885489801bd4466c
BLAKE2b-256 7e458a37660bdcea1a4c41892e6c7e2b329642a3d02d8edc174202e8c8f160b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for wolftg-0.2.0-py3-none-any.whl:

Publisher: pypi_release.yml on eeeob/WolfTg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page