8 releases (4 breaking)

0.5.3 Dec 22, 2024
0.5.2 Dec 20, 2024
0.5.1 Nov 29, 2024
0.4.0 Nov 22, 2024
0.1.0 Oct 29, 2024

#1354 in Text processing

Download history 125/week @ 2024-10-29 132/week @ 2024-11-05 114/week @ 2024-11-12 122/week @ 2024-11-19 201/week @ 2024-11-26 92/week @ 2024-12-03 6/week @ 2024-12-10 207/week @ 2024-12-17 51/week @ 2024-12-24 21/week @ 2024-12-31 60/week @ 2025-01-07

340 downloads per month

Custom license

1MB
3.5K SLoC

PdfRust

Pdf parser in pure Rust.

References : https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.7old.pdf.

Installation

cargo install pdfrust

Usage

Text

pdfrust <pdf_file>.pdf

Text characters in tabular format

pdfrust --chars <pdf_file>.pdf

Page raw content stream

pdfrust --raw-content <pdf_file>.pdf

Fonts

pdfrust --font <pdf_file>.pdf

Contributions

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Make sure that unit and integration tests pass.

cargo test

License

Distributed under the GNU GPL v3.0 License. See LICENSE.txt for more information.

Dependencies

~0.7–1.2MB
~24K SLoC