Metadata-Version: 2.2
Name: pyweber
Version: 0.1.4
Summary: A lightweight Python framework for building and managing web applications.
Home-page: https://github.com/webtechmoz/pyweb
Author: DevPythonMZ
Author-email: zoidycine@egmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENCE
Requires-Dist: websockets
Requires-Dist: watchdog
Requires-Dist: typer
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# PyWeber - A Lightweight Python Framework

PyWeber is a lightweight Python framework designed for building and managing web applications with ease. It allows you to quickly create web projects, manage templates, static files, and run a web server, all with minimal configuration.

## Features

- **Create New Projects**: Easily create a new web project with a predefined structure.
- **Run Projects**: Run your project from the command line.
- **Manage Templates**: Automatically handle HTML templates for your web applications.
- **Handle Static Files**: Seamlessly manage CSS, JavaScript, and other static resources.
- **Live Reload**: Supports live reloading for faster development workflow.

## Installation

To install PyWeber, run the following command:
```bash
pip install pyweber
```

## Usage

### Create a New Project
To create a new PyWeber project, use the following command:
```bash
pyweber create-new <project_name>
```

### Running the Project
To run your PyWeber project, use the command:

```bash
pyweber run
```
This will start the project and you can begin developing your web application.

### Example
```python
import pyweber as pw

def main(app: pw.Router):
    app.add_route(route='/', template=pw.Template(template='ðŸš€ Hello, world'))

if __name__ == '__main__':
    pw.run(target=main)
```

## Contributing
Feel free to contribute by opening issues or submitting pull requests. Your contributions are highly appreciated!

## License
PyWeber is licensed under the MIT License. See the LICENSE file for more details.

## Contacts
Author: DevPythonMZ
Email: zoidycine@gmail.com
GitHub: https://github.com/webtechmoz/pyweber
