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:
Metadata
Release files for javelin-sdk 0.2.40
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| javelin_sdk-0.2.40.tar.gz | 39.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| javelin_sdk-0.2.40-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 88.4 kB
Release files / javelin_sdk-0.2.40.tar.gz
| Download URL | javelin_sdk-0.2.40.tar.gz |
|---|---|
| Size | 39.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
459c1ba1365812420986c24a8a1fb6489b76bb40905a81867cf1ffa2743b62e3
|
|
BLAKE2b-256 checksum How to use checksums |
20ea5c4c3ec6d6d65fb062d17e762b01a574246d2f1582259167e6ebac2af201
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.11
|
Release files / javelin_sdk-0.2.40-py3-none-any.whl
| Download URL | javelin_sdk-0.2.40-py3-none-any.whl |
|---|---|
| Size | 48.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25509edd651b9bac2a3433c58068ba03a2aeaf782653d89fcde1981f915b8917
|
|
BLAKE2b-256 checksum How to use checksums |
bdaf44fe428492fbece5a415228e397e1b3328b03d72c49e38c0cb1de681e827
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.11
|