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.dev202506241110.tar.gz (30.7 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.dev202506241110-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506241110.tar.gz
Algorithm Hash digest
SHA256 6c95e69a519e4fd8844f6f443d4db3b76c68cb1606bff422e8603dd4ec0c8efd
MD5 fbc0ded4487e7216b073874f0f70326a
BLAKE2b-256 79309227d365527de0f737070feec5fecc7859518ff02d22415c03ce63e858c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506241110-py3-none-any.whl
Algorithm Hash digest
SHA256 75a6527f03cae1171ffe7342ed484844a01d40471f6c53be05338118cc5a9c40
MD5 30cba3f4ba7025a3dce129ee9db423a9
BLAKE2b-256 ff90952faeea158ded1322b4408592d4a5acecb6baca9cb48ce870b30942d24c

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