Skip to main content

A command line tool that makes it easy to run modular Trino environments locally.

Project description

Minitrino Logo

Minitrino

A command line tool that makes it easy to run modular Trino environments locally.

PyPI version CI Tests Trino Slack


📘 Complete Documentation - User guides, API reference, and all 39 modules


Latest Stable Release: 3.1.0

What is Minitrino?

Minitrino lets you spin up complete Trino or Starburst clusters locally with minimal configuration. Mix and match from 39+ modules to create the exact environment you need:

  • Catalogs: Hive, Iceberg, Delta Lake, Postgres, MySQL, ClickHouse, Elasticsearch, and more
  • Security: LDAP, OAuth2, Kerberos, TLS, BIAC, password files
  • Admin Tools: MinIO, Insights, Cache Service, Resource Groups, SCIM

Perfect for local development, testing configurations, learning features, and plugin development.

Compatibility

Quick Start

Installation

pip install minitrino
minitrino lib-install

Run Your First Cluster

# Start a Trino cluster with Hive and Iceberg
minitrino -v provision -m hive -m iceberg

# Access the Trino UI at http://localhost:8080
# Or connect with the CLI
minitrino exec -i 'trino-cli'

Switch to Starburst

# Use Starburst with enterprise modules
minitrino -v provision -i starburst -m insights -m cache-service

Clean Up

minitrino down    # Stop the cluster
minitrino remove  # Remove all resources

Key Features

  • 🎯 Zero Config - Start clusters with a single command
  • 🔧 39+ Modules - Pre-configured catalogs, security, and admin tools
  • 🐳 Docker-Based - Isolated containers, no system pollution
  • 🔄 Multi-Cluster - Run multiple independent clusters simultaneously
  • 🚀 Fast Setup - First provision ~5 min, subsequent provisions ~30 sec
  • 📦 Both Distributions - Switch between Trino and Starburst with a flag

Development Setup

git clone https://github.com/jefflester/minitrino.git
cd minitrino
make install
source venv/bin/activate

This creates a virtual environment, installs the CLI in editable mode with dev dependencies, and sets up pre-commit hooks. See the Makefile for additional targets (pre-commit, unit-tests, integration-tests, lib-tests, docs).

Documentation

📘 Complete Documentation

Getting Started

For Developers

Resources

Support & Community

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

minitrino-3.1.0.tar.gz (179.6 kB view details)

Uploaded Source

Built Distribution

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

minitrino-3.1.0-py3-none-any.whl (224.0 kB view details)

Uploaded Python 3

File details

Details for the file minitrino-3.1.0.tar.gz.

File metadata

  • Download URL: minitrino-3.1.0.tar.gz
  • Upload date:
  • Size: 179.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for minitrino-3.1.0.tar.gz
Algorithm Hash digest
SHA256 4561ffd0866a10d40c98e6c2912fc8dc57df4b24159b19add8dbb1c311df34ba
MD5 01d5506837fe8daebd13834eef5f9d6c
BLAKE2b-256 e4cbc84900cf0c2a0a57cfd397e4304f118e01369e7d30dae72bb106db771333

See more details on using hashes here.

File details

Details for the file minitrino-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: minitrino-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 224.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for minitrino-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 844eec05bfccbf775f18fb74e2a3bdadb7dbd72057e77c12534ba4e51b3a4884
MD5 99b1349b5a2bfbf06c066674d7bac5b1
BLAKE2b-256 65eaff364694b8d3b670eb483debf081f525a7328c6253367ca77424cbf4ae32

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