Skip to main content

DEPRECATED: Please use dhenara-ai instead

Project description

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 of dhenara-ai You 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.

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

dhenara-1.0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dhenara-1.0.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file dhenara-1.0.3.tar.gz.

File metadata

  • Download URL: dhenara-1.0.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for dhenara-1.0.3.tar.gz
Algorithm Hash digest
SHA256 62c22f8d6d83df271e05642c63bf4edca60a30e96d68b16c36212fe9c0ed6f7a
MD5 0ae8ef7220f269f9ef01c125a9b579fc
BLAKE2b-256 ea81f6e2eb4b354dc1119bb55817eccb9d297fbf771a9874ebcb4c92f495e021

See more details on using hashes here.

File details

Details for the file dhenara-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: dhenara-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for dhenara-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4d55691b2be438f81afdbc5e21bf305aa5738b5951b0fd805d1f9783992286a8
MD5 b5b97268dc2ed933b50f0bc84914a890
BLAKE2b-256 ffbee591a404d07f3d7ee0343bbf992237a554c21d377fd485cbf4753a2a730c

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