Skip to main content

Brave DeepSeek Book Review

Intelligent book reviews and search using Brave Search API + DeepSeek LLM for comprehensive book information and analysis.

Installation

pip install brave-deepseek-book-review

Quick Start

Python Library Usage

from brave_deepseek_book_search import BookSearch

# Initialize with API keys
search = BookSearch(
    deepseek_api_key="your_deepseek_api_key",
    brave_api_key="your_brave_api_key"
)

# Generate book review
result = search.find_book("Dune Frank Herbert")

if result.success:
    print(f"Title: {result.title}")
    print(f"Author: {result.author}")
    print(f"Review: {result.description}")
else:
    print(f"Error: {result.error}")

Command Line Usage

# Set environment variables
export DEEPSEEK_API_KEY="your_key"
export BRAVE_API_KEY="your_key" 

# Generate book review
book-review "Dune Frank Herbert"

# JSON output
book-review "1984 George Orwell" --json

# Debug mode
book-review "The Great Gatsby" --debug

Configuration

SearchConfig Options

from brave_deepseek_book_search import BookSearch, SearchConfig

config = SearchConfig(
    max_results=10,                           # Max search results to analyze
    countries=["usa", "uk", "france"],        # Countries to search
    debug_mode=True,                          # Enable debug output
    model="deepseek-chat"                     # DeepSeek model to use
)

search = BookSearch(
    deepseek_api_key="...",
    brave_api_key="...", 
    config=config
)

API Keys

You need API keys from:

  1. DeepSeek: https://platform.deepseek.com/
  2. Brave Search: https://api.search.brave.com/

Features

  • 🌍 Multi-country search (15+ countries supported)
  • 🤖 AI-powered book analysis and review generation
  • 🔍 Intelligent search result synthesis
  • 📚 Comprehensive book information extraction
  • 💰 Cost-optimized API usage
  • 🖥️ Both library and CLI interfaces
  • 📖 Detailed book reviews and summaries

Countries Supported

  • 🇺🇸 USA
  • 🇬🇧 UK
  • 🇫🇷 France
  • 🇩🇪 Germany
  • 🇷🇺 Russia
  • 🇪🇸 Spain
  • 🇮🇹 Italy
  • 🇯🇵 Japan
  • 🇨🇳 China
  • 🇨🇦 Canada
  • 🇦🇺 Australia
  • 🇧🇷 Brazil
  • 🇵🇹 Portugal
  • 🇦🇷 Argentina
  • 🇲🇽 Mexico

License

MIT License

Metadata

Release files for brave-deepseek-book-review 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brave-deepseek-book-review 1.0.1
File Size Uploaded
brave_deepseek_book_review-1.0.1.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brave-deepseek-book-review 1.0.1
File Interpreter ABI Platform
brave_deepseek_book_review-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / brave_deepseek_book_review-1.0.1.tar.gz

Download URL brave_deepseek_book_review-1.0.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
47e8fabb24dc90b080b9c9004c63fa4bbf058ec456670440679d524cbae8efdb
BLAKE2b-256 checksum
How to use checksums
137151959f62760a15cd17b0831249bfb557cc3bc9806b5abbb023eb41b941bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0

Release files / brave_deepseek_book_review-1.0.1-py3-none-any.whl

Download URL brave_deepseek_book_review-1.0.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7dc34885bfa10a480c46738dbba4112918b641b3aaa05e467309093fec9da210
BLAKE2b-256 checksum
How to use checksums
d808833a8330dbe2ca79ff663c2840e48dddf791dd0b8bd648bbcb7f883a2952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page