dk packages /

CommonsLang_Python 0.2.20260807170359

Redistributes a Python toolchain as a dk package: the CPython runtime and the uv

Python-2.0 AND (Apache-2.0 OR MIT) Source → Generated

Redistributes a Python toolchain as a dk package: the CPython runtime and the uv package/project manager, so dk0 can install and run Python and ingest PyPI distributions.

CommonsLang_Python bundles the relocatable CPython runtime (astral-sh/python-build-standalone, 3.13.14) and uv (0.12.1) for Windows, Linux, and macOS slots, analogous to the existing CommonsLang_OCaml / CommonsLang_Rust / CommonsLang_DotNet toolchains. Binaries are fetched from each project's official GitHub releases and verified by SHA-256. Requested in diskuv/dk#105; it unblocks the dk-ai convert-pypi-to-dk-package skill and the Python/PyPI mini-plans the Prompt Studio produces.

Usage

CPython runtime (whole tree captured as SDK.Zip)

  $ run-function CommonsBase_Std.Extract.F_TarToZip@0.3.0 -f ${RUNTIME}/ignored.zip modver=CommonsLang_Python.SDK.Zip@3.13.14 tarmodver=CommonsLang_Python.SDK.Bundle@3.13.14 tarassetpath=cpython-3.13.14+20260728-aarch64-apple-darwin-install_only.tar.gz
  \test(pass)
  \dk.object(abi: "Release.Darwin_arm64", value-id: "ofiy3hgt3kkaqt7cvjztccypbwo6zlozhwh4pwbqngks2o3dilvgq")\;

  $ run-function CommonsBase_Std.Extract.F_TarToZip@0.3.0 -f ${RUNTIME}/ignored.zip modver=CommonsLang_Python.SDK.Zip@3.13.14 tarmodver=CommonsLang_Python.SDK.Bundle@3.13.14 tarassetpath=cpython-3.13.14+20260728-x86_64-apple-darwin-install_only.tar.gz
  \test(pass)
  \dk.object(abi: "Release.Darwin_arm64", value-id: "o4m2coeg6hjfzbuqdubeatffokqezzmi5whj34hmhd4wmabt6hxva")
  \dk.object(abi: "Release.Darwin_x86_64", value-id: "ogpnyobzwts2kx3dvwkfqhwncrsku2mn3blvp2japt3om4djdqgyq")\;

  $ run-function CommonsBase_Std.Extract.F_TarToZip@0.3.0 -f ${RUNTIME}/ignored.zip modver=CommonsLang_Python.SDK.Zip@3.13.14 tarmodver=CommonsLang_Python.SDK.Bundle@3.13.14 tarassetpath=cpython-3.13.14+20260728-x86_64-unknown-linux-gnu-install_only.tar.gz
  \test(pass)
  \dk.object(abi: "Release.Linux_x86_64", value-id: "ozolaloti5yceys3izhu2jdsdu2hn2jdlg3f7u6wycmp3fduamcca")\;

  $ run-function CommonsBase_Std.Extract.F_TarToZip@0.3.0 -f ${RUNTIME}/ignored.zip modver=CommonsLang_Python.SDK.Zip@3.13.14 tarmodver=CommonsLang_Python.SDK.Bundle@3.13.14 tarassetpath=cpython-3.13.14+20260728-x86_64-pc-windows-msvc-install_only.tar.gz
  \test(pass)
  \dk.object(abi: "Release.Windows_x86_64", value-id: "ohypg47kid3y7ryd5nrhvkicy7ex4dpv2roibvljafiptnjogsyfa")\;

Python runner scriptmodule

  $ run-function CommonsLang_Python.SDK.Export@3.13.14 -f ${RUNTIME}/SDK.Export.zip
  \test(pass)
  \dk.object(abi: "Release.Darwin_arm64", value-id: "op2qkwnzw332b3ucnmhqdwlv4hjrccefjo5iy7rj2s5pl7diw3uhq")\;

  $ run-function CommonsLang_Python.SDK.Export@3.13.14 -f ${RUNTIME}/SDK.Export.zip
  \test(pass)
  \dk.object(abi: "Release.Darwin_arm64", value-id: "op2qkwnzw332b3ucnmhqdwlv4hjrccefjo5iy7rj2s5pl7diw3uhq")\;

  $ run-function CommonsLang_Python.SDK.Export@3.13.14 -f ${RUNTIME}/SDK.Export.zip
  \test(pass)
  \dk.object(abi: "Release.Linux_x86_64", value-id: "onxon3qciaatynuccbo26yuria7iuhzrt5uulob3mppbiut7xafmq")\;

  $ run-function CommonsLang_Python.SDK.Export@3.13.14 -f ${RUNTIME}/SDK.Export.zip
  \test(pass)
  \dk.object(abi: "Release.Windows_x86_64", value-id: "ofaoraw5hciavg7xhag4curmt642hks6wtizg3uyihn54z777ouea")\;

