Metadata-Version: 2.1
Name: backkr
Version: 0.0.2
Summary: A backend framework the web
Home-page: https://github.com/Almas-Ali/backkr
Author: Almas Ali
Author-email: almaspr3@gmail.com
License: UNKNOWN
Keywords: web framework
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# 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)


