Welcome

BFG is a Python web application framework based on WSGI. BFG is also referred to as repoze.bfg.

BFG shares version control facilities with the Repoze project, and is developed by the same primary developers, but its goals are different than the overall goals of the Repoze project. BFG is inspired by Zope, Pylons and Django. "Under the hood", BFG makes use of technologies from the Zope project.

What makes BFG special

It's Tested If it ain't tested, it's broke. We strive to test BFG 100% completely via unit tests.

Simplicity: BFG attempts to be a "pay only for what you eat" framework in which you can be productive quickly with partial knowledge. We contrast this with "pay up front for what anyone might eventually want to eat" frameworks, which tend to expect you to understand a great many concepts and technologies fully before you can be truly productive. BFG doesn't force you to use any particular technology to get your application written, and we try to keep the core set of concepts you need to understand to a minimum.

Minimalism: BFG provides only the very basics: URL to code mapping, templating, and security. There is not much more to the framework than these pieces: you are expected to provide the rest.

Documentation: Because BFG is so minimal, it's relatively easy to keep its documentation up-to-date, which is helpful to bring new developers up to speed. It's our goal that nothing remain undocumented about BFG.

Speed: BFG is meant to be fast, capable of serving on the order of 100-1000 requests per second on today's commodity hardware for views that do "real work" given proper application implementation. The "hardware is cheap" mantra has its limits when you're responsible for managing a great many machines: the fewer you need, the less pain you'll have.

Get to know BFG

BFG is a "pay only for what you eat" Python web framework. You can get started easily and learn new concepts as you go, and only if you need them. It's simple, well tested, well documented, and fast.

Recent Tutorials Latest News