Skip to main content

bericht

Improved tabular report generation with ReportLab.

to test things real quick:

from reportlab.platypus.doctemplate import SimpleDocTemplate
from reportlab.lib.pagesizes import A4
from reportlab.lib.styles import getSampleStyleSheet

from bericht.table import TableBuilder, Span

rlstyle = getSampleStyleSheet()['BodyText']

builder = TableBuilder(rlstyle)

builder.row('this is a test1', 'second cell1', 'ending cell1')
builder.row('this is a test', 'second cell', 'ending cell', 'forth cell')
builder.row('this is a test', Span.COL, 'forth cell')

doc = SimpleDocTemplate('test.pdf', pagesize=A4)
doc.build([builder.table])

you should find a test.pdf file in the location where you started python

0.0.2

  • Bug fixes and improvements.

0.0.1

  • Initial release.

Metadata

Release files for bericht 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bericht 0.0.2
File Size Uploaded Provenance Actions
bericht-0.0.2.tar.gz 18.3 kB Without provenance Details for bericht-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bericht 0.0.2
File Interpreter ABI Platform Actions
bericht-0.0.2-py3-none-any.whl Python 3 none any Details for bericht-0.0.2-py3-none-any.whl

Total release size: 51.9 kB

Release files / bericht-0.0.2.tar.gz

Download URL bericht-0.0.2.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dc8cc888415dc31e7404ef94c1e8cbd03365b6a6667eeb842500b79f29a6fc3f
BLAKE2b-256 checksum
How to use checksums
37ef94d85b3e328e87466129998fe642d213e5e2c285a6eab1b4625c2f40f0f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bericht-0.0.2-py3-none-any.whl

Download URL bericht-0.0.2-py3-none-any.whl
Size 33.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96437f2bd3f01c81c34c68cbb8120c5b9ab3a173e9792366c5757e3c41050aa7
BLAKE2b-256 checksum
How to use checksums
0432dae28f878b8fa9ae74b650dce5de856d85335c5fed89c3284c0631ad7b9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bericht 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page