Reportlab

Adding SVGs to PDFs with Python and ReportLab

ReportLab has native support for generating SVGs, but not for embedding SVGs in their PDFs. Fortunately, Dinu Gherman created the svglib package, a pure-Python package that can read SVG files and convert them to other formats that ReportLab can use. The official website for svglib is on Github. The svglib package will work on Linux, …

Adding SVGs to PDFs with Python and ReportLab Read More »

ReportLab Book Kickstarter’s – 2 Days Left

There is only a little over 2 days left for my ReportLab book Kickstarter. This is your only chance to purchase a signed copy of the book and it’s also probably the cheapest way of getting the eBooks too! I currently have 7 chapters done with number 8 nearing completion. There are over 170 pages …

ReportLab Book Kickstarter’s – 2 Days Left Read More »

ReportLab 101: The textobject

The ReportLab toolkit provides multiple ways for you to generate text on your PDFs. The most popular examples that I have seen are using canvas methods or using PLATYPUS. The canvas method that you will likely see the most is drawString. Here is an example: from reportlab.pdfgen import canvas c = canvas.Canvas(“hello.pdf”) c.drawString(100, 100, “Welcome …

ReportLab 101: The textobject Read More »

ANN: ReportLab PDF Processing with Python Kickstarter

Have you ever wondered how to create PDF Reports programmatically? If so, then this is the book for you! In ReportLab: PDF Processing with Python, you will learn how to generate PDFs using the popular Python programming language. The code in this book will run on all 3 major platforms: Windows Mac Linux ReportLab is used …

ANN: ReportLab PDF Processing with Python Kickstarter Read More »

Reportlab – How to Add Charts / Graphs

Reportlab is really nice tool for creating PDFs in Python. A little known fact is that they now support adding charts or graphs to your PDF. Previously if you wanted that functionality, you would have to do all the drawing code yourself. Unfortunately, the Reportlab guide doesn’t really explain how to use their charts, what …

Reportlab – How to Add Charts / Graphs Read More »

Reportlab for Python 3 is here!

Reportlab recently released version 3.1 which now fully supports Python 3 and Python 2.7. They had actually released a Python 3 compatible version about a month or so ago, but this one sounds like they’ve worked the bugs out of that initial release as this version also supports their commercial customers. I find this exciting …

Reportlab for Python 3 is here! Read More »