docs: add Python deploy guide and runnable example for Datum compute#133
Open
scotwells wants to merge 1 commit into
Open
docs: add Python deploy guide and runnable example for Datum compute#133scotwells wants to merge 1 commit into
scotwells wants to merge 1 commit into
Conversation
c246906 to
e313516
Compare
e313516 to
5ce216a
Compare
5ce216a to
ff36177
Compare
ecv
approved these changes
Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a step-by-step guide for deploying a Python web service on Datum compute, plus a ready-to-deploy example so a developer can go from clone to a live Instance without copy-pasting from prose.
docs/guides/deploy-a-python-app.md(moved out ofdocs/compute/guides/). It walks through packaging a Python HTTP service as a Unikraft unikernel, publishing it to the metro registry withkraft, and deploying it withdatumctl compute.examples/hello-python/materializes everything the guide describes:server.py— a stdlib-only HTTP service (/and/healthz)Dockerfile— builds the trimmed shared-library closure so the rootfs fits the unikernel's in-RAM filesystemKraftfile— Unikraft Cloud packaging specworkload.yaml— the Datum compute Workload manifestREADME.md— one-line description, link back to the guide, and the key build + deploy commandsWhy this matters
Python is the most-requested first language for new users, and getting a dynamically linked interpreter to boot as a unikernel is the hardest part of the on-ramp. This pairs a narrative guide with a folder you can build and deploy as-is, turning "Hello from Datum" into a five-minute experience and giving us a verified reference for the trimmed-closure pattern.
🤖 Generated with Claude Code