A simple web server that serves a single HTML file.
Project description
zaim-zsl 🚀
A lightweight, developer-focused Python library that strips away the boilerplate of web server configuration. Built as an intuitive wrapper around Flask, zaim-zsl allows you to spin up a local development server to serve a specific, single HTML file instantly with minimal code.
Whether you are testing an isolated frontend component, building an internal utility UI, or introducing students to backend web routing, zaim-zsl provides a clean, zero-configuration solution.
📖 Table of Contents
- Core Features
- How it Works Under the Hood
- Installation
- Step-by-Step Quick Start Tutorial
- Complete Working Examples
- Advanced Usage Patterns
- API Reference Documentation
- Troubleshooting Common Issues
- Development and Contribution
- License
✨ Core Features
- Zero Flask Boilerplate: Forget configuring application context, setting up routing rules, or managing layout file trees. One object creation manages it all.
- Smart Context Resolution: Standard Flask looks inside a fixed, internal
/templatesfolder.zaim-zsldynamically maps directly to your active terminal working directory (os.getcwd()), instantly finding your local asset folder. - Granular URL Customization: Easily control both the binding network port and the specific URL slug endpoints.
- Native Hot Reloading: Comes packaged with debugging features enabled by default, ensuring immediate server refreshes whenever your source code or templates change.
🛠️ How it Works Under the Hood
Standard microframeworks require absolute structure synchronization. For instance, when installing a traditional library via pip, the runtime execution anchor shifts into a global directory tree like site-packages/.
❌ STANDARD FLASK COMPILATION:
your_project/
└── app.py (Looks internally for /templates folder here)
✔️ THE ZAIM-ZSL INTERFACE:
your_project/
├── app.py <- Your execution script
└── index.html <- Located seamlessly via root working context (os.getcwd())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zaim_zsl-0.1.2.tar.gz.
File metadata
- Download URL: zaim_zsl-0.1.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9c8b408bb6e0533f3403d51f712bb71b4f609c56fbe1e95d4de2cd22377e62a
|
|
| MD5 |
9be679e7503128ed7d25c35690dac74e
|
|
| BLAKE2b-256 |
eb98c81cf20e0fb556cf9e258a23cbff4158f413c3a033bfd82e5e7849adcda5
|
File details
Details for the file zaim_zsl-0.1.2-py3-none-any.whl.
File metadata
- Download URL: zaim_zsl-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
448049d6dafdaa59a2f402355536614f6813bcf45e1a31fa38cb56bb77f0046a
|
|
| MD5 |
fc799a39ad13f8661706bca2f08a03ec
|
|
| BLAKE2b-256 |
740057acfa9286c60ff7efc95947ab225b09f3c7d118b81f6bac759563ed96a5
|