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

Uploaded Python 3

File details

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

File metadata

  • Download URL: colight_site-2025.4.1.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for colight_site-2025.4.1.tar.gz
Algorithm Hash digest
SHA256 3d51ba7ba15208a06852973f5c302b0adf9ee4983124c19545d8781f655df5cb
MD5 4c55df35ac9b4f2b719ea618b4379d11
BLAKE2b-256 b7c38e6df32c86e9cc412cf4909f460eab5a3c10b766105e4e3cf630e7425dbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83843897060403a928456f89cb87f937b09181f9c275be5d6122633282a7b462
MD5 0a6372af7402f3c4c74f786968a3f8cb
BLAKE2b-256 0f36d0dde35187a02b692a86c470d6be3762970ef9ac773996c0d5f954c0f773

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