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 sqlloadsqlload --versionOr with pip, in a virtual environment:
pip install sqlloadChoose a package
Section titled “Choose a package”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-cliBoth 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 |
Use it from Python
Section titled “Use it from Python”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 packageSee the Python API.
The Quickstart loads a playground project into DuckDB, then your own Postgres.