dgconvert
A small Python helper library for building dgpkm-compatible seeds (pre-created gardens, ready to plant into a greenhouse).
dgconvert is not a task runner. Each seed repo owns its own
docufig.seed.json and its own plain-Python conversion script;
dgconvert supplies the pieces every seed needs regardless of source
format — dotted-slug file naming, single-line frontmatter with stable
ids, markdown-link → dgpkm-wikilink rewriting, and a wrapper that
verifies output with dgpkm doctor.
See DESIGN.md for the full architecture and the verified
dgpkm-compatibility constraints it's built against. The library was
generalized out of a first seed's own inline conversion code once a
second, independent seed needed the same pieces.
Installing
uv add dgconvert
# or
pip install dgconvert
Development
Managed with uv and just,
using Spec Kit for feature specs
(specs/, .specify/) — unlike seed repos, which don't use Spec Kit:
just # list tasks
just sync # uv sync
just test # uv run pytest
just check # format + lint
Container-based development mirrors dgpkm: set USE_CONTAINER_DEV to
podman, docker, or container, then just build-devcontainer once and
every build/test recipe runs inside the dev container automatically.
License
Release files for dgconvert 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dgconvert-0.1.0.tar.gz | 26.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dgconvert-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.7 kB
Release files / dgconvert-0.1.0.tar.gz
| Download URL | dgconvert-0.1.0.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f10b5584e3cda37b25ec09a59e5a48f4a1e75d94f6669bde55835d3c9a4a4a52
|
|
BLAKE2b-256 checksum How to use checksums |
573f60fbf9dcbd819f394f8731505a47b85d244eea8501d1489e7b3a3b1180b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / dgconvert-0.1.0-py3-none-any.whl
| Download URL | dgconvert-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2e7828ace2589ebf04a2a79cdf068126ae046306c0a0e0e91afc288d92f9dbf
|
|
BLAKE2b-256 checksum How to use checksums |
28e3c91d2c7cbe6e093456fbbe6f15bf14be75c6cb359f72ed5534d129c613d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|