Skip to main content

Usernado is a Tornado Extension to Make Life Easier.

Project description


Usernado

A Tornado Extension to Make Life Easier.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. Why Usernado
  2. Features
  3. Installation
  4. Usage
  5. Roadmap
  6. License
  7. Contact

Why Usernado

I'm using Tornado 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

  • Websocket easier than ever

  • ORM agnostic authentication

  • Humanize datetime in templates

  • Better exception printer thanks to tornado-debugger

Installation

Install either with pip or poetry.

pip install usernado
or
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.

Resources

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 third party authentication abstract methods
  • Add pagination

See the open issues for a full list of proposed features (and known issues).

License

Distributed under the Apache License. See LICENSE.txt for more information.

Contact

Email: tell.reganto[at]gmail[dotcom]

(back to top)

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.4.tar.gz (12.6 kB view hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page