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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gptables-0.3.5.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.5.tar.gz
Algorithm Hash digest
SHA256 90e799e76f5ac507711091b55f29f39a86698c9a221d7eeac7c5a9e06e60b1ad
MD5 1bd7aa4f3b53147b0458f5b03a3be614
BLAKE2b-256 64e39056b94b24efbb074587f0af5a0c929092b3f18eec519c29640b8c32fe7b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gptables-0.3.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 503b50eb83fced97ebba84a178b84db773a9544688c020dec83ea248ee43013d
MD5 679e53e8f5d8156df82808a973fc7349
BLAKE2b-256 a57dbe6f38b0b24b4f89591241ee74865f8153ca06a4e59a42153d3b3e387458

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