⚡ alive
A lightweight, asynchronous static HTTP server for development featuring smart live-reloading without full page refreshes.
Powered by Python asyncio and watchfiles, it utilizes SSE (Server-Sent Events) and Idiomorph to morph the DOM tree instantly when files change
🔥 Features
- ⚡ Flicker-Free Reloads: Updates code instantly without annoying screen flashes.
- 💾 State Preservation: Maintains inputs, scroll positions, and form data across updates.
- 🎨 Smooth Assets Morphing: Hot-swaps HTML, CSS, and all popular image formats seamlessly.
- 🌐 Fully Asynchronous: Engineered entirely on asyncio for maximum concurrent performance.
🛠️ Tech Stack
- Python 3.10+ (asyncio ecosystem)
- watchfiles — Fast, Rust-backed cross-platform file watching
- SSE (Server-Sent Events) — Native unidirectional browser streaming
- Idiomorph — Advanced Javascript library for morphing elements
💡 Use Cases
alive was developed for Documentation Dev Mode (Sphinx, MkDocs), but you can use it for any python tooling that needs to display changing html documents.
🚀 Quick Start
Installation
pip install alive
Command Line Interface
Run the server inside your project directory:
alive public/ --port 8080
Programmatic Usage
Embed the server directly into your Python scripts:
from alive import LiveServer
server = AliveServer("public/", port=8080)
server.run()
📝 License
MIT
Metadata
Release files for alive-server 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| alive_server-0.1.1.tar.gz | 14.7 kB | With provenance | Details for alive_server-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alive_server-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for alive_server-0.1.1-py3-none-any.whl |
Total release size: 36.4 kB
Release files / alive_server-0.1.1.tar.gz
| Download URL | alive_server-0.1.1.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
860f860d6ae3f8563039e11e2ee082e021efa7ecb53adac870186ecc128d30f4
|
|
BLAKE2b-256 checksum How to use checksums |
4c23d489a15c64b7d0755f429c037c40aa5cc42f526d32aaba7333a0568d1557
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logRelease files / alive_server-0.1.1-py3-none-any.whl
| Download URL | alive_server-0.1.1-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9677ebf108998b3d9da0d31941e8aa59cfe42c32939b2336012eb4fdd02b86a8
|
|
BLAKE2b-256 checksum How to use checksums |
bfb2d366d6c871ee0000ecb339fa292ed5430a8669d351bf39e4ed02ba23095a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logSecurity for alive-server 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for alive_server-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.