Pypaze
Pypaze is a lightweight, full-stack web framework built on top of Flask, inspired by Next.js. It offers file-based routing, dynamic templates, middleware support, and easy configuration, making it ideal for building modern web applications.
Features
-
File-based Routing: Automatically registers routes based on the directory structure, simplifying navigation.
-
Dynamic Routing: Supports dynamic route parameters and catch-all routes.
-
Middleware: Add global or route-specific middleware to handle requests.
-
Templating: Uses Jinja2 for rendering templates.
-
Hot-reloading: Automatically reloads routes when files are modified during development.
-
CLI: Comes with a built-in CLI for running the server.
Installation
To install Pypaze, run:
pip install pypaze
Initialize Project
To initialize Pypaze Project, run:
pypaze init --project-name project-name
Usage
Create a simple app with Pypaze:
from pypaze import create_app
# Initialize the app
app = create_app()
# Run the app
if __name__ == "__main__":
app.run(debug=True)
Directory Structure
-
pypaze/: Contains the framework code. -
routes/: Contains route definitions. Routes are automatically registered based on the file structure. -
templates/: Store your Jinja2 HTML templates. -
static/: Static files such as CSS and images. -
example/: Example app for quick reference.
Running the App
You can start your app from the command line:
python app.py
Or use the built-in CLI:
pypaze run
License
MIT License. See the LICENSE file for details.
Made with ❤️ by TheVixhal
Metadata
Release files for pypaze 0.1.0
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 |
|---|---|---|---|---|
| pypaze-0.1.0.tar.gz | 9.7 kB | Without provenance | Details for pypaze-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pypaze-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pypaze-0.1.0-py3-none-any.whl |
Total release size: 19.8 kB
Release files / pypaze-0.1.0.tar.gz
| Download URL | pypaze-0.1.0.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
348eabf2178438cf4b7da8a51c5fbbd4c57f833cf2677b8cf00a9956a8ecef19
|
|
BLAKE2b-256 checksum How to use checksums |
62ebfe79de9479e63d927c7a492cea8419882a5dcb627e7e9014c02832cb9316
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.1
|
Release files / pypaze-0.1.0-py3-none-any.whl
| Download URL | pypaze-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1d7c4d4457f97c7096a349b83849f05aafbb1c7623efd59d50dd3c2e73dc193
|
|
BLAKE2b-256 checksum How to use checksums |
b706c2fadd72660a4b731cec48ad032aedf03fe2c9c5028fc3f17e0da4855717
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.1
|
Security for pypaze 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.