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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506220858.tar.gz
Algorithm Hash digest
SHA256 8c168a5bc890188a7c573575eec858b4b649373e03472e6821e8a5e4b0cb26e8
MD5 3e8c5a5c56b1b9e6db051ab31c224c5e
BLAKE2b-256 dee023372fab55f05bc548074bb9b4de098f6a1a48fc6c49139a6b045cc5aebe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506220858-py3-none-any.whl
Algorithm Hash digest
SHA256 9c23dce57abb3bf178310e68184d46137c20ca82793f43c147e1f39c015dca95
MD5 4c25a7eb2bc7d87f5d6e7840fa73f418
BLAKE2b-256 8f6ee2fac35bc45ce71b29f00be013b0c4b5f80c2b1d5b48dffa3eac0bbb3576

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