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:
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:
poetry add book_post_generator
Usage
Once installed, you can run the application with the following command:
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:
[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.
Metadata
Release files for book-post-generator 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| book_post_generator-0.1.3.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| book_post_generator-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / book_post_generator-0.1.3.tar.gz
| Download URL | book_post_generator-0.1.3.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13b00226e1ef1cfd042077cb88422e0a634a81d44c7af58e39e9af96dc0220b6
|
|
BLAKE2b-256 checksum How to use checksums |
9792349d026f2f97aab70d56e67575ffca855e7a174e2434e6a91ed0b1a69f6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / book_post_generator-0.1.3-py3-none-any.whl
| Download URL | book_post_generator-0.1.3-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
572dcb7533846b78704dde7135ecfb048114b9fbe6115e83e90846389ec92cbe
|
|
BLAKE2b-256 checksum How to use checksums |
79a94d96990444983718990ace6dcdb2afc119ea57960d471c25aca9e8b4a217
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|