Runtime shim for Nebula's Python backend (nebula compile --target python).
Project description
nebula-runtime
Runtime shim for Nebula's Python
backend. It provides the builtins, probe host, telemetry, checked arithmetic, and
value helpers that programs compiled with nebula compile --target python rely
on at run time.
Two ways to ship
Vendored (default). nebula compile --target python --out dist/ copies this
package into dist/nebula_runtime/, so the output is self-contained — no install
required on the deployment host beyond Python 3.
Shared dependency. Teams running many compiled Nebula modules in one Python environment can install the runtime once instead of vendoring a copy per build:
pip install nebula-runtime # from PyPI (when published)
pip install ./python # from a checkout of this repo
With the package installed, compiled modules resolve from nebula_runtime import …
from the environment, and the vendored dist/nebula_runtime/ directory can be
removed. See docs/author-in-nebula-ship-as-python.md.
Publishing
.github/workflows/publish-runtime.yml
builds the sdist + wheel and publishes to PyPI via Trusted Publishing on a
published GitHub Release (or manual dispatch). One-time setup: register this repo
as a trusted publisher on the PyPI
nebula-runtime project. Build locally with python -m build python/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nebula_runtime-0.1.0.tar.gz.
File metadata
- Download URL: nebula_runtime-0.1.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cd8c3f1f8735847847572258115c33ea819599eac573ea23f571a9b76e24566
|
|
| MD5 |
dd858b85e2e5ce7a8b72a83729f626a7
|
|
| BLAKE2b-256 |
8d9c807f17a3e054e1c750cfd3fde2a175e064283faf1e808624313644737fbc
|
File details
Details for the file nebula_runtime-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nebula_runtime-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eed98f3b63efe4d1b116103d1a41544c10595a5d278d1dc9678da170add0c141
|
|
| MD5 |
7d8b77339cf73c8d1955a5fc76d72f21
|
|
| BLAKE2b-256 |
321376c9b8baff7646b5114af1a3544bcbbc3e56c4cb3251e1c664f970673428
|