backkr-0.0.3
توضیحات
A backend framework the web
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | backkr-0.0.3 |
| نام | backkr |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Almas Ali |
| ایمیل نویسنده | almaspr3@gmail.com |
| آدرس صفحه اصلی | https://github.com/Almas-Ali/backkr |
| آدرس اینترنتی | https://pypi.org/project/backkr/ |
| مجوز | - |
# Backkr - A backend framework the web
Created by [**@Almas-Ali**](https://github.com/Almas-Ali)
## Table of Contents
- [Introduction](#introduction)
- [Installation](#installation)
- [Usage](#usage)
- [Documentation](#documentation)
- [License](#license)
## Introduction
Try out the [**examples/**](https://github.com/Almas-Ali/backkr/tree/master/examples/) folder to see how to use the framework.
## Installation
```bash
pip install backkr
```
## Usage
```python
from backkr import Backkr
from backkr.template import Template
from datetime import datetime
app = Backkr(__name__)
template = Template()
template.set_template_dir('templates')
@app.route('/', methods=['GET', 'POST'])
def index(request):
return template.render_string(
'<h1>Hello World, Time: {{ time }}</h1>',
time=datetime.now().strftime("%H:%M:%S")
)
if __name__ == "__main__":
app.run(debug=True)
```
## Documentation
[Website](https://almas-ali.github.io/backkr/)
## LICENSE
Licensed under the [**MIT LICENSE**](https://github.com/Almas-Ali/backkr/tree/master/LICENSE)
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl backkr-0.0.3:
pip install backkr-0.0.3.whl
نصب پکیج tar.gz backkr-0.0.3:
pip install backkr-0.0.3.tar.gz