Dataos Cookiecutter
Project description
dataos-cookiecutter
dataos-cookiecutter package provides commands to facilitate various tasks of Lens2, enabling users to efficiently generate templates, perform schema checks, generate data quality checks yaml, and create Rill YAML configurations.
Installation
You can install dataos-cookiecutter via pip:
pip install dataos-cookiecutter
Usage
dataos-cookiecutter offers several commands to simplify Lens2-related tasks:
-
lens2 lens: This command allows users to get started by creating a sample template along with folder structure, which they can modify based on their needs. It includes two flags:
-n lens_name
: Specifies the name of the Lens.-s source_type
: Specifies the type of data source.
lens2 lens create -n <lens_name> -s <source_type>
-
lens2 checks: This command provides two subcommands:
- schema-check: Validates that all dimensions used in Lens2 tables are fulfilled by the SQL provided for them.
- create: Creates checks YAML files and stores them in the checks folder.
# Validate dimensions in Lens2 tables lens2 checks schema-check # Create checks YAML files lens2 checks create
-
lens2 rill: This command provides two subcommands for Rill-related tasks:
- create: Creates Rill dashboard YAML for views made public in Lens2 and stores files in the Rill folder.
- start: Uses the generated Rill content and starts Rill to initiate the dashboard.
# Create Rill dashboard YAML for Lens2 views lens2 rill create # Start Rill with generated content lens2 rill start
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
Built Distribution
Hashes for dataos-cookiecutter-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f15118d1c9c793747ab3401fed82dc4c426eca2d358e92d2b73419ac13646461 |
|
MD5 | 065c77eb91bff3daed504b27ba29df78 |
|
BLAKE2b-256 | f53801cce88ff304b4fa2949160ab796e130b62aff67eace9d4ecd0ec14eca5f |
Hashes for dataos_cookiecutter-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c6cc0ce32559e12a8489c9185ffbcb50ee031d6325b8412e909335c0dd0e201 |
|
MD5 | bd52a8c75dd8c1c31602815fbae9a915 |
|
BLAKE2b-256 | 69da4f174ea45417ba3e7884c221cd0dd88211268e5eab84213da145139810cd |