skillfed

microsoft-kiota-abstractions

Core abstractions for kiota generated libraries in Python

microsoft-kiota-abstractions v1.11.9 13.9M downloads/30d#1,259 on PyPI3,802
Permissive license Active released

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-abstractions

uv

uv add microsoft-kiota-abstractions

poetry

poetry add microsoft-kiota-abstractions

Installing 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

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

kiota sdk abstractionsopenapi code generation pythonkiota generated library basemicrosoft graph sdk foundationkiota request handling
kiotaopenapisdk-foundation

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

microsoft-kiota-bundle

Provides default client setup and request…

permissive · top 15,000 on PyPI

microsoft-kiota-http

Provides an HTTP client implementation for…

permissive · top 5,000 on PyPI

microsoft-kiota-serialization-json

Serializes and deserializes JSON payloads for…

permissive · top 5,000 on PyPI

microsoft-kiota-authentication-azure

Provides Azure identity authentication for HTTP…

permissive · top 5,000 on PyPI

microsoft-kiota-serialization-form

Handles serialization of data into…

permissive · top 5,000 on PyPI

microsoft-kiota-serialization-multipart

Handles multipart/form-data serialization for…

permissive · top 5,000 on PyPI

microsoft-kiota-serialization-text

Serializes and deserializes plain text payloads…

permissive · top 5,000 on PyPI

msgraph-core

Provides core HTTP client infrastructure for…

permissive · top 5,000 on PyPI

msgraph-beta-sdk

Provides async-first Python bindings to the…

unclear · top 15,000 on PyPI

uipath-core

Provides core abstractions, data models, and…

unclear · top 5,000 on PyPI