Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

Mulib is a rest web service framework built on top of eventlet.httpd. Httpd parses the http request and generates the response; mulib takes care of locating the object which will handle the request (url traversal) and calling the appropriate callback method based on the method of the request. Code written using mulib looks like a series of subclasses of mu.Resource which override methods such as handle_get or handle_post, making it easy to implement web services.

Mulib knows how to traverse python objects like dicts and lists, so it is possible to access compositional data structures through the Web.

The wiki at http://wiki.secondlife.com/wiki/Mulib is likely to be a more current source of information than this README. Questions, patches, and general discussion go to the eventlet/mulib mailing list: https://lists.secondlife.com/cgi-bin/mailman/listinfo/eventletdev

== limitations ==

  • Sorely lacking in documentation
  • Not enough test coverage -- the goal is 100%, but we are not there yet.
  • Does not fit well on toast with brie.

== getting started ==

% python >>> from mulib import mu >>> help(mu)

Also, look at the examples in the examples directory.

== requirements ===

Mulib runs on Python version 2.3 or greater, with the following dependenceis: * [[eventlet]] * [http://cheeseshop.python.org/pypi/simplejson simplejson]

Recent activity

Nothing to see here, move along.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.