Skip to content

Getting Started

Install

Install the sqlload command from PyPI, as a Python package or a standalone executable.

SQLLoad installs from PyPI. Install it as a tool with uv:

uv tool install sqlload
sqlload --version

Or with pip, in a virtual environment:

pip install sqlload

Two packages provide the same sqlload command, and a short name for it, sqll. Install only one.

Package What it is Python sources
sqlload A native Python extension, one abi3 wheel per platform for CPython 3.10 and newer. It runs the loader in the same process as your Python sources. Yes
sqlload-cli The same command as a standalone executable, without Python. No

Use sqlload if any table is defined in Python (Python sources), and sqlload-cli where Python isn’t available:

uv tool install sqlload-cli

Both are released for:

Platform Architectures
Linux (glibc 2.28 or newer) x86_64, aarch64
macOS 11 or newer arm64, x86_64 (Intel)
Windows 10 or newer, Windows Server 2019 or newer x86_64

The sqlload package also imports as a library, for declaring Python sources:

import sqlload as sl
print(sl.__version__)
print(sl.executable()) # the sqlload command installed alongside the package

See the Python API.

The Quickstart loads a playground project into DuckDB, then your own Postgres.