Skip to main content

opencomputer

Deprecated. opencomputer-sdk 1.2.0 is the final release; the package receives no further updates. It is a client for the OpenComputer sandbox platform, which is shut down. Importing opencomputer emits a FutureWarning.

There is no Python replacement. For Serverless Agents call the management API over HTTP, or use the TypeScript client @opencomputer/sdk/agents (npm install @opencomputer/sdk). Pinning opencomputer-sdk<1.2 avoids the warning.

Python SDK for OpenComputer — cloud sandbox platform.

Install

pip install opencomputer-sdk

Quick Start

import asyncio
from opencomputer import Sandbox

async def main():
    sandbox = await Sandbox.create(template="base")

    # Execute commands
    result = await sandbox.commands.run("echo hello")
    print(result.stdout)  # "hello\n"

    # Read and write files
    await sandbox.files.write("/tmp/test.txt", "Hello, world!")
    content = await sandbox.files.read("/tmp/test.txt")

    # Clean up
    await sandbox.kill()
    await sandbox.close()

asyncio.run(main())

Configuration

Parameter Env Variable Default
api_url OPENCOMPUTER_API_URL https://app.opencomputer.dev
api_key OPENCOMPUTER_API_KEY (none)

License

MIT

Metadata

Release files for opencomputer-sdk 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opencomputer-sdk 1.2.0
File Size Uploaded Provenance Actions
opencomputer_sdk-1.2.0.tar.gz 60.1 kB With provenance Details for opencomputer_sdk-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opencomputer-sdk 1.2.0
File Interpreter ABI Platform Actions
opencomputer_sdk-1.2.0-py3-none-any.whl Python 3 none any Details for opencomputer_sdk-1.2.0-py3-none-any.whl

Total release size: 99.5 kB

Release files / opencomputer_sdk-1.2.0.tar.gz

Download URL opencomputer_sdk-1.2.0.tar.gz
Size 60.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dfb9eac0745900984466bf00afd1cd5cb096dff6fdbf7f9c8a7914e9150eb275
BLAKE2b-256 checksum
How to use checksums
005a8e0d1732f9c2c3cd4b94de449345961939de83fe31be7c23e66a4ca4ded1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 9, 2026.

Transparency log

Release files / opencomputer_sdk-1.2.0-py3-none-any.whl

Download URL opencomputer_sdk-1.2.0-py3-none-any.whl
Size 39.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dec861360c2b718863200ec3840e840e62bae90959cd2204642b0cec05107b72
BLAKE2b-256 checksum
How to use checksums
b980cdd8b2c58bb245b59290c5a37176d7ca70fe8694ccebea2a320e9c79decf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 9, 2026.

Transparency log

Security for opencomputer-sdk 1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for opencomputer_sdk-1.2.0.tar.gz

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 Nov 9, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page