microsoft-kiota-abstractions
Core abstractions for kiota generated libraries in Python
What it is and what it does
Microsoft Kiota Abstractions is a foundational library that defines the base classes, interfaces, and utilities that Kiota-generated SDKs rely on to operate. When you generate a Python SDK from an OpenAPI definition using Kiota, the resulting code imports from this package to handle HTTP requests, serialization, authentication middleware, and other core SDK behaviors. It is not meant to be used directly in application code, but rather as a required dependency that generated SDKs bring in automatically.
The package depends on std-uritemplate for URI template handling and opentelemetry libraries for observability instrumentation. It maintains active development with support for Python 3.10 through 3.14, and carries no known security vulnerabilities. Installation is straightforward with low friction.
Use it for:
- Ensure a Kiota-generated Microsoft Graph SDK or other OpenAPI-based SDK has the abstractions it needs to run
- Extend or customize request handling behavior in a generated SDK by working with the base request adapter classes
- Enable observability in generated SDKs through the included OpenTelemetry instrumentation hooks
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides core abstractions and base classes that Kiota-generated SDKs depend on to function, including request handling, serialization, and HTTP middleware patterns.
Yes—but only as a transitive dependency of a Kiota-generated SDK. Do not install directly unless you are developing or customizing a generated SDK. If you are using a Kiota-generated library, this package will be pulled in automatically and requires no action. The active maintenance, permissive license, low install friction, and zero known vulnerabilities make it safe and reliable.
Install
microsoft-kiota-abstractions on PyPI
pip
pip install microsoft-kiota-abstractionsuv
uv add microsoft-kiota-abstractionspoetry
poetry add microsoft-kiota-abstractionsInstalling microsoft-kiota-abstractions
Before you install
Low friction install with three lightweight runtime dependencies (std-uritemplate, opentelemetry-api, opentelemetry-sdk). Active maintenance with a release on 2026-08-14 and 3802 repository stars.
License in practice
Permissive license treatment allows use in most projects without restriction.
Quickstart
pip install microsoft-kiota-abstractions
from microsoft_kiota_abstractions import RequestAdapter
# Use in a Kiota-generated SDK that depends on this package
Requires Python 3.10 or later; intended as a dependency of generated SDKs rather than direct application code.
Verify before relying
- What specific request patterns or middleware hooks the abstractions expose beyond what the description implies
- Whether the opentelemetry dependencies are optional or always required
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — std-uritemplate, opentelemetry-api, opentelemetry-sdk |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 13,898,288/month — #1,259 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: microsoft_kiota_abstractions-1.11.9-py3-none-any.whl
Keywords: kiota, openAPI, Microsoft, Graph
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
microsoft-kiota-bundleProvides default client setup and request…
permissive · top 15,000 on PyPI
microsoft-kiota-httpProvides an HTTP client implementation for…
permissive · top 5,000 on PyPI
microsoft-kiota-serialization-jsonSerializes and deserializes JSON payloads for…
permissive · top 5,000 on PyPI
microsoft-kiota-authentication-azureProvides Azure identity authentication for HTTP…
permissive · top 5,000 on PyPI
microsoft-kiota-serialization-formHandles serialization of data into…
permissive · top 5,000 on PyPI
microsoft-kiota-serialization-multipartHandles multipart/form-data serialization for…
permissive · top 5,000 on PyPI
microsoft-kiota-serialization-textSerializes and deserializes plain text payloads…
permissive · top 5,000 on PyPI
msgraph-coreProvides core HTTP client infrastructure for…
permissive · top 5,000 on PyPI
msgraph-beta-sdkProvides async-first Python bindings to the…
unclear · top 15,000 on PyPI
uipath-coreProvides core abstractions, data models, and…
unclear · top 5,000 on PyPI