Metadata-Version: 2.4
Name: apache-beam
Version: 2.76.0
Summary: Apache Beam SDK for Python
Home-page: https://beam.apache.org
Download-URL: https://pypi.python.org/pypi/apache-beam
Author: Apache Software Foundation
Author-email: dev@beam.apache.org
License: Apache License, Version 2.0
Keywords: apache beam
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: cryptography<49.0.0,>=39.0.0
Requires-Dist: fastavro<2,>=0.23.6
Requires-Dist: fasteners<1.0,>=0.3
Requires-Dist: grpcio!=1.48.0,!=1.59.*,!=1.60.*,!=1.61.*,!=1.62.0,!=1.62.1,!=1.66.*,!=1.67.*,!=1.68.*,!=1.69.*,!=1.70.*,<2,>=1.33.1
Requires-Dist: httplib2<1.0.0,>=0.8
Requires-Dist: jsonpickle<5.0.0,>=3.0.4
Requires-Dist: numpy<2.5.0,>=1.14.3
Requires-Dist: objsize<0.8.0,>=0.6.1
Requires-Dist: packaging>=22.0
Requires-Dist: pillow<13,>=12.1.1
Requires-Dist: pymongo<5.0.0,>=3.8.0
Requires-Dist: proto-plus<2,>=1.7.1
Requires-Dist: protobuf!=4.0.*,!=4.21.*,!=4.22.0,!=4.23.*,!=4.24.*,<7.0.0.dev0,>=3.20.3
Requires-Dist: python-dateutil<3,>=2.8.0
Requires-Dist: pytz>=2018.3
Requires-Dist: requests<3.0.0,>=2.32.4
Requires-Dist: sortedcontainers>=2.4.0
Requires-Dist: typing-extensions>=3.7.0
Requires-Dist: zstandard<1,>=0.18.0
Requires-Dist: pyyaml<7.0.0,>=3.12
Requires-Dist: beartype<0.23.0,>=0.21.0
Requires-Dist: pyarrow<26.0.0,>=14.0.1
Provides-Extra: dev
Requires-Dist: pyrefly==1.1.1; extra == "dev"
Requires-Dist: ruff==0.15.22; extra == "dev"
Requires-Dist: yapf==0.43.0; extra == "dev"
Provides-Extra: dill
Requires-Dist: dill<0.3.2,>=0.3.1.1; extra == "dill"
Provides-Extra: docs
Requires-Dist: jinja2<3.2,>=3.0; extra == "docs"
Requires-Dist: Sphinx<8.0,>=7.0.0; extra == "docs"
Requires-Dist: docstring-parser<1.0,>=0.15; extra == "docs"
Requires-Dist: docutils>=0.18.1; extra == "docs"
Requires-Dist: markdown; extra == "docs"
Requires-Dist: pandas<2.4.0; extra == "docs"
Requires-Dist: openai; extra == "docs"
Requires-Dist: virtualenv-clone<1.0,>=0.5; extra == "docs"
Provides-Extra: test
Requires-Dist: cloud-sql-python-connector[pg8000]<2.0.0,>=1.0.0; extra == "test"
Requires-Dist: docstring-parser<1.0,>=0.15; extra == "test"
Requires-Dist: freezegun>=0.3.12; extra == "test"
Requires-Dist: jinja2<3.2,>=3.0; extra == "test"
Requires-Dist: joblib>=1.0.1; extra == "test"
Requires-Dist: mock<6.0.0,>=1.0.1; extra == "test"
Requires-Dist: pandas<2.4.0; extra == "test"
Requires-Dist: parameterized<0.10.0,>=0.7.1; extra == "test"
Requires-Dist: pydot<2,>=1.2.0; extra == "test"
Requires-Dist: pyhamcrest!=1.10.0,<3.0.0,>=1.9; extra == "test"
Requires-Dist: requests_mock<2.0,>=1.7; extra == "test"
Requires-Dist: tenacity<10,>=8.0.0; extra == "test"
Requires-Dist: pytest<10.0,>=7.1.2; extra == "test"
Requires-Dist: pytest-xdist<4,>=2.5.0; extra == "test"
Requires-Dist: pytest-timeout<3,>=2.1.0; extra == "test"
Requires-Dist: scikit-learn<1.8.0,>=0.20.0; extra == "test"
Requires-Dist: sqlalchemy<3.0,>=1.3; extra == "test"
Requires-Dist: psycopg2-binary<3.0,>=2.8.5; extra == "test"
Requires-Dist: testcontainers[kafka,milvus,mysql,qdrant]<5.0.0,>=4.0.0; extra == "test"
Requires-Dist: cryptography>=41.0.2; extra == "test"
Requires-Dist: hypothesis<6.148.4,>5.0.0; extra == "test"
Requires-Dist: virtualenv-clone<1.0,>=0.5; extra == "test"
Requires-Dist: python-tds>=1.16.1; extra == "test"
Requires-Dist: sqlalchemy-pytds>=1.0.2; extra == "test"
Requires-Dist: pg8000>=1.31.5; extra == "test"
Requires-Dist: PyMySQL>=1.1.0; extra == "test"
Requires-Dist: oracledb>=3.1.1; extra == "test"
Provides-Extra: gcp
Requires-Dist: cachetools<7,>=3.1.0; extra == "gcp"
Requires-Dist: google-api-core<3,>=2.0.0; extra == "gcp"
Requires-Dist: google-apitools<0.5.32,>=0.5.31; python_version < "3.13" and extra == "gcp"
Requires-Dist: google-apitools>=0.5.35; python_version >= "3.13" and extra == "gcp"
Requires-Dist: google-auth<3,>=2.0.0; extra == "gcp"
Requires-Dist: google-auth-httplib2<0.3.0,>=0.1.0; extra == "gcp"
Requires-Dist: google-cloud-datastore<3,>=2.0.0; extra == "gcp"
Requires-Dist: google-cloud-pubsub<3,>=2.1.0; extra == "gcp"
Requires-Dist: google-cloud-storage<4,>=2.18.2; extra == "gcp"
Requires-Dist: google-cloud-resource-manager<2,>=1.12.0; extra == "gcp"
Requires-Dist: google-cloud-dataflow-client<0.14.0,>=0.13.0; extra == "gcp"
Requires-Dist: google-cloud-bigquery<4,>=2.0.0; extra == "gcp"
Requires-Dist: google-cloud-bigquery-storage<3,>=2.6.3; extra == "gcp"
Requires-Dist: google-cloud-core<3,>=2.0.0; extra == "gcp"
Requires-Dist: google-cloud-bigtable<3,>=2.42.0; extra == "gcp"
Requires-Dist: google-cloud-build<4,>=3.35.0; extra == "gcp"
Requires-Dist: google-cloud-spanner<4,>=3.0.0; extra == "gcp"
Requires-Dist: google-cloud-dlp<4,>=3.0.0; extra == "gcp"
Requires-Dist: google-cloud-kms<4,>=3.0.0; extra == "gcp"
Requires-Dist: google-cloud-language<3,>=2.0; extra == "gcp"
Requires-Dist: google-cloud-secret-manager<3,>=2.0; extra == "gcp"
Requires-Dist: google-cloud-videointelligence<3,>=2.0; extra == "gcp"
Requires-Dist: google-cloud-vision<4,>=2; extra == "gcp"
Requires-Dist: google-cloud-recommendations-ai<0.11.0,>=0.1.0; extra == "gcp"
Requires-Dist: google-cloud-aiplatform<2.0,>=1.26.0; extra == "gcp"
Requires-Dist: cloud-sql-python-connector<2.0.0,>=1.18.2; extra == "gcp"
Requires-Dist: python-tds>=1.16.1; extra == "gcp"
Requires-Dist: pg8000>=1.31.5; extra == "gcp"
Requires-Dist: PyMySQL>=1.1.0; extra == "gcp"
Requires-Dist: keyrings.google-artifactregistry-auth; extra == "gcp"
Requires-Dist: orjson<4,>=3.9.7; extra == "gcp"
Requires-Dist: regex>=2020.6.8; extra == "gcp"
Provides-Extra: interactive
Requires-Dist: facets-overview<2,>=1.1.0; extra == "interactive"
Requires-Dist: google-cloud-dataproc<6,>=5.0.0; extra == "interactive"
Requires-Dist: ipython<9,>=7; extra == "interactive"
Requires-Dist: ipykernel<7,>=6; extra == "interactive"
Requires-Dist: ipywidgets<9,>=8; extra == "interactive"
Requires-Dist: jupyter-client!=6.1.13,<8.2.1,>=6.1.11; extra == "interactive"
Requires-Dist: pydot<2,>=1.2.0; extra == "interactive"
Requires-Dist: timeloop<2,>=1.0.2; extra == "interactive"
Requires-Dist: nbformat<6,>=5.0.5; extra == "interactive"
Requires-Dist: nbconvert<8,>=6.2.0; extra == "interactive"
Requires-Dist: pandas!=1.5.0,!=1.5.1,<2.4,>=1.4.3; extra == "interactive"
Provides-Extra: interactive-test
Requires-Dist: needle<1,>=0.5.0; extra == "interactive-test"
Requires-Dist: chromedriver-binary<118,>=117; extra == "interactive-test"
Requires-Dist: pillow<10,>=7.1.1; extra == "interactive-test"
Requires-Dist: urllib3<2,>=1.21.1; extra == "interactive-test"
Provides-Extra: ml-test
Requires-Dist: datatable; extra == "ml-test"
Requires-Dist: dill; extra == "ml-test"
Requires-Dist: tensorflow_transform<1.22.0,>=1.21.0; extra == "ml-test"
Requires-Dist: tf2onnx<1.18,>=1.17.0; extra == "ml-test"
Requires-Dist: embeddings>=0.0.4; extra == "ml-test"
Requires-Dist: onnxruntime; extra == "ml-test"
Requires-Dist: onnx<2,>=1.14.1; extra == "ml-test"
Requires-Dist: langchain; extra == "ml-test"
Requires-Dist: sentence-transformers>=2.2.2; extra == "ml-test"
Requires-Dist: skl2onnx; extra == "ml-test"
Requires-Dist: pyod>=0.7.6; extra == "ml-test"
Requires-Dist: tensorflow; extra == "ml-test"
Requires-Dist: absl-py>=0.12.0; extra == "ml-test"
Requires-Dist: tensorflow-hub; extra == "ml-test"
Requires-Dist: tokenizers<0.23; extra == "ml-test"
Requires-Dist: torch<2.12.0; extra == "ml-test"
Requires-Dist: transformers<4.56.0,>=4.28.0; extra == "ml-test"
Requires-Dist: tokenizers<0.22.0,>=0.13.3; extra == "ml-test"
Provides-Extra: p310-ml-test
Requires-Dist: datatable; extra == "p310-ml-test"
Requires-Dist: embeddings>=0.0.4; extra == "p310-ml-test"
Requires-Dist: onnxruntime; extra == "p310-ml-test"
Requires-Dist: onnx<2,>=1.14.1; extra == "p310-ml-test"
Requires-Dist: langchain; extra == "p310-ml-test"
Requires-Dist: sentence-transformers>=2.2.2; extra == "p310-ml-test"
Requires-Dist: skl2onnx; extra == "p310-ml-test"
Requires-Dist: pyod>=0.7.6; extra == "p310-ml-test"
Requires-Dist: tensorflow; extra == "p310-ml-test"
Requires-Dist: absl-py>=0.12.0; extra == "p310-ml-test"
Requires-Dist: tensorflow-hub; extra == "p310-ml-test"
Requires-Dist: tokenizers<0.23; extra == "p310-ml-test"
Requires-Dist: torch<2.12.0; extra == "p310-ml-test"
Requires-Dist: transformers<4.56.0,>=4.28.0; extra == "p310-ml-test"
Requires-Dist: tokenizers<0.22.0,>=0.13.3; extra == "p310-ml-test"
Requires-Dist: google-adk==1.28.1; extra == "p310-ml-test"
Requires-Dist: proto-plus<2,>=1.26.1; extra == "p310-ml-test"
Requires-Dist: opentelemetry-api==1.37.0; extra == "p310-ml-test"
Requires-Dist: opentelemetry-sdk==1.37.0; extra == "p310-ml-test"
Requires-Dist: opentelemetry-exporter-otlp-proto-http==1.37.0; extra == "p310-ml-test"
Requires-Dist: tf2onnx<1.18,>=1.17.0; extra == "p310-ml-test"
Requires-Dist: qdrant-client>=1.15.0; extra == "p310-ml-test"
Provides-Extra: p312-ml-test
Requires-Dist: datatable; extra == "p312-ml-test"
Requires-Dist: embeddings>=0.0.4; extra == "p312-ml-test"
Requires-Dist: onnxruntime; extra == "p312-ml-test"
Requires-Dist: onnx<2,>=1.14.1; extra == "p312-ml-test"
Requires-Dist: langchain; extra == "p312-ml-test"
Requires-Dist: sentence-transformers>=2.2.2; extra == "p312-ml-test"
Requires-Dist: skl2onnx; extra == "p312-ml-test"
Requires-Dist: pyod>=0.7.6; extra == "p312-ml-test"
Requires-Dist: tensorflow; extra == "p312-ml-test"
Requires-Dist: absl-py>=0.12.0; extra == "p312-ml-test"
Requires-Dist: tensorflow-hub; extra == "p312-ml-test"
Requires-Dist: tokenizers<0.23; extra == "p312-ml-test"
Requires-Dist: torch<2.12.0; extra == "p312-ml-test"
Requires-Dist: transformers<4.56.0,>=4.28.0; extra == "p312-ml-test"
Requires-Dist: tokenizers<0.22.0,>=0.13.3; extra == "p312-ml-test"
Requires-Dist: google-adk==1.28.1; extra == "p312-ml-test"
Requires-Dist: proto-plus<2,>=1.26.1; extra == "p312-ml-test"
Requires-Dist: opentelemetry-api==1.37.0; extra == "p312-ml-test"
Requires-Dist: opentelemetry-sdk==1.37.0; extra == "p312-ml-test"
Requires-Dist: opentelemetry-exporter-otlp-proto-http==1.37.0; extra == "p312-ml-test"
Requires-Dist: tf2onnx<1.18,>=1.17.0; extra == "p312-ml-test"
Requires-Dist: qdrant-client>=1.15.0; extra == "p312-ml-test"
Provides-Extra: p313-ml-test
Requires-Dist: embeddings>=0.0.4; extra == "p313-ml-test"
Requires-Dist: onnxruntime; extra == "p313-ml-test"
Requires-Dist: onnx<2,>=1.14.1; extra == "p313-ml-test"
Requires-Dist: langchain; extra == "p313-ml-test"
Requires-Dist: sentence-transformers>=2.2.2; extra == "p313-ml-test"
Requires-Dist: skl2onnx; extra == "p313-ml-test"
Requires-Dist: pyod>=0.7.6; extra == "p313-ml-test"
Requires-Dist: tensorflow; extra == "p313-ml-test"
Requires-Dist: absl-py>=0.12.0; extra == "p313-ml-test"
Requires-Dist: tensorflow-hub; extra == "p313-ml-test"
Requires-Dist: tokenizers<0.23; extra == "p313-ml-test"
Requires-Dist: torch<2.12.0; extra == "p313-ml-test"
Requires-Dist: transformers<4.56.0,>=4.28.0; extra == "p313-ml-test"
Requires-Dist: tokenizers<0.22.0,>=0.13.3; extra == "p313-ml-test"
Requires-Dist: pymilvus<3.0.0,>=2.5.10; extra == "p313-ml-test"
Requires-Dist: qdrant-client>=1.15.0; extra == "p313-ml-test"
Provides-Extra: aws
Requires-Dist: boto3<2,>=1.9; extra == "aws"
Provides-Extra: azure
Requires-Dist: azure-storage-blob<13,>=12.3.2; extra == "azure"
Requires-Dist: azure-core<2,>=1.7.0; extra == "azure"
Requires-Dist: azure-identity<2,>=1.12.0; extra == "azure"
Provides-Extra: dataframe
Requires-Dist: pandas!=1.5.0,!=1.5.1,<2.4,>=1.4.3; extra == "dataframe"
Provides-Extra: dask
Requires-Dist: distributed>=2024.4.2; extra == "dask"
Requires-Dist: dask>=2024.4.2; extra == "dask"
Provides-Extra: hadoop
Requires-Dist: hdfs<3.0.0,>=2.1.0; extra == "hadoop"
Provides-Extra: yaml
Requires-Dist: docstring-parser<1.0,>=0.15; extra == "yaml"
Requires-Dist: jinja2<3.2,>=3.0; extra == "yaml"
Requires-Dist: virtualenv-clone<1.0,>=0.5; extra == "yaml"
Requires-Dist: quickjs-ng<1.0.0,>=0.14.0; extra == "yaml"
Requires-Dist: jsonschema<5.0.0,>=4.0.0; extra == "yaml"
Requires-Dist: pandas!=1.5.0,!=1.5.1,<2.4,>=1.4.3; extra == "yaml"
Provides-Extra: torch
Requires-Dist: torch<2.8.0,>=1.9.0; extra == "torch"
Provides-Extra: tensorflow
Requires-Dist: tensorflow<2.22,>=2.12rc1; extra == "tensorflow"
Requires-Dist: absl-py>=0.12.0; extra == "tensorflow"
Provides-Extra: transformers
Requires-Dist: transformers<4.56.0,>=4.28.0; extra == "transformers"
Requires-Dist: tensorflow>=2.12.0; extra == "transformers"
Requires-Dist: torch<2.12.0,>=1.9.0; extra == "transformers"
Provides-Extra: ml-cpu
Requires-Dist: tensorflow>=2.12.0; extra == "ml-cpu"
Requires-Dist: torch==2.8.0+cpu; extra == "ml-cpu"
Requires-Dist: transformers<4.56.0,>=4.28.0; extra == "ml-cpu"
Requires-Dist: absl-py>=0.12.0; extra == "ml-cpu"
Provides-Extra: redis
Requires-Dist: redis<6,>=5.0.0; extra == "redis"
Provides-Extra: tft
Requires-Dist: tensorflow_transform<1.22.0,>=1.21.0; extra == "tft"
Requires-Dist: dill; extra == "tft"
Provides-Extra: tfrecord
Requires-Dist: crcmod<2.0,>=1.7; extra == "tfrecord"
Provides-Extra: onnx
Requires-Dist: onnxruntime==1.13.1; extra == "onnx"
Requires-Dist: torch==1.13.1; extra == "onnx"
Requires-Dist: tensorflow==2.11.0; extra == "onnx"
Requires-Dist: tf2onnx==1.17.0; extra == "onnx"
Requires-Dist: skl2onnx==1.13; extra == "onnx"
Requires-Dist: transformers==4.25.1; extra == "onnx"
Requires-Dist: absl-py>=0.12.0; extra == "onnx"
Provides-Extra: xgboost
Requires-Dist: xgboost<2.1.3,>=1.6.0; extra == "xgboost"
Requires-Dist: datatable==1.0.0; extra == "xgboost"
Provides-Extra: tensorflow-hub
Requires-Dist: tensorflow-hub<0.16.0,>=0.14.0; extra == "tensorflow-hub"
Provides-Extra: milvus
Requires-Dist: pymilvus<3.0.0,>=2.5.10; extra == "milvus"
Provides-Extra: qdrant
Requires-Dist: qdrant-client>=1.15.0; extra == "qdrant"
Provides-Extra: vllm
Requires-Dist: openai==1.107.1; extra == "vllm"
Requires-Dist: vllm==0.10.1.1; extra == "vllm"
Requires-Dist: triton==3.3.1; extra == "vllm"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: download-url
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Apache Beam

