Skip to main content

Simple Object Oriented layer for Flask.

Project description

Perfume
===

Perfume aims at making Flask-apps more Object-Oriented friendly
by providing a base class to create them.

It's BSD licensed.

Usage:
- inherit from Perfume
- decorate your methods with route(path)

Perfume is Easy
---


```python
from perfume import Perfume, route

class Hello(Perfume):

@route('/')
def hello(self):
return "Hello World !"

if __name__ == "__main__":
Hello().run()
```

And Easy to Setup
---

```bash
$ pip install Perfume
$ python hello.py
* Running on http://localhost:5000/
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for perfume, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size perfume-0.2.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page