pdf-translation-api 0.1.3

Creator: bradpython12

Last updated:

Add to Cart

Description:

pdftranslationapi 0.1.3

PDF Translation API
Easily translate PDF documents using the Google Cloud Translation API.



Installation and Usage
pip install pdf-translation-api

Make sure to set the GOOGLE_APPLICATION_CREDENTIALS environment variable
to the path of your service account key file.
Check the Google Cloud Translation API documentation for more information.
from pdf_translation_api import translate_document

output_path = translate_document(
path="path/to/your/document.pdf",
target_lang="nl",
)
print(output_path)
>>> path/to/your/document.nl.pdf


[!WARNING]
Google Cloud Translation API charges for usage. Make sure to check the pricing before using this library.

Upcoming Features

Support for files with more than 20 pages

License
pdf-translation-api is distributed under the terms of the MIT license.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.