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