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

Metadata

Release files for dgconvert 0.37.0

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.37.0
File Size Uploaded Provenance Actions
dgconvert-0.37.0.tar.gz 283.4 kB Without provenance Details for dgconvert-0.37.0.tar.gz

Built distribution (wheel)

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

Total release size: 421.5 kB

Release files / dgconvert-0.37.0.tar.gz

Download URL dgconvert-0.37.0.tar.gz
Size 283.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4f139fa98b7e6dd5864b921c47f6070746480c292382795ddc3fa5abf1fb20d1
BLAKE2b-256 checksum
How to use checksums
6a59ced95615a421207bbc88dc1ef02bc8a4a83bf44ca3b4c907c1294b75369a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.37.0-py3-none-any.whl

Download URL dgconvert-0.37.0-py3-none-any.whl
Size 138.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4db922478f6411a6a4da7251a72ba1f2bd1c1f1442bdddc5df93b465a53a610
BLAKE2b-256 checksum
How to use checksums
c242b5e254ebfb5a3e1d5978ad44c6e016b8931b1c8be2ed25416d208f6e3586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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}

Security for dgconvert 0.37.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.37.0 This release

2 release files No provenance

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