Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
/ luigi-example Public archive

A luigi example project for demo at Python Stuttgart Meetup (April 2019)

License

Notifications You must be signed in to change notification settings

chhantyal/luigi-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luigi example

A simple Luigi job demo at Python Stuttgart Meetup.

Use case: create daily sales report from sales transactions. Backup database dump to Google Cloud along the way.

Slides available on SpeakerDeck: Building Data Workflows with Luigi & Python

Install

  • Install all dependencies: pipenv install

  • Start Luigi scheduler: luigid --port 8000

Try

  1. Run a task (report for one day)

python -m luigi --module example SalesReport --date=2019-04-26

  1. Create reports for past days (back filling)

python -m luigi --module example RangeDaily --of SalesReport --start=2019-04-21

About

A luigi example project for demo at Python Stuttgart Meetup (April 2019)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages