skillfed

schematichq

schematichq v1.3.3 222.1K downloads/30d#9,269 on PyPI3
Permissive license MIT Active released

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 schematichq

uv

uv add schematichq

poetry

poetry add schematichq

Installing 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

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Tags

feature flag management pythonschematic api clientasync http client apiuser company tracking sdkevent tracking libraryfeature flag serviceapi client library
feature-flagsapi-clientasync-http

More Python Modules packages