Registry / devops / stonefish-runtime

stonefish-runtime

JSON →
library0.4.10pypypi✓ verified 83d ago

Stonefish Runtime is a lightweight runtime library for deploying and executing serverless functions, especially in edge environments. It supports function orchestration, dependency injection, and cloud-edge synchronization. Current version 0.4.10, released on 2025-04-22. Pre-release phase with weekly updates.

pip install stonefish-runtime
INSTALL
IMPORT
SIG · STONEFISH-RUNTIME
S
stonefish-runtime
devopspythonv0.4.10
Install
1.7s avg
Import
Disk
16MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.10 · 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
✓ —
✓ 1.9s
py 3.11
✓ —
✓ 1.8s
py 3.12
✓ —
✓ 1.5s
py 3.13
✓ —
✓ 1.6s
py 3.9
✕ build_error
✕ build_error
16MB installed
● package 16MB
Code
Verified usage

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

SfcFinder
from stonefish_runtime import SfcFinder
from stonefish import Runtime
SfcLoader
from stonefish_runtime import SfcLoader
StonefishMetaFinder
from stonefish_runtime import StonefishMetaFinder

Minimal async function and runtime initialization.

from stonefish import Runtime async def handler(event, context): return {"message": "Hello from Stonefish!"} if __name__ == "__main__": rt = Runtime(handler) rt.run()
Debug
Known issues
gotchaThe PyPI package is 'stonefish-runtime', but importable as 'stonefish'. Using 'import stonefish_runtime' will raise ModuleNotFoundError.
fix
Use 'from stonefish import Runtime' or 'import stonefish'.
affects: all
breakingBreaking change between v0.3.x and v0.4.x: The 'Runtime.run()' method now accepts a 'config' dict instead of keyword arguments for port, host, etc.
fix
Replace rt.run(port=8080) with rt.run(config={'port': 8080}).
affects: >=0.4.0
deprecatedThe synchronous 'deploy' function is deprecated in v0.4.0+. Use the async 'deploy_async' instead.
fix
Replace 'stonefish.deploy(func)' with 'await stonefish.deploy_async(func)'.
affects: >=0.4.0
Upgrade
Version history
0.4.10latest on PyPI · released Apr 10, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
OpenAI (training)
1
Resources