Skip to main content

Given a Frictionless Table Schema, generates an Excel template with input validation

Project description

tableschema-to-template

Given a Frictionless Table Schema (like this), generate an Excel template with input validation (like this).

Usage

Download a sample schema.yaml, and then:

pip install tableschema-to-template
ts2xl.py schema.yaml template.xlsx
# Open with Excel:
open template.xlsx

Or to use inside Python:

from tableschema_to_template.create_xlsx import create_xlsx
schema = {'fields': [{
  'name': 'a_number',
  'description': 'A number!',
  'type': 'number'
}]}
create_xlsx(schema, '/tmp/template.xlsx')

Instructions for project developers here.

Features

  • Enum constraints transformed into pull-downs.
  • Field descriptions transformed into comments in header.
  • Float, integer, and boolean type validation.

Related work

From the Frictionless community:

For the biomedical ontologies community:

  • CEDAR: Data entry tool based on ontologies.
  • Webulous: Google sheets plugin that adds pulldowns based on ontology terms.

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

tableschema-to-template-0.0.9.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

tableschema_to_template-0.0.9-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file tableschema-to-template-0.0.9.tar.gz.

File metadata

  • Download URL: tableschema-to-template-0.0.9.tar.gz
  • Upload date:
  • Size: 10.7 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.post20201201 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.12

File hashes

Hashes for tableschema-to-template-0.0.9.tar.gz
Algorithm Hash digest
SHA256 9abf244d7b2e337d25422ce9fee487ea57be3a0f2e9cbe465d1322927cff45ea
MD5 139ff3c258c355a6a7d51799ab44d7ba
BLAKE2b-256 100dc99b305a10d6ee47117385107944a53ced04c89151a6c07c247389909b03

See more details on using hashes here.

File details

Details for the file tableschema_to_template-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: tableschema_to_template-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 13.2 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.post20201201 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.12

File hashes

Hashes for tableschema_to_template-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b48a844e7d538b8bab89d1b99443fbb73289a62c674a3762e2055e922ba883b2
MD5 a8d4b8c4b16411f4566b00ffb188f6b2
BLAKE2b-256 834713e8db8ed7bd360e19e43e64258b697581e186b03202ddaf6eb63d9646fa

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