d2-bin
The official D2 command line tool, packaged as a Python wheel so you can install it with pip or uv. D2 turns text into diagrams.
The wheels contain the unmodified binaries from the D2 v0.9.0 release. Nothing is rebuilt or patched. The build script checks every download against the release checksums.
Run it without installing:
uvx d2-bin --version
Install it once and use d2 everywhere:
uv tool install d2-bin
d2 --version
Or add it to a project, which puts d2 on the project's PATH:
uv add d2-bin
d2-bin and python -m d2_bin run the same binary, and d2_bin.find_d2_bin() returns its path.
This package is built from h0rv/d2-python. It pairs with d2-python, which can render diagrams through this binary: pip install 'd2-python[bin]'.
License
D2 is licensed under the MPL-2.0 and includes the TALA layout engine since v0.9.0. The D2 license and third party notices are included in the wheel.
Metadata
Release files for d2-bin 0.9.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| d2_bin-0.9.0.post1-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details |
| d2_bin-0.9.0.post1-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| d2_bin-0.9.0.post1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64, Linux musl 1.1+ x86-64 | Details |
| d2_bin-0.9.0.post1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl | Python 3 | none | Linux musl 1.1+ ARM64, Linux glibc 2.17+ ARM64 | Details |
| d2_bin-0.9.0.post1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| d2_bin-0.9.0.post1-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details |
Total release size: 103.9 MB
Release files / d2_bin-0.9.0.post1-py3-none-win_arm64.whl
| Download URL | d2_bin-0.9.0.post1-py3-none-win_arm64.whl |
|---|---|
| Size | 16.5 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
4a0553779ca149c34035f9bac6317e2ed467ad4261c5ec3d646a30298f9e8db6
|
|
BLAKE2b-256 checksum How to use checksums |
fe55d948dc19de80d3c70421f34713faa9c9126bc406c9a4476d9e40c4ae4d04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / d2_bin-0.9.0.post1-py3-none-win_amd64.whl
| Download URL | d2_bin-0.9.0.post1-py3-none-win_amd64.whl |
|---|---|
| Size | 18.1 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e00d6f98d6cfdf0fea4e1e88ef166ac0ee2a5e5b1caa5a6086868a91671742ea
|
|
BLAKE2b-256 checksum How to use checksums |
b08e4ada12e3220ea59e77724af748cd35e82049e99061e108f794144c1727cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / d2_bin-0.9.0.post1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl
| Download URL | d2_bin-0.9.0.post1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | Linux glibc 2.17+ x86-64 Linux musl 1.1+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
232bc251d308f518e4dd01b9200bd2e2dc2656364a7e12093df8d187e6f6e15d
|
|
BLAKE2b-256 checksum How to use checksums |
f6df3c52213808b489d25feeecea643d49b68dc29b605830ded9124ec16c30c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / d2_bin-0.9.0.post1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
| Download URL | d2_bin-0.9.0.post1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl |
|---|---|
| Size | 16.4 MB |
| Tags | Linux glibc 2.17+ ARM64 Linux musl 1.1+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
5d5b934d40a9afb0094d2329f63e6f8cefc151765ad30480e02d773f52068274
|
|
BLAKE2b-256 checksum How to use checksums |
4997cb616deea137f38545b88a3b838fef12693279965f7f5e156155e10b5d10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / d2_bin-0.9.0.post1-py3-none-macosx_11_0_arm64.whl
| Download URL | d2_bin-0.9.0.post1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 16.9 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fcea5030600cdf84ffc96c8b599f339473ddab066c1d94a805b317b235eac266
|
|
BLAKE2b-256 checksum How to use checksums |
4e01c2ecf1c48ddb0d93ae9f68f1a7d2fded7e6cbb13b6b6d151c2eb65adbb6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / d2_bin-0.9.0.post1-py3-none-macosx_10_12_x86_64.whl
| Download URL | d2_bin-0.9.0.post1-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 18.1 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
10bba38445218eb09201ac006f977712ceeaca4f1f7722c39be9092dc13a9c94
|
|
BLAKE2b-256 checksum How to use checksums |
7afa1548316acd358bdb99a08c62e862d71ded8c6b34040bbbdc815789f32b27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for d2-bin 0.9.0.post1
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.