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!
Release files for odt-pdf 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| odt_pdf-0.1.1.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odt_pdf-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / odt_pdf-0.1.1.tar.gz
| Download URL | odt_pdf-0.1.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05d46d643cfee2c636ea0d350db7cdc45d12ff37397ef8348f2f3b7f02e833f5
|
|
BLAKE2b-256 checksum How to use checksums |
940861d1de5b151f3317bf219be53a83af98bac7fd36c0fd673f83923cd20ab7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.8 Windows/10
|
Release files / odt_pdf-0.1.1-py3-none-any.whl
| Download URL | odt_pdf-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
175259c263d04e77e3dfe7ceab30029c259af1b228eaeb40d82b924a6772c8a1
|
|
BLAKE2b-256 checksum How to use checksums |
42ad2ef6aa40298e73971468130b411f185ac2348934436e1a52ca0ed078b17f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.8 Windows/10
|