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.1.1.tar.gz (13.2 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.1.1-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file wolftg-0.1.1.tar.gz.

File metadata

  • Download URL: wolftg-0.1.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wolftg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e2e5b5e44a8326a7739991d791c471e5ff04194e3af5a332347a174fd9e560bd
MD5 1f3a504c265abc18d64dbb4ddedf7b6d
BLAKE2b-256 01af63f3ce978a46f7209052d58f5d5c0627f53acc47889a787dbd8eb0ec9c69

See more details on using hashes here.

Provenance

The following attestation bundles were made for wolftg-0.1.1.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.1.1-py3-none-any.whl.

File metadata

  • Download URL: wolftg-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wolftg-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8801b52573f19650b14f696c7c6ecd3158f91916587899108aee0c96b848872
MD5 80697563ff843f6beb49a6bcb23688ab
BLAKE2b-256 ca9b2c5ec7f3845489900ebc3d40f951fd572c847bbb84912f7d08ed0b180a4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for wolftg-0.1.1-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