Skip to main content

Package implementing adapter from DIAL Chat Completions API to Anthropic API

Project description

Python SDK for adapter from DIAL API to Anthropic API

About DIALX

PyPI version Discord


Overview

The framework provides adapter from AI DIAL Chat Completion API to Anthropic Messages API.


Developer environment

To install requirements:

poetry install

This will install all requirements for running the package, linting, formatting and tests.


Set up

Lint

Run the linting before committing:

make lint

To auto-fix formatting issues run:

make format

Test

Run unit tests locally for available python versions:

make test

Run unit tests for the specific python version:

make test PYTHON=3.13

Clean

To remove the virtual environment and build artifacts run:

make clean

Build

To build the package run:

make build

Publish

To publish the package to PyPI run:

make publish

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

aidial_adapter_anthropic-0.4.0rc0.tar.gz (35.1 kB view details)

Uploaded Source

Built Distribution

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

aidial_adapter_anthropic-0.4.0rc0-py3-none-any.whl (48.5 kB view details)

Uploaded Python 3

File details

Details for the file aidial_adapter_anthropic-0.4.0rc0.tar.gz.

File metadata

  • Download URL: aidial_adapter_anthropic-0.4.0rc0.tar.gz
  • Upload date:
  • Size: 35.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.14 Linux/6.14.0-1017-azure

File hashes

Hashes for aidial_adapter_anthropic-0.4.0rc0.tar.gz
Algorithm Hash digest
SHA256 041ec51bfbba0ce5631490bcec8a6ca70058c6fc22e4c5acf1eb9c1959472076
MD5 a79ef8f71d10556e0b411e23a71df8f4
BLAKE2b-256 e8bba52a6c661d6424696665570ef7e5d78d8b9fa29601fd87fc4dfa35ca2f4e

See more details on using hashes here.

File details

Details for the file aidial_adapter_anthropic-0.4.0rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for aidial_adapter_anthropic-0.4.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 1253c2486f396e7171977ecb984903a1ea31a8cf2809f9f57e324e48e1df019f
MD5 3e3a831c4e0a32ec6c324025c51917dc
BLAKE2b-256 39de5cd1bf38ad84714582d9cd21b045da54c59d036b94f67596a1117f439127

See more details on using hashes here.

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