Python client for Javelin
Project description
Javelin: an Enterprise-Scale, Fast LLM Gateway/Edge
This is the Python client package for Javelin.
For more information about Javelin, see https://getjavelin.com
Javelin Documentation: https://docs.getjavelin.io
Development
For local development, Please change version = "RELEASE_VERSION" with any semantic version example : version = "v0.1.10" in pyproject.toml
Make sure that the file pyproject.toml reverted before commit back to main
Installation
pip install javelin-sdk
Quick Start Guide
Development Setup
Setting up Virtual Environment
Windows
# Create virtual environment
python -m venv venv
# Activate virtual environment
venv\Scripts\activate
# Install dependencies
pip install poetry
poetry install
macOS/Linux
# Create virtual environment
python -m venv venv
# Activate virtual environment
source venv/bin/activate
# Install dependencies
pip install poetry
poetry install
Building and Installing the SDK
# Uninstall any existing version
pip uninstall javelin-sdk -y
# Build the package
poetry build
# Install the newly built package
pip install dist/javelin_sdk-<version>-py3-none-any.whl
Universal Endpoints
Javelin provides universal endpoints that allow you to use a consistent interface across different LLM providers. Here are the main patterns:
Azure OpenAI
Bedrock
Gemini
Agent Examples
Basic Examples
Advanced Examples
Additional Integration Patterns
For more detailed examples and integration patterns, check out:
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 javelin_sdk-0.2.40.tar.gz.
File metadata
- Download URL: javelin_sdk-0.2.40.tar.gz
- Upload date:
- Size: 39.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
459c1ba1365812420986c24a8a1fb6489b76bb40905a81867cf1ffa2743b62e3
|
|
| MD5 |
a780a85213303a65e95bae971cd56287
|
|
| BLAKE2b-256 |
20ea5c4c3ec6d6d65fb062d17e762b01a574246d2f1582259167e6ebac2af201
|
File details
Details for the file javelin_sdk-0.2.40-py3-none-any.whl.
File metadata
- Download URL: javelin_sdk-0.2.40-py3-none-any.whl
- Upload date:
- Size: 48.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25509edd651b9bac2a3433c58068ba03a2aeaf782653d89fcde1981f915b8917
|
|
| MD5 |
19d50da11955e7bfcf459b2e6444cf0c
|
|
| BLAKE2b-256 |
bdaf44fe428492fbece5a415228e397e1b3328b03d72c49e38c0cb1de681e827
|