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.0.tar.gz (13.1 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.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wolftg-0.1.0.tar.gz
  • Upload date:
  • Size: 13.1 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.0.tar.gz
Algorithm Hash digest
SHA256 b173dcea19015f30223e91f07c99b95fa1d09e53061616cb63265de352d2b3aa
MD5 0a045c9c02b34b35699d11b43df5a6e7
BLAKE2b-256 0a269804e98177e82997404974bc982d4f65abf302a1e44559e7fa91c11c3a54

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: wolftg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 baab22bf5eae605754d6d2e841dcdaf4e8922513349c4d0d3ab028ce0307b4ca
MD5 b2b5f839028e251ccb9bee4cc05e19f1
BLAKE2b-256 3454031b6a98ab1f7b12231e66ade311ba4437111b25f66d682ea3aacecc8f6e

See more details on using hashes here.

Provenance

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