book-post-generator


Namebook-post-generator JSON
Version 0.1.3 PyPI version JSON
download
home_page
SummaryA CLI tool to generate promotional book content using Douban and Zhipu APIs
upload_time2023-11-05 03:27:50
maintainer
docs_urlNone
authorZhongwei
requires_python>=3.9,<3.12
licenseMIT
keywords python douban zhipuai xiaohongshu
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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.


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "book-post-generator",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<3.12",
    "maintainer_email": "",
    "keywords": "python,douban,zhipuai,xiaohongshu",
    "author": "Zhongwei",
    "author_email": "lizhongwei.nkcs@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/97/92/349d026f2f97aab70d56e67575ffca855e7a174e2434e6a91ed0b1a69f6c/book_post_generator-0.1.3.tar.gz",
    "platform": null,
    "description": "# Book Post Generator\n\nThis is a command-line application that generates promotional content for books using data from Douban and custom promotional strategies.\n\n## Installation\n\nTo install `book_post_generator`, run this command in your terminal:\n\n```bash\npip install book_post_generator\n```\n\nThis is the preferred method to install book_post_generator, as it will always install the most recent stable release.\n\nIf you have Poetry installed and prefer to use it for installation, run:\n\n```bash\npoetry add book_post_generator\n```\n\n## Usage\nOnce installed, you can run the application with the following command:\n\n```bash\nbook-post-generator\n```\n\nThe program will prompt you to enter the book title and then retrieve the book information to generate promotional content.\n\n## Configuration\nBefore the first run, make sure to create a config.ini file in `~/.book_post_generator/config.ini` with the following structure:\n\n```ini\n[API]\nDOUBAN_API_KEY = your_douban_api_key_here\nZHIPU_API_KEY = your_zhipu_api_key_here\n```\n\nReplace your_douban_api_key_here and your_zhipu_api_key_here with your actual API keys.\n\n## License\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A CLI tool to generate promotional book content using Douban and Zhipu APIs",
    "version": "0.1.3",
    "project_urls": null,
    "split_keywords": [
        "python",
        "douban",
        "zhipuai",
        "xiaohongshu"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "79a94d96990444983718990ace6dcdb2afc119ea57960d471c25aca9e8b4a217",
                "md5": "e1059deabc9b93db7c9c02cc872b64ff",
                "sha256": "572dcb7533846b78704dde7135ecfb048114b9fbe6115e83e90846389ec92cbe"
            },
            "downloads": -1,
            "filename": "book_post_generator-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e1059deabc9b93db7c9c02cc872b64ff",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<3.12",
            "size": 7313,
            "upload_time": "2023-11-05T03:27:48",
            "upload_time_iso_8601": "2023-11-05T03:27:48.711009Z",
            "url": "https://files.pythonhosted.org/packages/79/a9/4d96990444983718990ace6dcdb2afc119ea57960d471c25aca9e8b4a217/book_post_generator-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9792349d026f2f97aab70d56e67575ffca855e7a174e2434e6a91ed0b1a69f6c",
                "md5": "8ae6b716619543cf11a741ce7767be9c",
                "sha256": "13b00226e1ef1cfd042077cb88422e0a634a81d44c7af58e39e9af96dc0220b6"
            },
            "downloads": -1,
            "filename": "book_post_generator-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "8ae6b716619543cf11a741ce7767be9c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<3.12",
            "size": 5882,
            "upload_time": "2023-11-05T03:27:50",
            "upload_time_iso_8601": "2023-11-05T03:27:50.234627Z",
            "url": "https://files.pythonhosted.org/packages/97/92/349d026f2f97aab70d56e67575ffca855e7a174e2434e6a91ed0b1a69f6c/book_post_generator-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-05 03:27:50",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "book-post-generator"
}
        
Elapsed time: 0.35100s