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:

dataflow-cookiecutter demo

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 -t 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dataflow-cookiecutter-1.0.0a3.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dataflow_cookiecutter-1.0.0a3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file dataflow-cookiecutter-1.0.0a3.tar.gz.

File metadata

  • Download URL: dataflow-cookiecutter-1.0.0a3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for dataflow-cookiecutter-1.0.0a3.tar.gz
Algorithm Hash digest
SHA256 6bb969501cb0b7d64b866683de7e1134c2ffef52869c0e174b2c21934bf2973d
MD5 e9d02ddb3c04f944fdcc2eef3add7843
BLAKE2b-256 e1d5b7a8beae6f9cee229f1b60c4a32bc1eb6b71c6eec760d810cc3840637abe

See more details on using hashes here.

File details

Details for the file dataflow_cookiecutter-1.0.0a3-py3-none-any.whl.

File metadata

  • Download URL: dataflow_cookiecutter-1.0.0a3-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for dataflow_cookiecutter-1.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 17b8f220e3e9188819091fc2f77797d63e9550cdc745b8992635d369bdc3327c
MD5 796f1d49758bc2c3f4f21005f7ec3254
BLAKE2b-256 4766feb7a84d5275afe5dba92825c10878abe27e51fa029da582b6b23a635ced

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0a3 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page