langchain-ppio
langchain-ppio provides a PPIO sandbox backend for Deep Agents, implemented with the PPIO E2B-compatible API.
Install
uv add langchain-ppio
Quick Start
import os
from pathlib import Path
from e2b import Sandbox
from langchain_ppio import PPIOSandbox
# Required for PPIO E2B compatibility
os.environ.setdefault("E2B_DOMAIN", "sandbox.ppio.cn")
if not os.getenv("E2B_API_KEY") and Path("ppio_key").exists():
os.environ["E2B_API_KEY"] = Path("ppio_key").read_text().strip()
sandbox = Sandbox.create()
backend = PPIOSandbox(sandbox=sandbox)
result = backend.execute("echo hello")
print(result.output)
sandbox.kill()
Run Smoke Test
uv run langchain-ppio-smoke
The smoke command reads E2B_API_KEY first, then falls back to ppio_key.
E2B_DOMAIN defaults to sandbox.ppio.cn.
Build & Publish With uv
uv build
uv publish
Metadata
Release files for langchain-ppio 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| langchain_ppio-0.0.5.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_ppio-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / langchain_ppio-0.0.5.tar.gz
| Download URL | langchain_ppio-0.0.5.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
729d49733450a61fe287d01c8b38297c9e6502618e5a6fa2c1ea5e17b7b55ccd
|
|
BLAKE2b-256 checksum How to use checksums |
96a0ea8e3e7bb65a42822d5127a66d6860547efd76538726e050eb2bbca94766
|
| 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 4, 2026.
Transparency logRelease files / langchain_ppio-0.0.5-py3-none-any.whl
| Download URL | langchain_ppio-0.0.5-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a24c72ccdb66aab15b325df73812a08e06ad53d9ff26813b3c68c8d2190a6c1
|
|
BLAKE2b-256 checksum How to use checksums |
11c2a340e1b3883a87ed3f0caa6c14581ea77b8417a60714f51800c2924801e0
|
| 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 4, 2026.
Transparency log