semvec/pypi-packages huggingface dataset:
book-post-generator 0.1.3
A CLI tool to generate promotional book content using Douban and Zhipu APIs
License: MIT
Requires Python: >=3.9,<3.12
Keywords: python,douban,zhipuai,xiaohongshu

# Book Post Generator

This is a command-line application that generates promotional content for books using data from Douban and custom promotional strategies.

## Installation

To install `book_post_generator`, run this command in your terminal:

```bash
pip install book_post_generator
```

This is the preferred method to install book_post_generator, as it will always install the most recent stable release.

If you have Poetry installed and prefer to use it for installation, run:

```bash
poetry add book_post_generator
```

## Usage
Once installed, you can run the application with the following command:

```bash
book-post-generator
```

The program will prompt you to enter the book title and then retrieve the book information to generate promotional content.

## Configuration
Before the first run, make sure to create a config.ini file in `~/.book_post_generator/config.ini` with the following structure:

```ini
[API]
DOUBAN_API_KEY = your_douban_api_key_here
ZHIPU_API_KEY = your_zhipu_api_key_here
```

Replace your_douban_api_key_here and your_zhipu_api_key_here with your actual API keys.

## License
This project is licensed under the MIT License - see the LICENSE file for details.