FirePython is a sexy Python logger console integrated into Firebug.
Originally, I have created it to light up my lonely nights I was spending with Google App Engine.
You definitely need Firebug 1.2 or higher.
Preferred way is to install this firefox extension via addons.mozilla.com. The latest version is available here.
Warning: some people have reported they are unable to download and install extension from addons.mozilla.com. In this case you may try workaround.
Here is source repository for firefox addon with instructions how to install bleeding edge version.
sudo easy_install firepython
Just note, that it depends on simplejson.
Clone project from github in your project directory.
Or if your web project uses git for versioning, you may want to be cool and use firepython as a submodule of your git repository.
git submodule add git://github.com/darwin/firepython.git firepython
(you may want to replace last parameter with real path in your repo)
If firepython directory is not on your import paths, you need to add firepython folder into your sys.path.
After installation, enable middleware by adding its path in MIDDLEWARE_CLASSES: firepython.middleware.FirePythonDjango.
After installation, enable middleware firepython.middleware.FirePythonWSGI.
Look for inspiration in middleware.py
- FirePython added to Bloog (blog engine for GAE)
- FirePython added to DryDrop (GAE hosting engine for GitHubbers && !Pythonists)
Version 0.2 is tested to work with alpha Firebug 1.3 and Firefox 3.1.
Version 0.3 will also work with final Firebug 1.3 + Firefox 3.1 and Firebug 1.2.1 + Firefox 3.0.4.
- Alexander Solovyov - python server-side library, Django and WSGI middlewares.
- Ivan Fedorov - helping out with threading issues.
- Joe Hewitt, John J. Barton, Jan Odvarko and others in Firebug working group - without these guys, the web wouldn't look like today.
- Christoph Dorn and FirePHP contributors - a lot of inspiration, good work mates!
- John Paulett for jsonpickle library - I was naively developing poor man's solution for inspecting objects in Python, but hopefully googled this gem early
IRC channel #firepython at freenode
- FirePython — no prints? (by Alexander Solovyov)
-
v0.3 (to be released)
- compatibility with Firebug 1.2
- password protection for production site
- path rewrite functionality
- console supports rich formatting of python log messages
- thread-safety
- improved API
-
v0.2 (24.11.2008)
- Django and WSGI middlewares by Alexander Solovyov
- added as firepython package to PyPI index
- fixed FirePython panel styles when Firebug window was detached from main window
-
v0.1 (15.11.2008)
- public alpha release
- initial server-side support for Python and Google App Engine
- communication via response headers
- logging module functionality (debug, info, warning, error, critical)
- log record filtering by type
- log record searching
- opening files in TextMate (click to timestamp field)
