zums 0.1.8

ZeroMQ based User and Session management for webapps in different languages/frameworks

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
BSD License 
Amit Upadhyay
ROOT \ Internet \ HTTP (WWW)
zums is a ZeroMQ-based User and Session management for webapps in different languages/frameworks

zums can be installed by:

easy_install zums

One auth to rule them all.

Django has its way of handling users and sessions. Ruby has its own. Java servlets has their own. And so on. Not good.

Good: there is a ZeroMQ service that programs written in any language can interact with, this service maintains users and sessions. The web framework of your choice passes sessionid from sessionid named cookie, gets session, gets logged in user etc. Nginx routes www.example.com/accounts to zums service, which happens to be a web server too, and nginx routes www.example.com/blog to wordpress based blog, and www.example.com/dashboard/ to a ruby on rails project and www.example.com/* to django. If a user signs in by going to www.example.com/accounts/login/, sessionid cookie is set, and if user then goes to www.example.com/blog, wordpress plugin for zums interacts with zums over zeromq and fetches user/session data.

So I wrote this service. This is actually a collection of services and plugins.

First install this service:

easy_install zums

You will have to run the zumsd daemon too.:

zumsd --help

And create a database for users.:

zumsd --init

This will ask for a database engine, location, hostname, username etc and create the tables for you. [TODO: not done yet].

The point to note is that your users are stored in this data base, and are accessible over a zeromq api too all languages and frameworks, not just django.

Documentation: http://packages.python.org/zums

Last updated on July 4th, 2011


#user management #session management #user #session #management #framework

Add your review!