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.

Source Distribution

perfume-0.2.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file perfume-0.2.tar.gz.

File metadata

  • Download URL: perfume-0.2.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for perfume-0.2.tar.gz
Algorithm Hash digest
SHA256 3984615f5fa03cd21617a884eded1b718129072e9e1f6d5b1f46efcfb703a5b8
MD5 33c1139dd01df5d0c4570a08e5aaa475
BLAKE2b-256 65e650696302efb790c5626cbd119e7efb9ef68e1cc35f983c6f40fbf6abb8b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page