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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506191709.tar.gz
Algorithm Hash digest
SHA256 a10ecd611e35fcb348c6baf630f54181377f83fe0ce33c2e4bc96df0f9870a11
MD5 6351e2a629a7f0393e13617890deb1e0
BLAKE2b-256 79f3772c1fe465d0276c6d086028536ce0a972bde8153269e2b2f87bf6518cd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506191709-py3-none-any.whl
Algorithm Hash digest
SHA256 c474f1e5c0a4499a8f80759cd00d0590bd8a638b2609ca723e6a5dcac3a06ee0
MD5 13c028f7e684d4fe10d7bbca4ddecbdb
BLAKE2b-256 192f52d3a12820837080e316993bacce633699f24700ee042d89a9a144c650dd

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