Skip to main content

beam-extended package

Provide extensions to existing SDKs (mainly Python)

It currently contains:

  • mongoDB IO Connector

Installation

To install the package, please use the pip installation as follows:

pip install beam-extended

Note: currently, due to Apache Beam constraints, beam-extended is only available for Python 3.6.

Example Usage

Here is a short example of using the package.

from beam_extended.io.mongodbio import ReadFromMongo, WriteToMongo
...
with beam.Pipeline(options=options) as pipeline:
    ( p | 'read' >> ReadFromMongo('myUrl1', 'myDb1', 'myColl1', query={}, projection=['_id'])
        | 'transform' >> beam.Map(transform)
        | 'save' >> WriteToMongo('myUrl2', 'myDb2', 'myColl2'))

Publishing

Run the pypi.sh script.

Credits

Based on:

https://gist.github.com/dlebech/e9d6ba266014db8783dbbeb362593020 by David Volquartz Lebech

and

https://gist.github.com/sandboxws/08b9c5e373b94056733f8a662d9a2fa2 by Ahmed El.Hussaini

Metadata

Release files for beam-extended 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beam-extended 0.1.0
File Size Uploaded Provenance
beam-extended-0.1.0.tar.gz 5.0 kB Without provenance Details

Release files / beam-extended-0.1.0.tar.gz

Download URL beam-extended-0.1.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c36de21538ac099621464bad2d7a58551c19f7d0a2f4c34c40c61749ba0ff984
BLAKE2b-256 checksum
How to use checksums
218179a4eb8c9a8269f772d5029a37810bbfffbc9250113831c8c7a0c86ecc88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.12

Security for beam-extended 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page