schematichq
What it is and what it does
Schematichq is an official Python SDK for the Schematic API, a feature management and user analytics platform. It wraps HTTP calls with type-safe models and offers both synchronous and asynchronous clients powered by httpx. The library handles authentication via API key, manages feature flag evaluation, tracks user and company events, and provides CRUD operations for user and company records.
The async client supports lazy initialization (auto-starts on first use) and context manager patterns for automatic lifecycle management. All errors are subclassed from ApiError for consistent exception handling. The library requires Python 3.10 or later and depends on httpx, pydantic, pydantic-core, and typing_extensions—all standard, well-maintained packages with low installation friction.
Use it for:
- Check feature flags in your application to enable or disable functionality for specific users or companies
- Track user and company events for analytics and usage measurement within your product
- Create or update user and company records via the API when identify events are insufficient
- Build async-first applications that need non-blocking API calls without manual event flushing
- Integrate feature flag targeting into web frameworks using the context manager pattern for automatic cleanup
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client library for the Schematic API, offering synchronous and asynchronous clients with type-safe request and response handling for feature flags, user and company management, and event tracking.
Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers low installation friction. Install it if you are building on the Schematic platform and need a type-safe, async-capable Python client; otherwise, it is not applicable.
Install
schematichq on PyPI
pip
pip install schematichquv
uv add schematichqpoetry
poetry add schematichqInstalling schematichq
Before you install
Low friction install with a pure Python wheel and lightweight dependencies. Actively maintained with a recent release; last commit on 2026-08-11.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.
Quickstart
pip install schematichq
from schematichq.client import Schematic
client = Schematic("YOUR_API_KEY")
is_enabled = client.check_flag(
"feature-key",
company={"id": "company-123"},
user={"id": "user-456"}
)
Requires Python 3.10 or later; an API key from the Schematic app is required for authentication.
Verify before relying
- Whether the library handles automatic retry logic or rate limiting for API calls
- Performance characteristics and latency of the async client's lazy initialization
- Webhook verification implementation details and security guarantees
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — httpx, pydantic, pydantic-core, typing_extensions |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 222,136/month — #9,269 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: schematichq-1.3.3-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
svixSvix is a Python client library for the Svix…
permissive · top 5,000 on PyPI
SiftPython client library for Sift Science's fraud…
permissive · top 15,000 on PyPI
scale-gp-betaPython client library for the Scale GP REST API…
permissive · top 15,000 on PyPI
athenaintelProvides a Python client library for calling…
unclear · top 15,000 on PyPI
schemdrawSchemdraw generates high-quality electrical…
permissive · top 15,000 on PyPI
nebiusClient library for Nebius AI Cloud services…
unclear · top 5,000 on PyPI
lithicProvides a typed Python client for the Lithic…
permissive · top 15,000 on PyPI
GitHubKitA fully typed Python SDK for GitHub's REST and…
permissive · top 5,000 on PyPI
reka-apiProvides a Python client library for accessing…
permissive · top 15,000 on PyPI
absl-pyProvides Google's production-tested Python…
permissive · top 1,000 on PyPI