News for hackers. Stuff that matters.
Re:Borb – A Python library to read, write, and edit PDF files by spapas82 on Saturday September 18, 2021 @11:37AM (#28577049)
Haven't tested this lib, however be careful before including it in your project because of its license (it is dual licensed agpl/commercial). This means that you can use it only if your project is GPL or else you need a commercial license.

On the other hand, the reportlab pdf generation library (which is what I actually use) offers a permissive language in its open source version (and a commercial reportlab plus version), so it can be included in all kinds of projects.

Re:Borb – A Python library to read, write, and edit PDF files by mkl on Saturday September 18, 2021 @11:48AM (#28577122)
Confusingly, while the README says AGPL/commercial, the LICENSE file (https://github.com/jorisschellekens/borb/blob/master/LICENSE) says it's GPL.
Re:Borb – A Python library to read, write, and edit PDF files by mdaniel on Saturday September 18, 2021 @12:31PM (#28577409)
I'd guess it's just a copy-pasta error, because all the source files contain the AGPL header text: https://github.com/jorisschellekens/borb/blob/v2.0.9.1/borb/... and https://github.com/jorisschellekens/borb/blob/v2.0.9.1/borb/... for example

But the plot thickens! It seems the top-level LICENSE file was actually changed 13 days ago _away_ from AGPL https://github.com/jorisschellekens/borb/blame/master/LICENS...

So, yeah, confusingly for sure

Re:Borb – A Python library to read, write, and edit PDF files by sigg3 on Saturday September 18, 2021 @12:32PM (#28577423)
An AMBIGUOUS LICENSE situation is a red flag.

Was the issue raised with the author?

Re:Borb – A Python library to read, write, and edit PDF files by xjlin0 on Saturday September 18, 2021 @02:56PM (#28578392)
ReportLab is indeed a great library. Another great one is WeasyPrint. How are these compared with Borb?