Skip to main content

Simple cli tool for translating ebooks in EPUB format into any language.

Project description

epub-translate

epub-translate: a simple cli tool for translating ebooks in EPUB format into any language


GitHub License Tests Codecov PyPI - Python Version PyPI - Version Typer Code style: black Linting: Ruff Pytest

Installation

You can install epub-translate using pip:

pip install epub-translate

Usage

You can use epub-translate from the command line:

epub-translate translate <input_file> <output_language>

Configuration

Before you can use epub-translate, you need to configure it with your OpenAI API key. You can do this using the following command:

epub-translate configure --api-key <your_openai_api_key>

You can also set the specific model you want to use for translation:

epub-translate configure --model <your_model_name>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epub_translate-0.0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

epub_translate-0.0.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file epub_translate-0.0.1.tar.gz.

File metadata

  • Download URL: epub_translate-0.0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.10 Linux/6.8.0-1027-azure

File hashes

Hashes for epub_translate-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5831693e5778e0ae27e50f892a1a42948fa437f9a90dd8af1ecac16aaa0779af
MD5 8d09830a51f18e3c552533c570cc3c25
BLAKE2b-256 bf9ec1986357e14ab21a7109fbd9f4caff6c05eba4e346a5aa4dd9c51ff4e445

See more details on using hashes here.

File details

Details for the file epub_translate-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: epub_translate-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.10 Linux/6.8.0-1027-azure

File hashes

Hashes for epub_translate-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93309df6e5d693b1a9e9a5f4e407c94bfcb9342cf14fc1988a04fc999d89f271
MD5 23055814f86905c72b0ba02f3a971297
BLAKE2b-256 f261a4f52bb6c8c64402aef0ac6a0cb291840f272c2a72f3cb70dcc19653ebe2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page