dkdc-lm
Language model service.
Install
Recommended:
curl -LsSf https://dkdc.sh/lm/install.sh | sh
Pre-built binaries are available for Linux and macOS via Python (uv). Windows users should install via cargo or use macOS/Linux.
uv:
uv tool install dkdc-lm
cargo:
cargo install dkdc-lm-cli
Verify installation:
lm --version
You can use uvx to run it without installing:
uvx --from dkdc-lm lm
Usage
CLI
lm start # Start with default model (Gemma 4 26B-A4B)
lm start --builtin gemma-4-e4b-it # Start with smaller model
lm start --hf ggml-org/some-model-GGUF # Start with HuggingFace model
lm start --model /path/to/model.gguf # Start with local model
lm status # Check server status
lm logs # View recent logs
lm attach # Attach to tmux session
lm stop # Stop server
Rust
use dkdc_lm::{start, stop, status, resolve_builtin, DEFAULT_PORT};
let args = resolve_builtin("gemma-4-26b-a4b-it")?;
start(&args, DEFAULT_PORT, -1, 4096)?;
let (tmux, http) = status(DEFAULT_PORT);
println!("tmux: {}, http: {}", tmux, http);
stop()?;
Python
import dkdc_lm
args = dkdc_lm.resolve_builtin(dkdc_lm.default_builtin())
dkdc_lm.start(args)
tmux_running, http_responding = dkdc_lm.status()
print(f"tmux: {tmux_running}, http: {http_responding}")
dkdc_lm.stop()
Metadata
Release files for dkdc-lm 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dkdc_lm-0.2.1.tar.gz | 17.6 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.39+ x86-64 | Details |
| dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.39+ ARM64 | Details |
| dkdc_lm-0.2.1-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details |
| dkdc_lm-0.2.1-cp311-abi3-macosx_10_12_x86_64.whl | CPython 3.11 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 9.9 MB
Release files / dkdc_lm-0.2.1.tar.gz
| Download URL | dkdc_lm-0.2.1.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03e9b3cc4cf6c4275247af6f245300f89b0ea385b515b77265a9eea0d05e9686
|
|
BLAKE2b-256 checksum How to use checksums |
53a35f1d3c4ae4cb533c6136c8daf0e3fe707fa78569d36dac2a2d4e3c6b28d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.
Transparency logRelease files / dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_x86_64.whl
| Download URL | dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | CPython 3.11 Linux glibc 2.39+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
81d4349990113cfe473ab7225a576f3a0aca85f63c3c992185fd4d76254b892c
|
|
BLAKE2b-256 checksum How to use checksums |
b4c7524e236c8bde901e934b6ec923467be92afc488174800a25ef7c3d897d20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.
Transparency logRelease files / dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_aarch64.whl
| Download URL | dkdc_lm-0.2.1-cp311-abi3-manylinux_2_39_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.11 Linux glibc 2.39+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
d19bfcaef200ec835a63f9ca1c5f9fa5a7a988d5056ea9e3ce059940f0b29215
|
|
BLAKE2b-256 checksum How to use checksums |
7ed8e7f58bf6654511fd213ee3b0ec0f5a75fcb81af123e1490087b5fc5ac45f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.
Transparency logRelease files / dkdc_lm-0.2.1-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | dkdc_lm-0.2.1-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
43adbc84de5772d1e253e9571b689d538d830cb80e92a7f0b73ae8cb64cebae3
|
|
BLAKE2b-256 checksum How to use checksums |
5468bca9513988cedf7976432f0ab0f323c77f1f38cb72ee23c8f50ce61d7f13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.
Transparency logRelease files / dkdc_lm-0.2.1-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | dkdc_lm-0.2.1-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
96f66c2dddd9445d85468736e264e88270375ad9989a5a3d38ecbb4778393b2d
|
|
BLAKE2b-256 checksum How to use checksums |
2f02bdfaf79d9135b7e182994faf7512b6b1b8e2c5d75ce7433c6c135761086f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.
Transparency log