RunIt SDK
Python SDK for building apps on RunIt.
Installation
The SDK is automatically available in the RunIt runtime. For local development:
pip install -e .
Or install from PyPI:
pip install runit-sdk
Quick Start
from runit import app, remember
@app.action
def greet(name: str) -> dict:
visits = (remember("visits") or 0) + 1
remember("visits", visits)
return {"message": f"Hello, {name}! Visit #{visits}"}
Paste this into RunIt, hit "Go Live," and share the link.
Features
@app.action- Mark functions as runnable actions with auto-generated UIremember()/forget()- Built-in key-value storage across runsstorage- Full storage API (get,set,delete,list)save_artifact()- Write outputs that users can downloadsave_dataframe()- Save pandas/polars DataFrames in multiple formatscontext- Access secrets and uploaded JSON data- Zero Dependencies - Core functionality has no required dependencies
Documentation
See the SDK Guide for complete documentation and examples.
Sample Apps
Check out the sample apps in ../samples/:
hello-world- Minimal greeting actionextract-company- URL scraping with artifactsimage-analysis- File upload and image processingbulk-processor- Batch processing with error handlingopendraft- Multi-action app example
Development
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run tests with coverage
pytest --cov=runit --cov-report=html
License
MIT
Release files for runit-sdk 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| runit_sdk-0.1.2.tar.gz | 13.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| runit_sdk-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.6 kB
Release files / runit_sdk-0.1.2.tar.gz
| Download URL | runit_sdk-0.1.2.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89220707dded51c3ee0e654bdf3abd2fc98809e5c6c256daa7dc23829ab0136f
|
|
BLAKE2b-256 checksum How to use checksums |
0b24ccbdc0bbc0501e99133c8a41f894b57c658f6da6b3df0fb1801d5c9790bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 19, 2026.
Transparency logRelease files / runit_sdk-0.1.2-py3-none-any.whl
| Download URL | runit_sdk-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f65feb1329bfd514584aa41fe415da90f6df98a91e8599b54a5bf4802aba08b
|
|
BLAKE2b-256 checksum How to use checksums |
6c70e54f1e1cc73eeb4067ddd7fa03eee8ccbfa7137c322b8894f0ecfd109369
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 19, 2026.
Transparency log