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.dev202506190940.tar.gz (22.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.dev202506190940-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506190940.tar.gz
Algorithm Hash digest
SHA256 a3c5b5d9133b412cc36ed5a708ea2845d8b28ca9129bf1d81ecbef5a5d070fdb
MD5 1b4218407bf32479beb11bd78d6e311d
BLAKE2b-256 de095cf0bda68aeda4a5859bbd8eeed3f3e49f3b06774865dd40c83a5aab1168

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506190940-py3-none-any.whl
Algorithm Hash digest
SHA256 12f59bfd8c1ceed3533e19490e755e8d130a349cc08e26e0d98728f71f86fd4e
MD5 38c274698274fc1cb64661add92fd1b7
BLAKE2b-256 51f3c612b14ee58022316c42e40d063ef3fc866c65fd9d47c7273041c4ee582d

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