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.dev202506230642.tar.gz (30.8 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.dev202506230642-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506230642.tar.gz
Algorithm Hash digest
SHA256 5e26ce900c037bbbf87a484dc6c977a1d9ef746759a65bf957ea91dd6085a594
MD5 69daade7644831aab88114e6a3227cf8
BLAKE2b-256 0db8591033c310b6e6add0ad365921cb29325671c179828b309c97bcd6ec3b0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506230642-py3-none-any.whl
Algorithm Hash digest
SHA256 73c4f53e74a9755e67d19ed9307cc21883a3444904e6d0da43c48aa1073b19d2
MD5 b47e93a14f6313db92903e7a73a83210
BLAKE2b-256 9ef6007ba77aa7f6e84c205ab6edc520af4451f76cb59f1f25b6945c076f7e08

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