Skip to main content

A simple web server that serves a single HTML file.

Project description

zaim-zsl 🚀

PyPI version License: MIT Python Support

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

  1. Core Features
  2. How it Works Under the Hood
  3. Installation
  4. Step-by-Step Quick Start Tutorial
  5. Complete Working Examples
  6. Advanced Usage Patterns
  7. API Reference Documentation
  8. Troubleshooting Common Issues
  9. Development and Contribution
  10. 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 /templates folder. zaim-zsl dynamically 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zaim_zsl-0.1.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zaim_zsl-0.1.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

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

Hashes for zaim_zsl-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f9c8b408bb6e0533f3403d51f712bb71b4f609c56fbe1e95d4de2cd22377e62a
MD5 9be679e7503128ed7d25c35690dac74e
BLAKE2b-256 eb98c81cf20e0fb556cf9e258a23cbff4158f413c3a033bfd82e5e7849adcda5

See more details on using hashes here.

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

Hashes for zaim_zsl-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 448049d6dafdaa59a2f402355536614f6813bcf45e1a31fa38cb56bb77f0046a
MD5 fc799a39ad13f8661706bca2f08a03ec
BLAKE2b-256 740057acfa9286c60ff7efc95947ab225b09f3c7d118b81f6bac759563ed96a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page