Skip to main content

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

MIT

Release files for dgconvert 0.15.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dgconvert 0.15.1
File Size Uploaded
dgconvert-0.15.1.tar.gz 131.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dgconvert 0.15.1
File Interpreter ABI Platform
dgconvert-0.15.1-py3-none-any.whl Python 3 none any Details

Total release size: 200.7 kB

Release files / dgconvert-0.15.1.tar.gz

Download URL dgconvert-0.15.1.tar.gz
Size 131.3 kB
Tags Source
SHA-256 checksum
How to use checksums
eaaf9af5a177fef4081a112f19b9d131b4096487993795e89c13cd3891f3bbb9
BLAKE2b-256 checksum
How to use checksums
b2dedb3751542b1a350a09c234e570e72ab956cc0005e9e73f6f6548de70d34b
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.15.1-py3-none-any.whl

Download URL dgconvert-0.15.1-py3-none-any.whl
Size 69.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09dcd9b4b517fa3d98694cafadc9d806ea269d2fd4b228596fb7b9bc2d40e5f9
BLAKE2b-256 checksum
How to use checksums
0ca38c3a47f7440c5bd1b2edd440c085a2053c2037007f189adc546dd9b8e712
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 history Release notifications | RSS feed

0.25.0

2 release files

0.24.1

2 release files

0.24.0

2 release files

0.23.0

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.0

2 release files

0.17.0

2 release files

This release

0.15.1 This release

2 release files

0.12.0

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page