Fork me on GitHub

TurboGears Web Framework

TurboGears will help you to create a database-driven, ready-to-extend application in minutes. All with code that is as natural as writing a function, designer friendly templates, easy AJAX on the browser side and on the server side and with an incredibly powerful and flexible Object Relational Mapper (ORM).

Follow on Google+ for the latest news!

Give It a Try

Try it in your browser using Runnable or set it up on your machine:

$ virtualenv --no-site-packages tg2env
$ cd tg2env/
$ source bin/activate
(tg2env)$ pip install tg.devtools
(tg2env)$ gearbox quickstart --noauth --nosa example
(tg2env)$ cd example
(tg2env)$ pip install -e .
(tg2env)$ gearbox serve --reload

Get started Learning TurboGears 2 by looking at our famous wiki tutorial.

The next generation web framework that scales with you.

TurboGears 2 is built on top of the experience of several next generation web frameworks including TurboGears 1 (of course), Django, and Rails. All of these frameworks had limitations that frustrated us, and TG2 was built as an answer to that frustration. We wanted something that had:

  • Real multi-database support
  • Support for Horizontal data partitioning (aka, sharding)
  • Support for a variety of JavaScript toolkits, and new widget system to make building ajax heavy apps easier
  • Support for multiple data-exchange formats
  • Built in extensibility via standard WSGI components
  • Programmer friendly template system that also works for designers