Kabinet
Kabinet
Kabinet is a tool for managing and deploying applications installable applications for the arkitekt framework. It is the successto to the port spec.
Installation
You can install Kabinet via pip:
pip install kabinet
Usage
This client can be use to manage and retrive defintions of applications on the arkitekt server. Currently, its mainly tide to the arkitekt platform and we wouldn't recommend using it outside of its orignal scope just yet.
Every operation is a method of the Kabinet client; nothing is looked up
ambiently. Take the client from the app (or build one yourself):
from arkitekt import easy
from kabinet import Kabinet
with easy() as app:
kabinet = app.get(Kabinet)
repo = kabinet.create_github_repo(
name=" A new repo",
identifier="jhnnsrs/kabinet:main",
)
print(repo) # will print the repo with all appimages that are in the repo
Testing
uv run pytest -m "not integration" # fast unit layer: no docker, <1s
uv run pytest # full suite: spins the dokker compose stack
The unit layer proves the wire contract through a rath AsyncMockLink
(camelCase aliases, @oneOf ordering variants, the six-kind selector union,
the PodEvent subscription shape) and the arkitekt service wiring via a
hot-plugged fakts.testing.TestingFakts. The integration-marked tests
run the same operations against the composed server image; until a
new-generation jhnnsrs/kabinet:next is pushed, point them at a locally
built image with KABINET_SERVICE_IMAGE=next-kabinet:latest uv run pytest.
Metadata
Release files for kabinet 4.0.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 | |
|---|---|---|---|
| kabinet-4.0.0.tar.gz | 70.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kabinet-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 141.7 kB
Release files / kabinet-4.0.0.tar.gz
| Download URL | kabinet-4.0.0.tar.gz |
|---|---|
| Size | 70.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2693d5ccd8463f416dbca5c904f7288a1436f6c244ea790f62008b5c9d43ec99
|
|
BLAKE2b-256 checksum How to use checksums |
f025c7bc0a3824df7fc2c278091994bddc53b944fa719aed8c960bfc3036a667
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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 / kabinet-4.0.0-py3-none-any.whl
| Download URL | kabinet-4.0.0-py3-none-any.whl |
|---|---|
| Size | 71.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cc0ddae85361c9d8e054f4729a6e9f006fbf33d0c16c28cb10b4765e9b57a46
|
|
BLAKE2b-256 checksum How to use checksums |
fb297bceb940d768a75752a460b736e6574f2d8a772a2eaf28332313e1161bc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}
|