$npx skillfedfor your agent

apache-flink

Apache Flink Python API

With conditionsPyPI Distributed ComputingReleased Jun 2026214.1K downloads / mopermissive licensePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — apache_flink-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl · apache_flink-2.3.0-cp310-cp310-macosx_11_0_arm64.whl · apache_flink-2.3.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
v2.3.0 · released 2026-06-21 · Python >=3.9 · 16 runtime deps: py4j, python-dateutil, apache-beam, cloudpickle, avro, pytz, fastavro, requests

Yes, if you need a mature, production-grade distributed stream or batch processing framework in Python and can manage the JVM dependency and substantial runtime dependency footprint. Active maintenance, permissive license, and support for Python 3.9–3.12 make it solid for large-scale data pipelines. Not recommended for lightweight, single-machine workloads or if you want to avoid Java runtime overhead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Java/JVM runtime; communicates with Flink via py4j.
  • Minimum Python 3.9.
  • Medium install friction due to 16 runtime dependencies including py4j, apache-beam, numpy, pandas, and pyarrow.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions.

last release 2026-06-21 (54 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 214,134 downloads/mo, #9,423 on PyPI

Verify before relying

pip install apache-flink

import py4j
# Define and execute streaming or batch job using Table API or DataStream API
  • Whether all 16 runtime dependencies are strictly required or conditionally installed based on use case.
  • Performance characteristics and scalability limits for typical workloads.
  • Whether the DataStream and Table APIs have feature parity or if one is significantly more mature.
Same gist for agents: .md · .json

What it is and what it does

Apache Flink is a distributed processing engine for stateful computations over both bounded (batch) and unbounded (streaming) data. The Python API allows you to build scalable data pipelines using either a high-level Table API (similar to SQL or working with tabular data) or a lower-level DataStream API for fine-grained control over state and time semantics. It runs in common cluster environments and executes computations at in-memory speed across any scale.

The package depends on a substantial stack: py4j for JVM interop, apache-beam, and data-handling libraries like numpy, pandas, and pyarrow. It supports Python 3.9–3.12 and has been in production use since first release in 2020. The Table API suits exploratory data analysis and relational queries, while the DataStream API targets complex stream processing use cases requiring explicit state management.

Use it for

  • Real-time data processing pipelines that ingest, transform, and aggregate streaming events.
  • Large-scale batch ETL jobs that read, clean, and load data from distributed storage.
  • Machine learning pipelines that prepare and aggregate data for model training at scale.
  • Exploratory data analysis on large datasets using SQL-like queries via the Table API.
  • Stateful stream processing with windowing, joins, and complex event detection.
  • Data quality monitoring and anomaly detection on continuous event streams.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need a mature, production-grade distributed stream or batch processing framework in Python and can manage the JVM dependency and substantial runtime dependency footprint.

Active maintenance, permissive license, and support for Python 3.9–3.12 make it solid for large-scale data pipelines. Not recommended for lightweight, single-machine workloads or if you want to avoid Java runtime overhead.

Install

apache-flink on PyPI

Before you install

Medium install friction due to 16 runtime dependencies including py4j, apache-beam, numpy, pandas, and pyarrow. Actively maintained with recent release 54 days ago. Wheels available for Python 3.9–3.12 on macOS and Linux.

Requires Java/JVM runtime; communicates with Flink via py4j. Minimum Python 3.9.

License in practice

Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install apache-flink

import py4j
# Define and execute streaming or batch job using Table API or DataStream API

Verify before relying

  • Whether all 16 runtime dependencies are strictly required or conditionally installed based on use case.
  • Performance characteristics and scalability limits for typical workloads.
  • Whether the DataStream and Table APIs have feature parity or if one is significantly more mature.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
16 packages
py4jpython-dateutilapache-beamcloudpickleavropytzfastavrorequestsprotobufnumpypandaspyarrowpemjahttplib2ruamel.yamlapache-flink-libraries
MaintenanceActively maintained 54 days since the last release
First released
Downloads214,134 / month, #9,423 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9

Evidence: apache_flink-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl; apache_flink-2.3.0-cp310-cp310-macosx_11_0_arm64.whl; apache_flink-2.3.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; apache_flink-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl; apache_flink-2.3.0-cp311-cp311-macosx_11_0_arm64.whl; apache_flink-2.3.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; apache_flink-2.3.0-cp312-cp312-macosx_10_9_x86_64.whl; apache_flink-2.3.0-cp312-cp312-macosx_11_0_arm64.whl; apache_flink-2.3.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; apache_flink-2.3.0-cp39-cp39-macosx_10_9_x86_64.whl; apache_flink-2.3.0-cp39-cp39-macosx_11_0_arm64.whl; apache_flink-2.3.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Tags

Capabilities
distributed stream processing pythonbatch and streaming data pipelinesstateful data processing frameworkreal-time data processing enginedatastream api pythonsql-like data querieslarge-scale data analysis
Topics
stream-processingdistributed-computingetl

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “real-time data processing engine”

  • apache-flinkPython API for Apache Flink that builds stateful batch and streaming…
  • pysparkPySpark provides Python bindings to Apache Spark, enabling…
  • apache-flink-librariesBundles Apache Flink's required libraries for Python, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Distributed Computing packages

grpcio Worth it
PyPI · Distributed Computing · released Jul 2026

gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.

Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.

Apache-2.0compiled wheel · 3.10+
446.4Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
cloudpickle Worth it
PyPI · Scientific/Engineering · released Nov 2025

Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.

Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.

BSD-3-Clausepure Python · 3.8+
148.4Mdownloads / mo
smart-open Worth it
PyPI · Distributed Computing · released Jul 2026

Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.

Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.

MITpure Python
72.8Mdownloads / mo
portalocker Worth it
PyPI · Libraries · released Aug 2026

Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.

Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.

BSD-3-Clausepure Python · 3.10+
65.1Mdownloads / mo
ray Worth it
PyPI · Distributed Computing · released Aug 2026

Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.

permissive licensecompiled wheel · 3.10+
63.3Mdownloads / mo

See also apache-flink-libraries · apache-beam · pyspark · pyspark-client · quixstreams · apache-airflow-providers-apache-flink · aws-cdk.aws-kinesisanalytics-flink-alpha · signalflow-client-python · faust-streaming · delta-spark