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.dev202506220857.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.dev202506220857-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506220857.tar.gz
Algorithm Hash digest
SHA256 bb8fff16fc0f6e74f269d81bf309e2fff7cc99fb1d9190d0c9b7b14ae0d040a0
MD5 3588d11406cfdf2e4a6c2454730f4796
BLAKE2b-256 9371c7657fff3047547d3a1350a49da37d07ce46d9e55cfc11bef7e981de39d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506220857-py3-none-any.whl
Algorithm Hash digest
SHA256 c9a70f0fe6686d5198ef25e3ec8335a848ce1e8519b106280eb85d83c057ff4b
MD5 571d2fd56aa0f6b49ae01aa802bd07d6
BLAKE2b-256 cc57783b4e86ae1b857ec2c5348bdbf58f13bf2fb40d5ccf249d6614d5e9c83e

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