Skip to main content

cloudrun

简体中文

Run local Python computations on a Linux cloud server. Cloudrun syncs changed project files, sets up the Python environment, streams logs during the job, and downloads results when the job exits.

Provider Alibaba Cloud AWS Azure Google Cloud Tencent Cloud Huawei Cloud DigitalOcean
Instance automation ✅ ❌ ❌ ❌ ❌ ❌ ❌

Quick start

  1. Install the CLI with uv.

    uv tool install pycloudrun
    

    The standard installation includes the Alibaba Cloud SDK. To install from a source checkout in editable mode, run uv tool install --editable . from the repository root.

  2. Run cloudrun init in your project directory to generate config_cloudrun.yaml. If you have a Cloudrun configuration from an earlier release, rename it from config.yaml to config_cloudrun.yaml to keep your settings.

  3. Fill in config_cloudrun.yaml. For an existing server, configure the SSH connection under server and set provider.aliyun.enabled to false. For Alibaba Cloud provisioning, set provider.aliyun.enabled to true and provide ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET as environment variables.

  4. Submit your Python script or module from the project directory.

    cloudrun run script.py
    cloudrun run -m my_package.my_module
    

Commands

Command What it does
init [directory] [--force] Generate config_cloudrun.yaml.
size Estimate the full upload size locally. Applies sync.exclude and counts env.wheels separately.
push Sync project files and the Python environment without starting a job.
run [python arguments…] Sync and run a job, stream its logs, and download results when it exits. Set run.detach to start the job in the background.
fetch Download new and changed files.
logs [--tail N] [--follow] View or follow job logs.
status Check whether the job is running.
up Create or start an instance and obtain its public IP address.
down Stop the instance.
destroy [--cleanup] Release the instance. Use --cleanup to also remove the associated network resources and key pair.

Metadata

Release files for pycloudrun 0.3.8

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

Source distribution (sdist)

Source distribution for pycloudrun 0.3.8
File Size Uploaded Provenance Actions
pycloudrun-0.3.8.tar.gz 26.5 kB Without provenance Details for pycloudrun-0.3.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pycloudrun 0.3.8
File Interpreter ABI Platform Actions
pycloudrun-0.3.8-py3-none-any.whl Python 3 none any Details for pycloudrun-0.3.8-py3-none-any.whl

Total release size: 57.1 kB

Release files / pycloudrun-0.3.8.tar.gz

Download URL pycloudrun-0.3.8.tar.gz
Size 26.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7b6f7ea6fa17cdb5a6ac1caf017c92a9ff9d864d9f15279670ec57245440bad4
BLAKE2b-256 checksum
How to use checksums
d543745947b7f471b6fd30ec2a3dfc4d31772f84ae87a62cea3da3819cea2e6b
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}

Release files / pycloudrun-0.3.8-py3-none-any.whl

Download URL pycloudrun-0.3.8-py3-none-any.whl
Size 30.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29452fa8930cf86f3dd269bac4bd3306a33018733f4594ceeefd4d7ce1212a54
BLAKE2b-256 checksum
How to use checksums
c3c5a010d3b1509348dd23573b26c7aa10fd0be554bfd692cf146d69ae1caf31
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 pycloudrun 0.3.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.

Release history Release notifications | RSS feed

This release

0.3.8 This release

2 release files No provenance

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