dhenara (DEPRECATED)
⚠️ DEPRECATION NOTICE ⚠️
This package has been renamed to dhenara-ai.
Please update your dependencies to use the new package:
pip install dhenara-ai
No Code Changes Required
Your existing code will continue to work without changes:
# This will still work with either package installed
import dhenara.ai
Why the Change?
We've renamed the package to better reflect its focus on AI capabilities and to avoid naming conflicts. The dhenara-ai package contains all the same functionality as before.
Package Family
We're expanding the ecosystem with related packages:
dhenara-ai: The core package (formerly known as dhenara)dhenara-agent: Our new agent framework package built on top ofdhenara-aiYou can install them separately or together depending on your needs.
About Dhenara-AI
Dhenara is a genuinely open source Python package for interacting with various AI models in a unified way. It is a lightweight, straightforward framework for integrating multiple AI models into Python applications. It's similar in spirit to LangChain but with a focus on simplicity and minimal dependencies along with type safety using Pydantic Models.
Key Features
- Genuinely Open Source: Built from the ground up as a community resource, not an afterthought or internal tool
- Unified API: Interact with different AI providers through a consistent interface
- Type Safety: Built with Pydantic for robust type checking and validation
- Easy Regeneration across Providers: With a unified Pydantic output and built-in prompt formatting, send output from a model to any other model easily
- Streaming: First-class support for streaming responses along with accumulated responses similar to non-streaming responses
- Async Support: Both synchronous and asynchronous interfaces for maximum flexibility
- Resource Management: Automatic handling of connections, retries, and timeouts
- Foundation Models: Pre-configured models with sensible defaults
- Test Mode: Bring up your app with dummy responses for streaming and non-streaming generation
- Cost/Usage Data: Derived cost and usage data along with responses, with optional charge for each model endpoint for commercial deployment
- Community-Oriented Design: An architecture separating API credentials, models, and configurations for flexible deployment and scaling
Automatic Redirection
This package now serves as a thin compatibility layer that automatically installs and imports from dhenara-ai. However, it will display deprecation warnings to encourage users to migrate to the new package name.
Documentation
For full documentation, visit docs.dhenara.com.
Metadata
Release files for dhenara 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dhenara-1.0.3.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dhenara-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / dhenara-1.0.3.tar.gz
| Download URL | dhenara-1.0.3.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62c22f8d6d83df271e05642c63bf4edca60a30e96d68b16c36212fe9c0ed6f7a
|
|
BLAKE2b-256 checksum How to use checksums |
ea81f6e2eb4b354dc1119bb55817eccb9d297fbf771a9874ebcb4c92f495e021
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Release files / dhenara-1.0.3-py3-none-any.whl
| Download URL | dhenara-1.0.3-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d55691b2be438f81afdbc5e21bf305aa5738b5951b0fd805d1f9783992286a8
|
|
BLAKE2b-256 checksum How to use checksums |
ffbee591a404d07f3d7ee0343bbf992237a554c21d377fd485cbf4753a2a730c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|