--- id: mixpanel-py-async version: "0.3.0" license: unclear license_treatment: permissive maintenance: abandoned --- # mixpanel-py-async — Python library for using Mixpanel asynchronously License: permissive · Maintenance: abandoned · Downloads: 149.1K/mo ## What it is and what it does mixpanel-py-async wraps the standard Mixpanel Python client to add asynchronous event handling. Instead of blocking your application while events are sent to Mixpanel's API, it batches events and flushes them in a separate thread, keeping response times fast in request/response scenarios. The package depends only on mixpanel and provides a consumer that replaces the default synchronous behavior. The library offers configuration options for batch size (default 20), flush timing (default 10 seconds), retry logic (default 4 retries), and API endpoints. You can manually trigger flushes when needed, either asynchronously or synchronously (useful before process shutdown). However, the project has been abandoned since 2021-02-18 with no maintenance activity, so compatibility with newer Mixpanel API versions or Python releases is not guaranteed. Use it for: - Web applications where analytics event tracking should not add latency to HTTP response times - High-throughput services that need to batch events to reduce API call overhead - Background job systems where you want to track events without blocking task execution - Graceful shutdown scenarios where you need to ensure all queued events are flushed before process termination ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides asynchronous event batching and flushing for the Mixpanel Python client, sending analytics events in a background thread without blocking the main application. Yes, if you are already using mixpanel and your application runs on a Python version and Mixpanel API version compatible with the frozen 0.3.0 release. The low install friction and permissive license make it a straightforward add-on for non-blocking analytics. No, if you need active maintenance, security updates, or compatibility with recent Mixpanel API changes—the abandonment since 2021-02-18 is a significant risk for new projects. ## Install pip install mixpanel-py-async uv add mixpanel-py-async poetry add mixpanel-py-async ## Installing mixpanel-py-async Before you install: Low install friction with a single runtime dependency. However, the package is abandoned—last commit was 2021-02-18 and no releases since then. Use only if the Mixpanel API and your application's Python version remain compatible with the frozen 0.3.0 codebase. License in practice: Licensed under Apache Software License (permissive). You may use, modify, and distribute this package freely, including in commercial applications, provided you retain the license notice. Quickstart: pip install mixpanel-py-async from mixpanel import Mixpanel from mixpanel_py_async import AsyncBufferedConsumer mp = Mixpanel('YOUR_TOKEN', consumer=AsyncBufferedConsumer()) mp.track('user_id', 'event_name', {'property': 'value'}) Verify before relying: - Whether the package works with current versions of the Mixpanel API and modern Python releases - Whether AsyncBufferedConsumer's default configuration (10-second flush, batch size 20) suits your throughput needs - Current compatibility with the mixpanel runtime dependency across versions ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 149.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags mixpanel async client, asynchronous analytics tracking, non-blocking event batching, mixpanel background thread, async event consumer, batched analytics events, analytics, async-io, batching [View on SkillFed](https://skillfed.io/packages/mixpanel-py-async) · [View on PyPI](https://pypi.org/project/mixpanel-py-async/)