[Apache Beam](http://beam.apache.org/) is a unified model for defining both batch and streaming data-parallel processing pipelines, as well as a set of language-specific SDKs for constructing pipelines and Runners for executing them on distributed processing backends, including [Apache Flink](http://flink.apache.org/), [Apache Spark](http://spark.apache.org/), [Google Cloud Dataflow](http://cloud.google.com/dataflow/), and [Hazelcast Jet](https://jet.hazelcast.org/).


## Overview

Beam provides a general approach to expressing [embarrassingly parallel](https://en.wikipedia.org/wiki/Embarrassingly_parallel) data processing pipelines and supports three categories of users, each of which have relatively disparate backgrounds and needs.

1. _End Users_: Writing pipelines with an existing SDK, running it on an existing runner. These users want to focus on writing their application logic and have everything else just work.
2. _SDK Writers_: Developing a Beam SDK targeted at a specific user community (Java, Python, Scala, Go, R, graphical, etc). These users are language geeks and would prefer to be shielded from all the details of various runners and their implementations.
3. _Runner Writers_: Have an execution environment for distributed processing and would like to support programs written against the Beam Model. Would prefer to be shielded from details of multiple SDKs.


### The Beam Model

The model behind Beam evolved from several internal Google data processing projects, including [MapReduce](http://research.google.com/archive/mapreduce.html), [FlumeJava](http://research.google.com/pubs/pub35650.html), and [Millwheel](http://research.google.com/pubs/pub41378.html). This model was originally known as the “[Dataflow Model](http://www.vldb.org/pvldb/vol8/p1792-Akidau.pdf)”.

To learn more about the Beam Model (though still under the original name of Dataflow), see the World Beyond Batch: [Streaming 101](https://www.oreilly.com/ideas/the-world-beyond-batch-streaming-101) and [Streaming 102](https://www.oreilly.com/ideas/the-world-beyond-batch-streaming-102) posts on O’Reilly’s Radar site, and the [VLDB 2015 paper](http://www.vldb.org/pvldb/vol8/p1792-Akidau.pdf).

The key concepts in the Beam programming model are:

* `PCollection`: represents a collection of data, which could be bounded or unbounded in size.
* `PTransform`: represents a computation that transforms input PCollections into output PCollections.
* `Pipeline`: manages a directed acyclic graph of PTransforms and PCollections that is ready for execution.
* `PipelineRunner`: specifies where and how the pipeline should execute.

### Runners

Beam supports executing programs on multiple distributed processing backends through PipelineRunners. Currently, the following PipelineRunners are available:

- The `DirectRunner` runs the pipeline on your local machine.
- The `PrismRunner` runs the pipeline on your local machine using Beam Portability.
- The `DataflowRunner` submits the pipeline to the [Google Cloud Dataflow](http://cloud.google.com/dataflow/).
- The `FlinkRunner` runs the pipeline on an Apache Flink cluster. The code has been donated from [dataArtisans/flink-dataflow](https://github.com/dataArtisans/flink-dataflow) and is now part of Beam.
- The `SparkRunner` runs the pipeline on an Apache Spark cluster.
- The `JetRunner` runs the pipeline on a Hazelcast Jet cluster. The code has been donated from [hazelcast/hazelcast-jet](https://github.com/hazelcast/hazelcast-jet) and is now part of Beam.
- The `Twister2Runner` runs the pipeline on a Twister2 cluster. The code has been donated from [DSC-SPIDAL/twister2](https://github.com/DSC-SPIDAL/twister2) and is now part of Beam.

Have ideas for new Runners? See the [runner-ideas label](https://github.com/apache/beam/issues?q=is%3Aopen+is%3Aissue+label%3Arunner-ideas).


## Get started with the Python SDK

Get started with the [Beam Python SDK quickstart](/get-started/quickstart-py) to set up your Python development environment, get the Beam SDK for Python, and run an example pipeline. Then, read through the [Beam programming guide](/documentation/programming-guide) to learn the basic concepts that apply to all SDKs in Beam. The [Python Tips document](../../contributor-docs/python-tips.md) is also a useful resource for setting up a development environment and performing common processes.

See the [Python API reference](https://beam.apache.org/releases/pydoc/) for more information on individual APIs.

## Python streaming pipelines

Python [streaming pipeline execution](https://beam.apache.org/documentation/sdks/python-streaming)
is available (with some [limitations](https://beam.apache.org//documentation/sdks/python-streaming/#unsupported-features))
starting with Beam SDK version 2.5.0.

## Python type safety

Python is a dynamically-typed language with no static type checking. The Beam SDK for Python uses type hints during pipeline construction and runtime to try to emulate the correctness guarantees achieved by true static typing. [Ensuring Python Type Safety](https://beam.apache.org/documentation/sdks/python-type-safety) walks through how to use type hints, which help you to catch potential bugs up front with the [Direct Runner](https://beam.apache.org//documentation/runners/direct/).

## Managing Python pipeline dependencies

When you run your pipeline locally, the packages that your pipeline depends on are available because they are installed on your local machine. However, when you want to run your pipeline remotely, you must make sure these dependencies are available on the remote machines. [Managing Python Pipeline Dependencies](https://beam.apache.org/documentation/sdks/python-pipeline-dependencies) shows you how to make your dependencies available to the remote workers.

## Developing new I/O connectors for Python

The Beam SDK for Python provides an extensible API that you can use to create
new I/O connectors. See the [Developing I/O connectors overview](https://beam.apache.org/documentation/io/developing-io-overview)
for information about developing new I/O connectors and links to
language-specific implementation guidance.

## Making machine learning inferences with Python

To integrate machine learning models into your pipelines for making inferences, use the RunInference API for PyTorch and Scikit-learn models. If you are using TensorFlow models, you can make use of the
[library from `tfx_bsl`](https://github.com/tensorflow/tfx-bsl/tree/master/tfx_bsl/beam).

You can create multiple types of transforms using the RunInference API: the API takes multiple types of setup parameters from model handlers, and the parameter type determines the model implementation. For more information,
see [About Beam ML](https://beam.apache.org/documentation/ml/about-ml).

[TensorFlow Extended (TFX)](https://www.tensorflow.org/tfx) is an end-to-end platform for deploying production ML pipelines. TFX is integrated with Beam. For more information, see [TFX user guide](https://www.tensorflow.org/tfx/guide).

## Python multi-language pipelines quickstart

Apache Beam lets you combine transforms written in any supported SDK language and use them in one multi-language pipeline. To learn how to create a multi-language pipeline using the Python SDK, see the [Python multi-language pipelines quickstart](https://beam.apache.org/documentation/sdks/python-multi-language-pipelines).

## Unrecoverable Errors in Beam Python

Some common errors can occur during worker start-up and prevent jobs from starting. To learn about these errors and how to troubleshoot them in the Python SDK, see [Unrecoverable Errors in Beam Python](https://beam.apache.org/documentation/sdks/python-unrecoverable-errors).

## 📚 Learn More

Here are some resources actively maintained by the Beam community to help you get started:

       Resource
       Details

     Apache Beam Website (https://beam.apache.org)
     Our website discussing the project, and it's specifics.

     Python Quickstart (https://beam.apache.org/get-started/quickstart-py)
     A guide to getting started with the Python SDK.

     Tour of Beam  (https://tour.beam.apache.org/)
     A comprehensive, interactive learning experience covering Beam concepts in depth.

     Beam Quest  (https://www.cloudskillsboost.google/course_templates/724)
     A certification granted by Google Cloud, certifying proficiency in Beam.

     Community Metrics  (https://metrics.beam.apache.org/)
     Beam's Git Community Metrics.

## Contribution

Instructions for building and testing Beam itself
are in the [contribution guide](https://beam.apache.org/contribute).

## Contact Us

To get involved with Apache Beam:

* [Subscribe to](https://beam.apache.org/community/contact-us/#:~:text=Subscribe%20and%20Unsubscribe) or e-mail the [user@beam.apache.org](http://mail-archives.apache.org/mod_mbox/beam-user/) list.
* [Subscribe to](https://beam.apache.org/community/contact-us/#:~:text=Subscribe%20and%20Unsubscribe) or e-mail the [dev@beam.apache.org](http://mail-archives.apache.org/mod_mbox/beam-dev/) list.
* [Join ASF Slack](https://s.apache.org/slack-invite) on [#beam channel](https://s.apache.org/beam-slack-channel)
* [Report an issue](https://github.com/apache/beam/issues/new/choose).
