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.dev202506191226
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.dev202506191226.tar.gz | 22.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| colight_site-2025.4.1.dev202506191226-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.7 kB
Release files / colight_site-2025.4.1.dev202506191226.tar.gz
| Download URL | colight_site-2025.4.1.dev202506191226.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ab415a292a3bf0f9619b3959c51348c2f851cad9eca4f8ade2a2c7041b4f2f5
|
|
BLAKE2b-256 checksum How to use checksums |
c7e0ff47467c30e41772c419fc2c6d49d1fbd23f178381926e3dabeabd1717fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / colight_site-2025.4.1.dev202506191226-py3-none-any.whl
| Download URL | colight_site-2025.4.1.dev202506191226-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18da733af5006432123cf70902ac30cbbed8ab355ea45d68b182b5e8f96c7779
|
|
BLAKE2b-256 checksum How to use checksums |
6666970b3ede0f7c2511dc0800d6f2c3426c6b6be278c1868bf271b76d784570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|