Skip to main content

A framework for creating excel files declaratively.

Project description

A framework for creating excel files declaratively.

openpyxl is a different library that is often used for creating excel files. However, it only provides very rudementary controls forcing you to access, style and fill every cell individually in an imperative manner. This can get unwieldy and difficult to maintain very quickly which is the problem solved by this package.
excel-framwork builds on top of openpyxl providing you with a large set of ui components that you can compose into new ones to create excel files in an easy, readable and maintainable way.
The archictecture of excel-framwork was inspired by the cross platform ui development framework flutter.

Quickstart

An excel file with one cell containing hello world in bold:

ExcelFile(
    "hello.xlsx", 
    sheets=[
        ExcelSheet(
            "first sheet",
            child=Styler(
                child=ExcelCell("Hello World!"),
                style=Style(
                    text_style=TextStyle(bold=True)
                )
            )
        )
    ]
).create()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

excel_framework-0.4.5.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

excel_framework-0.4.5-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file excel_framework-0.4.5.tar.gz.

File metadata

  • Download URL: excel_framework-0.4.5.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for excel_framework-0.4.5.tar.gz
Algorithm Hash digest
SHA256 e265ca1e4d3ae2335705e55fa202cbfc9e968eb3188b23648f90ab23b653bab4
MD5 0552766dc9759b3a921d4012ed164f41
BLAKE2b-256 22c32f8132b3846667e16594994069342788d447c9e22e74b3ffffcb9b43a541

See more details on using hashes here.

File details

Details for the file excel_framework-0.4.5-py3-none-any.whl.

File metadata

File hashes

Hashes for excel_framework-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4f40930d39e5e148dd9d49a82d189685195d5a163ae3f9e10def7e4452883f14
MD5 87d77e71e65099af60f07c74d32e8a44
BLAKE2b-256 f0904e72039afc7a66b028488a04c1f7ca0eaf5fd7c94cf0cd152ecfc27ad249

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page