Skip to main content

A collection of Luigi tasks for data processing

Project description

Luigi Tasks

A collection of Luigi tasks for data processing.

Installation

You can install this package from PyPI:

pip install luigi-tasks

Or install directly from the source:

pip install .

Available Tasks

HelloTask

A simple task that prints "Hello, World!" and creates a hello.txt file.

from luigi_tasks import HelloTask
import luigi

luigi.build([HelloTask()], local_scheduler=True)

PrintTask

A task that prints a custom message and saves it to a file.

from luigi_tasks import PrintTask
import luigi

# Run with default message
luigi.build([PrintTask()], local_scheduler=True)

# Run with custom message
luigi.build([PrintTask(message="Custom message")], local_scheduler=True)

Using in Docker

To use this package in a Docker container, add the following to your Dockerfile:

FROM python:3.12-slim

# Install the package
RUN pip install luigi-tasks

# Your other Docker configurations...

Development

To set up the development environment:

  1. Clone the repository
  2. Install development dependencies:
    pip install -e ".[dev]"
    
  3. Run tests (if available):
    pytest
    

Building for PyPI

To build and publish to PyPI:

  1. Update the version in pyproject.toml
  2. Build the package:
    python -m build
    
  3. Upload to PyPI:
    python -m twine upload dist/*
    

Project details


Download files

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

Source Distribution

luigi_tasks-0.1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

luigi_tasks-0.1.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file luigi_tasks-0.1.1.tar.gz.

File metadata

  • Download URL: luigi_tasks-0.1.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for luigi_tasks-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5a1916e99bb09433f23e40056c047a1ed1f7f230f4a289ce5663984c99b49559
MD5 4cf090aa78270cf6eaffd3c118d1011d
BLAKE2b-256 1df06b2e5329cb4efff45dc47ce61f37ef550946aa4b8bbbabae08ba11dec4f0

See more details on using hashes here.

File details

Details for the file luigi_tasks-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: luigi_tasks-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for luigi_tasks-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6dbb3a8da52cf8939ef81f482103f0f0db2eafc056f8f48fc8c2b4c414b7f642
MD5 a17dc6c35ee537e2693ea1a4d4539e8e
BLAKE2b-256 fbfb1fb49806bf862b7d9572f4c90ff3c207d8a1e74a19eea9a545392ee42a70

See more details on using hashes here.

Supported by

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