tag:github.com,2008:https://github.com/aptabase/aptabase-python/releases
Release notes from aptabase-python
2025-12-12T17:10:06Z
tag:github.com,2008:Repository/1115127788/v0.1.0
2025-12-12T17:13:13Z
v0.1.0
<h2>Initial Release</h2>
<p>First release of the Aptabase Python SDK - an async-first analytics client for tracking events in Python applications.<br>
Features</p>
<ul>
<li>🚀 Async-first design with <code>asyncio</code> support</li>
<li>📊 Event tracking with custom properties</li>
<li>🔄 Automatic batching (up to 25 events per batch)</li>
<li>⏱️ Periodic auto-flush with configurable intervals</li>
<li>🌍 Multi-region support (EU, US, Self-hosted)</li>
<li>🔐 Automatic session management with 1-hour timeout</li>
<li>🛡️ Built-in error handling and retry logic</li>
<li>🎯 Context manager support for easy resource management</li>
</ul>
<h2>Installation</h2>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip install aptabase"><pre>pip install aptabase</pre></div>
<h2>Quick Start</h2>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from aptabase import Aptabase
async with Aptabase("A-EU-1234567890") as client:
await client.track("app_started")
await client.track("user_signup", {"plan": "pro"})"><pre><span class="pl-k">from</span> <span class="pl-s1">aptabase</span> <span class="pl-k">import</span> <span class="pl-v">Aptabase</span>
<span class="pl-k">async</span> <span class="pl-k">with</span> <span class="pl-en">Aptabase</span>(<span class="pl-s">"A-EU-1234567890"</span>) <span class="pl-k">as</span> <span class="pl-s1">client</span>:
<span class="pl-k">await</span> <span class="pl-s1">client</span>.<span class="pl-c1">track</span>(<span class="pl-s">"app_started"</span>)
<span class="pl-k">await</span> <span class="pl-s1">client</span>.<span class="pl-c1">track</span>(<span class="pl-s">"user_signup"</span>, {<span class="pl-s">"plan"</span>: <span class="pl-s">"pro"</span>})</pre></div>
cristipufu