Avishan is just an set of tools
Project description
Avishan is a set of tools for building fast, comfortable and reliable falcon apps.
Quick start
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()
Features
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
falcon-avishan-0.0.2.tar.gz
(6.2 kB
view details)
Built Distributions
File details
Details for the file falcon-avishan-0.0.2.tar.gz
.
File metadata
- Download URL: falcon-avishan-0.0.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f915b009184708c07e535718ca1e589a40c6e4c5481317c205cc6d723144a089 |
|
MD5 | 4a4eaaf3d50c572012424a0159c0ea24 |
|
BLAKE2b-256 | bcf88ba975064da6cfcd4622839d57a53232d180d6afb50e3f1642a7d4579d4e |
File details
Details for the file falcon_avishan-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: falcon_avishan-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a8d0b7dc805b14a2c16be2c561af19a2c32e9e94fe69302cce693fb9a70a72e |
|
MD5 | 1c4ac47b4ec3fa7a8fecbdb1545c2804 |
|
BLAKE2b-256 | c3f90a28f9f570d7c6c231db1b302796d858c16489589f958dc0c2421abf5acc |
File details
Details for the file falcon_avishan-0.0.2-py2-none-any.whl
.
File metadata
- Download URL: falcon_avishan-0.0.2-py2-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 630ac32b0bde6c8cf45efee7b1efdc4ed567c122e52c431cc6d76d11661a216d |
|
MD5 | f089e59c3039d04dfb09f99ed5548743 |
|
BLAKE2b-256 | 2fc04540a710273f6c6b0f59a990a6e8a0b7151672ffe2dd7174048bb5497d8f |