raven
Raven is a client for Sentry (https://getsentry.com)
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Sentry server instance and a valid DSN (Data Source Name) to send error data to.
- 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 · maintenance · safety
BSD (permissive) — BSD license is permissive and poses no significant restrictions on use or redistribution.
last release 2018-12-19 (2795 days) · last repo commit 2022-01-27 · 1,662 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,345,799 downloads/mo, #4,021 on PyPI
Alternatives
Verify before relying
pip install raven
from raven import Client
client = Client('your-sentry-dsn')
try:
1 / 0
except ZeroDivisionError:
client.captureException()- 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.
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 on it.
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
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.
Requires a Sentry server instance and a valid DSN (Data Source Name) to send error data to.
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()
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 packagecontextlib2 |
| 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 |
| Classifiers | 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 |
Evidence: raven-6.10.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “exception reporting sentry”
- ravenRaven is a legacy Python client for Sentry that captures and reports…
- sentry-sdkSentry SDK captures and reports Python application errors,…
- structlog-sentryBridges structlog and Sentry to automatically capture structured logs…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also sentry-sdk · sentry-cli · pytest-sentry · bugsnag · structlog-sentry · safe-init · sentry-kafka-schemas · trycourier · opentelemetry-instrumentation-exceptions