# 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:
```python
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](LICENSE) file for details.
# Made with ❤️ by TheVixhal
Raw data
{
"_id": null,
"home_page": "https://github.com/vishal-singh-baraiya/pypaze",
"name": "pypaze",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Vishal Singh Baraiya",
"author_email": "realvixhal@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/62/eb/fe79de9479e63d927c7a492cea8419882a5dcb627e7e9014c02832cb9316/pypaze-0.1.0.tar.gz",
"platform": null,
"description": "# Pypaze\n\nPypaze 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.\n\n## Features\n\n- **File-based Routing**: Automatically registers routes based on the directory structure, simplifying navigation.\n\n- **Dynamic Routing**: Supports dynamic route parameters and catch-all routes.\n\n- **Middleware**: Add global or route-specific middleware to handle requests.\n\n- **Templating**: Uses Jinja2 for rendering templates.\n\n- **Hot-reloading**: Automatically reloads routes when files are modified during development.\n\n- **CLI**: Comes with a built-in CLI for running the server.\n\n## Installation\n\nTo install Pypaze, run:\n\n```\npip install pypaze\n```\n\n## Initialize Project\n\nTo initialize Pypaze Project, run:\n\n```\npypaze init --project-name project-name\n```\n\n## Usage\n\nCreate a simple app with Pypaze:\n\n```python\nfrom pypaze import create_app\n\n# Initialize the app\napp = create_app()\n\n# Run the app\nif __name__ == \"__main__\":\n app.run(debug=True)\n```\n\n## Directory Structure\n\n- `pypaze/`: Contains the framework code.\n\n- `routes/`: Contains route definitions. Routes are automatically registered based on the file structure.\n\n- `templates/`: Store your Jinja2 HTML templates.\n\n- `static/`: Static files such as CSS and images.\n\n- `example/`: Example app for quick reference.\n\n## Running the App\n\nYou can start your app from the command line:\n\n```\npython app.py\n```\n\nOr use the built-in CLI:\n\n```\npypaze run\n```\n\n## License\n\nMIT License. See the [LICENSE](LICENSE) file for details.\n\n# Made with \u2764\ufe0f by TheVixhal\n",
"bugtrack_url": null,
"license": null,
"summary": "A lightweight full-stack web framework on top of Flask",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/vishal-singh-baraiya/pypaze"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b706c2fadd72660a4b731cec48ad032aedf03fe2c9c5028fc3f17e0da4855717",
"md5": "767bba96a338849b55bc0d3791702a09",
"sha256": "b1d7c4d4457f97c7096a349b83849f05aafbb1c7623efd59d50dd3c2e73dc193"
},
"downloads": -1,
"filename": "pypaze-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "767bba96a338849b55bc0d3791702a09",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10124,
"upload_time": "2024-12-23T19:10:03",
"upload_time_iso_8601": "2024-12-23T19:10:03.681283Z",
"url": "https://files.pythonhosted.org/packages/b7/06/c2fadd72660a4b731cec48ad032aedf03fe2c9c5028fc3f17e0da4855717/pypaze-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "62ebfe79de9479e63d927c7a492cea8419882a5dcb627e7e9014c02832cb9316",
"md5": "f2f5bf9a881787274065e4c3b772a45a",
"sha256": "348eabf2178438cf4b7da8a51c5fbbd4c57f833cf2677b8cf00a9956a8ecef19"
},
"downloads": -1,
"filename": "pypaze-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "f2f5bf9a881787274065e4c3b772a45a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9685,
"upload_time": "2024-12-23T19:10:05",
"upload_time_iso_8601": "2024-12-23T19:10:05.299990Z",
"url": "https://files.pythonhosted.org/packages/62/eb/fe79de9479e63d927c7a492cea8419882a5dcb627e7e9014c02832cb9316/pypaze-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-23 19:10:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "vishal-singh-baraiya",
"github_project": "pypaze",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pypaze"
}