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
.colightfiles
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file colight_site-2025.4.1.dev202506241111.tar.gz.
File metadata
- Download URL: colight_site-2025.4.1.dev202506241111.tar.gz
- Upload date:
- Size: 30.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e8721f6ed6a81cb01b5318c9c7d558d2ec7c0caab887a7cf3031547364fa4ac
|
|
| MD5 |
2a2a5859820a154cd25804c471be6464
|
|
| BLAKE2b-256 |
689a54f44a4a731f70bc8587da1bde2bb17de1b6c4a1b4bd30e908c644aab3b0
|
File details
Details for the file colight_site-2025.4.1.dev202506241111-py3-none-any.whl.
File metadata
- Download URL: colight_site-2025.4.1.dev202506241111-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec0225f9f470646ed987b10aba79d26b5a617b24c8d25338f14f8c0fcc82ae39
|
|
| MD5 |
6ba747ed8bacf51a09281d279aae6362
|
|
| BLAKE2b-256 |
80ca7d5814569cfdc393095fe8cce987ec64ea77f244fc987de8986d1de72a15
|