floo sandboxes for Python
Sandboxes for your agents on floo, with the API of Modal's Python
Sandbox. A sandbox's files live in a workspace, so reading and editing them needs no
machine. A micro-VM attaches when a command runs and lets go once the sandbox goes idle, and
the sandbox keeps its files, env and id between machines.
Install
pip install floo-sandbox
It needs Python 3.10 or later, and it has no dependencies.
Sign in
Set FLOO_API_KEY to a floo API key. A key that belongs to one org acts in it. For a
person's key, set FLOO_ORG_ID to the org the program acts in.
Run a command
import floo_sandbox as modal
app = modal.App.lookup("my-agent", create_if_missing=True)
sandbox = modal.Sandbox.create(app=app, image=modal.Image.debian_slim(), timeout=600)
sandbox.filesystem.write_text('print("hello from floo")', "/tmp/hello.py")
process = sandbox.exec("python3", "/tmp/hello.py")
print(process.stdout.read())
sandbox.terminate()
A program written for Modal runs after changing its import to import floo_sandbox as modal
and signing in with a floo key. The docs list where floo differs from Modal:
docs.getfloo.com.
Versions
Every call says which version of the protocol this SDK speaks. When floo no longer serves
it, the call fails with a message to upgrade: pip install --upgrade floo-sandbox.
License
MIT.
Metadata
Release files for floo-sandbox 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| floo_sandbox-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for floo_sandbox-0.2.0-py3-none-any.whl |
Release files / floo_sandbox-0.2.0-py3-none-any.whl
| Download URL | floo_sandbox-0.2.0-py3-none-any.whl |
|---|---|
| Size | 78.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94723b3968a3980faedfb8f1ddfb30ba1a1c7ac381ff5e541e4a335e8fed264f
|
|
BLAKE2b-256 checksum How to use checksums |
2310669ce5792b1c76f51c2ab13015b93f5a2a4d8b8a82a41fdd35a3cbdeeb68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for floo-sandbox 0.2.0
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.