Luigi

github.com/spotify/luigi DevOps & Containers Open-source projectOpen source

Luigi provides Python tools for building batch job pipelines with dependency and workflow management.

github.com/spotify/luigi
Luigi homepage screenshot

About Luigi

Luigi is an open source Python package for building pipelines of batch jobs, such as long-running Hadoop jobs, database transfers, and machine learning tasks. It resolves dependencies between tasks, manages the workflow, visualizes the dependency graph, handles failures, and integrates with the command line. Dependency graphs are defined in Python code rather than in XML or separate configuration files.

Luigi coordinates other tools rather than replacing them. The source states that it is not a replacement for lower-level data processing tools such as Hive, Pig, or Cascading. Each task in a pipeline can be one of those jobs, a Spark job, a Python snippet, or a database operation.

Key features

  • Dependency resolution between batch tasks, defined in Python code
  • Built-in task templates for Python MapReduce, Hadoop, Hive, and Pig jobs
  • File system abstractions for HDFS and local files with atomic operations
  • Web interface for searching and filtering tasks
  • Visualiser showing the dependency graph and which tasks have completed
  • Optional TOML-based configuration support, installed with pip install luigi[toml]
Best for: Python developers and data engineers who build long-running batch pipelines with many interdependent tasks.
Good for
  • Dependency graphs are written in Python instead of XML or external data files.
  • Atomic file system operations are intended to keep pipelines from leaving partial data after a failure.
  • Open source, with the code available in a public repository.
Watch out for
  • Luigi is not a replacement for lower-level data processing tools such as Hive, Pig, or Cascading; it stitches tasks together instead.

Luigi at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

Luigi alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in DevOps & Containers

Well-known listings from the same topic.

All 44

Luigi FAQ

How do I install Luigi?
Run pip install luigi to install the latest stable version from PyPI. Running pip install luigi[toml] adds TOML-based configuration support.
Can Luigi run tasks that are not written in Python?
Yes. The source states that a workflow can trigger things outside Python, such as running Pig scripts or copying files with scp.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing