Library to render table-like data structure into XLSX and other formats.
Project description
The table-compositor library provides the API to render data stored in table-like data structures. Currently the library supports rendering data available in a Panda’s DataFrames. The DataFrame layout is used as the table layout(including single and multi hierarchical columns/indices) by the library. The table layout is rendered directly on to an XLSX sheet or to a HTML page. Styling and layout attributes can be used to render colorful XLSX or HTML reports. The library also supports rendering of multiple dataframes into a single XLSX sheet or HTML page. The objective of the library is to be able to use the DataFrame as the API to configure the style and layout properties of the report. Callback functions are provided to customize all styling properties. The nice thing about the callback functions are that the style properties are set on cells indexed with index/column values available in the original dataframe used during rendering.
Code: https://github.com/InvestmentSystems/table-compositor
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file table-compositor-1.2.1.tar.gz
.
File metadata
- Download URL: table-compositor-1.2.1.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef930e89c120eb056befb33f233b27bf6a15b560a696341179d4b58cceb63f24 |
|
MD5 | bf1e2209fba69e6fca5ff888a0697c15 |
|
BLAKE2b-256 | 36d7193398658a099d3d86960b392bed5f3c24321776550c04bd12afbc5960fd |