Pre-release
This release is a pre-release and may not be stable for production use.
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.dev202506171823
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.dev202506171823.tar.gz | 13.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| colight_site-2025.4.1.dev202506171823-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.3 kB
Release files / colight_site-2025.4.1.dev202506171823.tar.gz
| Download URL | colight_site-2025.4.1.dev202506171823.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d939731493aefe1393e7c3598250f9d03907df131e87544e5d5ba4b3139fefe7
|
|
BLAKE2b-256 checksum How to use checksums |
c6d8545d64a8f0263f4e12b9a9f583f3bc3140545f440b7399f386a33150c002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / colight_site-2025.4.1.dev202506171823-py3-none-any.whl
| Download URL | colight_site-2025.4.1.dev202506171823-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
729d3881d39d7befae2a41f5a1dfec7a4505c9ffb720c463631b5bbe852060f3
|
|
BLAKE2b-256 checksum How to use checksums |
7bb2cb09cc5389413c2156585ff654d8118717c526baa6dfaa1580c86dbae6c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|