floom SDK
Python SDK for building apps on floom.
Installation
The SDK is automatically available in the floom runtime. For local development:
pip install -e .
Or install from PyPI:
pip install floom-sdk
Quick Start
from floom 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 floom, 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=floom --cov-report=html
License
MIT
Metadata
Release files for floom-sdk 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| floom_sdk-0.1.8.tar.gz | 16.0 kB | Without provenance | Details for floom_sdk-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| floom_sdk-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for floom_sdk-0.1.8-py3-none-any.whl |
Total release size: 26.4 kB
Release files / floom_sdk-0.1.8.tar.gz
| Download URL | floom_sdk-0.1.8.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e070df437121ea0d373fe12bddb8943e3007680021490a1ac4aaff5b71a45ba
|
|
BLAKE2b-256 checksum How to use checksums |
5ee2f0564128446c1dabc55e697a6e825597fa93384011d66f5e641238d10392
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / floom_sdk-0.1.8-py3-none-any.whl
| Download URL | floom_sdk-0.1.8-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a65fbf3e8f6da3510efef90a958401a4b4ab323911dc113565e1f83cc90e4fc
|
|
BLAKE2b-256 checksum How to use checksums |
af0ef6debd5a2f7231a533ecbf4c76d4e9109f508d3090a2204ceeb08d264f8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for floom-sdk 0.1.8
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.