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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506182240.tar.gz
Algorithm Hash digest
SHA256 ff2ac52fa1e688df7c9474d7f5f02938820c3eb8db07072e062cc92f621942e9
MD5 3a517fca19bf81444fbecc63c0aacbb8
BLAKE2b-256 fe5fb5c6b02c5ea514f5bacb1b697d2b07fb1828077a8829071d00f215fef53c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506182240-py3-none-any.whl
Algorithm Hash digest
SHA256 1ef46e609e7a68f66c6ce15edf48eebaaff6911ed35f2102e26db9a37de5442e
MD5 40ea835eaa35005a96c7e893cc7714f1
BLAKE2b-256 fffd691131f7fce4a7ad9c47a0bd250039e22e39f0c493342ec1becd5afa969a

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