Metadata-Version: 2.4
Name: dracula-ai
Version: 0.2.1
Summary: A simple Python library for Google Gemini with memory support.
Author-email: Suleyman Ibis <ibiss.suleymann@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/suleymanibis0/dracula
Keywords: ai,gemini,chatbot,assistant
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: google-genai

# Dracula 🧛

A simple Python library for Google Gemini with conversation memory.

## Installation

pip install dracula-ai

## Usage

from dracula import Dracula

ai = Dracula(
    api_key="your-api-key",
    prompt="You are a helpful assistant.",
    temperature=1.0,
    max_output_tokens=1024,
    max_messages=10
)

# Chat
response = ai.chat("Hello, who are you?")
print(response)

# Change prompt anytime
ai.set_prompt("You are a pirate.")

# Change temperature anytime
ai.set_temperature(0.5)

# Get stats
ai.get_stats()

# Reset stats
ai.reset_stats()

# Save and load conversation history
ai.save_history("conversation.json")
ai.load_history("conversation.json")

# Clear memory
ai.clear_memory()
