Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Micro framework built on top of sanic.py written in Python 3.

Project Description

rsanic

Micro framework built on top of sanic.py written in Python 3.

Installing rsanic

pip3 install rsanic

Example app:

  • Local Redis service must be installed and running at port 6397
  • Shows how to use html or json responses
git clone https://github.com/reformo/rsanic.git
cd rsanic/example
python3 server.py

or if you have pm2 installed

git clone https://github.com/reformo/rsanic.git
cd rsanic/example
pm2 start process.yml

Then use any web browser to open address: http://127.0.0.1:8000/ or http://127.0.0.1:8000/api or http://127.0.0.1:8000/public/data.json for static file access.

Notes

Credits

Change Log

New in version 0.4.0

  • Workers added as an option
  • Markdown support added

New in version 0.3.1

  • Container removed

New in version 0.3.0

  • HTML theming support added
  • Access log option added
  • Static files support added
  • Starting to support to get loop outer codebase
  • Controller invoke methods, application_global and controller_global methods changed to async methods

New in version 0.2.2

  • Autoescape option set True for Jinja to prevent XSS attacks.
  • Example pm2 config added

New in version 0.2.1

  • Requirements updated

New in version 0.2.0

  • Dependency Injection Container introduced to be used in Rsanic and Applications
  • Request injected in to App
  • Working example added

New in version 0.1.0

  • Introduced “rsanic” #WIP
Release History

Release History

This version
History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
rsanic-0.4.2-py3.6.egg (8.5 kB) Copy SHA256 Checksum SHA256 3.6 Egg Jun 30, 2017
rsanic-0.4.2-py3-none-any.whl (6.3 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jun 30, 2017
rsanic-0.4.2.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Jun 30, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting