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.dev202506182138.tar.gz (21.6 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.dev202506182138-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506182138.tar.gz
Algorithm Hash digest
SHA256 15077f73babfad0a7ad293385535b49a5e91e919a095ee68e2b523590e2e0945
MD5 838fba3179cfc20a2ee5f5aa5c37aa25
BLAKE2b-256 5854ed071f6cce141b44c7a9c511f87e21e63ed71f6559b9888df98ab47ae21c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506182138-py3-none-any.whl
Algorithm Hash digest
SHA256 63d8da6dd3358dd6e3fd37d02ad9b5ff3f7fab2791a08f39020e1b78644487a6
MD5 efa41fcd5c86190c404b3b45f6ddf5b4
BLAKE2b-256 501ca4f45570e38493dee4f41aa6b3f9b619c1247d341f3a0c56b2ffffac5b2d

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