Package: domino-py
Build amazing ideas, piece by piece.Table of contentsAboutQuick startGUIPiecesRESTCreditsAboutDomino is an open source workflow management platform, with::desktop_computer: an intuitiveGraphical User Interfacethat facilitates creating, editing and monitoring any type of Workflow, from data processing to machine learning:package: a standard way of writing and publishing functionalPieces, which follows good practices for data modeling, documentation and distribution:gear: aREST APIthat controls a running Apache Airflow instanceCreating Workflows in the GUI is as simple as dragging and dropping Pieces to the canvas, and connecting them. The user can schedule the Workflow to run periodically, at a specific date/time, or trigger it manually. The monitoring page shows the status of each Workflow Piece in real time, including the logs and results of each run.Pieces are functional units that can be reused in multiple Workflows. Pieces can execute anything that can be written in Python, and can be easily distributed and installed directly from Github repositories to be used in Domino Workflows.Every Domino Workflow corresponds to an Apache Airflow DAG, and each Piece corresponds to an Airflow task. Domino controls an Airflow instance, which is responsible for executing, scheduling and monitoring the Workflows (DAGs).You can think of Domino as Airflow with superpowers::desktop_computer: create highly complex Workflows with simple point-and-click and drag-and-drop operations, in an user-friendly GUI:package: make use of Pieces developed by other people, share and reuse your own Pieces:busts_in_silhouette: collaborate in groups to edit and monitor Workflows:chart_with_upwards_trend: experience a cleaner and more intuitive GUI for viewing Workflows results, including logs and richer reports with images and tables:minidisc: shared storage for tasks in the same workflow:arrows_counterclockwise: use gitSync to sync DAGs from files stored in a Git repository:wheel_of_dharma: scalable, Kubernetes-native platform:battery: powered by Apache Airflow for top-tier workflows scheduling and monitoringQuick startCheck out the quick start guide in thedocumentation.The Domino Python package can be installed via pip. We reccommend you install Domino in a separate Python environment.pipinstalldomino-py[cli]You can then use Domino command line interface to easily run the Domino platform locally (requiresDocker Compose V2). Go to a new, empty directory and run the following command:dominoplatformrun-composeAfter all processes started successfully, navigate tolocalhost:3000to access the Domino frontend service.Obs.: the first time you run the platform, it may take a few minutes to download the Docker images.Running the Domino platform locally with Docker compose is useful for development and testing purposes. For production environments, we recommend you deploy Domino and Airflow to a Kubernetes cluster. For other deployment modes, check out the instructions in thedocumentation.GUIThe Domino frontend service is a React application that provides the GUI for easily creating, editing and monitoring Workflows. Check out theGUI documentationfor more details.Access authenticationSign up and login to use the Domino platform.Create WorkspacesCreate new Workspaces and add your github access token.Install Pieces repositoriesInstall bundles of Pieces to your Domino Workspaces direclty from Github repositories, and use them in your Workflows.Create WorkflowsCreate Workflows by dragging and dropping Pieces to the canvas, and connecting them.Edit PiecesEdit Pieces by changing their input. Outputs from upstream Pieces are automatically available as inputs for downstream Pieces. Pieces can pass forward any type of data, from simple strings to heavy files, all automatically handled by Domino shared storage system.Schedule WorkflowsSchedule Workflows to run periodically, at a specific date/time, or trigger them manually.Monitor WorkflowsMonitor Workflows in real time, including the status of each Piece, the logs and results of each run.PiecesPieces are the secret sauce of Domino, they are functional units that can be distributed and reused in multiple Workflows. Domino Pieces are special because they::snake: can execute anything written in Python, heavy-weight (e.g. Machine Learning) as well as light-weight (e.g. sending emails) tasks:traffic_light: have well defined data models for inputs, outputs and secrets:package: run in self-contained and isolated execution environments (Docker containers):gear: are immutable, guaranteeing reproducibility of your workflows:octocat: are organized in git repositories, for easy packaging, distribution and installation:bookmark_tabs: are properly versioned, tested and documented:zap: are plug-and-play and versatile, can be easily incorporated in any workflowIt is very easy to create and share your own Pieces:write your Python function as a Piecedefine the data types, dependencies, metadata and testspublish in a git repository (public or private)ThePieces repository templateprovides the basic structure, example files and automatic actions for a seamless Pieces creation experience.Read more in thePieces documentation.RESTThe Backend service is a REST API that controls a running Apache Airflow instance. It is responsible for:executing operations requested by the frontend serviceinteracting with the Airflow instance, including triggering, creating, editing and deleting Workflows (DAGs)interacting with the Domino DatabaseThe REST service is written in Python, using the FastAPI framework. Read more about it in theREST documentation.CreditsDomino is developed and maintained byTauffer Consulting.