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.dev202506241313
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.dev202506241313.tar.gz | 30.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| colight_site-2025.4.1.dev202506241313-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.9 kB
Release files / colight_site-2025.4.1.dev202506241313.tar.gz
| Download URL | colight_site-2025.4.1.dev202506241313.tar.gz |
|---|---|
| Size | 30.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18218058b4ac642110c3879e92486f4e97e30c4cb1b69bbfb6e786abfb5b8ac8
|
|
BLAKE2b-256 checksum How to use checksums |
9bcb0fff7dc2908dfb1808a0ed6a7a4fde301472e827d02cef08048d81143374
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.14
|
Release files / colight_site-2025.4.1.dev202506241313-py3-none-any.whl
| Download URL | colight_site-2025.4.1.dev202506241313-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94f1d37919cac515ac20313e7e386b5edce076302bb663458f3d7ebb051adb23
|
|
BLAKE2b-256 checksum How to use checksums |
ac63660e5ef1029e1ff7bb5f1c692d83f2d9fd4b664c66288b5fb384fa7b2419
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.14
|