skillfed

amplitude-analytics

The official Amplitude backend Python SDK for server-side instrumentation.

amplitude-analytics v1.2.3 10.1M downloads/30d#1,479 on PyPI35
Permissive license MIT License Active released

What it is and what it does

Amplitude-analytics is the official Python SDK for sending analytics events from backend services to Amplitude's platform. It provides an interface to instrument server-side applications with event tracking, allowing you to capture user actions and system events for later analysis in Amplitude's dashboard. The SDK has no external runtime dependencies, making it lightweight to integrate into existing Python services.

The package is maintained by Amplitude and supports Python 3.6 through 3.10. It is positioned as a backend-only tool—the description notes that Ampli Wrapper, a separate autogenerated library, provides type-safety and input validation on top of this SDK. For basic event transmission to Amplitude, this is the core library you would use directly.

Use it for:

  • Track user actions and events from a backend API or microservice to Amplitude for product analytics
  • Log server-side business events for cohort analysis and funnel tracking in Amplitude
  • Send system or application events from background jobs or scheduled tasks to Amplitude for monitoring
  • Instrument a Python web application to capture server-side events alongside client-side tracking

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Official Amplitude backend SDK for Python that sends server-side event data to Amplitude's analytics platform for tracking and analysis.

Yes. The SDK is actively maintained, has no external dependencies, carries a permissive MIT License, and is the official tool for backend Python instrumentation with Amplitude. Install it if you are already using Amplitude and need to send events from a Python backend service.

Install

amplitude-analytics on PyPI

pip

pip install amplitude-analytics

uv

uv add amplitude-analytics

poetry

poetry add amplitude-analytics

Installing amplitude-analytics

Before you install

Low install friction with no runtime dependencies. Actively maintained as of 2026-05-21 with stable production status.

License in practice

MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install amplitude-analytics

from amplitude import Amplitude

client = Amplitude('YOUR_API_KEY')
client.track(user_id='user_id', event_type='event')

Verify before relying

  • Whether the SDK supports batching or queuing of events for high-throughput scenarios
  • Whether offline event buffering or retry logic is built in
  • Exact API surface and available event properties beyond user_id and event_type
  • How to instantiate and configure the Amplitude client with an API key

Package facts

License MIT License (permissive)
Python support supports the current Python release (<4,>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 136 days since the last release
Last repo commit
First released
Downloads 10,127,905/month — #1,479 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: amplitude_analytics-1.2.3-py3-none-any.whl

Keywords: amplitude, python, backend

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

amplitude analytics python sdkserver-side event trackingamplitude backend instrumentationpython analytics clientamplitude event loggingbackend analytics sdk
analyticsevent-tracking

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

amplitude-experiment

Provides server-side A/B testing and feature…

permissive · top 15,000 on PyPI

analytics-python

A Python client library that sends analytics…

permissive · top 5,000 on PyPI

posthoganalytics

Sends event data and user properties to PostHog…

permissive · top 5,000 on PyPI

universal-analytics-python3

Sends event and pageview data to Google…

permissive · top 15,000 on PyPI

learnosity-sdk

Learnosity SDK provides Python bindings to…

permissive · top 15,000 on PyPI

azure-monitor-events-extension

Sends custom events to Azure Application…

permissive · top 15,000 on PyPI

mixpanel

Official Python library for server-side…

permissive · top 5,000 on PyPI

segment-analytics-python

A Python client for sending analytics events to…

permissive · top 5,000 on PyPI

eppo-server-sdk

Server-side feature flagging and…

permissive · top 15,000 on PyPI

sumologic-sdk

Python interface to the Sumo Logic REST API,…

permissive · top 15,000 on PyPI