Pyrollbar
Error tracking and logging from Python to Rollbar
Install / Use
/learn @rollbar/PyrollbarREADME
Python notifier for reporting exceptions, errors, and log messages to Rollbar.
Key benefits of using Pyrollbar are:
- Frameworks: Pyrollbar supports popular Python frameworks such as <a href="https://docs.rollbar.com/docs/django">Django</a>, <a href="https://docs.rollbar.com/docs/flask">Flask</a>, <a href="https://docs.rollbar.com/docs/fastapi">FastAPI</a>, <a href="https://docs.rollbar.com/docs/aws-lambda-1">AWS Lambda</a> and more!
- Automatic error grouping: Rollbar aggregates Occurrences caused by the same error into Items that represent application issues. <a href="https://docs.rollbar.com/docs/grouping-occurrences">Learn more about reducing log noise</a>.
- Advanced search: Filter items by many different properties. <a href="https://docs.rollbar.com/docs/search-items">Learn more about search</a>.
- Customizable notifications: Rollbar supports several messaging and incident management tools where your team can get notified about errors and important events by real-time alerts. <a href="https://docs.rollbar.com/docs/notifications">Learn more about Rollbar notifications</a>.
Python Versions Supported
| PyRollbar Version | Python Version Compatibility | Support Level | |-------------------|-----------------------------------------------|---------------------| | 1.4.0 | 3.9, 3.10, 3.11, 3.12, 3.13, 3.14 | Full | | 0.16.3 | 2.7, 3.4, 3.5, 3.6, 3.7. 3.8, 3.9, 3.10, 3.11 | Security Fixes Only |
Support Level Definitions
Full - We will support new features of the library and test against all supported versions.
Security Fixes Only - We will only provide critical security fixes for the library.
Frameworks Supported
Generally, PyRollbar can be used with any Python framework. However, we have official support for the following frameworks:
| Framework | Support Duration | Tested Versions | |-----------|----------------------------|-----------------| | Celery | Release +1 year | None | | Django | Release or LTS end +1 year | 4.2, 5.2 | | FastAPI | Release +1 year | 0.115, 0.118 | | Flask | Release +1 year | 2.3, 3.1 | | Pyramid | Release +1 year | 1.10, 2.0 |
Official support means that we ship and maintain integrations for these frameworks. It also means that we test against these frameworks as part of our CI pipeline.
Generally, we will support the last year of releases for a framework. If a framework has a defined support period (including LTS releases), we will support the release for the duration of that period plus one year.
Community Supported
There are also a number of community-supported integrations available. For more information, see the Python SDK docs.
Setup Instructions
- Sign up for a Rollbar account
- Follow the Quick Start instructions in our Python SDK docs to install pyrollbar and configure it for your platform.
Usage and Reference
For complete usage instructions and configuration reference, see our Python SDK docs.
Release History & Changelog
See our Releases page for a list of all releases, including changes.
Help / Support
If you run into any issues, please email us at support@rollbar.com
For bug reports, please open an issue on GitHub.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature). - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Tests are in rollbar/test. To run the tests: python setup.py test
Related Skills
tmux
342.0kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
claude-opus-4-5-migration
84.7kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
342.0kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
blogwatcher
342.0kMonitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
