Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

dataflow-cookiecutter Build Status PyPI

Tired of copy-pasting your ad-hoc Dataflow modules? Then you can use this cookiecutter command-line tool to easily generate standardized Dataflow templates! :zap:

Installation

You can install dataflow-cookiecutter from PyPI:

pip install dataflow-cookiecutter

In addition, you can also clone this repository and install locally:

git clone https://github.com/ljvmiranda921/dataflow-cookiecutter.git
cd dataflow-cookiecutter
python3 setup.py install

Usage

You can create a Dataflow project by executing the command:

$ dataflow-cookiecutter new

Choose from a variety of our premade templates. See all available templates by running dataflow-cookiecutter ls. For example, you can create a Google Cloud Storage (GCS) to BigQuery (BQ) pipeline via:

$ dataflow-cookiecuter new --template=GCSToBQ

Lastly, our templates are highly-compatible to your trusty, old cookiecutter command-line tool (be sure to use cookiecutter>=1.7.1!):

$ cookiecutter https://github.com/ljvmiranda921/dataflow-cookiecutter \
   --directory <directory-to-desired-template> 

FAQ

  • Why are you still wrapping cookiecutter? This started as my learning project to see how cookiecutter's internals work. While building the alpha version, I realized that I can add more functionality to this CLI more than templating, so wrapping Cookiecutter seems to be a good approach.
  • I already have cookiecutter, can I use it with your templates? Yes of course! Look at the Usage section above! However, ensure that your cookecutter version is >=1.7.1 so that you can use the --directory flag!
  • Why are you using Python 3 for Dataflow templates? It's 2020, we shouldn't be supporting legacy Python anymore. Besides, Dataflow now has streaming support in Python 3. See more developments for Beam support in Python 3 in their issue tracker.

Release files for dataflow-cookiecutter 1.0.0a1

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

Source distribution (sdist)

Source distribution for dataflow-cookiecutter 1.0.0a1
File Size Uploaded
dataflow-cookiecutter-1.0.0a1.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dataflow-cookiecutter 1.0.0a1
File Interpreter ABI Platform
dataflow_cookiecutter-1.0.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 10.8 kB

Release files / dataflow-cookiecutter-1.0.0a1.tar.gz

Download URL dataflow-cookiecutter-1.0.0a1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
400b4105cfb29c78921116e0d6ed644c067fcb16c17545c94a6d05ea2a7173ab
BLAKE2b-256 checksum
How to use checksums
b850808aeda67e6a7865b6cda0aee96f41bf265842b71c1f605c1a75def7c4fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.8

Release files / dataflow_cookiecutter-1.0.0a1-py3-none-any.whl

Download URL dataflow_cookiecutter-1.0.0a1-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdbcea8098cf103588afd97c4ca89fcda1526dea3da0289583cca27d259daace
BLAKE2b-256 checksum
How to use checksums
84ed439c9640cad4d951df8c95cb7c4e282a4458871ad82e1d0823696fdbc309
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.8
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