{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"}],"enrichment":{"capability":"Provides a typed Python client library for the Knock REST API, supporting both synchronous and asynchronous workflows with automatic pagination and comprehensive error handling.","skillfed_tags":["api-client","async-support","typed-sdk"],"use_cases":["Trigger notification workflows programmatically from a Python application with typed parameters and response validation.","Build async notification systems using AsyncKnock for high-concurrency environments without blocking I/O.","Iterate over paginated user or message lists automatically without manual page-fetching logic.","Handle API errors with specific exception types (RateLimitError, AuthenticationError, etc.) for granular retry/fallback logic.","Integrate Knock notifications into a Django, FastAPI, or other Python web framework with full type hints for IDE support."],"what_it_does":"knockapi is the official Python client for Knock's REST API, generated by Stainless. It wraps HTTP calls to Knock's notification and workflow service with a typed, object-oriented interface. Both synchronous (Knock) and asynchronous (AsyncKnock) clients are provided, powered by httpx; the async client can optionally use aiohttp for higher concurrency. All request parameters and response fields are typed using TypedDicts and Pydantic models, enabling IDE autocomplete and type checking.\n\nThe library handles pagination automatically, error classification (connection errors, 4xx/5xx responses), and retries (2x by default for transient failures, 408, 429, and 5xx errors). Responses include helper methods for serialization (to_json, to_dict). It targets developers building notification workflows, triggering campaigns, or managing user data through Knock's API.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and is Apache-2.0 licensed. It provides a well-typed, modern Python interface to Knock's API with both sync and async support. Install it if you need to integrate Knock notifications into a Python application."},"id":"knockapi","links":{"html":"https://skillfed.io/packages/knockapi","md":"https://skillfed.io/packages/knockapi.md","pypi":"https://pypi.org/project/knockapi/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-16","license_spdx":null,"license_treatment":"permissive","name":"knockapi","python_support":"supports_current","summary":"The official Python library for the knock API"},"popularity":{"monthly_downloads":1044728,"position":4453,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.29.0"}
