You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2017/03/16 19:34:50 UTC
[1/3] beam-site git commit: Changes to web site related to recently
released Python SDK
Repository: beam-site
Updated Branches:
refs/heads/asf-site 4b64a0306 -> 82564f9de
Changes to web site related to recently released Python SDK
Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/5111853b
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/5111853b
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/5111853b
Branch: refs/heads/asf-site
Commit: 5111853bc8fc6890633a377972d28cf9a72569d1
Parents: 4b64a03
Author: Ahmet Altay <al...@google.com>
Authored: Thu Mar 16 12:21:08 2017 -0700
Committer: Ahmet Altay <al...@google.com>
Committed: Thu Mar 16 12:21:08 2017 -0700
----------------------------------------------------------------------
src/contribute/testing.md | 5 ++---
src/documentation/index.md | 2 +-
src/get-started/beam-overview.md | 2 +-
src/get-started/downloads.md | 10 ++++++++--
src/get-started/quickstart-py.md | 13 ++-----------
5 files changed, 14 insertions(+), 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam-site/blob/5111853b/src/contribute/testing.md
----------------------------------------------------------------------
diff --git a/src/contribute/testing.md b/src/contribute/testing.md
index c3439a3..ee40a88 100644
--- a/src/contribute/testing.md
+++ b/src/contribute/testing.md
@@ -243,9 +243,8 @@ details on those testing types.
### Python SDK
-The Python SDK is currently under development on a feature branch. We have initial
-postcommit tests by a Jenkins build; precommit testing and a full testing
-matrix will be coming soon.
+The Python SDK has postcommit tests by a Jenkins build; precommit testing and a
+full testing matrix will be coming soon.
## Testing Scenarios
http://git-wip-us.apache.org/repos/asf/beam-site/blob/5111853b/src/documentation/index.md
----------------------------------------------------------------------
diff --git a/src/documentation/index.md b/src/documentation/index.md
index 630b2c4..03fb43b 100644
--- a/src/documentation/index.md
+++ b/src/documentation/index.md
@@ -29,7 +29,7 @@ Learn about the Beam Programming Model and the concepts common to all Beam SDKs
Find status and reference information on all of the available Beam SDKs.
* [Java SDK]({{ site.baseurl }}/documentation/sdks/java/)
-* _[Under Development]_ [Python SDK]({{ site.baseurl }}/documentation/sdks/python/)
+* [Python SDK]({{ site.baseurl }}/documentation/sdks/python/)
## Runners
http://git-wip-us.apache.org/repos/asf/beam-site/blob/5111853b/src/get-started/beam-overview.md
----------------------------------------------------------------------
diff --git a/src/get-started/beam-overview.md b/src/get-started/beam-overview.md
index 6796c2e..152a08d 100644
--- a/src/get-started/beam-overview.md
+++ b/src/get-started/beam-overview.md
@@ -30,7 +30,7 @@ Beam currently supports the following language-specific SDKs:
</tr>
<tr>
<td>Python</td>
- <td>Coming Soon</td>
+ <td>Active Development</td>
</tr>
<tr>
<td>Other</td>
http://git-wip-us.apache.org/repos/asf/beam-site/blob/5111853b/src/get-started/downloads.md
----------------------------------------------------------------------
diff --git a/src/get-started/downloads.md b/src/get-started/downloads.md
index 00a8e92..6a788ce 100644
--- a/src/get-started/downloads.md
+++ b/src/get-started/downloads.md
@@ -10,8 +10,9 @@ redirect_from:
# Apache Beam Downloads
-The easiest way to use Apache Beam is via one of the released versions in the
-[Maven Central Repository](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.beam%22).
+The easiest way to use Apache Beam is via one of the released versions in a central repository.
+Java SDK is available on [Maven Central Repository](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.beam%22),
+and Python SDK is available on [PyPI](https://pypi.python.org/pypi/apache-beam).
For example, if you are developing using Maven and want to use the SDK for
Java with the `DirectRunner`, add the following dependencies to your
@@ -29,6 +30,11 @@ Java with the `DirectRunner`, add the following dependencies to your
<scope>runtime</scope>
</dependency>
+Similarly in Python, if you are using PyPI and want to use the SDK for Python with
+`DirectRunner`, add the following requirement to your `setup.py` file:
+
+ apache-beam=={{ site.release_latest }}
+
Additionally, you may want to depend on additional SDK modules, such as IO
connectors or other extensions, and additional runners to execute your pipeline
at scale.
http://git-wip-us.apache.org/repos/asf/beam-site/blob/5111853b/src/get-started/quickstart-py.md
----------------------------------------------------------------------
diff --git a/src/get-started/quickstart-py.md b/src/get-started/quickstart-py.md
index 31a4676..c04bf09 100644
--- a/src/get-started/quickstart-py.md
+++ b/src/get-started/quickstart-py.md
@@ -62,17 +62,8 @@ For instructions using other shells, see the [virtualenv documentation](https://
### Download and install
-1. Clone the Apache Beam repo from GitHub:
- `git clone https://github.com/apache/beam.git`
-
-2. Navigate to the `python` directory:
- `cd beam/sdks/python/`
-
-3. Create the Apache Beam Python SDK installation package:
- `python setup.py sdist`
-
-4. Install the Apache Beam SDK
- `pip install dist/apache-beam-*.tar.gz`
+Install the latest Python SDK from PyPI:
+ `pip install apache-beam`
## Execute a pipeline locally
[3/3] beam-site git commit: This closes #180
Posted by da...@apache.org.
This closes #180
Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/82564f9d
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/82564f9d
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/82564f9d
Branch: refs/heads/asf-site
Commit: 82564f9defb3faa803a016a484340a87182aa624
Parents: 4b64a03 0dd4a1e
Author: Davor Bonaci <da...@google.com>
Authored: Thu Mar 16 12:34:39 2017 -0700
Committer: Davor Bonaci <da...@google.com>
Committed: Thu Mar 16 12:34:39 2017 -0700
----------------------------------------------------------------------
content/contribute/testing/index.html | 5 ++---
content/documentation/index.html | 2 +-
content/get-started/beam-overview/index.html | 2 +-
content/get-started/downloads/index.html | 12 ++++++++++--
content/get-started/quickstart-py/index.html | 20 ++------------------
src/contribute/testing.md | 5 ++---
src/documentation/index.md | 2 +-
src/get-started/beam-overview.md | 2 +-
src/get-started/downloads.md | 10 ++++++++--
src/get-started/quickstart-py.md | 13 ++-----------
10 files changed, 30 insertions(+), 43 deletions(-)
----------------------------------------------------------------------
[2/3] beam-site git commit: Regenerate website
Posted by da...@apache.org.
Regenerate website
Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/0dd4a1e8
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/0dd4a1e8
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/0dd4a1e8
Branch: refs/heads/asf-site
Commit: 0dd4a1e8dc747150297d669ccbcdce8dfeb4e309
Parents: 5111853
Author: Davor Bonaci <da...@google.com>
Authored: Thu Mar 16 12:34:38 2017 -0700
Committer: Davor Bonaci <da...@google.com>
Committed: Thu Mar 16 12:34:38 2017 -0700
----------------------------------------------------------------------
content/contribute/testing/index.html | 5 ++---
content/documentation/index.html | 2 +-
content/get-started/beam-overview/index.html | 2 +-
content/get-started/downloads/index.html | 12 ++++++++++--
content/get-started/quickstart-py/index.html | 20 ++------------------
5 files changed, 16 insertions(+), 25 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam-site/blob/0dd4a1e8/content/contribute/testing/index.html
----------------------------------------------------------------------
diff --git a/content/contribute/testing/index.html b/content/contribute/testing/index.html
index 6fb76df..fb004c9 100644
--- a/content/contribute/testing/index.html
+++ b/content/contribute/testing/index.html
@@ -413,9 +413,8 @@ details on those testing types.</p>
<h3 id="python-sdk">Python SDK</h3>
-<p>The Python SDK is currently under development on a feature branch. We have initial
-postcommit tests by a Jenkins build; precommit testing and a full testing
-matrix will be coming soon.</p>
+<p>The Python SDK has postcommit tests by a Jenkins build; precommit testing and a
+full testing matrix will be coming soon.</p>
<h2 id="testing-scenarios">Testing Scenarios</h2>
http://git-wip-us.apache.org/repos/asf/beam-site/blob/0dd4a1e8/content/documentation/index.html
----------------------------------------------------------------------
diff --git a/content/documentation/index.html b/content/documentation/index.html
index e998965..af5afb0 100644
--- a/content/documentation/index.html
+++ b/content/documentation/index.html
@@ -177,7 +177,7 @@
<ul>
<li><a href="/documentation/sdks/java/">Java SDK</a></li>
- <li><em>[Under Development]</em> <a href="/documentation/sdks/python/">Python SDK</a></li>
+ <li><a href="/documentation/sdks/python/">Python SDK</a></li>
</ul>
<h2 id="runners">Runners</h2>
http://git-wip-us.apache.org/repos/asf/beam-site/blob/0dd4a1e8/content/get-started/beam-overview/index.html
----------------------------------------------------------------------
diff --git a/content/get-started/beam-overview/index.html b/content/get-started/beam-overview/index.html
index f45903b..7a2b1f1 100644
--- a/content/get-started/beam-overview/index.html
+++ b/content/get-started/beam-overview/index.html
@@ -173,7 +173,7 @@
</tr>
<tr>
<td>Python</td>
- <td>Coming Soon</td>
+ <td>Active Development</td>
</tr>
<tr>
<td>Other</td>
http://git-wip-us.apache.org/repos/asf/beam-site/blob/0dd4a1e8/content/get-started/downloads/index.html
----------------------------------------------------------------------
diff --git a/content/get-started/downloads/index.html b/content/get-started/downloads/index.html
index 4053000..3438ee7 100644
--- a/content/get-started/downloads/index.html
+++ b/content/get-started/downloads/index.html
@@ -152,8 +152,9 @@
<div class="row">
<h1 id="apache-beam-downloads">Apache Beam Downloads</h1>
-<p>The easiest way to use Apache Beam is via one of the released versions in the
-<a href="https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.beam%22">Maven Central Repository</a>.</p>
+<p>The easiest way to use Apache Beam is via one of the released versions in a central repository.
+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 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 class="highlighter-rouge">DirectRunner</code>, add the following dependencies to your
@@ -173,6 +174,13 @@ Java with the <code class="highlighter-rouge">DirectRunner</code>, add the follo
</code></pre>
</div>
+<p>Similarly in Python, if you are using PyPI and want to use the SDK for Python with
+<code class="highlighter-rouge">DirectRunner</code>, add the following requirement to your <code class="highlighter-rouge">setup.py</code> file:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>apache-beam==0.6.0
+</code></pre>
+</div>
+
<p>Additionally, you may want to depend on additional SDK modules, such as IO
connectors or other extensions, and additional runners to execute your pipeline
at scale.</p>
http://git-wip-us.apache.org/repos/asf/beam-site/blob/0dd4a1e8/content/get-started/quickstart-py/index.html
----------------------------------------------------------------------
diff --git a/content/get-started/quickstart-py/index.html b/content/get-started/quickstart-py/index.html
index b143d54..153eac6 100644
--- a/content/get-started/quickstart-py/index.html
+++ b/content/get-started/quickstart-py/index.html
@@ -220,24 +220,8 @@ environment\u2019s directories.</p>
<h3 id="download-and-install">Download and install</h3>
-<ol>
- <li>
- <p>Clone the Apache Beam repo from GitHub:
- <code class="highlighter-rouge">git clone https://github.com/apache/beam.git</code></p>
- </li>
- <li>
- <p>Navigate to the <code class="highlighter-rouge">python</code> directory:
- <code class="highlighter-rouge">cd beam/sdks/python/</code></p>
- </li>
- <li>
- <p>Create the Apache Beam Python SDK installation package:
- <code class="highlighter-rouge">python setup.py sdist</code></p>
- </li>
- <li>
- <p>Install the Apache Beam SDK
- <code class="highlighter-rouge">pip install dist/apache-beam-*.tar.gz</code></p>
- </li>
-</ol>
+<p>Install the latest Python SDK from PyPI:
+ <code class="highlighter-rouge">pip install apache-beam</code></p>
<h2 id="execute-a-pipeline-locally">Execute a pipeline locally</h2>