logfire
The best Python observability tool! 🪵🔥
Install
logfire on PyPI
pip
pip install logfireuv
uv add logfirepoetry
poetry add logfirePackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — executing, opentelemetry-exporter-otlp-proto-http, opentelemetry-instrumentation, opentelemetry-sdk, protobuf, rich, tomli, typing-extensions |
| Maintenance | actively maintained — 8 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: logfire-4.40.0-py3-none-any.whl
About logfire
from the package's own PyPI description — quoted content, verbatim
Pydantic Logfire: Know more. Build faster.
<p align="center"> <a href="https://github.com/pydantic/logfire/actions?query=event%3Apush+branch%3Amain+workflow%3ACI"><img src="https://github.com/pydantic/logfire/actions/workflows/main.yml/badge.svg?event=push" alt="CI" /></a> <a href="https://codecov.io/gh/pydantic/logfire"><img src="https://codecov.io/gh/pydantic/logfire/graph/badge.svg?token=735CNGCGFD" alt="codecov" /></a> <a href="https://pypi.python.org/pypi/logfire"><img src="https://img.shields.io/pypi/v/logfire.svg" alt="pypi" /></a> <a href="https://github.com/pydantic/logfire/blob/main/LICENSE"><img src="https://img.shields.io/github/license/pydantic/logfire.svg" alt="license" /></a> <a href="https://github.com/pydantic/logfire"><img src="https://img.shields.io/pypi/pyversions/logfire.svg" alt="versions" /></a> <a href="https://pydantic.dev/docs/logfire/join-slack/"><img src="https://img.shields.io/badge/Slack-Join%20Slack-4A154B?logo=slack" alt="Join Slack" /></a> </p>
From the team behind Pydantic Validation, Pydantic Logfire is an observability platform built on the same belief as our open-source library: that the most powerful tools can be easy to...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Logfire is an observability platform that provides Python-centric tracing, logging, and metrics collection with an OpenTelemetry foundation, enabling manual instrumentation or automatic integration with popular frameworks.
Low friction: pure Python wheel with 8 runtime dependencies including opentelemetry-sdk and protobuf. Actively maintained with a release 8 days ago. Requires Python 3.10+.
MIT license permits unrestricted use, modification, and distribution in both open and closed source projects, with no copyleft obligations.
Usage
pip install logfire
import logfire
logfire.configure()
logfire.info('Hello, {name}!', name='world')
with logfire.span('operation'):
# your code here
pass
Requires Python 3.10 or later. Authentication via 'logfire auth' command needed to send data to the Logfire platform.
Verdict: Logfire is a production-ready, actively maintained observability tool with zero known vulnerabilities. Its MIT license and low install friction make it accessible; the 8 OpenTelemetry-based dependencies are standard for this class of tool. Best suited for teams wanting Python-native observability with optional managed backend or OTel-compatible alternatives.
Needs verification
- Whether the managed Logfire platform has usage-based pricing or free tier limits affecting adoption cost
- Performance overhead of automatic instrumentation on high-throughput applications
- Data retention and compliance certifications for the closed-source backend platform
Similar packages
permissive · top 1,000 on PyPI
logfire-apipermissive · top 1,000 on PyPI
opentelemetry-instrumentation-fastapipermissive · top 1,000 on PyPI
pydanticpermissive · top 100 on PyPI
pydantic_corepermissive · top 100 on PyPI
pydantic-settingspermissive · top 100 on PyPI
PyGithubcopyleft · top 1,000 on PyPI
httpx2permissive · top 1,000 on PyPI
opentelemetry-instrumentation-sqlalchemypermissive · top 1,000 on PyPI
jiterpermissive · top 1,000 on PyPI