Skip to main content

Typed Python client for Tigrbl REST and JSON-RPC APIs with sync and async calls, nested resource helpers, and optional Pydantic validation.

Project description

tigrbl_client

Tigrbl logo

Typed Python client for Tigrbl REST and JSON-RPC APIs with sync and async calls, nested resource helpers, and optional Pydantic validation.

PyPI version for tigrbl_client Downloads for tigrbl_client Discord community for tigrbl_client Repository hits for tigrbl_client README Apache 2.0 license Python versions 3.10 | 3.11 | 3.12 | 3.13 | 3.14 for tigrbl_client Workspace group for tigrbl_client

What is tigrbl_client?

Typed Python client for Tigrbl REST and JSON-RPC APIs with sync and async calls, nested resource helpers, and optional Pydantic validation.

Why use tigrbl_client?

Use it when a Python service or test suite needs a typed client for Tigrbl REST and JSON-RPC APIs.

When should I install tigrbl_client?

Install it in consumers, integration tests, SDK adapters, and automation that calls an already-running Tigrbl service.

Who is tigrbl_client for?

Client authors, API consumers, QA engineers, and service integration teams.

Where does tigrbl_client fit?

tigrbl_client lives at pkgs/core/tigrbl_client and serves calling Tigrbl services from Python clients and tests.

How does tigrbl_client work?

It wraps HTTP calls with sync and async helpers, optional API-key headers, REST CRUD helpers, JSON-RPC calls, and nested-resource helpers.

Install

uv add tigrbl_client
pip install tigrbl_client

Surface Coverage

Surface Value
PyPI package tigrbl_client
Repository path pkgs/core/tigrbl_client
Python import root tigrbl_client
Console scripts none declared
Entry points none declared
Optional extras none declared
Legal files LICENSE, NOTICE
Supported Python `3.10

What It Owns

tigrbl_client owns the client package boundary. It should be installed when you need this package's focused responsibility without assuming every other Tigrbl workspace package is present.

Implementation orientation:

  • tigrbl_client: _crud, _nested_crud, _rpc

Public API and Import Surface

  • Import roots: tigrbl_client.
  • Public symbols: NestedCRUDMixin, TigrblClient, _Schema.
  • Workspace dependencies: none declared.
  • External runtime dependencies: fastapi>=0.100.0, pydantic>=2.0.0.

Usage Examples

Verify the installed package

python -m pip show tigrbl_client
python - <<'PY'
from importlib.metadata import version
print(version("tigrbl_client"))
PY

Call REST endpoints

from tigrbl_client import TigrblClient

with TigrblClient("https://api.example.com") as client:
    item = client.get("/items/1")
    created = client.post("/items", data={"name": "example"})

Call JSON-RPC endpoints

from tigrbl_client import TigrblClient

client = TigrblClient("https://api.example.com/rpc")
result = client.call("items.get", params={"id": 1})

Use async helpers

from tigrbl_client import TigrblClient

async with TigrblClient("https://api.example.com") as client:
    item = await client.aget("/items/1")

How To Choose This Package

Choose tigrbl_client when the quick-answer table matches your use case. Choose tigrbl instead when you want the full public facade. Choose a lower-level package such as tigrbl-core, tigrbl-base, or tigrbl-runtime when you are building framework extensions or testing a specific internal boundary.

Related Packages

Documentation Links

Support

Package-local Boundary

This README is the package-local distribution entry point for tigrbl_client. It answers install, usage, API, ownership, and certification-orientation questions for this package. Broader architectural decisions, release status, and cross-package proof chains remain in the repository-level docs and SSOT registry.

Certification Status

  • Package status: governed package in the tigrbl/tigrbl workspace.
  • Governance source: SSOT registry.
  • Release evidence: publish workflow validates package builds, tests, GitHub release assets, and PyPI publication for managed packages.
  • Local certification guard: pkgs/core/tigrbl_tests/tests/unit/test_package_badges_and_notices.py verifies every package README keeps the Discord badge, Apache 2.0 badge, explicit Python-version badge, LICENSE, and NOTICE.
  • Scope note: this README documents the package boundary. Runtime feature support remains governed by .ssot/ entities and the conformance docs linked below.

License

Licensed under the Apache License, Version 2.0. See LICENSE, NOTICE, and the official Apache 2.0 license text.

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

tigrbl_client-0.4.5.dev4.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

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

tigrbl_client-0.4.5.dev4-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file tigrbl_client-0.4.5.dev4.tar.gz.

File metadata

  • Download URL: tigrbl_client-0.4.5.dev4.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tigrbl_client-0.4.5.dev4.tar.gz
Algorithm Hash digest
SHA256 02e0f1e38579ce9db2e1e9c0ba2c6876cb4f20930264cccef2c853dc02ca4da1
MD5 c43b23cd2e5fb68c1cded6d162df75de
BLAKE2b-256 a3a30b3f2ee8977a57a51a8736a0b616365df82431bf2944eca5569172f7eb7c

See more details on using hashes here.

File details

Details for the file tigrbl_client-0.4.5.dev4-py3-none-any.whl.

File metadata

  • Download URL: tigrbl_client-0.4.5.dev4-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tigrbl_client-0.4.5.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 9a9b2e78f19ef355871ca515a6e5b8f5c7906e812538701eb652444f0a296901
MD5 6ba010267b3a6889bf81107f195cab23
BLAKE2b-256 1a59fa888306386b0ed0f0e9497001f4d98212ff14bb3687b9a027d3eaa7f47c

See more details on using hashes here.

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