No project description provided
Project description
ODT To PDF Converter
This is a simple python script that converts Open Document Text (ODT) files to PDF. It is based on the pypdf
package.
Installation
pip install odt_pdf
Usage
Convert an ODT file to a PDF file
>>> from odt_pdf.odt_to_pdf import convert_odt_to_pdf
>>> convert_odt_to_pdf("input.odt", "data/output")
Convert a PDF file to text
>>> from odt_pdf.pdt_to_text import pdf_to_text
>>> text, attributes = pdf_to_text("example.pdf")
Contributions
Contributions are welcome! If you have any improvements or bug fixes for the ODT to PDF Converter, feel free to submit a pull request on the GitHub repository. Please make sure to follow the contribution guidelines outlined in the repository's CONTRIBUTING.md
file.
Happy coding!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
odt_pdf-0.1.1.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file odt_pdf-0.1.1.tar.gz
.
File metadata
- Download URL: odt_pdf-0.1.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05d46d643cfee2c636ea0d350db7cdc45d12ff37397ef8348f2f3b7f02e833f5 |
|
MD5 | c871b0df1c51aeffab93cd6ec76c72ae |
|
BLAKE2b-256 | 940861d1de5b151f3317bf219be53a83af98bac7fd36c0fd673f83923cd20ab7 |
File details
Details for the file odt_pdf-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: odt_pdf-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.8 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 175259c263d04e77e3dfe7ceab30029c259af1b228eaeb40d82b924a6772c8a1 |
|
MD5 | 78d5dbf6fd57ed1efac608c62c35f4f9 |
|
BLAKE2b-256 | 42ad2ef6aa40298e73971468130b411f185ac2348934436e1a52ca0ed078b17f |