Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nymann/pdf-information
PDF Information as a dataclass using pdfinfo
https://github.com/nymann/pdf-information
Last synced: 20 days ago
JSON representation
PDF Information as a dataclass using pdfinfo
- Host: GitHub
- URL: https://github.com/nymann/pdf-information
- Owner: nymann
- Created: 2022-08-27T19:57:01.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-27T21:56:59.000Z (about 2 years ago)
- Last Synced: 2024-10-10T18:44:09.262Z (about 1 month ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDF Information
Maps output of `pdfinfo` to a dataclass.
## Usage
```py
from pathlib import Path
from pdf_information import PDFInfopdf_file = Path("pdf_files/some_file.pdf")
pdf_info = PDFInfo.from_cmd(pdf_file=pdf_file)
```## Development
For help getting started developing check [DEVELOPMENT.md](DEVELOPMENT.md)