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.dev202506171823.tar.gz (13.6 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.dev202506171823-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506171823.tar.gz
Algorithm Hash digest
SHA256 d939731493aefe1393e7c3598250f9d03907df131e87544e5d5ba4b3139fefe7
MD5 e9a73f3cc7d8e01764636d0fd0e3bc1a
BLAKE2b-256 c6d8545d64a8f0263f4e12b9a9f583f3bc3140545f440b7399f386a33150c002

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506171823-py3-none-any.whl
Algorithm Hash digest
SHA256 729d3881d39d7befae2a41f5a1dfec7a4505c9ffb720c463631b5bbe852060f3
MD5 bd607a616fb37091525bfdf9b5803a33
BLAKE2b-256 7bb2cb09cc5389413c2156585ff654d8118717c526baa6dfaa1580c86dbae6c4

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