uv

  $ run-function CommonsLang_Python.Uv.Files@0.12.1 -d ${RUNTIME}/uv slot=Release.Darwin_arm64
  \test(pass)
  \dk.object(abi: "Release.Darwin_arm64", value-id: "oft5lw7eotoru4yvzfsrody3vxmke5ownuyx75ofbwtgz4zb6vqxq")\;

<!-- The `\dk.object(abi:..., value-id:...)` lines are recorded by dk0 at the
     first distribute build. -->

  $ run-function CommonsLang_Python.Uv.Files@0.12.1 -d ${RUNTIME}/uv slot=Release.Darwin_x86_64
  \test(pass)
  \dk.object(abi: "Release.Darwin_x86_64", value-id: "os5hv3jqkfn2daj5ta2bzcob4zcrh4qrqxjh57a7q3k2hli5l7m3q")\;

  $ run-function CommonsLang_Python.Uv.Files@0.12.1 -d ${RUNTIME}/uv slot=Release.Linux_x86_64
  \test(pass)
  \dk.object(abi: "Release.Linux_x86_64", value-id: "om3tlusuyd4vq6qhrmyouqsfqsno2rg3vhvsqwz5knc5vkb4wfe5a")\;

<!-- The `\dk.object(abi:..., value-id:...)` lines are recorded by dk0 at the
     first distribute build. -->

  $ run-function CommonsLang_Python.Uv.Files@0.12.1 -d ${RUNTIME}/uv slot=Release.Windows_x86_64
  \test(pass)
  \dk.object(abi: "Release.Windows_x86_64", value-id: "oqene42kaeloyvxvtb6fwmd7frj27rx24hw45q6q25ausc2ub6zxa")\;

<!-- The `\dk.object(abi:..., value-id:...)` lines are recorded by dk0 at the
     first distribute build. -->

UvLock (author-time lock generator scriptmodule)

  $ run-function CommonsLang_Python.UvLock.Export@1.0.0 -f ${RUNTIME}/UvLock.Export.zip
  \test(pass)
  \dk.object(abi: "Release.Darwin_arm64", value-id: "oeh3qipc2oxtzboc4q7roqhle5puq3w7pfavjl2b26ezrlbki5veq")\;

  $ run-function CommonsLang_Python.UvLock.Export@1.0.0 -f ${RUNTIME}/UvLock.Export.zip
  \test(pass)
  \dk.object(abi: "Release.Darwin_arm64", value-id: "oeh3qipc2oxtzboc4q7roqhle5puq3w7pfavjl2b26ezrlbki5veq")\;

  $ run-function CommonsLang_Python.UvLock.Export@1.0.0 -f ${RUNTIME}/UvLock.Export.zip
  \test(pass)
  \dk.object(abi: "Release.Linux_x86_64", value-id: "ozvoinoax3girjyu2jsjwycryua64iuiyz64oya2z2kmnqtgj42qa")\;

  $ run-function CommonsLang_Python.UvLock.Export@1.0.0 -f ${RUNTIME}/UvLock.Export.zip
  \test(pass)
  \dk.object(abi: "Release.Windows_x86_64", value-id: "owpalfpw2f7fnmb3u7w4fex57yqlr6uaz6pwh6m4hxxv3f6aleasa")\;

