Skip to content

0.10.0 — 2025-02-25

← 0.10.1 | 0.9.0 → | ↑ 0.x series

Features

  • Redis Integration: New caching and key-value storage system:

    • Flexible key-value operations
    • Built-in TTL support
    • Connection pooling
    • Comprehensive error handling
  • Email Service: New email integration system:

    • Multiple email provider support
    • Template-based email sending
    • Attachment handling
    • Async operation support

Configuration

  • Enhanced configuration management system
  • Added support for Redis and email settings
  • Improved environment variable handling

Usage Example

# Initialize the Redis adapter
from archipy.adapters.redis.adapters import RedisAdapter

redis = RedisAdapter()

# Basic operations
redis.set("user:1:name", "John Doe")
name = redis.get("user:1:name")

# Using with TTL
redis.set("session:token", "abc123", ttl=3600)  # Expires in 1 hour