Skip to main content

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

dkdc_md_cli-0.1.1.tar.gz (20.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.34+ x86-64

dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.34+ ARM64

dkdc_md_cli-0.1.1-cp311-abi3-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

dkdc_md_cli-0.1.1-cp311-abi3-macosx_10_12_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

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

Hashes for dkdc_md_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8271190f413df2a212935c6bf94031c1e0d741728f53cfbfa16a8a86b7e0e314
MD5 a7300ce2cc945ce3e08749138e2e6eb2
BLAKE2b-256 ae784a50bc95b73f373a94cf8fcb85ff21451f144e3b5d2edf0a09dd6c52fc1c

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 89285edf270ff462209eb66a31cb530741177681827ed1261efc5e5ff2583b28
MD5 8839bc31c6aeac3958c453a996759a94
BLAKE2b-256 d7f0d464d61c904e81994296f7eb00df712eb80206962243608c75e3a783c516

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for dkdc_md_cli-0.1.1-cp311-abi3-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 05e750c74fcb6d01587740613dffbcdb4475c08abe84ffb76c01f3a6f8b1a21e
MD5 9a60ab2c3f7abc1c61c34e66db90a4ed
BLAKE2b-256 122fdae88f1875612ff1b52a9fe49c9cf23cc90f3f71df29c0dd7c752c2ee798

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dkdc_md_cli-0.1.1-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dkdc_md_cli-0.1.1-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44398f01c07446c17357d33db6f745f83813e38e16c034ead40a1b8b94fad20e
MD5 e88678b419726804e76d231647dc8b25
BLAKE2b-256 326c3acb138e118cfb5bc79e56ddc8b2fa55c841962a0b174b5be47a9c651315

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dkdc_md_cli-0.1.1-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dkdc_md_cli-0.1.1-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e51cbead44846bf979891033440795d7ddbff5efebab8f9d8b0dbe71ba368995
MD5 1316418a92b95c053aee71038dadac53
BLAKE2b-256 21d060e77f5d87950fc1ddd866daa7672b83e8fa0096b818424a93e2475aeecf

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page