skillfed

raven

Raven is a client for Sentry (https://getsentry.com)

raven v6.10.0 1.3M downloads/30d#4,021 on PyPI1,662
Permissive license BSD Abandoned released

What it is and what it does

Raven is the official legacy Python client for Sentry, a remote error tracking and monitoring service. It automatically captures unhandled exceptions and errors during application execution and sends them to a Sentry server with detailed diagnostic information for debugging and prioritization. The package provides out-of-the-box integration with popular frameworks like Django and Flask, as well as any WSGI-compatible web application, and can be used in non-web Python applications as well.

The package is now in maintenance mode only and has been superseded by sentry-sdk. Feature development and most bugfixes occur exclusively in the newer SDK. Raven officially supported Python 2.6–2.7 and 3.3–3.7, and also ran on PyPy and Google App Engine, though the codebase has not been actively maintained since early 2022.

Use it for:

  • Monitor and capture exceptions in legacy Django or Flask applications still running on older Python versions.
  • Track application errors in non-web Python scripts or background jobs with minimal setup.
  • Send diagnostic data and sanitized error context to a self-hosted or legacy Sentry instance.
  • Integrate error reporting into WSGI-compatible web applications without framework-specific adapters.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Raven is a legacy Python client for Sentry that captures and reports unhandled exceptions and errors from your application to a remote Sentry server for monitoring and analysis.

No. Raven is abandoned and explicitly deprecated in favor of sentry-sdk. Do not install for new projects. Only consider it if you are maintaining legacy code already using Raven and cannot migrate to sentry-sdk; even then, plan a migration path. The repository is archived and no updates are forthcoming.

Install

raven on PyPI

pip

pip install raven

uv

uv add raven

poetry

poetry add raven

Installing raven

Before you install

Installation is straightforward with low friction, but the package is abandoned as of 2022-01-27 and explicitly deprecated in favor of sentry-sdk. No active maintenance or bugfixes are expected beyond what already exists.

License in practice

BSD license is permissive and poses no significant restrictions on use or redistribution.

Quickstart

pip install raven

from raven import Client

client = Client('your-sentry-dsn')
try:
    1 / 0
except ZeroDivisionError:
    client.captureException()

Requires a Sentry server instance and a valid DSN (Data Source Name) to send error data to.

Verify before relying

  • Whether contextlib2 is actually used at runtime or is a legacy dependency artifact.
  • Current compatibility with modern Python versions beyond 3.7, given the package is abandoned.

Package facts

License BSD (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — contextlib2
Maintenance abandoned — 2,795 days since the last release
Last repo commit (repository archived)
First released
Downloads 1,345,799/month — #4,021 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: raven-6.10.0-py2.py3-none-any.whl

Intended Audience :: DevelopersIntended Audience :: System AdministratorsOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software Development

Tags

error tracking pythonexception reporting sentryapplication monitoring clientcrash reporting pythonsentry python clienterror notification servicelegacy sentry integration
deprecatedlegacyerror-tracking

More Software Development packages