skillfed

apache-airflow-providers-segment

Provider package apache-airflow-providers-segment for Apache Airflow

apache-airflow-providers-segment v3.9.5 216.6K downloads/30d#9,374 on PyPI46,490
Permissive license Apache-2.0 Active released

What it is and what it does

This is an Apache Airflow provider package that bridges Airflow workflows to Segment, a customer data platform. It allows Airflow DAGs to send events, track user actions, and push analytics data directly to Segment for downstream processing, enrichment, and activation. The package is built on top of apache-airflow and segment-analytics-python, providing Airflow-native operators and hooks for Segment integration.

The package is production-stable (Development Status 5) and actively maintained by the Apache Airflow project. It supports modern Python versions and integrates seamlessly into existing Airflow deployments with low installation friction. Use it when you need to emit analytics events from data pipelines or orchestrate Segment-based workflows within Airflow.

Use it for:

  • Send pipeline completion events to Segment for monitoring and alerting on data workflow health.
  • Track data quality checks and validation results as analytics events in your CDP.
  • Orchestrate Segment audience syncs or activation workflows triggered by Airflow DAGs.
  • Log ETL job metrics and performance data to Segment for analytics and BI integration.

Worth the install?

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

Integrates Apache Airflow with Segment for sending analytics events and data from Airflow workflows to Segment's CDP platform.

Yes. This is a production-stable, actively maintained provider with no known vulnerabilities, low install friction, and permissive licensing. Install it if you run Airflow >=2.11.0 and need to integrate workflows with Segment; otherwise, it adds no value.

Install

apache-airflow-providers-segment on PyPI

pip

pip install apache-airflow-providers-segment

uv

uv add apache-airflow-providers-segment

poetry

poetry add apache-airflow-providers-segment

Installing apache-airflow-providers-segment

Before you install

Low friction installation. Actively maintained with recent release (68 days old) and no known vulnerabilities. Requires Apache Airflow >=2.11.0 and supports current Python versions (3.10–3.14).

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most deployment contexts.

Quickstart

pip install apache-airflow-providers-segment

from airflow.providers.segment.operators import SegmentTrackEventOperator

task = SegmentTrackEventOperator(
    task_id='send_event',
    event='workflow_completed',
    properties={'status': 'success'}
)

Requires Apache Airflow >=2.11.0 and segment-analytics-python >=2.3.0 to be installed; Segment API credentials must be configured.

Verify before relying

  • Specific operator classes and their full API surface available in this version.
  • Whether Segment connection configuration is pre-built or requires manual setup in Airflow.
  • Support for Segment-specific features like batching, retries, or custom event schemas.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — apache-airflow, apache-airflow-providers-common-compat, segment-analytics-python
Maintenance actively maintained — 68 days since the last release
Last repo commit
First released
Downloads 216,633/month — #9,374 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: apache_airflow_providers_segment-3.9.5-py3-none-any.whl

Keywords: airflow-provider, segment, airflow, integration

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Web EnvironmentFramework :: Apache AirflowFramework :: Apache Airflow :: ProviderIntended Audience :: DevelopersIntended Audience :: System AdministratorsProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: System :: Monitoring

Tags

airflow segment integrationsend analytics to segmentairflow provider segmentsegment cdp airflowairflow data pipeline segment
airflow-provideranalytics-integrationdata-pipeline

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

apache-airflow-providers-apache-kylin

Integrates Apache Kylin OLAP analytics with…

permissive · top 15,000 on PyPI

apache-airflow-providers-datadog

Integrates Apache Airflow with Datadog for…

permissive · top 5,000 on PyPI

apache-airflow-providers-facebook

Integrates Apache Airflow with Facebook Ads,…

permissive · top 15,000 on PyPI

apache-airflow-providers-grpc

Integrates gRPC communication into Apache…

permissive · top 15,000 on PyPI

apache-airflow-providers-jenkins

Integrates Jenkins CI/CD systems into Apache…

permissive · top 15,000 on PyPI

apache-airflow-providers-samba

Integrates Samba file-sharing protocol with…

permissive · top 15,000 on PyPI

segment-analytics-python

A Python client for sending analytics events to…

permissive · top 5,000 on PyPI

apache-airflow-providers-dingding

Integrates Apache Airflow with DingTalk,…

permissive · top 15,000 on PyPI

apache-airflow-providers-asana

Integrates Apache Airflow with Asana, enabling…

permissive · top 15,000 on PyPI

apache-airflow-providers-microsoft-psrp

Integrates Apache Airflow with PowerShell…

permissive · top 15,000 on PyPI