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.2.0.tar.gz (34.4 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.2.0-py3-none-any.whl (47.9 kB view details)

Uploaded Python 3

File details

Details for the file aidial_adapter_anthropic-0.2.0.tar.gz.

File metadata

  • Download URL: aidial_adapter_anthropic-0.2.0.tar.gz
  • Upload date:
  • Size: 34.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.14 Linux/6.11.0-1018-azure

File hashes

Hashes for aidial_adapter_anthropic-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a0f7c718cb17e5aa9d971ef47c967b62d6b7eb9eeb57fa0bb887f0ab2595d9ea
MD5 275e0f5b86a7c67ea8d01f81658c835e
BLAKE2b-256 4ee963d776a4b04713cdcd43be02de7bbe21aceb412c51d938285f0f4eca6da0

See more details on using hashes here.

File details

Details for the file aidial_adapter_anthropic-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aidial_adapter_anthropic-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c05e1e763684074b406b7a3c51b051bd6c761b6cb05e2a26f2141cf1b8e19ca
MD5 19b13f333d370ff4a448ed25eb236c7e
BLAKE2b-256 254194cf942b212511c61c8033277daff389d5034706dbcb056512a39e5f80a6

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