This is a minimalist package intended for data engineering applications:
- unzipped size ~100kb
- one dependency -- Dolt binary
- only changes when Dolt changes
If you are a data scientist or are using Pandas there are three options:
- Use doltpy
- Use pandas.sql with dolt sql-server
- Manually convert the
doltcli
return types to DataFrames withpd.Dataframe.from_records(...)
or another DataFrame instantiate of choice.
Note: doltcli
is in development. The interface does not
completely wrap Dolt CLI yet, and may have function signature changes in
the short-term. Reach out to the team on our discord if you have
questions regarding production use-cases.
- clone repo
- Python 3.6+ required
- Install Dolt binary. Currently recommended version is 1.16.0.
- Install Poetry
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
-Install dependencies:
poetry install
Now you can run tests and use doltcli
.