Metadata-Version: 2.1
Name: url-to-calibre
Version: 1.1.1
Summary: Convert a URL's contents into ebook format and add to Calibre library
Author: alexcg
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: beautifulsoup4 (>=4.13.1,<5.0.0)
Requires-Dist: ebooklib (>=0.18,<0.19)
Requires-Dist: lxml-html-clean (>=0.4.1,<0.5.0)
Requires-Dist: newspaper3k (>=0.2.8,<0.3.0)
Requires-Dist: rich (>=13.9.4,<14.0.0)
Description-Content-Type: text/markdown

# URL to Calibre

Python script to convert a URL's content to ebook format and send directly to [Calibre](https://github.com/kovidgoyal/calibre) library.

## Installation

### Prerequisites

You'll need [Calibre](https://github.com/kovidgoyal/calibre) and you'll need to know where your Calibre library is stored.

Run:

```shell
pip install url-to-calibre
```

If you're on a system that doesn't let you install Python packages outside of a virtual environment, run:

```shell
pipx install url-to-calibre
```

## Usage

To generate an epub file:

```shell
url-to-calibre <URL>
```

You can specify other formats (`mobi` or `azw3`) via the `--format` (or `-f`) parameter, for example:

```shell
url-to-calibre <URL> -f mobi
```

## Todo

- Take multiple URLs as arguments.
- Allow input via STDIN so user can pass a file full of URLs.

