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:
- DeepSeek: https://platform.deepseek.com/
- 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| brave_deepseek_book_review-1.0.1.tar.gz | 6.1 kB | Without provenance | Details for brave_deepseek_book_review-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brave_deepseek_book_review-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for brave_deepseek_book_review-1.0.1-py3-none-any.whl |
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
|
Security for brave-deepseek-book-review 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.