spawnables
one front door, and a part at a time.
pip install spawnables
spawnables get durables
that is the whole idea: the front door is small and always the same, and each part of the project is
onramped when you want it. the shape is borrowed from heyphony get signal, where one command is
the install.
what get does
spawnables get <part> prints a plan: what the part is, what it needs, what it refuses, how it
installs, and how it verifies. dry by default - nothing is downloaded until you pass --run,
because a getter that installs on a typo is a getter nobody runs twice.
spawnables list # the parts, one line each
spawnables get durables # the plan: install line, verify line, refusals
spawnables get durables --run # actually install, then verify
spawnables card # the whole front door as json
the parts
| part | kind | what it is |
|---|---|---|
durables |
pypi | durable objects for python: names with mailboxes, v8 isolates expected to die |
nesting |
source | containers in a guest, a vm in a guest, and the difference between them |
machines |
refused | the control plane itself |
the rule, said once
components ship to pypi; the control plane never does.
a component is a library: you install it, you import it, it does a job in your process. the control
plane provisions machines and holds credentials, so it belongs on a host you run and can audit, not
in site-packages where nobody reads it before it starts. spawnables get machines refuses in those
words and gives you the clone instead.
why a getter is data
each part is a json recipe in spawnables_cli/getters/, because the content that matters is the
verify step and the refusal, and both are easier to keep honest as text than as branches:
{
"name": "durables",
"kind": "pypi",
"install": "pip install 'spawnables-durables>=0.1.0'",
"verify": "durables card",
"refused": ["a kernel of its own: a v8 isolate is a heap in a process, not a machine"],
"verified": true
}
a getter that reports success without running its verify is a claim rather than a capability, so
--run stops at the first non-zero exit and says which step failed.
install name vs import name
the distribution is spawnables, the import is spawnables_cli, and the script is spawnables.
that split is deliberate: the control plane's own package is also called spawnables, so a repo
developer with both would otherwise have two things claiming one import path.
honest gaps
- two getters, one published.
durablesinstalls from the index;nestinginstalls from source because that branch has no package metadata yet. - no lockfile, no version pinning beyond the recipe. a getter is an onramp, not a resolver.
- no uninstall.
pip uninstall spawnables-durablesis the answer, and pretending otherwise would be a worse one.
Metadata
Release files for spawnables 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spawnables-0.1.0.tar.gz | 6.0 kB | Without provenance | Details for spawnables-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spawnables-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for spawnables-0.1.0-py3-none-any.whl |
Total release size: 13.8 kB
Release files / spawnables-0.1.0.tar.gz
| Download URL | spawnables-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43873e03b6d8039e9b4193b9a582cafcf524d516e6a1ae77d638ea32fd3e3fcf
|
|
BLAKE2b-256 checksum How to use checksums |
ea829401b21318508a2a70e09075b95ca497e9751805db6ea365b742f2149293
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / spawnables-0.1.0-py3-none-any.whl
| Download URL | spawnables-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7883b94f3d483fd7bf316c112e1631c0dcd44e94846b32d9b1288fad4bf8500d
|
|
BLAKE2b-256 checksum How to use checksums |
3cf20548515e7025e86418b8a5f8be744081fc54d67cd2bed7d3ee339e064db4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Security for spawnables 0.1.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.