Metadata-Version: 2.1
Name: falcon-avishan
Version: 0.0.1
Summary: Avishan is just an set of tools
Home-page: https://gitlab.com/afshari9978/falcon-avishan
Author: Morteza Afshari
Author-email: afshari9978@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Dist: Cython (==0.29.15)
Requires-Dist: falcon (==2.0.0)

==============
Falcon Avishan
==============

Avishan is a set of tools for building fast, comfortable and reliable falcon apps.

Quick start
-----------

1. On linux remember to install this packages::

    pip install cython
    pip install -v --no-binary :all: falcon

2. Create virtual environment for your project::

    sudo -H pip3 install virtualenv


3. 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

4. At the end of your file, add this to create server::

    stage = AvishanFalconStage()


5. 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()

Features
--------


