Waltz is a web.py framework for designing web apps in 3/4 time.
Project description
Waltz (v.0.1.6.2) is a web.py based web framework for rapidly designing web apps in 3/4 time. Waltz comes pre-configured, ready to run, and includes features like out-of-the-box support for analytics tracking. Waltz and never miss a beat.
Installation
pip install waltz
Example
Feel free to clone the following code snippet from https://gist.github.com/4584751.git or wget the raw file from https://gist.github.com/raw/4584751/08ed11e5aa774a3a224f1c3d903562b9f5366775/main.py
Typical usage often looks like this:
#!/usr/bin/env Python import waltz from waltz import track, db, render, session urls = ('/session', 'Session', '/analytics', 'Analytics', '/', 'Index') sessions = {'cart': waltz.Cart()} app = waltz.setup.dancefloor(urls, globals(), sessions=sessions) class Index: @track def GET(self): return render().index() class Session: def GET(self): return session() class Analytics: def GET(self): return db.get('analytics') if __name__ == "__main__": app.run()
Notes
Removed unnecessary dependency on nose
TODO
Oauth Integration
Payment Processing Modules (consider stripe checkout)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.