Skip to main content

Usernado is a Tornado Extension to Make Life Easier.

Project description


Usernado

Makes it Easy to Manage Tornado :tornado: Applications
Explore the docs »

Test PyPI version

Why Usernado

I'm using 🌪️ every day. I really like it 😍 . Besides of all advantages of Tornado, it's not a full-stack framework, and I had to put all the pieces of the puzzle together every day 😩! So this is my attempt to follow DRY(Don't Repeat Yourself) principle. This is how the Usernado was born.

Features

  • REST support :zap:

  • Websocket easier than ever :zap:

  • ORM agnostic authentication :zap:

  • Humanize datetime in templates :zap:

  • Better exception printer thanks to tornado-debugger :zap:

Installation

Install either with pip or poetry.

pip install usernado
poetry add usernado

Or optionally you can install from github using

pip install git+https://github.com/reganto/usernado

Usage

Example

from usernado import Usernado


class HelloHandler(Usernado.Web):
    def get(self):
        self.write("Hello, World!")

For more examples please Check out examples.

Roadmap

  • Send and broadcast for websockets
  • Abstracted authentication methods
  • Authenticaion methods should return True/False
  • Add diff_for_human (humanize) decorator
  • Add api_route for API handlers
  • Add username & password to test login
  • Add pluralize (str_plural) uimodule
  • Add pagination

Contact

Email: tell.reganto[at]gmail[dot]com

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

usernado-0.2.7.tar.gz (12.5 kB view hashes)

Uploaded source

Built Distribution

usernado-0.2.7-py3-none-any.whl (18.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page