Skip to main content

Static site generator for Colight visualizations

Project description

Colight Site

Static site generator for Colight visualizations.

Converts .colight.py files into markdown/HTML documents where:

  • Comments become narrative markdown
  • Code blocks are executed to generate Colight visualizations
  • Output is embedded as interactive .colight files

Usage

# Build a single file
colight-site build src/post.colight.py --output build/post.md

# Watch for changes
colight-site watch src/ --output build/

# Initialize new project
colight-site init my-blog/

File Format

.colight.py files mix comments (markdown) with executable Python code:

# My Data Visualization
# This creates an interactive plot...

import numpy as np
x = np.linspace(0, 10, 100)

# The sine wave
np.sin(x)  # This expression generates a colight visualization

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

colight_site-2025.4.1.dev202506191708.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

colight_site-2025.4.1.dev202506191708-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file colight_site-2025.4.1.dev202506191708.tar.gz.

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506191708.tar.gz
Algorithm Hash digest
SHA256 4bed1a40197f0ffc8a940294cb2cf125d43d1ea63a09f4e2223e5a0cd865e4e3
MD5 d0b86d1fb8a63fb5269a770cb746148b
BLAKE2b-256 d558c2cf625e3c5ba6e251fb26d7c51ca5387726f943ad5741fa9fbc03a79e45

See more details on using hashes here.

File details

Details for the file colight_site-2025.4.1.dev202506191708-py3-none-any.whl.

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506191708-py3-none-any.whl
Algorithm Hash digest
SHA256 0f10cde16a05bfab06d44c8aaeeff3386e85029f4d6c711480c3e9bdf7cedef9
MD5 5d992e81a08b3972aab5a8135c598e35
BLAKE2b-256 d88443daaf1215558eb001f66ec4cb7cfaa2481be2f0471a7ae726249a8cda24

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page