Skip to main content

Simplifying good practice in statistical tables.

Project description

Travis build status PyPI release

gptables - a highly opinionated package for spreadsheet production

gptables is a highly opinionated python package. It produces .xlsx files from your pandas dataframes or using reticulate in R. You define the mapping from your data to elements of the table. It does the rest.

gptables uses the official guidance on good practice spreadsheets. It advocates a strong adherence to the guidance by restricting the range of operations possible. The default theme gptheme should accomodate most use cases. However, the Theme object allows development of custom themes, where other formatting is required.

gptables is developed and maintained by the Best Practice and Impact division of the Office for National Statistics, UK.

Main Features

You define your mapping with your data as a GPTable.

You can define the format of your mapping with a Theme, or simply use the default - gptheme.

You write_workbook() to win.

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

gptables-0.1.2.tar.gz (44.4 kB view details)

Uploaded Source

File details

Details for the file gptables-0.1.2.tar.gz.

File metadata

  • Download URL: gptables-0.1.2.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

File hashes

Hashes for gptables-0.1.2.tar.gz
Algorithm Hash digest
SHA256 525ac2656f4549f60091dd2ca05e96cb78ac446910e60dedfe7a316d71d64b33
MD5 29d050a598f72ff99b8bda0e5a790652
BLAKE2b-256 6a14bcd7dc48f65fefbcf2289a34aa880f4a4f23f4f222f52a0d171592150f23

See more details on using hashes here.

Supported by

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