This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 2b5395990a3 Publishing website 2023/02/02 22:15:58 at commit 24f40aa
2b5395990a3 is described below
commit 2b5395990a3406b35056785b05a92ebdc5d343fb
Author: jenkins <[email protected]>
AuthorDate: Thu Feb 2 22:15:58 2023 +0000
Publishing website 2023/02/02 22:15:58 at commit 24f40aa
---
.../python/elementwise/runinference/index.html | 32 +--
.../get-started/beam-overview/index.html | 3 +-
.../get-started/downloads/index.html | 3 +-
.../get-started/from-spark/index.html | 3 +-
website/generated-content/get-started/index.html | 3 +-
website/generated-content/get-started/index.xml | 256 +++++++++++++++++----
.../get-started/mobile-gaming-example/index.html | 3 +-
.../get-started/quickstart-go/index.html | 3 +-
.../get-started/quickstart-java/index.html | 3 +-
.../get-started/quickstart-py/index.html | 7 +-
.../get-started/quickstart/go/index.html | 3 +-
.../get-started/quickstart/index.html | 2 +-
.../get-started/quickstart/java/index.html | 3 +-
.../get-started/quickstart/python/index.html | 94 ++++++++
.../resources/learning-resources/index.html | 3 +-
.../resources/videos-and-podcasts/index.html | 3 +-
.../get-started/tour-of-beam/index.html | 3 +-
.../get-started/try-apache-beam/index.html | 3 +-
.../get-started/try-beam-playground/index.html | 3 +-
.../get-started/wordcount-example/index.html | 3 +-
.../generated-content/getting-started/index.html | 2 +-
.../security/cve-2020-1929/index.html | 3 +-
website/generated-content/security/index.html | 3 +-
website/generated-content/sitemap.xml | 2 +-
.../generated-content/use/quickstart/index.html | 2 +-
25 files changed, 344 insertions(+), 104 deletions(-)
diff --git
a/website/generated-content/documentation/transforms/python/elementwise/runinference/index.html
b/website/generated-content/documentation/transforms/python/elementwise/runinference/index.html
index 92d77a71302..e737fe282de 100644
---
a/website/generated-content/documentation/transforms/python/elementwise/runinference/index.html
+++
b/website/generated-content/documentation/transforms/python/elementwise/runinference/index.html
@@ -44,10 +44,10 @@ Pydoc</a></td></table><p><br><br><br></p><p>Uses models to
do local and remote i
<span class=o>|</span> <span class=s1>'InputData'</span> <span
class=o>>></span> <span class=n>beam</span><span class=o>.</span><span
class=n>Create</span><span class=p>(</span><span
class=n>unkeyed_data</span><span class=p>)</span>
<span class=o>|</span> <span
class=s1>'ConvertNumpyToTensor'</span> <span class=o>>></span>
<span class=n>beam</span><span class=o>.</span><span class=n>Map</span><span
class=p>(</span><span class=n>torch</span><span class=o>.</span><span
class=n>Tensor</span><span class=p>)</span>
<span class=o>|</span> <span
class=s1>'PytorchRunInference'</span> <span class=o>>></span>
<span class=n>RunInference</span><span class=p>(</span><span
class=n>model_handler</span><span class=o>=</span><span
class=n>model_handler</span><span class=p>)</span>
- <span class=o>|</span> <span class=n>beam</span><span
class=o>.</span><span class=n>Map</span><span class=p>(</span><span
class=k>print</span><span class=p>))</span></code></pre></div></div></div><p><p
class=notebook-skip>Output:</p><div class=snippet><div class="notebook-skip
code-snippet without_switcher"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>PredictionResult(example=tensor [...]
-PredictionResult(example=tensor([40.]), inference=tensor([201.1165]))
-PredictionResult(example=tensor([60.]), inference=tensor([300.3724]))
-PredictionResult(example=tensor([90.]),
inference=tensor([449.2563]))</code></pre></div></div></p><h3
id=example-2-pytorch-keyed-model>Example 2: PyTorch keyed model</h3><p>In this
example, we create a pipeline that uses a PyTorch RunInference transform on
keyed data.</p><div class="language-py snippet"><div class="notebook-skip
code-snippet"><a target=_blank type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="View source code"
href=https://github.com/apache/beam/blob/mast [...]
+ <span class=o>|</span> <span class=n>beam</span><span
class=o>.</span><span class=n>Map</span><span class=p>(</span><span
class=k>print</span><span class=p>))</span></code></pre></div></div></div><p><p
class=notebook-skip>Output:</p><div class=snippet><div class="notebook-skip
code-snippet without_switcher"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>PredictionResult(example=tensor [...]
+PredictionResult(example=tensor([40.]), inference=tensor([201.1165]),
model_id='gs://apache-beam-samples/run_inference/five_times_table_torch.pt')
+PredictionResult(example=tensor([60.]), inference=tensor([300.3724]),
model_id='gs://apache-beam-samples/run_inference/five_times_table_torch.pt')
+PredictionResult(example=tensor([90.]), inference=tensor([449.2563]),
model_id='gs://apache-beam-samples/run_inference/five_times_table_torch.pt')</code></pre></div></div></p><h3
id=example-2-pytorch-keyed-model>Example 2: PyTorch keyed model</h3><p>In this
example, we create a pipeline that uses a PyTorch RunInference transform on
keyed data.</p><div class="language-py snippet"><div class="notebook-skip
code-snippet"><a target=_blank type=button data-bs-toggle=tooltip data-bs-pl
[...]
<a class=copy type=button data-bs-toggle=tooltip data-bs-placement=bottom
title="Copy to clipboard"><img src=/images/copy-icon.svg></a><div
class=highlight><pre class=chroma><code class=language-py data-lang=py><span
class=kn>import</span> <span class=nn>apache_beam</span> <span
class=kn>as</span> <span class=nn>beam</span>
<span class=kn>import</span> <span class=nn>torch</span>
<span class=kn>from</span> <span class=nn>apache_beam.ml.inference.base</span>
<span class=kn>import</span> <span class=n>KeyedModelHandler</span>
@@ -74,10 +74,10 @@ PredictionResult(example=tensor([90.]),
inference=tensor([449.2563]))</code></pr
<span class=n>beam</span><span class=o>.</span><span
class=n>Map</span><span class=p>(</span><span class=k>lambda</span> <span
class=n>x</span><span class=p>:</span> <span class=p>(</span><span
class=n>x</span><span class=p>[</span><span class=mi>0</span><span
class=p>],</span> <span class=n>torch</span><span class=o>.</span><span
class=n>Tensor</span><span class=p>([</span><span class=n>x</span><span
class=p>[</span><span class=mi>1</span><span class=p>]])))</span>
<span class=o>|</span> <span
class=s1>'PytorchRunInference'</span> <span class=o>>></span>
<span class=n>RunInference</span><span class=p>(</span><span
class=n>model_handler</span><span class=o>=</span><span
class=n>keyed_model_handler</span><span class=p>)</span>
- <span class=o>|</span> <span class=n>beam</span><span
class=o>.</span><span class=n>Map</span><span class=p>(</span><span
class=k>print</span><span class=p>))</span></code></pre></div></div></div><p
class=notebook-skip>Output:</p><div class=snippet><div class="notebook-skip
code-snippet without_switcher"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>('first_question', Predict
[...]
-('second_question', PredictionResult(example=tensor([108.]),
inference=tensor([538.5867])))
-('third_question', PredictionResult(example=tensor([1000.]),
inference=tensor([4965.4019])))
-('fourth_question', PredictionResult(example=tensor([1013.]),
inference=tensor([5029.9180])))</code></pre></div></div><h3
id=example-3-sklearn-unkeyed-model>Example 3: Sklearn unkeyed model</h3><p>In
this example, we create a pipeline that uses an SKlearn RunInference transform
on unkeyed data.</p><div class="language-py snippet"><div class="notebook-skip
code-snippet"><a target=_blank type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="View source code" href=https [...]
+ <span class=o>|</span> <span class=n>beam</span><span
class=o>.</span><span class=n>Map</span><span class=p>(</span><span
class=k>print</span><span class=p>))</span></code></pre></div></div></div><p
class=notebook-skip>Output:</p><div class=snippet><div class="notebook-skip
code-snippet without_switcher"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>('first_question', Predict
[...]
+('second_question', PredictionResult(example=tensor([108.]),
inference=tensor([538.5867]),
model_id='gs://apache-beam-samples/run_inference/five_times_table_torch.pt'))
+('third_question', PredictionResult(example=tensor([1000.]),
inference=tensor([4965.4019]),
model_id='gs://apache-beam-samples/run_inference/five_times_table_torch.pt'))
+('fourth_question', PredictionResult(example=tensor([1013.]),
inference=tensor([5029.9180]),
model_id='gs://apache-beam-samples/run_inference/five_times_table_torch.pt'))</code></pre></div></div><h3
id=example-3-sklearn-unkeyed-model>Example 3: Sklearn unkeyed model</h3><p>In
this example, we create a pipeline that uses an SKlearn RunInference transform
on unkeyed data.</p><div class="language-py snippet"><div class="notebook-skip
code-snippet"><a target=_blank type=butto [...]
<a class=copy type=button data-bs-toggle=tooltip data-bs-placement=bottom
title="Copy to clipboard"><img src=/images/copy-icon.svg></a><div
class=highlight><pre class=chroma><code class=language-py data-lang=py><span
class=kn>import</span> <span class=nn>apache_beam</span> <span
class=kn>as</span> <span class=nn>beam</span>
<span class=kn>import</span> <span class=nn>numpy</span>
<span class=kn>from</span> <span class=nn>apache_beam.ml.inference.base</span>
<span class=kn>import</span> <span class=n>RunInference</span>
@@ -96,10 +96,10 @@ PredictionResult(example=tensor([90.]),
inference=tensor([449.2563]))</code></pr
<span class=o>|</span> <span class=s2>"ReadInputs"</span> <span
class=o>>></span> <span class=n>beam</span><span class=o>.</span><span
class=n>Create</span><span class=p>(</span><span
class=n>unkeyed_data</span><span class=p>)</span>
<span class=o>|</span> <span
class=s2>"RunInferenceSklearn"</span> <span class=o>>></span>
<span class=n>RunInference</span><span class=p>(</span><span
class=n>model_handler</span><span class=o>=</span><span
class=n>sklearn_model_handler</span><span class=p>)</span>
- <span class=o>|</span> <span class=n>beam</span><span
class=o>.</span><span class=n>Map</span><span class=p>(</span><span
class=k>print</span><span class=p>))</span></code></pre></div></div></div><p
class=notebook-skip>Output:</p><div class=snippet><div class="notebook-skip
code-snippet without_switcher"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>PredictionResult(example=array([20
[...]
-PredictionResult(example=array([40.], dtype=float32), inference=array([200.],
dtype=float32))
-PredictionResult(example=array([60.], dtype=float32), inference=array([300.],
dtype=float32))
-PredictionResult(example=array([90.], dtype=float32), inference=array([450.],
dtype=float32))</code></pre></div></div><h3
id=example-4-sklearn-keyed-model>Example 4: Sklearn keyed model</h3><p>In this
example, we create a pipeline that uses an SKlearn RunInference transform on
keyed data.</p><div class="language-py snippet"><div class="notebook-skip
code-snippet"><a target=_blank type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="View source code" href=https://github.com/ [...]
+ <span class=o>|</span> <span class=n>beam</span><span
class=o>.</span><span class=n>Map</span><span class=p>(</span><span
class=k>print</span><span class=p>))</span></code></pre></div></div></div><p
class=notebook-skip>Output:</p><div class=snippet><div class="notebook-skip
code-snippet without_switcher"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>PredictionResult(example=array([20
[...]
+PredictionResult(example=array([40.], dtype=float32), inference=array([200.],
dtype=float32),
model_id='gs://apache-beam-samples/run_inference/five_times_table_sklearn.pkl')
+PredictionResult(example=array([60.], dtype=float32), inference=array([300.],
dtype=float32),
model_id='gs://apache-beam-samples/run_inference/five_times_table_sklearn.pkl')
+PredictionResult(example=array([90.], dtype=float32), inference=array([450.],
dtype=float32),
model_id='gs://apache-beam-samples/run_inference/five_times_table_sklearn.pkl')</code></pre></div></div><h3
id=example-4-sklearn-keyed-model>Example 4: Sklearn keyed model</h3><p>In this
example, we create a pipeline that uses an SKlearn RunInference transform on
keyed data.</p><div class="language-py snippet"><div class="notebook-skip
code-snippet"><a target=_blank type=button data-bs-t [...]
<a class=copy type=button data-bs-toggle=tooltip data-bs-placement=bottom
title="Copy to clipboard"><img src=/images/copy-icon.svg></a><div
class=highlight><pre class=chroma><code class=language-py data-lang=py><span
class=kn>import</span> <span class=nn>apache_beam</span> <span
class=kn>as</span> <span class=nn>beam</span>
<span class=kn>from</span> <span class=nn>apache_beam.ml.inference.base</span>
<span class=kn>import</span> <span class=n>KeyedModelHandler</span>
<span class=kn>from</span> <span class=nn>apache_beam.ml.inference.base</span>
<span class=kn>import</span> <span class=n>RunInference</span>
@@ -122,10 +122,10 @@ PredictionResult(example=array([90.], dtype=float32),
inference=array([450.], dt
<span class=o>|</span> <span class=s2>"ConvertDataToList"</span>
<span class=o>>></span> <span class=n>beam</span><span
class=o>.</span><span class=n>Map</span><span class=p>(</span><span
class=k>lambda</span> <span class=n>x</span><span class=p>:</span> <span
class=p>(</span><span class=n>x</span><span class=p>[</span><span
class=mi>0</span><span class=p>],</span> <span class=p>[</span><span
class=n>x</span><span class=p>[</span><span class=mi>1</span><span class=p>]
[...]
<span class=o>|</span> <span
class=s2>"RunInferenceSklearn"</span> <span class=o>>></span>
<span class=n>RunInference</span><span class=p>(</span><span
class=n>model_handler</span><span class=o>=</span><span
class=n>sklearn_model_handler</span><span class=p>)</span>
- <span class=o>|</span> <span class=n>beam</span><span
class=o>.</span><span class=n>Map</span><span class=p>(</span><span
class=k>print</span><span class=p>))</span></code></pre></div></div></div><p
class=notebook-skip>Output:</p><div class=snippet><div class="notebook-skip
code-snippet without_switcher"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>('first_question', Predict
[...]
-('second_question', PredictionResult(example=[108.0],
inference=array([540.])))
-('third_question', PredictionResult(example=[1000.0],
inference=array([5000.])))
-('fourth_question', PredictionResult(example=[1013.0],
inference=array([5065.])))</code></pre></div></div><h2
id=related-transforms>Related transforms</h2><p>Not applicable.</p><table
align=left style=margin-right:1em><td><a class=button target=_blank
href=https://beam.apache.org/releases/pydoc/current/apache_beam.ml.inference.html#apache_beam.ml.inference.RunInference><img
src=https://beam.apache.org/images/logos/sdks/python.png width=32px
height=32px alt=Pydoc>
+ <span class=o>|</span> <span class=n>beam</span><span
class=o>.</span><span class=n>Map</span><span class=p>(</span><span
class=k>print</span><span class=p>))</span></code></pre></div></div></div><p
class=notebook-skip>Output:</p><div class=snippet><div class="notebook-skip
code-snippet without_switcher"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>('first_question', Predict
[...]
+('second_question', PredictionResult(example=[108.0],
inference=array([540.]),
model_id='gs://apache-beam-samples/run_inference/five_times_table_sklearn.pkl'))
+('third_question', PredictionResult(example=[1000.0],
inference=array([5000.]),
model_id='gs://apache-beam-samples/run_inference/five_times_table_sklearn.pkl'))
+('fourth_question', PredictionResult(example=[1013.0],
inference=array([5065.]),
model_id='gs://apache-beam-samples/run_inference/five_times_table_sklearn.pkl'))</code></pre></div></div><h2
id=related-transforms>Related transforms</h2><p>Not applicable.</p><table
align=left style=margin-right:1em><td><a class=button target=_blank
href=https://beam.apache.org/releases/pydoc/current/apache_beam.ml.inference.html#apache_beam.ml.inference.RunInference><img
src=https://beam.ap [...]
Pydoc</a></td></table><p><br><br><br></p><div class=feedback><p
class=update>Last updated on 2022/07/15</p><h3>Have you found everything you
were looking for?</h3><p class=description>Was it all useful and clear? Is
there anything that you would like to change? Let us know!</p><button
class=load-button><a href="mailto:[email protected]?subject=Beam Website
Feedback">SEND FEEDBACK</a></button></div></div></div><footer class=footer><div
class=footer__contained><div class=footer__cols><di [...]
<a href=https://www.apache.org>The Apache Software Foundation</a>
| <a href=/privacy_policy>Privacy Policy</a>
diff --git a/website/generated-content/get-started/beam-overview/index.html
b/website/generated-content/get-started/beam-overview/index.html
index 7d68871d421..6570e959a86 100644
--- a/website/generated-content/get-started/beam-overview/index.html
+++ b/website/generated-content/get-started/beam-overview/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
check our <a href=/get-started/from-spark>Getting started from Apache
Spark</a> page.</p></blockquote><ol><li><p>Take the <a
href=/get-started/tour-of-beam>Tour of Beam</a> as an online interactive
learning experience.</p></li><li><p>Follow the Quickstart for the <a
href=/get-started/quickstart-java>Java SDK</a>, the <a
href=/get-started/quickstart-py>Python SDK</a>, or the <a
href=/get-started/quickstart-go>Go SDK</a>.</p></li><li><p>See the <a
href=/get-started/wordcount-example>WordCo [...]
<a href=https://www.apache.org>The Apache Software Foundation</a>
| <a href=/privacy_policy>Privacy Policy</a>
diff --git a/website/generated-content/get-started/downloads/index.html
b/website/generated-content/get-started/downloads/index.html
index 76d0772d38b..0a608035b93 100644
--- a/website/generated-content/get-started/downloads/index.html
+++ b/website/generated-content/get-started/downloads/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
central repository. The Java SDK is available on <a
href=https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.beam%22>Maven
Central Repository</a>,
and the Python SDK is available on <a
href=https://pypi.python.org/pypi/apache-beam>PyPI</a>.</p><p>For example, if
you are developing using Maven and want to use the SDK for Java
with the <code>DirectRunner</code>, add the following dependencies to your
<code>pom.xml</code> file:</p><pre><code><dependency>
diff --git a/website/generated-content/get-started/from-spark/index.html
b/website/generated-content/get-started/from-spark/index.html
index 8ecb130535b..59e821d857c 100644
--- a/website/generated-content/get-started/from-spark/index.html
+++ b/website/generated-content/get-started/from-spark/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
using Beam should be easy.
The basic concepts are the same, and the APIs are similar as well.</p><p>Spark
stores data <em>Spark DataFrames</em> for structured data,
and in <em>Resilient Distributed Datasets</em> (RDD) for unstructured data.
diff --git a/website/generated-content/get-started/index.html
b/website/generated-content/get-started/index.html
index 210076f99b7..9655220a151 100644
--- a/website/generated-content/get-started/index.html
+++ b/website/generated-content/get-started/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
<a href=https://www.apache.org>The Apache Software Foundation</a>
| <a href=/privacy_policy>Privacy Policy</a>
| <a href=/feed.xml>RSS Feed</a><br><br>Apache Beam, Apache, Beam, the Beam
logo, and the Apache feather logo are either registered trademarks or
trademarks of The Apache Software Foundation. All other products or name brands
are trademarks of their respective holders, including The Apache Software
Foundation.</div></div><div class="footer__cols__col
footer__cols__col__logos"><div class=footer__cols__col--group><div
class=footer__cols__col__logo><a href=https://github.com/apache/beam><im [...]
\ No newline at end of file
diff --git a/website/generated-content/get-started/index.xml
b/website/generated-content/get-started/index.xml
index 32548fbe406..9568722ace4 100644
--- a/website/generated-content/get-started/index.xml
+++ b/website/generated-content/get-started/index.xml
@@ -1457,17 +1457,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-<h1 id="apache-beam-python-sdk-quickstart">Apache Beam Python SDK
Quickstart</h1>
+<h1 id="wordcount-quickstart-for-python">WordCount quickstart for
Python</h1>
<p>This guide shows you how to set up your Python development environment,
get the Apache Beam SDK for Python, and run an example pipeline.</p>
<p>If you&rsquo;re interested in contributing to the Apache Beam Python
codebase, see the <a href="/contribute">Contribution Guide</a>.</p>
<nav id="TableOfContents">
<ul>
-<li><a href="#set-up-your-environment">Set up your environment</a>
-<ul>
-<li><a href="#check-your-python-version">Check your Python
version</a></li>
-<li><a href="#install-pip">Install pip</a></li>
-</ul>
-</li>
+<li><a href="#set-up-your-environment">Set up your
environment</a></li>
<li><a href="#get-apache-beam">Get Apache Beam</a>
<ul>
<li><a href="#create-and-activate-a-virtual-environment">Create and
activate a virtual environment</a></li>
@@ -1484,44 +1479,8 @@ limitations under the License.
</nav>
<p>The Python SDK supports Python 3.6, 3.7, and 3.8. Beam 2.24.0 was the
last release with support for Python 2.7 and 3.5.</p>
<h2 id="set-up-your-environment">Set up your environment</h2>
-<h3 id="check-your-python-version">Check your Python version</h3>
-<p>The Beam SDK requires Python users to use Python version 3.6 or higher.
Check your version by running:</p>
-<div class="snippet">
-<div class="notebook-skip code-snippet without_switcher">
-<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
-<img src="/images/copy-icon.svg"/>
-</a>
-<pre><code>python --version</code></pre>
-</div>
-</div>
-<h3 id="install-pip">Install pip</h3>
-<p>Install <a
href="https://pip.pypa.io/en/stable/installing/">pip</a>, Python&rsquo;s
package manager. Check that you have version 7.0.0 or newer by running:</p>
-<div class="snippet">
-<div class="notebook-skip code-snippet without_switcher">
-<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
-<img src="/images/copy-icon.svg"/>
-</a>
-<pre><code>pip --version</code></pre>
-</div>
-</div>
-<p>If you do not have <code>pip</code> version 7.0.0 or newer, run
the following command to
-install it. This command might require administrative privileges.</p>
-<div class='shell-unix snippet'>
-<div class="notebook-skip code-snippet">
-<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
-<img src="/images/copy-icon.svg"/>
-</a>
-<pre><code class="language-unix" data-lang="unix">pip install --upgrade
pip</code></pre>
-</div>
-</div>
-<div class='shell-powerShell snippet'>
-<div class="notebook-skip code-snippet">
-<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
-<img src="/images/copy-icon.svg"/>
-</a>
-<div class="highlight"><pre class="chroma"><code
class="language-powerShell" data-lang="powerShell"><span
class="n">PS</span><span class="p">&gt;</span> <span
class="n">python</span> <span class="n">-m</span> <span
class="n">pip</span> <span class="n">install</span> <span
class="p">-</span><span class="n">-upgrade</span> <span
class="n">pip</span></code></pre></div>
-</div>
-</div>
+<p>For details, see
+<a
href="/get-started/quickstart/python#set-up-your-development-environment">Set
up your development environment</a>.</p>
<h2 id="get-apache-beam">Get Apache Beam</h2>
<h3 id="create-and-activate-a-virtual-environment">Create and activate a
virtual environment</h3>
<p>A virtual environment is a directory tree containing its own Python
distribution. To create a virtual environment, run:</p>
@@ -1684,7 +1643,212 @@ and look through the <a
href="https://beam.apache.org/releases/pydoc">Python
<li>Dive in to some of our favorite <a
href="/get-started/resources/videos-and-podcasts">Videos and
Podcasts</a>.</li>
<li>Join the Beam <a href="/community/contact-us">users@</a> mailing
list.</li>
</ul>
-<p>Please don&rsquo;t hesitate to <a
href="/community/contact-us">reach out</a> if you encounter any
issues!</p></description></item><item><title>Get-Started: Beam
Releases</title><link>/get-started/downloads/</link><pubDate>Mon, 01 Jan 0001
00:00:00 +0000</pubDate><guid>/get-started/downloads/</guid><description>
+<p>Please don&rsquo;t hesitate to <a
href="/community/contact-us">reach out</a> if you encounter any
issues!</p></description></item><item><title>Get-Started: Beam Quickstart
for Python</title><link>/get-started/quickstart/python/</link><pubDate>Mon, 01
Jan 0001 00:00:00
+0000</pubDate><guid>/get-started/quickstart/python/</guid><description>
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<h1 id="apache-beam-python-sdk-quickstart">Apache Beam Python SDK
quickstart</h1>
+<p>This quickstart shows you how to run an
+<a href="https://github.com/apache/beam-starter-python">example
pipeline</a> written with
+the <a href="/documentation/sdks/python">Apache Beam Python SDK</a>,
using the
+<a href="/documentation/runners/direct/">Direct Runner</a>. The Direct
Runner executes
+pipelines locally on your machine.</p>
+<p>If you&rsquo;re interested in contributing to the Apache Beam Python
codebase, see the
+<a href="/contribute">Contribution Guide</a>.</p>
+<p>On this page:</p>
+<nav id="TableOfContents">
+<ul>
+<li><a href="#set-up-your-development-environment">Set up your
development environment</a></li>
+<li><a href="#clone-the-github-repository">Clone the GitHub
repository</a></li>
+<li><a href="#create-and-activate-a-virtual-environment">Create and
activate a virtual environment</a></li>
+<li><a href="#install-the-project-dependences">Install the project
dependences</a></li>
+<li><a href="#run-the-quickstart">Run the quickstart</a></li>
+<li><a href="#explore-the-code">Explore the code</a>
+<ul>
+<li><a href="#create-a-pipeline">Create a pipeline</a></li>
+<li><a href="#create-an-initial-pcollection">Create an initial
PCollection</a></li>
+<li><a href="#apply-a-transform-to-the-pcollection">Apply a transform to
the PCollection</a></li>
+<li><a href="#run-the-pipeline">Run the pipeline</a></li>
+</ul>
+</li>
+<li><a href="#next-steps">Next Steps</a></li>
+</ul>
+</nav>
+<h2 id="set-up-your-development-environment">Set up your development
environment</h2>
+<p>Apache Beam aims to work on released
+<a href="https://devguide.python.org/versions/">Python versions</a> that
have not yet
+reached end of life, but it may take a few releases until Apache Beam fully
+supports the most recently released Python minor version.</p>
+<p>The minimum required Python version is listed in the
<strong>Meta</strong> section of the
+<a href="https://pypi.org/project/apache-beam/">apache-beam</a> project
page under
+<strong>Requires</strong>. The list of all supported Python versions is
listed in the
+<strong>Classifiers</strong> section at the bottom of the page, under
<strong>Programming
+Language</strong>.</p>
+<p>Check your Python version by running:</p>
+<div class="snippet">
+<div class="notebook-skip code-snippet without_switcher">
+<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
+<img src="/images/copy-icon.svg"/>
+</a>
+<pre><code>python3 --version</code></pre>
+</div>
+</div>
+<p>If you don&rsquo;t have a Python interpreter, you can download and
install it from
+the <a href="https://devguide.python.org/versions/">Python downloads</a>
page.</p>
+<p>If you need to install a different version of Python in addition to the
version
+that you already have, you can find some recommendations in our
+<a
href="https://cwiki.apache.org/confluence/display/BEAM/Python+Tips#PythonTips-InstallingPythoninterpreters">Developer
Wiki</a>.</p>
+<h2 id="clone-the-github-repository">Clone the GitHub repository</h2>
+<p>Clone or download the
+<a
href="https://github.com/apache/beam-starter-python">apache/beam-starter-python</a>
+GitHub repository and change into the <code>beam-starter-python</code>
directory.</p>
+<div class="snippet">
+<div class="notebook-skip code-snippet without_switcher">
+<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
+<img src="/images/copy-icon.svg"/>
+</a>
+<pre><code>git clone https://github.com/apache/beam-starter-python.git
+cd beam-starter-python</code></pre>
+</div>
+</div>
+<h2 id="create-and-activate-a-virtual-environment">Create and activate a
virtual environment</h2>
+<p>A virtual environment is a directory tree containing its own Python
+distribution. We recommend using a virtual environment so that all dependencies
+of your project are installed in an isolated and self-contained environment. To
+set up a virtual environment, run the following commands:</p>
+<div class="snippet">
+<div class="notebook-skip code-snippet without_switcher">
+<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
+<img src="/images/copy-icon.svg"/>
+</a>
+<pre><code># Create a new Python virtual environment.
+python3 -m venv env
+# Activate the virtual environment.
+source env/bin/activate</code></pre>
+</div>
+</div>
+<p>If these commands do not work on your platform, see the
+<a
href="https://docs.python.org/3/library/venv.html#how-venvs-work"><code>venv</code></a>
+documentation.</p>
+<h2 id="install-the-project-dependences">Install the project
dependences</h2>
+<p>Run the following command to install the project&rsquo;s
dependencies from the
+<code>requirements.txt</code> file:</p>
+<div class="snippet">
+<div class="notebook-skip code-snippet without_switcher">
+<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
+<img src="/images/copy-icon.svg"/>
+</a>
+<pre><code>pip install -e .</code></pre>
+</div>
+</div>
+<h2 id="run-the-quickstart">Run the quickstart</h2>
+<p>Run the following command:</p>
+<div class="snippet">
+<div class="notebook-skip code-snippet without_switcher">
+<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
+<img src="/images/copy-icon.svg"/>
+</a>
+<pre><code>python main.py
--input-text=&#34;--inputText=Greetings&#34;</code></pre>
+</div>
+</div>
+<p>The output is similar to the following:</p>
+<div class="snippet">
+<div class="notebook-skip code-snippet without_switcher">
+<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
+<img src="/images/copy-icon.svg"/>
+</a>
+<pre><code>Hello
+World!
+Greetings</code></pre>
+</div>
+</div>
+<p>The lines might appear in a different order.</p>
+<p>Run the following command to deactivate the virtual environment:</p>
+<div class="snippet">
+<div class="notebook-skip code-snippet without_switcher">
+<a class="copy" type="button" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Copy to clipboard">
+<img src="/images/copy-icon.svg"/>
+</a>
+<pre><code>deactivate</code></pre>
+</div>
+</div>
+<h2 id="explore-the-code">Explore the code</h2>
+<p>The main code file for this quickstart is <strong>app.py</strong>
+(<a
href="https://github.com/apache/beam-starter-python/blob/main/my_app/app.py">GitHub</a>).
+The code performs the following steps:</p>
+<ol>
+<li>Create a Beam pipeline.</li>
+<li>Create an initial <code>PCollection</code>.</li>
+<li>Apply a transform to the <code>PCollection</code>.</li>
+<li>Run the pipeline, using the Direct Runner.</li>
+</ol>
+<h3 id="create-a-pipeline">Create a pipeline</h3>
+<p>The code first creates a <code>Pipeline</code> object. The
<code>Pipeline</code> object builds up the
+graph of transformations to be executed.</p>
+<div class="highlight"><pre class="chroma"><code
class="language-python" data-lang="python"><span class="k">with</span>
<span class="n">beam</span><span class="o">.</span><span
class="n">Pipeline</span><span class="p">(</span><span
class="n">options</span><span class="o">=</span><span
class="n">beam_options</span><span class="p">)</span> <span
class="k">as</span> <span class="n">pipeline</span><span
class="p">: [...]
+</code></pre></div><p>The <code>beam_option</code> variable
shown here is a <code>PipelineOptions</code> object, which
+is used to set options for the pipeline. For more information, see
+<a
href="/documentation/programming-guide/#configuring-pipeline-options">Configuring
pipeline options</a>.</p>
+<h3 id="create-an-initial-pcollection">Create an initial PCollection</h3>
+<p>The <code>PCollection</code> abstraction represents a potentially
distributed,
+multi-element data set. A Beam pipeline needs a source of data to populate an
+initial <code>PCollection</code>. The source can be bounded (with a
known, fixed size) or
+unbounded (with unlimited size).</p>
+<p>This example uses the
+<a
href="https://beam.apache.org/releases/pydoc/current/apache_beam.transforms.core.html#apache_beam.transforms.core.Create"><code>Create</code></a>
+method to create a <code>PCollection</code> from an in-memory array of
strings. The
+resulting <code>PCollection</code> contains the strings
&ldquo;Hello&rdquo;, &ldquo;World!&quot;, and a
+user-provided input string.</p>
+<div class="highlight"><pre class="chroma"><code
class="language-python" data-lang="python"><span class="n">pipeline</span>
+<span class="o">|</span> <span class="s2">&#34;Create
elements&#34;</span> <span class="o">&gt;&gt;</span>
<span class="n">beam</span><span class="o">.</span><span
class="n">Create</span><span class="p">([</span><span
class="s2">&#34;Hello&#34;</span><span class="p">,</span>
<span class="s2">&#34;World!&#34;</span><span
class="p">,</span> <span class="n">input_text</span><span class
[...]
+</code></pre></div><p>Note: The pipe operator <code>|</code>
is used to
+<a
href="/documentation/programming-guide/#applying-transforms">chain</a>
transforms.</p>
+<h3 id="apply-a-transform-to-the-pcollection">Apply a transform to the
PCollection</h3>
+<p>Transforms can change, filter, group, analyze, or otherwise process the
+elements in a <code>PCollection</code>. This example uses the
+<a
href="https://beam.apache.org/releases/pydoc/current/apache_beam.transforms.core.html#apache_beam.transforms.core.Map"><code>Map</code></a>
+transform, which maps the elements of a collection into a new
collection:</p>
+<div class="highlight"><pre class="chroma"><code
class="language-python" data-lang="python"><span class="o">|</span>
<span class="s2">&#34;Print elements&#34;</span> <span
class="o">&gt;&gt;</span> <span class="n">beam</span><span
class="o">.</span><span class="n">Map</span><span
class="p">(</span><span class="k">print</span><span
class="p">)</span>
+</code></pre></div><h3 id="run-the-pipeline">Run the
pipeline</h3>
+<p>To run the pipeline, you can call the
+<a
href="https://beam.apache.org/releases/pydoc/current/apache_beam.pipeline.html#apache_beam.pipeline.Pipeline.run"><code>Pipeline.run</code></a>
+method:</p>
+<div class="highlight"><pre class="chroma"><code
class="language-python" data-lang="python"><span
class="n">pipeline</span><span class="o">.</span><span
class="n">run</span><span class="o">.</span><span
class="n">wait_until_finish</span><span class="p">()</span>
+</code></pre></div><p>However, by enclosing the
<code>Pipeline</code> object inside a <code>with</code> statement,
the
+<code>run</code> method is automatically invoked.</p>
+<div class="highlight"><pre class="chroma"><code
class="language-python" data-lang="python"><span class="k">with</span>
<span class="n">beam</span><span class="o">.</span><span
class="n">Pipeline</span><span class="p">(</span><span
class="n">options</span><span class="o">=</span><span
class="n">beam_options</span><span class="p">)</span> <span
class="k">as</span> <span class="n">pipeline</span><span
class="p">: [...]
+<span class="c1"># ...</span>
+<span class="c1"># run() is called automatically</span>
+</code></pre></div><p>A Beam <a
href="/documentation/basics/#runner">runner</a> runs a Beam pipeline on a
+specific platform. If you don&rsquo;t specify a runner, the Direct Runner
is the
+default. The Direct Runner runs the pipeline locally on your machine. It is
+meant for testing and development, rather than being optimized for efficiency.
+For more information, see
+<a href="/documentation/runners/direct/">Using the Direct
Runner</a>.</p>
+<p>For production workloads, you typically use a distributed runner that
runs the
+pipeline on a big data processing system such as Apache Flink, Apache Spark, or
+Google Cloud Dataflow. These systems support massively parallel
processing.</p>
+<h2 id="next-steps">Next Steps</h2>
+<ul>
+<li>Learn more about the <a href="/documentation/sdks/python/">Beam SDK
for Python</a>
+and look through the
+<a href="https://beam.apache.org/releases/pydoc/current">Python SDK API
reference</a>.</li>
+<li>Take a self-paced tour through our
+<a href="/documentation/resources/learning-resources">Learning
Resources</a>.</li>
+<li>Dive in to some of our favorite
+<a href="/documentation/resources/videos-and-podcasts">Videos and
Podcasts</a>.</li>
+<li>Join the Beam <a href="/community/contact-us">users@</a> mailing
list.</li>
+</ul>
+<p>Please don&rsquo;t hesitate to <a
href="/community/contact-us">reach out</a> if you encounter any
+issues!</p></description></item><item><title>Get-Started: Beam
Releases</title><link>/get-started/downloads/</link><pubDate>Mon, 01 Jan 0001
00:00:00 +0000</pubDate><guid>/get-started/downloads/</guid><description>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git
a/website/generated-content/get-started/mobile-gaming-example/index.html
b/website/generated-content/get-started/mobile-gaming-example/index.html
index d7a5e2433bc..c2804a84262 100644
--- a/website/generated-content/get-started/mobile-gaming-example/index.html
+++ b/website/generated-content/get-started/mobile-gaming-example/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
(<a href=https://github.com/apache/beam/issues/18806>Issue
18806</a>).</p></blockquote><p>Every time a user plays an instance of our
hypothetical mobile game, they generate a data event. Each data event consists
of the following information:</p><ul><li>The unique ID of the user playing the
game.</li><li>The team ID for the team to which the user belongs.</li><li>A
score value for that particular instance of play.</li><li>A timestamp that
records when the particular instance of play happe [...]
occurred. The Y-axis represents processing time: the time at which a game event
was processed. Ideally, events should be processed as they occur, depicted by
diff --git a/website/generated-content/get-started/quickstart-go/index.html
b/website/generated-content/get-started/quickstart-go/index.html
index b5a662312bf..d5633299f44 100644
--- a/website/generated-content/get-started/quickstart-go/index.html
+++ b/website/generated-content/get-started/quickstart-go/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
<a
href=https://github.com/apache/beam/tree/master/sdks/go/examples>examples</a>
directory has many examples. All examples can be run by passing the
required arguments described in the examples.</p><p>For example, to run
<code>wordcount</code>, run:</p><div class="runner-direct snippet"><div
class="notebook-skip code-snippet"><a class=copy type=button
data-bs-toggle=tooltip data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code class=language-direct
data-lang=direct>$ go install
github.com/apache/beam/sdks/v2/go/examples/wordcount
diff --git a/website/generated-content/get-started/quickstart-java/index.html
b/website/generated-content/get-started/quickstart-java/index.html
index d26bc4a6b32..95ce1edc8fd 100644
--- a/website/generated-content/get-started/quickstart-java/index.html
+++ b/website/generated-content/get-started/quickstart-java/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
an <a href=/get-started/wordcount-example>example pipeline</a> written with the
<a href=/documentation/sdks/java>Apache Beam Java SDK</a>, using a
<a href=/documentation#runners>runner</a> of your choice.</p><p>If
you’re interested in contributing to the Apache Beam Java codebase, see
the
diff --git a/website/generated-content/get-started/quickstart-py/index.html
b/website/generated-content/get-started/quickstart-py/index.html
index 64f14ac16c6..81cd0af6de3 100644
--- a/website/generated-content/get-started/quickstart-py/index.html
+++ b/website/generated-content/get-started/quickstart-py/index.html
@@ -19,9 +19,8 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
-install it. This command might require administrative privileges.</p><div
class="shell-unix snippet"><div class="notebook-skip code-snippet"><a
class=copy type=button data-bs-toggle=tooltip data-bs-placement=bottom
title="Copy to clipboard"><img src=/images/copy-icon.svg></a><pre><code
class=language-unix data-lang=unix>pip install --upgrade
pip</code></pre></div></div><div class="shell-powerShell snippet"><div
class="notebook-skip code-snippet"><a class=copy type=button data-bs-toggle=t
[...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
+<a href=/get-started/quickstart/python#set-up-your-development-environment>Set
up your development environment</a>.</p><h2 id=get-apache-beam>Get Apache
Beam</h2><h3 id=create-and-activate-a-virtual-environment>Create and activate a
virtual environment</h3><p>A virtual environment is a directory tree containing
its own Python distribution. To create a virtual environment, run:</p><div
class="shell-unix snippet"><div class="notebook-skip code-snippet"><a
class=copy type=button data-bs-tog [...]
Activating it sets some environment variables that point to the virtual
environment’s directories.</p><p>To activate a virtual environment in
Bash, run:</p><div class="shell-unix snippet"><div class="notebook-skip
code-snippet"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code class=language-unix data-lang=unix>.
/path/to/directory/bin/activate</code></pre></div></div><div
class="shell-powerShell snippet"><div class="notebook-skip code-snippet"><a
class=copy [...]
--output /path/to/write/counts \
@@ -39,7 +38,7 @@ python -m apache_beam.examples.wordcount --input
gs://dataflow-samples/shakespea
output path. For example, if you specify <code>/dir1/counts</code> for the
<code>--output</code>
parameter, the pipeline writes the files to <code>/dir1/</code> and names the
files
sequentially in the format <code>counts-0000-of-0001</code>.</p><h2
id=next-steps>Next Steps</h2><ul><li>Learn more about the <a
href=/documentation/sdks/python/>Beam SDK for Python</a>
-and look through the <a href=https://beam.apache.org/releases/pydoc>Python SDK
API reference</a>.</li><li>Walk through these WordCount examples in the <a
href=/get-started/wordcount-example>WordCount Example
Walkthrough</a>.</li><li>Take a self-paced tour through our <a
href=/documentation/resources/learning-resources>Learning
Resources</a>.</li><li>Dive in to some of our favorite <a
href=/get-started/resources/videos-and-podcasts>Videos and
Podcasts</a>.</li><li>Join the Beam <a href=/c [...]
+and look through the <a href=https://beam.apache.org/releases/pydoc>Python SDK
API reference</a>.</li><li>Walk through these WordCount examples in the <a
href=/get-started/wordcount-example>WordCount Example
Walkthrough</a>.</li><li>Take a self-paced tour through our <a
href=/documentation/resources/learning-resources>Learning
Resources</a>.</li><li>Dive in to some of our favorite <a
href=/get-started/resources/videos-and-podcasts>Videos and
Podcasts</a>.</li><li>Join the Beam <a href=/c [...]
<a href=https://www.apache.org>The Apache Software Foundation</a>
| <a href=/privacy_policy>Privacy Policy</a>
| <a href=/feed.xml>RSS Feed</a><br><br>Apache Beam, Apache, Beam, the Beam
logo, and the Apache feather logo are either registered trademarks or
trademarks of The Apache Software Foundation. All other products or name brands
are trademarks of their respective holders, including The Apache Software
Foundation.</div></div><div class="footer__cols__col
footer__cols__col__logos"><div class=footer__cols__col--group><div
class=footer__cols__col__logo><a href=https://github.com/apache/beam><im [...]
\ No newline at end of file
diff --git a/website/generated-content/get-started/quickstart/go/index.html
b/website/generated-content/get-started/quickstart/go/index.html
index 62872624208..6e810d7836c 100644
--- a/website/generated-content/get-started/quickstart/go/index.html
+++ b/website/generated-content/get-started/quickstart/go/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
<a href=https://github.com/apache/beam-starter-go>example pipeline</a> written
with the
<a href=/documentation/sdks/go>Apache Beam Go SDK</a>, using the
<a href=/documentation/runners/direct/>Direct Runner</a>. The Direct Runner
executes
diff --git a/website/generated-content/get-started/quickstart/index.html
b/website/generated-content/get-started/quickstart/index.html
index 3e80644e308..94a24aeb628 100644
--- a/website/generated-content/get-started/quickstart/index.html
+++ b/website/generated-content/get-started/quickstart/index.html
@@ -1 +1 @@
-<!doctype html><html><head><title>/get-started/quickstart/java/</title><link
rel=canonical href=/get-started/quickstart/java/><meta name=robots
content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0;
url=/get-started/quickstart/java/"></head></html>
\ No newline at end of file
+<!doctype html><html><head><title>/get-started/quickstart/python/</title><link
rel=canonical href=/get-started/quickstart/python/><meta name=robots
content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0;
url=/get-started/quickstart/python/"></head></html>
\ No newline at end of file
diff --git a/website/generated-content/get-started/quickstart/java/index.html
b/website/generated-content/get-started/quickstart/java/index.html
index f3358d2bac3..fb0078e0402 100644
--- a/website/generated-content/get-started/quickstart/java/index.html
+++ b/website/generated-content/get-started/quickstart/java/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
<a href=https://github.com/apache/beam-starter-java>example pipeline</a>
written with
the <a href=/documentation/sdks/java>Apache Beam Java SDK</a>, using the
<a href=/documentation/runners/direct/>Direct Runner</a>. The Direct Runner
executes
diff --git a/website/generated-content/get-started/quickstart/python/index.html
b/website/generated-content/get-started/quickstart/python/index.html
new file mode 100644
index 00000000000..2f3cbfc316d
--- /dev/null
+++ b/website/generated-content/get-started/quickstart/python/index.html
@@ -0,0 +1,94 @@
+<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta
http-equiv=x-ua-compatible content="IE=edge"><meta name=viewport
content="width=device-width,initial-scale=1"><title>Beam Quickstart for
Python</title><meta name=description content="Apache Beam is an open source,
unified model and set of language-specific SDKs for defining and executing data
processing workflows, and also data ingestion and integration flows, supporting
Enterprise Integration Patterns (EIPs) and Do [...]
+<a class=navbar-link href=/get-started/>Get Started</a>
+<a class=navbar-link href=/documentation/>Documentation</a>
+<button type=button class="navbar-toggle menu-open" aria-expanded=false
aria-controls=navbar onclick=openMenu()>
+<span class=sr-only>Toggle navigation</span>
+<span class=icon-bar></span><span class=icon-bar></span><span
class=icon-bar></span></button></div><div class="navbar-mask closed"></div><div
id=navbar class="navbar-container closed"><button type=button
class=navbar-toggle aria-expanded=false aria-controls=navbar id=closeMenu>
+<span class=sr-only>Toggle navigation</span>
+<span class=icon-bar></span><span class=icon-bar></span><span
class=icon-bar></span></button><ul class="nav navbar-nav"><li><div
class=searchBar-mobile><script>(function(){var
cx='012923275103528129024:4emlchv9wzi';var
gcse=document.createElement('script');gcse.type='text/javascript';gcse.async=true;gcse.src='https://cse.google.com/cse.js?cx='+cx;var
s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(gcse,s);})();</script><gcse:search></gcse:search></div></li><li><a
c [...]
+ Apache
+<span class=arrow-icon><svg xmlns="http://www.w3.org/2000/svg" width="20"
height="20" fill="none" viewBox="0 0 20 20"><circle cx="10" cy="10" r="10"
fill="#ff6d00"/><path stroke="#fff" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" d="M8.535 5.28l4.573 4.818-4.573
4.403"/></svg></span></a><ul class="dropdown-menu dropdown-menu-right"><li><a
target=_blank href=https://www.apache.org/>ASF Homepage</a></li><li><a
target=_blank href=https://www.apache.org/licenses/>License</ [...]
+<a class=navbar-link href=/get-started/>Get Started</a><li class="dropdown
navbar-dropdown navbar-dropdown-documentation"><a href=# class="dropdown-toggle
navbar-link" role=button aria-haspopup=true aria-expanded=false>Documentation
+<span><svg xmlns="http://www.w3.org/2000/svg" width="12" height="11"
fill="none" viewBox="0 0 12 11"><path stroke="#ff6d00" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" d="M10.666 4.535 5.847 9.108 1.444
4.535"/></svg></span></a><ul class=dropdown-menu><li><a
class=navbar-dropdown-menu-link href=/documentation/>General</a></li><li><a
class=navbar-dropdown-menu-link
href=/documentation/sdks/java/>Languages</a></li><li><a
class=navbar-dropdown-menu-link href=/documentati [...]
+<a class=navbar-link href=/community/>Community</a>
+<a class=navbar-link href=/contribute/>Contribute</a>
+<a class=navbar-link href=/blog/>Blog</a>
+<a class=navbar-link href=/case-studies/>Case Studies</a></div><div
id=iconsBar><a type=button onclick=showSearch()><svg
xmlns="http://www.w3.org/2000/svg" width="25" height="24" fill="none"
viewBox="0 0 25 24"><path stroke="#ff6d00" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2.75" d="M10.191 17c3.866.0 7-3.134
7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zM21.191 21l-6-6"/></svg></a><a
target=_blank
href=https://github.com/apache/beam/edit/master/website/www/site/content/en
[...]
+ Apache
+<span class=arrow-icon><svg xmlns="http://www.w3.org/2000/svg" width="20"
height="20" fill="none" viewBox="0 0 20 20"><circle cx="10" cy="10" r="10"
fill="#ff6d00"/><path stroke="#fff" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" d="M8.535 5.28l4.573 4.818-4.573
4.403"/></svg></span></a><ul class=dropdown-menu><li><a
class=navbar-dropdown-menu-link target=_blank href=https://www.apache.org/>ASF
Homepage</a></li><li><a class=navbar-dropdown-menu-link target=_blank href=
[...]
+function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
+function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
+function blockScroll(){$("body").toggleClass("fixedPosition");}
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
+<a href=https://github.com/apache/beam-starter-python>example pipeline</a>
written with
+the <a href=/documentation/sdks/python>Apache Beam Python SDK</a>, using the
+<a href=/documentation/runners/direct/>Direct Runner</a>. The Direct Runner
executes
+pipelines locally on your machine.</p><p>If you’re interested in
contributing to the Apache Beam Python codebase, see the
+<a href=/contribute>Contribution Guide</a>.</p><p>On this page:</p><nav
id=TableOfContents><ul><li><a href=#set-up-your-development-environment>Set up
your development environment</a></li><li><a
href=#clone-the-github-repository>Clone the GitHub repository</a></li><li><a
href=#create-and-activate-a-virtual-environment>Create and activate a virtual
environment</a></li><li><a href=#install-the-project-dependences>Install the
project dependences</a></li><li><a href=#run-the-quickstart>Run t [...]
+<a href=https://devguide.python.org/versions/>Python versions</a> that have
not yet
+reached end of life, but it may take a few releases until Apache Beam fully
+supports the most recently released Python minor version.</p><p>The minimum
required Python version is listed in the <strong>Meta</strong> section of the
+<a href=https://pypi.org/project/apache-beam/>apache-beam</a> project page
under
+<strong>Requires</strong>. The list of all supported Python versions is listed
in the
+<strong>Classifiers</strong> section at the bottom of the page, under
<strong>Programming
+Language</strong>.</p><p>Check your Python version by running:</p><div
class=snippet><div class="notebook-skip code-snippet without_switcher"><a
class=copy type=button data-bs-toggle=tooltip data-bs-placement=bottom
title="Copy to clipboard"><img src=/images/copy-icon.svg></a><pre><code>python3
--version</code></pre></div></div><p>If you don’t have a Python
interpreter, you can download and install it from
+the <a href=https://devguide.python.org/versions/>Python downloads</a>
page.</p><p>If you need to install a different version of Python in addition to
the version
+that you already have, you can find some recommendations in our
+<a
href=https://cwiki.apache.org/confluence/display/BEAM/Python+Tips#PythonTips-InstallingPythoninterpreters>Developer
Wiki</a>.</p><h2 id=clone-the-github-repository>Clone the GitHub
repository</h2><p>Clone or download the
+<a
href=https://github.com/apache/beam-starter-python>apache/beam-starter-python</a>
+GitHub repository and change into the <code>beam-starter-python</code>
directory.</p><div class=snippet><div class="notebook-skip code-snippet
without_switcher"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>git clone
https://github.com/apache/beam-starter-python.git
+cd beam-starter-python</code></pre></div></div><h2
id=create-and-activate-a-virtual-environment>Create and activate a virtual
environment</h2><p>A virtual environment is a directory tree containing its own
Python
+distribution. We recommend using a virtual environment so that all dependencies
+of your project are installed in an isolated and self-contained environment. To
+set up a virtual environment, run the following commands:</p><div
class=snippet><div class="notebook-skip code-snippet without_switcher"><a
class=copy type=button data-bs-toggle=tooltip data-bs-placement=bottom
title="Copy to clipboard"><img src=/images/copy-icon.svg></a><pre><code>#
Create a new Python virtual environment.
+python3 -m venv env
+
+# Activate the virtual environment.
+source env/bin/activate</code></pre></div></div><p>If these commands do not
work on your platform, see the
+<a
href=https://docs.python.org/3/library/venv.html#how-venvs-work><code>venv</code></a>
+documentation.</p><h2 id=install-the-project-dependences>Install the project
dependences</h2><p>Run the following command to install the project’s
dependencies from the
+<code>requirements.txt</code> file:</p><div class=snippet><div
class="notebook-skip code-snippet without_switcher"><a class=copy type=button
data-bs-toggle=tooltip data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>pip install -e
.</code></pre></div></div><h2 id=run-the-quickstart>Run the
quickstart</h2><p>Run the following command:</p><div class=snippet><div
class="notebook-skip code-snippet without_switcher"><a class=copy type=button
data-b [...]
+World!
+Greetings</code></pre></div></div><p>The lines might appear in a different
order.</p><p>Run the following command to deactivate the virtual
environment:</p><div class=snippet><div class="notebook-skip code-snippet
without_switcher"><a class=copy type=button data-bs-toggle=tooltip
data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><pre><code>deactivate</code></pre></div></div><h2
id=explore-the-code>Explore the code</h2><p>The main code file for this qui
[...]
+(<a
href=https://github.com/apache/beam-starter-python/blob/main/my_app/app.py>GitHub</a>).
+The code performs the following steps:</p><ol><li>Create a Beam
pipeline.</li><li>Create an initial <code>PCollection</code>.</li><li>Apply a
transform to the <code>PCollection</code>.</li><li>Run the pipeline, using the
Direct Runner.</li></ol><h3 id=create-a-pipeline>Create a pipeline</h3><p>The
code first creates a <code>Pipeline</code> object. The <code>Pipeline</code>
object builds up the
+graph of transformations to be executed.</p><div class=highlight><pre
class=chroma><code class=language-python data-lang=python><span
class=k>with</span> <span class=n>beam</span><span class=o>.</span><span
class=n>Pipeline</span><span class=p>(</span><span class=n>options</span><span
class=o>=</span><span class=n>beam_options</span><span class=p>)</span> <span
class=k>as</span> <span class=n>pipeline</span><span class=p>:</span>
+</code></pre></div><p>The <code>beam_option</code> variable shown here is a
<code>PipelineOptions</code> object, which
+is used to set options for the pipeline. For more information, see
+<a
href=/documentation/programming-guide/#configuring-pipeline-options>Configuring
pipeline options</a>.</p><h3 id=create-an-initial-pcollection>Create an initial
PCollection</h3><p>The <code>PCollection</code> abstraction represents a
potentially distributed,
+multi-element data set. A Beam pipeline needs a source of data to populate an
+initial <code>PCollection</code>. The source can be bounded (with a known,
fixed size) or
+unbounded (with unlimited size).</p><p>This example uses the
+<a
href=https://beam.apache.org/releases/pydoc/current/apache_beam.transforms.core.html#apache_beam.transforms.core.Create><code>Create</code></a>
+method to create a <code>PCollection</code> from an in-memory array of
strings. The
+resulting <code>PCollection</code> contains the strings “Hello”,
“World!", and a
+user-provided input string.</p><div class=highlight><pre class=chroma><code
class=language-python data-lang=python><span class=n>pipeline</span>
+<span class=o>|</span> <span class=s2>"Create elements"</span> <span
class=o>>></span> <span class=n>beam</span><span class=o>.</span><span
class=n>Create</span><span class=p>([</span><span
class=s2>"Hello"</span><span class=p>,</span> <span
class=s2>"World!"</span><span class=p>,</span> <span
class=n>input_text</span><span class=p>])</span>
+</code></pre></div><p>Note: The pipe operator <code>|</code> is used to
+<a href=/documentation/programming-guide/#applying-transforms>chain</a>
transforms.</p><h3 id=apply-a-transform-to-the-pcollection>Apply a transform to
the PCollection</h3><p>Transforms can change, filter, group, analyze, or
otherwise process the
+elements in a <code>PCollection</code>. This example uses the
+<a
href=https://beam.apache.org/releases/pydoc/current/apache_beam.transforms.core.html#apache_beam.transforms.core.Map><code>Map</code></a>
+transform, which maps the elements of a collection into a new
collection:</p><div class=highlight><pre class=chroma><code
class=language-python data-lang=python><span class=o>|</span> <span
class=s2>"Print elements"</span> <span class=o>>></span> <span
class=n>beam</span><span class=o>.</span><span class=n>Map</span><span
class=p>(</span><span class=k>print</span><span class=p>)</span>
+</code></pre></div><h3 id=run-the-pipeline>Run the pipeline</h3><p>To run the
pipeline, you can call the
+<a
href=https://beam.apache.org/releases/pydoc/current/apache_beam.pipeline.html#apache_beam.pipeline.Pipeline.run><code>Pipeline.run</code></a>
+method:</p><div class=highlight><pre class=chroma><code class=language-python
data-lang=python><span class=n>pipeline</span><span class=o>.</span><span
class=n>run</span><span class=o>.</span><span
class=n>wait_until_finish</span><span class=p>()</span>
+</code></pre></div><p>However, by enclosing the <code>Pipeline</code> object
inside a <code>with</code> statement, the
+<code>run</code> method is automatically invoked.</p><div class=highlight><pre
class=chroma><code class=language-python data-lang=python><span
class=k>with</span> <span class=n>beam</span><span class=o>.</span><span
class=n>Pipeline</span><span class=p>(</span><span class=n>options</span><span
class=o>=</span><span class=n>beam_options</span><span class=p>)</span> <span
class=k>as</span> <span class=n>pipeline</span><span class=p>:</span>
+ <span class=c1># ...</span>
+ <span class=c1># run() is called automatically</span>
+</code></pre></div><p>A Beam <a href=/documentation/basics/#runner>runner</a>
runs a Beam pipeline on a
+specific platform. If you don’t specify a runner, the Direct Runner is
the
+default. The Direct Runner runs the pipeline locally on your machine. It is
+meant for testing and development, rather than being optimized for efficiency.
+For more information, see
+<a href=/documentation/runners/direct/>Using the Direct Runner</a>.</p><p>For
production workloads, you typically use a distributed runner that runs the
+pipeline on a big data processing system such as Apache Flink, Apache Spark, or
+Google Cloud Dataflow. These systems support massively parallel
processing.</p><h2 id=next-steps>Next Steps</h2><ul><li>Learn more about the <a
href=/documentation/sdks/python/>Beam SDK for Python</a>
+and look through the
+<a href=https://beam.apache.org/releases/pydoc/current>Python SDK API
reference</a>.</li><li>Take a self-paced tour through our
+<a href=/documentation/resources/learning-resources>Learning
Resources</a>.</li><li>Dive in to some of our favorite
+<a href=/documentation/resources/videos-and-podcasts>Videos and
Podcasts</a>.</li><li>Join the Beam <a href=/community/contact-us>users@</a>
mailing list.</li></ul><p>Please don’t hesitate to <a
href=/community/contact-us>reach out</a> if you encounter any
+issues!</p><div class=feedback><p class=update>Last updated on
2023/02/02</p><h3>Have you found everything you were looking for?</h3><p
class=description>Was it all useful and clear? Is there anything that you would
like to change? Let us know!</p><button class=load-button><a
href="mailto:[email protected]?subject=Beam Website Feedback">SEND
FEEDBACK</a></button></div></div></div><footer class=footer><div
class=footer__contained><div class=footer__cols><div class="footer__cols__col
foo [...]
+<a href=https://www.apache.org>The Apache Software Foundation</a>
+| <a href=/privacy_policy>Privacy Policy</a>
+| <a href=/feed.xml>RSS Feed</a><br><br>Apache Beam, Apache, Beam, the Beam
logo, and the Apache feather logo are either registered trademarks or
trademarks of The Apache Software Foundation. All other products or name brands
are trademarks of their respective holders, including The Apache Software
Foundation.</div></div><div class="footer__cols__col
footer__cols__col__logos"><div class=footer__cols__col--group><div
class=footer__cols__col__logo><a href=https://github.com/apache/beam><im [...]
\ No newline at end of file
diff --git
a/website/generated-content/get-started/resources/learning-resources/index.html
b/website/generated-content/get-started/resources/learning-resources/index.html
index 69675ffa3f6..8dddb9cdccb 100644
---
a/website/generated-content/get-started/resources/learning-resources/index.html
+++
b/website/generated-content/get-started/resources/learning-resources/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
that can help you to learn Apache Beam concepts and programming model hands-on.
Built based on <a href=https://www.jetbrains.com/education/>JetBrains
Educational Products</a>, Beam Katas
objective is to provide a series of structured hands-on learning experiences
for learners
diff --git
a/website/generated-content/get-started/resources/videos-and-podcasts/index.html
b/website/generated-content/get-started/resources/videos-and-podcasts/index.html
index 721211b4951..84a53cb09cc 100644
---
a/website/generated-content/get-started/resources/videos-and-podcasts/index.html
+++
b/website/generated-content/get-started/resources/videos-and-podcasts/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
<source
src=https://feathercastapache.files.wordpress.com/2017/05/0517-04-mejia.mp3
type=audio/mpeg>Your browser does not support the audio element.</audio>
### Universal metrics with Apache Beam<p>ApacheCon, Montreal,
2018</p><p>Presented by Etienne Chauchot, <em>Apache Beam PMC
member</em></p><iframe
src=//www.slideshare.net/slideshow/embed_code/key/kKJRzR8HxkxLsR width=595
height=485 frameborder=0 marginwidth=0 marginheight=0 scrolling=no
style="border:1px solid #ccc;border-width:1px;margin-bottom:5px;max-width:100%"
allowfullscreen></iframe><div style=margin-bottom:5px><strong><a
href=//www.slideshare.net/EtienneChauchot/universal-metric [...]
<source
src=//feathercastapache.files.wordpress.com/2018/09/03-universal-metrics-with-beam-etienne-chauchot.mp3
type=audio/mpeg>Your browser does not support the audio element.</audio><h2
id=next-steps>Next Steps</h2><ul><li>Take a self-paced tour through our <a
href=/documentation/resources/learning-resources>Learning
Resources</a>.</li></ul><div class=feedback><p class=update>Last updated on
2022/12/20</p><h3>Have you found everything you were looking for?</h3><p
class=description>Was [...]
diff --git a/website/generated-content/get-started/tour-of-beam/index.html
b/website/generated-content/get-started/tour-of-beam/index.html
index 6476232dad8..655f501007d 100644
--- a/website/generated-content/get-started/tour-of-beam/index.html
+++ b/website/generated-content/get-started/tour-of-beam/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
<a href=https://colab.research.google.com>Colab</a>.
The notebooks allow you to interactively play with the code and see how your
changes affect the pipeline.
You don’t need to install anything or modify your computer in any way to
use these notebooks.</p><p>You can also <a
href=/get-started/try-apache-beam>try an Apache Beam pipeline</a> using the
Java, Python, and Go SDKs.</p><h2 id=get-started>Get started</h2><h3
id=learn-the-basics>Learn the basics</h3><p>In this notebook we go through the
basics of what is Apache Beam and how to get started.
diff --git a/website/generated-content/get-started/try-apache-beam/index.html
b/website/generated-content/get-started/try-apache-beam/index.html
index b6b0b6e8691..c65ad058ec9 100644
--- a/website/generated-content/get-started/try-apache-beam/index.html
+++ b/website/generated-content/get-started/try-apache-beam/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
<span class=kn>import</span> <span
class=nn>org.apache.beam.sdk.Pipeline</span><span class=o>;</span>
<span class=kn>import</span> <span
class=nn>org.apache.beam.sdk.io.TextIO</span><span class=o>;</span>
diff --git
a/website/generated-content/get-started/try-beam-playground/index.html
b/website/generated-content/get-started/try-beam-playground/index.html
index 8fec54764fd..83c1c480ae3 100644
--- a/website/generated-content/get-started/try-beam-playground/index.html
+++ b/website/generated-content/get-started/try-beam-playground/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
without having to install Apache Beam in your environment.</p><p>You can try
the available Apache Beam examples at
<a href=https://play.beam.apache.org/>Beam Playground</a>.</p><h2
id=beam-playground-wordcount-example>Beam Playground WordCount Example</h2><div
class=playground-iframe-wrapper-no-scroll><iframe
src="https://play.beam.apache.org/embedded?editable=1&example=SDK_JAVA%2fPRECOMPILED_OBJECT_TYPE_EXAMPLE%2fMinimalWordCount&code="
width=100% height=700 class="code-snippet playground"
allow=clipboard-write></iframe><div
class=playground-iframe-overlay></div></div><h2 id=how-to-add-new-examples>
[...]
add the <code>beam-playground</code> tag into the file to be added.
diff --git a/website/generated-content/get-started/wordcount-example/index.html
b/website/generated-content/get-started/wordcount-example/index.html
index aec88e5973a..674f86d4588 100644
--- a/website/generated-content/get-started/wordcount-example/index.html
+++ b/website/generated-content/get-started/wordcount-example/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
read text, tokenize the text lines into individual words, and perform a
frequency count on each of those words. The Beam SDKs contain a series of these
four successively more detailed WordCount examples that build on each other.
The
diff --git a/website/generated-content/getting-started/index.html
b/website/generated-content/getting-started/index.html
index 3e80644e308..94a24aeb628 100644
--- a/website/generated-content/getting-started/index.html
+++ b/website/generated-content/getting-started/index.html
@@ -1 +1 @@
-<!doctype html><html><head><title>/get-started/quickstart/java/</title><link
rel=canonical href=/get-started/quickstart/java/><meta name=robots
content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0;
url=/get-started/quickstart/java/"></head></html>
\ No newline at end of file
+<!doctype html><html><head><title>/get-started/quickstart/python/</title><link
rel=canonical href=/get-started/quickstart/python/><meta name=robots
content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0;
url=/get-started/quickstart/python/"></head></html>
\ No newline at end of file
diff --git a/website/generated-content/security/cve-2020-1929/index.html
b/website/generated-content/security/cve-2020-1929/index.html
index fb03158af96..6c570702027 100644
--- a/website/generated-content/security/cve-2020-1929/index.html
+++ b/website/generated-content/security/cve-2020-1929/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
<a href=https://www.apache.org>The Apache Software Foundation</a>
| <a href=/privacy_policy>Privacy Policy</a>
| <a href=/feed.xml>RSS Feed</a><br><br>Apache Beam, Apache, Beam, the Beam
logo, and the Apache feather logo are either registered trademarks or
trademarks of The Apache Software Foundation. All other products or name brands
are trademarks of their respective holders, including The Apache Software
Foundation.</div></div><div class="footer__cols__col
footer__cols__col__logos"><div class=footer__cols__col--group><div
class=footer__cols__col__logo><a href=https://github.com/apache/beam><im [...]
\ No newline at end of file
diff --git a/website/generated-content/security/index.html
b/website/generated-content/security/index.html
index 55b68a91b7c..ea82c4e4f66 100644
--- a/website/generated-content/security/index.html
+++ b/website/generated-content/security/index.html
@@ -19,8 +19,7 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
-Java</a></li><li><a href=/get-started/quickstart-go/>WordCount quickstart for
Go</a></li></ul></li><li><a href=/get-started/downloads>Install the
SDK</a></li><li><span class=section-nav-list-title>Tutorials</span><ul
class=section-nav-list><li><a
href=/get-started/wordcount-example/>WordCount</a></li><li><a
href=/get-started/mobile-gaming-example/>Mobile Gaming</a></li></ul></li><li
class=section-nav-item--collapsible><span class=section-nav-list-title>Learning
resources</span><ul class= [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span class=section-nav-list-main-title>Get
started</span></li><li><a href=/get-started/beam-overview/>Beam
Overview</a></li><li><a href=/get-started/tour-of-beam/>Tour of
Beam</a></li><li><s [...]
Team</a> for reporting vulnerabilities. Note
that vulnerabilities should not be publicly disclosed until the project has
responded.</p><p>To report a possible security vulnerability, please email
diff --git a/website/generated-content/sitemap.xml
b/website/generated-content/sitemap.xml
index 50108857f9e..a4d70beca2c 100644
--- a/website/generated-content/sitemap.xml
+++ b/website/generated-content/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/blog/beam-2.44.0/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/blog/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/categories/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/catego
[...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/blog/beam-2.44.0/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/blog/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/categories/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/catego
[...]
\ No newline at end of file
diff --git a/website/generated-content/use/quickstart/index.html
b/website/generated-content/use/quickstart/index.html
index 3e80644e308..94a24aeb628 100644
--- a/website/generated-content/use/quickstart/index.html
+++ b/website/generated-content/use/quickstart/index.html
@@ -1 +1 @@
-<!doctype html><html><head><title>/get-started/quickstart/java/</title><link
rel=canonical href=/get-started/quickstart/java/><meta name=robots
content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0;
url=/get-started/quickstart/java/"></head></html>
\ No newline at end of file
+<!doctype html><html><head><title>/get-started/quickstart/python/</title><link
rel=canonical href=/get-started/quickstart/python/><meta name=robots
content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0;
url=/get-started/quickstart/python/"></head></html>
\ No newline at end of file