█████╗ ██╗ ███████╗██████╗ ██╗ ██╗
██╔══██╗██║ ██╔════╝██╔══██╗██║ ██╔╝
███████║██║ ███████╗██║ ██║█████╔╝
██╔══██║██║ ╚════██║██║ ██║██╔═██╗
██║ ██║██║ ███████║██████╔╝██║ ██╗
╚═╝ ╚═╝╚═╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝
AI SDK
A unified interface for working with different AI language model providers. Built with clean architecture and support for many providers
Installation
pip install ai-sdk-py
Quick Start
from ai_sdk import generate_text
from ai_sdk.openai import openai
# Generate text
response = generate_text(
model=openai("gpt-4o"),
system="You are a helpful assistant.",
prompt="What is the meaning of life?"
)
print(response.text)
Features
- 🤖 Unified interface for multiple AI providers
- 🌟 Clean, modular architecture
- 🚀 Easy to extend with new providers
- 🛠️ Built-in support for function calling and tools
- 🖼️ Image generation and analysis capabilities
- 📋 Structured output generation with type validation
Supported Providers
- Anthropic (Claude)
- OpenAI (GPT-4, GPT-3.5)
- More coming soon!
Contributing
Contributions are welcome! Please read our Contributing Guidelines before submitting a pull request.
License
MIT License - see LICENSE for details.
Authors
Created and maintained by @jverre.
Metadata
Release files for ai-sdk-py 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ai_sdk_py-0.1.11.tar.gz | 17.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_sdk_py-0.1.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.7 kB
Release files / ai_sdk_py-0.1.11.tar.gz
| Download URL | ai_sdk_py-0.1.11.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51c022cbf2c72d525312f20ac43923875f9cd59d3572f90df1a2ec1773a15483
|
|
BLAKE2b-256 checksum How to use checksums |
c4f499e841e39426318d3747a20f620cae6558a3c0e3dc5137beccfb771af5d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.12
|
Release files / ai_sdk_py-0.1.11-py3-none-any.whl
| Download URL | ai_sdk_py-0.1.11-py3-none-any.whl |
|---|---|
| Size | 24.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffa23445f155c4040e66eedb7d371d4107c59faf1adf177b8f0c470d2e9ae49f
|
|
BLAKE2b-256 checksum How to use checksums |
d139fd6a359b75c70e98b8c145dfe3402d3fd338c70f678ef9a740940df334bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.12
|
Security for ai-sdk-py 0.1.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.