Avishan is just an set of tools
Avishan is a set of tools for building fast, comfortable and reliable falcon apps.
On linux remember to install this packages:
pip install cython pip install -v --no-binary :all: falcon
Create virtual environment for your project:
sudo -H pip3 install virtualenv
Create your views with inheriting classes from “AvishanView”:
class NewsView(AvishanView): url = 'news/' def get(self): # entire get method pass def post(self): # entire post method pass
At the end of your file, add this to create server:
stage = AvishanFalconStage()
You can run your server simply with wsgiref:
if __name__ == '__main__': from wsgiref import simple_server httpd = simple_server.make_server('127.0.0.1', 8000, stage.app) httpd.serve_forever()
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for falcon_avishan-0.0.2-py3-none-any.whl
Hashes for falcon_avishan-0.0.2-py2-none-any.whl