Skip to main content

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.md
  • docs/providers/index.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aikernel_providers-0.1.2.tar.gz (958.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aikernel_providers-0.1.2-py3-none-any.whl (994.3 kB view details)

Uploaded Python 3

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

Hashes for aikernel_providers-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5af14a10f061bb03022c6683467966b1ed6725bec7b85c17a8d7609e31ff872b
MD5 5729006440bb427286f756abbb245745
BLAKE2b-256 9305fa924c1b533a27b43101164fad5671c94e6737b2e713fa74ef12e88ee008

See more details on using hashes here.

Provenance

The following attestation bundles were made for aikernel_providers-0.1.2.tar.gz:

Publisher: publish-pypi.yml on AIKernel-NET/AIKernel.Providers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aikernel_providers-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aikernel_providers-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e7b5d67ef8a842adc000d85cc53980e2effdd375cd740bad34c140956f4af637
MD5 1f199b45a9c11b7d98008eb5b9fbc9fe
BLAKE2b-256 8ef1b068045e8418ddb21b094c3928013ddf4364a5fb867fd2b0110c6e4666bd

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page