Skip to main content

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 Board 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:

  1. 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 create -n <lens2_name> -d <lens2_dir_name> -s <source_type>
    
  2. lens2 checks: This command provides two subcommands:

    • schema-check: Validates that all dimensions used in Lens2 tables are fulfilled by the SQL provided of table.
    • create: Creates checks YAML files and stores them in the checks folder.
    # Validate dimensions in Lens2 tables
    lens2 checks schema-check -n tables/views '(comma separated)'
    
    # Create checks YAML files
    lens2 checks create -n tables/views '(comma separated)'
    
  3. lens2 board: This command provides two subcommands for Board related tasks:

    • create: Creates View Board YAML made public in Lens2 and stores files in the boards/view_name folder.
    • start: Uses the generated Board content and starts Board to explore. This command only requires a view name (not comma separated values).
    # Create Board dashboard YAML for Lens2 views
    lens2 board create -n views '(comma separated)'
    
    # Start Board with generated content of View
    lens2 board start -n view_name
    

Metadata

Release files for dataos-cookiecutter 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dataos-cookiecutter 0.0.5
File Size Uploaded Provenance Actions
dataos-cookiecutter-0.0.5.tar.gz 12.9 kB Without provenance Details for dataos-cookiecutter-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dataos-cookiecutter 0.0.5
File Interpreter ABI Platform Actions
dataos_cookiecutter-0.0.5-py3-none-any.whl Python 3 none any Details for dataos_cookiecutter-0.0.5-py3-none-any.whl

Total release size: 30.0 kB

Release files / dataos-cookiecutter-0.0.5.tar.gz

Download URL dataos-cookiecutter-0.0.5.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ab25ee8c208d1d501acebe3b5ccd8c70a67500cbc1098ab3318d519fdd1c0158
BLAKE2b-256 checksum
How to use checksums
4c87a5d2c8de4dd5e6a550c7d1454c6160b77865b7df4d4cf6b7df32e72a514f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.17

Release files / dataos_cookiecutter-0.0.5-py3-none-any.whl

Download URL dataos_cookiecutter-0.0.5-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0de7b0eded77314e057323fe26b30e9f837dab8830ba6955ce55954ccc1ef2a6
BLAKE2b-256 checksum
How to use checksums
dcb86b2e36dd2076cf677103135f238d6fcec380c3eab919d0f7aa39218949fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.17

Security for dataos-cookiecutter 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page