Slim Python interface for Dolt's CLI API.
Project description
DoltCLI
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.
Dev Setup
- 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
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
doltcli-0.2.2.tar.gz
(21.0 kB
view details)
Built Distribution
doltcli-0.2.2-py3-none-any.whl
(21.8 kB
view details)
File details
Details for the file doltcli-0.2.2.tar.gz
.
File metadata
- Download URL: doltcli-0.2.2.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7799e71cc0e2cd9dede958ec3e57979afb6801aa8670ada040ac9ed4c9d2499 |
|
MD5 | adc039a74c6be2ad15dfd2896c840e40 |
|
BLAKE2b-256 | 41181e94bac2df5ea4b521d17322c6224164444e50f676c0f65dd8c15d049250 |
File details
Details for the file doltcli-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: doltcli-0.2.2-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35308ec3cdd308ef30f9da8fb94840d2af712ebd141bb2b1ff71cae0fa650be1 |
|
MD5 | 27cfbd9ac1578449775cfa83677e50d4 |
|
BLAKE2b-256 | 6a045e04afd1e8dfea357955830bd8277af4ea23872633990f58d4630ae49619 |