Skip to main content

Simplifying good practice in statistical tables.

Project description

Actions build status Documentation 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 Analysis Function. It can be installed from PyPI or GitHub. The source code is maintained on GitHub. Users may also be interested in a11ytables, an R native equivalent to gptables, and csvcubed, a package for turning data and metadata into machine-readable CSV-W files.

5 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. Optionally upload a notes_table with information about any notes.

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

Uploaded Source

Built Distribution

gptables-1.1.0-py3-none-any.whl (70.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gptables-1.1.0.tar.gz
  • Upload date:
  • Size: 60.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for gptables-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4041f56ce9e6d9952d21cfb4c3022e36d22a9c630af4d32101b779a5574f1003
MD5 8900b32a02dbe4cce062f6c81f2166ae
BLAKE2b-256 84affc3bcf5099b4c792e8272a78418355233ae1cbf6d26e749fabda91006f32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gptables-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 70.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for gptables-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4e25e01a703218b1cddafd8be42cb223380585d2f73049a13fee84ad68fa9e5
MD5 1ba8dd21cfc4b68c712cbf0883f660b2
BLAKE2b-256 fa857f669a1176884c87c299783f81b5fde1758bacf9a681bf8cde8dd39f1336

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