Skip to main content

Simplifying good practice in statistical tables.

Project description

Travis build status PyPI release

gptables is an opinionated python package for spreadsheet production. 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 accommodate 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.

4 Simple Steps

  1. You map your data to the elements of a GPTable.

  2. You can define the format of each element with a custom Theme, or simply use the default - gptheme.

  3. Optionally design a Cover page to provide information that relates to all of the tables in your Workbook.

  4. 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.3.3.tar.gz (49.8 kB view details)

Uploaded Source

Built Distribution

gptables-0.3.3-py3-none-any.whl (57.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gptables-0.3.3.tar.gz
  • Upload date:
  • Size: 49.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for gptables-0.3.3.tar.gz
Algorithm Hash digest
SHA256 5ffce90f9b3e93c9194c57ec36546da19787db4973f6acfb7666bd338381ea98
MD5 056018a9a16c0ce71645f546ec1e80b5
BLAKE2b-256 dfd6d411ab6333912b471826a41e57613aee760075d093c59ee4b1180a7cca37

See more details on using hashes here.

File details

Details for the file gptables-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: gptables-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 57.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9

File hashes

Hashes for gptables-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 910373d25199659c0eaf3567a9c9c17dca7fc7997005afc706f891a382ee45ea
MD5 20c1a972671cdb70586f24d65ae31775
BLAKE2b-256 8bf62853d46d401f1985b8930c401705450d7efd6e8e67d40ff66b14c3408e3c

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