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.

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.

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.

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.3.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.3.dev4-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tigrbl_client-0.4.3.dev4.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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.3.dev4.tar.gz
Algorithm Hash digest
SHA256 ebc2b26053367506d05422e25c5ab5627b964fa3ff5d24661cce7e131fc06313
MD5 a5d575877caa00b4221b2639d067e6d3
BLAKE2b-256 a6ae05a80c575b024dbcd799e11eba05bd8abf27dc16e3ad15aed4d6d743a9e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tigrbl_client-0.4.3.dev4-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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.3.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 9a1a505e0f65c7847201a674c7990edf69f2b542c824e1579fa7b2fa8c7f4555
MD5 91ff5000c5831cf1973401fd38b77f63
BLAKE2b-256 e7aa9e1c982c63a40cfa8dda06e39117f38e1243edc32b9b21a27ae115a7bb09

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