CLI for the MotherDuck REST API
Project description
dkdc-md-cli
CLI for the MotherDuck REST API.
install
# from source (Rust binary)
cargo install --path dkdc-md-cli
# from source (Python)
uv tool install .
authentication
Set one of the following environment variables:
export MOTHERDUCK_TOKEN="your-token-here"
Also accepted: motherduck_token, MOTHERDUCK_API_KEY, motherduck_api_key.
usage
# service accounts
md service-account create myaccount
md service-account delete myaccount
# duckling configuration
md duckling get myaccount
md duckling set myaccount --rw-size pulse --rs-size pulse --flock-size 1
# access tokens
md token list myaccount
md token create myaccount --name my-token --ttl 3600
md token delete myaccount <token-id>
# active accounts
md account list-active
# JSON output (for piping to jq, etc.)
md token list myaccount -o json
development
bin/setup # install rustup + uv
bin/build # build Rust + Python
bin/check # lint + test
bin/format # auto-format
bin/install # install locally
Integration tests (requires MOTHERDUCK_TOKEN):
tests/integration-test
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 dkdc_md_cli-0.1.1.tar.gz.
File metadata
- Download URL: dkdc_md_cli-0.1.1.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8271190f413df2a212935c6bf94031c1e0d741728f53cfbfa16a8a86b7e0e314
|
|
| MD5 |
a7300ce2cc945ce3e08749138e2e6eb2
|
|
| BLAKE2b-256 |
ae784a50bc95b73f373a94cf8fcb85ff21451f144e3b5d2edf0a09dd6c52fc1c
|
Provenance
The following attestation bundles were made for dkdc_md_cli-0.1.1.tar.gz:
Publisher:
release-python.yml on lostmygithubaccount/dkdc-md-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkdc_md_cli-0.1.1.tar.gz -
Subject digest:
8271190f413df2a212935c6bf94031c1e0d741728f53cfbfa16a8a86b7e0e314 - Sigstore transparency entry: 942537704
- Sigstore integration time:
-
Permalink:
lostmygithubaccount/dkdc-md-cli@16f6a2540dcc1f9746d684ec6a5d71a46ff00e84 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/lostmygithubaccount
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@16f6a2540dcc1f9746d684ec6a5d71a46ff00e84 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.11+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89285edf270ff462209eb66a31cb530741177681827ed1261efc5e5ff2583b28
|
|
| MD5 |
8839bc31c6aeac3958c453a996759a94
|
|
| BLAKE2b-256 |
d7f0d464d61c904e81994296f7eb00df712eb80206962243608c75e3a783c516
|
Provenance
The following attestation bundles were made for dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl:
Publisher:
release-python.yml on lostmygithubaccount/dkdc-md-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl -
Subject digest:
89285edf270ff462209eb66a31cb530741177681827ed1261efc5e5ff2583b28 - Sigstore transparency entry: 942537729
- Sigstore integration time:
-
Permalink:
lostmygithubaccount/dkdc-md-cli@16f6a2540dcc1f9746d684ec6a5d71a46ff00e84 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/lostmygithubaccount
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@16f6a2540dcc1f9746d684ec6a5d71a46ff00e84 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_aarch64.whl.
File metadata
- Download URL: dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.11+, manylinux: glibc 2.34+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05e750c74fcb6d01587740613dffbcdb4475c08abe84ffb76c01f3a6f8b1a21e
|
|
| MD5 |
9a60ab2c3f7abc1c61c34e66db90a4ed
|
|
| BLAKE2b-256 |
122fdae88f1875612ff1b52a9fe49c9cf23cc90f3f71df29c0dd7c752c2ee798
|
Provenance
The following attestation bundles were made for dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_aarch64.whl:
Publisher:
release-python.yml on lostmygithubaccount/dkdc-md-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_aarch64.whl -
Subject digest:
05e750c74fcb6d01587740613dffbcdb4475c08abe84ffb76c01f3a6f8b1a21e - Sigstore transparency entry: 942537734
- Sigstore integration time:
-
Permalink:
lostmygithubaccount/dkdc-md-cli@16f6a2540dcc1f9746d684ec6a5d71a46ff00e84 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/lostmygithubaccount
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@16f6a2540dcc1f9746d684ec6a5d71a46ff00e84 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dkdc_md_cli-0.1.1-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: dkdc_md_cli-0.1.1-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44398f01c07446c17357d33db6f745f83813e38e16c034ead40a1b8b94fad20e
|
|
| MD5 |
e88678b419726804e76d231647dc8b25
|
|
| BLAKE2b-256 |
326c3acb138e118cfb5bc79e56ddc8b2fa55c841962a0b174b5be47a9c651315
|
Provenance
The following attestation bundles were made for dkdc_md_cli-0.1.1-cp311-abi3-macosx_11_0_arm64.whl:
Publisher:
release-python.yml on lostmygithubaccount/dkdc-md-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkdc_md_cli-0.1.1-cp311-abi3-macosx_11_0_arm64.whl -
Subject digest:
44398f01c07446c17357d33db6f745f83813e38e16c034ead40a1b8b94fad20e - Sigstore transparency entry: 942537725
- Sigstore integration time:
-
Permalink:
lostmygithubaccount/dkdc-md-cli@16f6a2540dcc1f9746d684ec6a5d71a46ff00e84 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/lostmygithubaccount
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@16f6a2540dcc1f9746d684ec6a5d71a46ff00e84 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dkdc_md_cli-0.1.1-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: dkdc_md_cli-0.1.1-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.11+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e51cbead44846bf979891033440795d7ddbff5efebab8f9d8b0dbe71ba368995
|
|
| MD5 |
1316418a92b95c053aee71038dadac53
|
|
| BLAKE2b-256 |
21d060e77f5d87950fc1ddd866daa7672b83e8fa0096b818424a93e2475aeecf
|
Provenance
The following attestation bundles were made for dkdc_md_cli-0.1.1-cp311-abi3-macosx_10_12_x86_64.whl:
Publisher:
release-python.yml on lostmygithubaccount/dkdc-md-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkdc_md_cli-0.1.1-cp311-abi3-macosx_10_12_x86_64.whl -
Subject digest:
e51cbead44846bf979891033440795d7ddbff5efebab8f9d8b0dbe71ba368995 - Sigstore transparency entry: 942537717
- Sigstore integration time:
-
Permalink:
lostmygithubaccount/dkdc-md-cli@16f6a2540dcc1f9746d684ec6a5d71a46ff00e84 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/lostmygithubaccount
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@16f6a2540dcc1f9746d684ec6a5d71a46ff00e84 -
Trigger Event:
push
-
Statement type: