Registry / devops / contree-sdk

contree-sdk

JSON →
library0.3.3pypypi✓ verified 84d ago

SDK for ConTree container runtime with versioned filesystem state. Current version 0.3.0, compatible with Python 3.10-3.14. Under active development.

pip install contree-sdk
INSTALL
IMPORT
SIG · CONTREE-SDK
C
contree-sdk
devopspythonv0.3.3
Install
2.5s avg
Import
Disk
22MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.3.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 2.5s
py 3.11
✓ —
✓ 2.5s
py 3.12
✓ —
✓ 2.5s
py 3.13
✓ —
✓ 2.3s
py 3.9
✕ build_error
✕ build_error
22MB installed
● package 22MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Contree
from contree_sdk import Contree
from contree_sdk import ConTreeClient
ContreeSync
from contree_sdk import ContreeSync
auth
from contree_sdk import auth

Initialize client with API key and list filesystem versions.

from contree_sdk import ConTreeClient client = ConTreeClient(api_key=os.environ.get('CONTREE_API_KEY', '')) print(client.list_versions())
Debug
Known issues
breakingChanged from 'contree' package name to 'contree_sdk' in 0.2.0. Old imports will fail.
fix
Use 'from contree_sdk import ...' instead of 'from contree import ...'.
affects: <0.2.0
deprecatedThe method 'get_snapshot()' is deprecated in 0.3.0, use 'get_snapshot_async()' for new code.
fix
Replace 'client.get_snapshot(...)' with 'await client.get_snapshot_async(...)' in async contexts.
affects: >=0.3.0
gotchaAPI key must be set as environment variable CONTREE_API_KEY or passed to constructor. Missing key raises PermissionError.
fix
Set environment variable or pass api_key parameter.
affects: >=0.1.0
Upgrade
Version history
0.3.3latest on PyPI · released May 19, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
contree-sdk — pip install contree-sdk · libregistry