UvBuild F_Build offline-install regression (six 1.17.0, hermetic, no trust caps)

  $ run-function CommonsLang_Python.UvBuild.F_Build@1.1.0 -d ${RUNTIME}/build modver=CommonsLang_Python.UvBuild.Built@1.0.0 url=https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 size=11050 import[]=six
  \test(pass)
  \dk.object(abi: "Release.Darwin_arm64", value-id: "oqpl5fx7xof32thsdgx5pvxilhyy3wlwlwx65h3gwdjupnefepgrq")\;
  $ run-function CommonsLang_Python.UvBuild.F_Build@1.1.0 -d ${RUNTIME}/build modver=CommonsLang_Python.UvBuild.Built@1.0.0 url=https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 size=11050 import[]=six
  \test(pass)
  \dk.object(abi: "Release.Darwin_arm64", value-id: "oqpl5fx7xof32thsdgx5pvxilhyy3wlwlwx65h3gwdjupnefepgrq")\;
  $ run-function CommonsLang_Python.UvBuild.F_Build@1.1.0 -d ${RUNTIME}/build modver=CommonsLang_Python.UvBuild.Built@1.0.0 url=https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 size=11050 import[]=six
  \test(pass)
  \dk.object(abi: "Release.Linux_x86_64", value-id: "oied4eht3lgnc5dwrbu5nufhq55glhzpqqppu3vzk45lwg6fqx22a")\;
  $ run-function CommonsLang_Python.UvBuild.F_Build@1.1.0 -d ${RUNTIME}/build modver=CommonsLang_Python.UvBuild.Built@1.0.0 url=https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 size=11050 import[]=six
  \test(pass)
  \dk.object(abi: "Release.Windows_x86_64", value-id: "ozovn3zcbeqgsgxgfolfxxktqiwkdwqyiclhgvtxptqvmtrbomyaa")\;

uv for the execution host (this ABI cross-builds on Darwin_arm64)

  $ run-function CommonsLang_Python.Uv.Files@0.12.1 -d ${RUNTIME}/uv-host slot=Release.Darwin_arm64
  \test(pass)
  \dk.object(abi: "Release.Darwin_arm64", value-id: "oft5lw7eotoru4yvzfsrody3vxmke5ownuyx75ofbwtgz4zb6vqxq")\;

<!-- The `\dk.object(abi:..., value-id:...)` lines are recorded by dk0 at the
     first distribute build. -->

Provides

ModuleVersionPlatformvalue-id
CommonsLang_Python.SDK.Export 3.13.14 Darwin_arm64 op2qkwnzw332…
CommonsLang_Python.SDK.Export 3.13.14 Darwin_arm64 op2qkwnzw332…
CommonsLang_Python.SDK.Export 3.13.14 Linux_x86_64 onxon3qciaat…
CommonsLang_Python.SDK.Export 3.13.14 Windows_x86_64 ofaoraw5hcia…
CommonsLang_Python.Uv.Files 0.12.1 Darwin_arm64 oft5lw7eotor…
CommonsLang_Python.Uv.Files 0.12.1 Darwin_x86_64 os5hv3jqkfn2…
CommonsLang_Python.Uv.Files 0.12.1 Darwin_arm64 oft5lw7eotor…
CommonsLang_Python.Uv.Files 0.12.1 Linux_x86_64 om3tlusuyd4v…
CommonsLang_Python.Uv.Files 0.12.1 Windows_x86_64 oqene42kaelo…
CommonsLang_Python.UvLock.Export 1.0.0 Darwin_arm64 oeh3qipc2oxt…
CommonsLang_Python.UvLock.Export 1.0.0 Darwin_arm64 oeh3qipc2oxt…
CommonsLang_Python.UvLock.Export 1.0.0 Linux_x86_64 ozvoinoax3gi…
CommonsLang_Python.UvLock.Export 1.0.0 Windows_x86_64 owpalfpw2f7f…
CommonsLang_Python.UvBuild.F_Build 1.1.0 Darwin_arm64 oqpl5fx7xof3…
CommonsLang_Python.UvBuild.F_Build 1.1.0 Darwin_arm64 oqpl5fx7xof3…
CommonsLang_Python.UvBuild.F_Build 1.1.0 Linux_x86_64 oied4eht3lgn…
CommonsLang_Python.UvBuild.F_Build 1.1.0 Windows_x86_64 ozovn3zcbeqg…

Workspace assets

Files and directories in the package repo, bundled into the build.

AssetProject pathType
UvLockGenerator assets/uv-lock/dk_uv_lock.py file

Dependencies

PackageVersionsha256
CommonsBase_Std 2.6.20260806174029 f01e05a412ee63e3…

Producer signing key

Releases of this package are signed with this OpenBSD signify key. After you import the package, dk1 trust list prints the same public key and fingerprint; compare them here to confirm you are trusting the intended publisher over a channel independent of the download.

Fingerprint 09ca09fd18b916a3
Public key RWQJygn9GLkWow8vFnVNsw0wmGl36Ks1U+4WjBkySMCnaLBSe0Cckp9E