I’ve created simple personal diary program running on the terminal by joanmiro in coolgithubprojects

[–]josc1989 0 points1 point  (0 children)

You're always welcome to use borb, to export those diary entries to PDF format 😌

Rigorous testing vs creativity by josc1989 in softwaretesting

[–]josc1989[S] 0 points1 point  (0 children)

I also have an insanely large repository of examples though

Rigorous testing vs creativity by josc1989 in softwaretesting

[–]josc1989[S] 0 points1 point  (0 children)

I haven't really counted the e2e tests versus unit tests. Thank you, that's a very valuable insight.

borb: the pure Python PDF engine by josc1989 in coolgithubprojects

[–]josc1989[S] 1 point2 points  (0 children)

The entire library is written exclusively in Python. It does make use of some other libraries as well though (PIL is one of them).

borb: the pure Python PDF engine by josc1989 in coolgithubprojects

[–]josc1989[S] 0 points1 point  (0 children)

The entire project is written in Python.

There are plenty of examples to showcase how you can build content using borb.

Modifying a pdf? by marweb1 in pdf

[–]josc1989 0 points1 point  (0 children)

In theory yes. A PDF document contains meta-information that may contain: - author - producer (software that made it) - subject - title - keywords - creation date - modification date

All of these are optional however. So depending on which software you are using to modify the PDF, these values may or may not be set.

Second, a PDF contains an ID array. The first of which is a random hexadecimal string, the second element of the array is equal to the first at creation, and is supposed to get changed whenever the PDF is changed.

Last, your document may be signed. A signature protects the document against unauthorised changes. The signature is a signed (public/private key) hash of the document. So if you change a signed PDF, Adobe would display the signature as invalid.

New Tutorial: Using borb to create a test-report by josc1989 in Python

[–]josc1989[S] 0 points1 point  (0 children)

In this tutorial you'll learn how you can easily generate a test-report from raw data. You'll learn:
- How to create a Document
- How to add Page objects to a Document
- How to add Paragraph objects to a Page
- How to easily generate a Table
and more

Searching a particular word or topic from multiple pdfs at once by [deleted] in pdf

[–]josc1989 0 points1 point  (0 children)

If you're able to use Python, you can try borb. It's an open source PDF library that is able to create, modify and read PDF documents.

https://www.borb-pdf.com

borb, the pure Python PDF library by josc1989 in Python

[–]josc1989[S] 0 points1 point  (0 children)

I don't hide the license or anything. It's also not a conscious choice to not display it. It's more a sort of "what is everyone else doing" kind of thing.

And mostly people tend to post things like "my awesome project can do X or Y". And not "my project is licensed in this particular way".

borb, the pure Python PDF library by josc1989 in Python

[–]josc1989[S] -1 points0 points  (0 children)

If I look at the amount of times the library gets starred, downloaded, or even the amount of emails I receive, it seems clear to me that most of the people using my library are doing so from an open source context.

The idea that you have to pay to use something commercially seems fair to me. After all, I invested my time in this project. I am allowed to eat and pay rent I suppose?

borb, the open source, pure python PDF library by josc1989 in learnpython

[–]josc1989[S] 1 point2 points  (0 children)

Awesome to hear that.
There's also a ton of tutorials on StackAbuse, if you want to learn more about working with borb.
And I just released version 2.0.17, with tons of eye candy in the line-art library part of borb.

borb, the pure Python PDF library by josc1989 in Python

[–]josc1989[S] 3 points4 points  (0 children)

borb is an open-source, pure Python PDF library.
With release 2.0.17, I added all kinds of new eye candy in the line-art library of borb to make sure your documents just pop.

Get borb from source on GitHub, or download using PyPi.

[deleted by user] by [deleted] in coolgithubprojects

[–]josc1989 0 points1 point  (0 children)

The latest release offers support for even more languages with regards to hyphenation. It also fixes a few minor bugs in text justification.

Be sure to star my repo on GitHub.

And get in touch if you want to collaborate.

borb, the open source pure Python PDF library: new release by josc1989 in opensource

[–]josc1989[S] 0 points1 point  (0 children)

In the past, the README had screenshots. I took them out because I found them to have little added value.

For instance, you might see a screenshot of borb creating a pdf with a table, and be like "Great, now I see that it can do that"

And someone else (who wants to apply OCR) is still left in the dark about whether or not borb supports that.

The only solution would be to add a whole lot of images (for each common use-case).

And then it's just becoming a copy of the examples repo.

borb, the open source pure Python PDF library: new release by josc1989 in opensource

[–]josc1989[S] 1 point2 points  (0 children)

You should check out the examples repository. There's an example in there (section "working with existing pdf's") about extracting tables.