--- id: logtail-python version: "0.4.0" license: ISC license_treatment: permissive maintenance: active --- # logtail-python — Better Stack client library License: permissive · Maintenance: active · Downloads: 975.5K/mo ## What it is and what it does logtail-python is a client library that integrates Python applications with Better Stack's log management service. It handles the mechanics of serializing structured logs and shipping them to Better Stack's ClickHouse backend, where they can be queried using SQL. The package depends on requests for HTTP transport and msgpack for efficient serialization. The library is designed for developers who want centralized, queryable logging without managing their own log infrastructure. It's actively maintained, supports modern Python versions (3.10 through 3.14), and carries no known security vulnerabilities. Installation is straightforward with minimal dependencies. Use it for: - Send application logs from a Python service to Better Stack for centralized monitoring and debugging. - Aggregate structured logs from multiple Python processes or services into a single queryable repository. - Replace local file-based logging with cloud-hosted log storage that supports SQL queries. - Integrate logging into a Python web application or API to track requests and errors in production. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Python client library for sending structured logs to Better Stack (formerly Logtail), a ClickHouse-based log management platform with SQL-compatible querying. Yes, if you are already using or planning to adopt Better Stack for log management. The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly with modern Python. No security vulnerabilities are known. Install only if you have a Better Stack account or plan to set one up. ## Install pip install logtail-python uv add logtail-python poetry add logtail-python ## Installing logtail-python Before you install: Low friction to install; the package is actively maintained with a recent release (44 days old) and depends only on requests and msgpack, both widely available. License in practice: ISC license is permissive and imposes minimal restrictions; you can use this package in commercial and proprietary projects without significant legal concern. Quickstart: pip install logtail-python import logtail # Configure and send logs to Better Stack via the client Requires Python 3.10 or later. Verify before relying: - Exact API surface and configuration options for the Better Stack client - Whether the package supports async logging or only synchronous sends - Rate limiting or batching behavior when shipping logs to the service ## Package facts - License: ISC (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 975.5K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags better stack logging client, logtail python sdk, structured log shipping, clickhouse log management, remote log aggregation python, log forwarding service, centralized logging client, logging, observability, cloud-service-client [View on SkillFed](https://skillfed.io/packages/logtail-python) · [View on PyPI](https://pypi.org/project/logtail-python/)