Python wrapper for AIKernel.Providers v0.1.2 official extension providers with bundled managed assemblies and pythonnet loading.
Project description
aikernel-providers
Python wrappers for AIKernel extension providers.
Starting with the 0.1.2 canon line, aikernel-providers exposes provider
contract boundaries from the C# AIKernel.Providers assemblies without
re-implementing provider semantics in Python.
Import Surface
from aikernel_providers import (
ChatOpenAICapability,
ChatOpenAIProvider,
ChatOpenAISettings,
ChatHistoryCapability,
ChatHistoryProvider,
ChatHistorySettings,
CudaComputeCapability,
CudaComputeProvider,
CudaComputeSettings,
DynamicPipelineCompilerCapability,
DynamicPipelineCompilerProvider,
DynamicPipelineCompilerSettings,
LocalLlmCapability,
LocalLlmProvider,
LocalLlmSettings,
MicrosoftAIProvider,
MicrosoftAIProviderCapabilities,
MicrosoftAIProviderOptions,
CpuComputeProvider,
standard_driver_contracts,
provider_assemblies,
)
Example
from aikernel_providers import ChatOpenAICapability, provider_assemblies
capability = ChatOpenAICapability("openai.chat").to_contract()
print(capability.capability_id)
print(capability.provided_operations)
assemblies = provider_assemblies()
print(assemblies.is_complete())
Python packaging resolves provider assemblies through pythonnet and delegates Python objects to the C# contract surface.
Managed API Catalog
The v0.1.2 package exposes the generated managed API catalog through
managed_api_catalog(), managed_api_summary(), managed_type_names(), and
find_managed_type(full_name).
The reference package includes wrappers for the public Provider, Invoker,
Capability descriptor, Settings, MicrosoftAI option/capability/response mapping
surfaces, and AIKernel.Providers.Standard OS driver descriptors. C# hosting-
specific extension methods remain C# APIs.
Included Providers
- ChatOpenAIProvider
- ChatHistoryProvider
- CudaComputeProvider
- DynamicPipelineCompilerProvider
- LocalLlmProvider
- AIKernel.Providers.MicrosoftAI
- AIKernel.Providers.Standard
MicrosoftAI support is represented because ownership of that provider moved from AIKernel.Core to AIKernel.Providers for the 0.1.1 release.
See the repository documentation for the full package scope:
docs/python/index.mddocs/providers/index.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aikernel_providers-0.1.2.tar.gz.
File metadata
- Download URL: aikernel_providers-0.1.2.tar.gz
- Upload date:
- Size: 958.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5af14a10f061bb03022c6683467966b1ed6725bec7b85c17a8d7609e31ff872b
|
|
| MD5 |
5729006440bb427286f756abbb245745
|
|
| BLAKE2b-256 |
9305fa924c1b533a27b43101164fad5671c94e6737b2e713fa74ef12e88ee008
|
Provenance
The following attestation bundles were made for aikernel_providers-0.1.2.tar.gz:
Publisher:
publish-pypi.yml on AIKernel-NET/AIKernel.Providers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aikernel_providers-0.1.2.tar.gz -
Subject digest:
5af14a10f061bb03022c6683467966b1ed6725bec7b85c17a8d7609e31ff872b - Sigstore transparency entry: 1859864083
- Sigstore integration time:
-
Permalink:
AIKernel-NET/AIKernel.Providers@5c277262b9c2c2c44e12700a12bd018ce945957f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/AIKernel-NET
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5c277262b9c2c2c44e12700a12bd018ce945957f -
Trigger Event:
push
-
Statement type:
File details
Details for the file aikernel_providers-0.1.2-py3-none-any.whl.
File metadata
- Download URL: aikernel_providers-0.1.2-py3-none-any.whl
- Upload date:
- Size: 994.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7b5d67ef8a842adc000d85cc53980e2effdd375cd740bad34c140956f4af637
|
|
| MD5 |
1f199b45a9c11b7d98008eb5b9fbc9fe
|
|
| BLAKE2b-256 |
8ef1b068045e8418ddb21b094c3928013ddf4364a5fb867fd2b0110c6e4666bd
|
Provenance
The following attestation bundles were made for aikernel_providers-0.1.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on AIKernel-NET/AIKernel.Providers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aikernel_providers-0.1.2-py3-none-any.whl -
Subject digest:
e7b5d67ef8a842adc000d85cc53980e2effdd375cd740bad34c140956f4af637 - Sigstore transparency entry: 1859864118
- Sigstore integration time:
-
Permalink:
AIKernel-NET/AIKernel.Providers@5c277262b9c2c2c44e12700a12bd018ce945957f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/AIKernel-NET
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5c277262b9c2c2c44e12700a12bd018ce945957f -
Trigger Event:
push
-
Statement type: