PPIO sandbox integration for Deep Agents
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_ppio-0.0.5.tar.gz.
File metadata
- Download URL: langchain_ppio-0.0.5.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
729d49733450a61fe287d01c8b38297c9e6502618e5a6fa2c1ea5e17b7b55ccd
|
|
| MD5 |
29e78c57808d75fdbbb9c93afb4b6c8c
|
|
| BLAKE2b-256 |
96a0ea8e3e7bb65a42822d5127a66d6860547efd76538726e050eb2bbca94766
|
Provenance
The following attestation bundles were made for langchain_ppio-0.0.5.tar.gz:
Publisher:
publish-pypi.yml on zson-two/langchain-ppio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_ppio-0.0.5.tar.gz -
Subject digest:
729d49733450a61fe287d01c8b38297c9e6502618e5a6fa2c1ea5e17b7b55ccd - Sigstore transparency entry: 1025801596
- Sigstore integration time:
-
Permalink:
zson-two/langchain-ppio@f3f778be3addf59e6fb92ec5e1b959cda5c8af31 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/zson-two
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f3f778be3addf59e6fb92ec5e1b959cda5c8af31 -
Trigger Event:
push
-
Statement type:
File details
Details for the file langchain_ppio-0.0.5-py3-none-any.whl.
File metadata
- Download URL: langchain_ppio-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a24c72ccdb66aab15b325df73812a08e06ad53d9ff26813b3c68c8d2190a6c1
|
|
| MD5 |
5ea0b79facb2bde2f6af106737b90769
|
|
| BLAKE2b-256 |
11c2a340e1b3883a87ed3f0caa6c14581ea77b8417a60714f51800c2924801e0
|
Provenance
The following attestation bundles were made for langchain_ppio-0.0.5-py3-none-any.whl:
Publisher:
publish-pypi.yml on zson-two/langchain-ppio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langchain_ppio-0.0.5-py3-none-any.whl -
Subject digest:
8a24c72ccdb66aab15b325df73812a08e06ad53d9ff26813b3c68c8d2190a6c1 - Sigstore transparency entry: 1025801766
- Sigstore integration time:
-
Permalink:
zson-two/langchain-ppio@f3f778be3addf59e6fb92ec5e1b959cda5c8af31 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/zson-two
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f3f778be3addf59e6fb92ec5e1b959cda5c8af31 -
Trigger Event:
push
-
Statement type: