Skip to main content

solari-runloop-compat (Python)

Run code written for the Runloop Python SDK on Solari Sandboxes by changing the import:

# from runloop_api_client import RunloopSDK
from solari_runloop import RunloopSDK

runloop = RunloopSDK()   # SOLARI_API_KEY (or RUNLOOP_API_KEY) and, optionally, SOLARI_BASE_URL

with runloop.devbox.create(name="my-devbox") as devbox:
    devbox.file.write(file_path="main.py", contents="print('hello from a sandbox')")
    result = devbox.cmd.exec("python3 main.py")
    print(result.stdout())

Runloop, AsyncRunloop, RunloopSDK, AsyncRunloopSDK, the exception classes and the response types are exported under Runloop's names. COMPAT.md lists exactly what is supported, what differs, and what raises SolariCompatUnsupported. Unsupported features never fail silently.

Not affiliated with, endorsed by, or sponsored by Runloop. "Runloop" is the name of Runloop's product; it appears here only to describe API compatibility.

Develop

pip install -e ../python-core -e ../python-sandbox -e '.[test]'
pytest                                   # offline unit tests
SOLARI_API_KEY=... SOLARI_BASE_URL=<a non-production gateway URL> pytest -m live   # staging; deletes what it creates

Metadata

Release files for solari-runloop-compat 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solari-runloop-compat 0.2.5
File Size Uploaded Provenance Actions
solari_runloop_compat-0.2.5.tar.gz 58.3 kB Without provenance Details for solari_runloop_compat-0.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for solari-runloop-compat 0.2.5
File Interpreter ABI Platform Actions
solari_runloop_compat-0.2.5-py3-none-any.whl Python 3 none any Details for solari_runloop_compat-0.2.5-py3-none-any.whl

Total release size: 127.5 kB

Release files / solari_runloop_compat-0.2.5.tar.gz

Download URL solari_runloop_compat-0.2.5.tar.gz
Size 58.3 kB
Tags Source
SHA-256 checksum
How to use checksums
784c62be52fc6229bacbde71d836cdaad0b3f1a36be6c6fbfed90b3b1b557242
BLAKE2b-256 checksum
How to use checksums
ccd0158bb77e276363f4e9317cb28277d5a8ed8322c777a3256e648e6eac2495
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / solari_runloop_compat-0.2.5-py3-none-any.whl

Download URL solari_runloop_compat-0.2.5-py3-none-any.whl
Size 69.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b95ba318e284fac26b40d1b1edf26c5cefeae5e763a11e0d7665a4a4c0554c63
BLAKE2b-256 checksum
How to use checksums
96bb92c8bf10d93ee424c8cc1f4671e90bc528b8d7a4b92a08d32c6112b7f6c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for solari-runloop-compat 0.2.5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page