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
doltclireturn 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
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lumicks_doltcli-0.2.1.tar.gz.
File metadata
- Download URL: lumicks_doltcli-0.2.1.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1041-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf2f15bbe87c59802fb0badfffbc6a525f7e4301147849e70162ec4c0adba3e4
|
|
| MD5 |
1af9dc794785e4dad67490decb969872
|
|
| BLAKE2b-256 |
447e4648c4ddda16f7069ca25afc3986a6b005a710d1226bb24442248f2467ac
|
File details
Details for the file lumicks_doltcli-0.2.1-py3-none-any.whl.
File metadata
- Download URL: lumicks_doltcli-0.2.1-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1041-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ca7e1d797d2525ca2fbe31d1a821fbf639298adad2b322dcaf7579ab92a1645
|
|
| MD5 |
06dad2d473ded8e4acb43cb30b88cb9a
|
|
| BLAKE2b-256 |
6aab0e3dedb7297749f70e4854bb19fa05d33c2206e87005dd542fdc2d1e7971
|