Skip to content

Wraptile Usage

Local execution service

Running Wraptile with a local service:

pixi shell
wraptile run -- wraptile.services.local.testing:service --processes --max-workers=5

The possible options are

  • --processes / --no-processes: Whether to use processes or threads, defaults to threads.
  • --max-workers=INTEGER: Maximum number of processes or threads, defaults to 3.

Airflow service

Start by running a local Airflow instance with some test DAGs:

cd eozilla-airflow
pixi install
pixi run airflow standalone

Then run the Wraptile server with the local Airflow instance (assuming the local Airflow webserver runs on http://localhost:8080):

pixi shell
wraptile run -- wraptile.services.airflow:service --airflow-password=a8e7f4bb230

The possible options are

  • --airflow-base-url=TEXT: The base URL of the Airflow web API, defaults to http://localhost:8080.
  • --airflow-username=TEXT: The Airflow username, defaults to admin.
  • --airflow-password=TEXT: The Airflow password. For an Airflow installation with the simple Auth manager, use the one from .airflow/simple_auth_manager_passwords.json.generated.