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
Metadata
Release files for colight-site 2025.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| colight_site-2025.4.1.tar.gz | 13.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| colight_site-2025.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.1 kB
Release files / colight_site-2025.4.1.tar.gz
| Download URL | colight_site-2025.4.1.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d51ba7ba15208a06852973f5c302b0adf9ee4983124c19545d8781f655df5cb
|
|
BLAKE2b-256 checksum How to use checksums |
b7c38e6df32c86e9cc412cf4909f460eab5a3c10b766105e4e3cf630e7425dbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / colight_site-2025.4.1-py3-none-any.whl
| Download URL | colight_site-2025.4.1-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83843897060403a928456f89cb87f937b09181f9c275be5d6122633282a7b462
|
|
BLAKE2b-256 checksum How to use checksums |
0f36d0dde35187a02b692a86c470d6be3762970ef9ac773996c0d5f954c0f773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|