Skip to main content

DepotPy

中文文档 | English

Build cross-platform offline installation packages for Python projects.

DepotPy analyzes your project's dependencies, downloads wheels for multiple platforms, and bundles everything into a .tar.gz archive with a manifest and installation instructions. The resulting bundle can be transferred to offline environments and installed with a single pip command.

Features

  • Cross-platform: Download wheels for Linux, macOS, and Windows in one go
  • Auto-detection: Automatically detects your dependency manager (uv, poetry, pdm, pipenv, pip)
  • Offline-ready: Generated bundles work without any network access
  • Verifiable: SHA-256 hashes in manifest.json for integrity checks
  • Library API: Use as a CLI tool or import as a Python library

Installation

pip install depotpy

Quick Start

# Build an offline bundle for the current platform
depotpy pack /path/to/your/project

# Build for multiple platforms
depotpy pack /path/to/project --platform manylinux2014_x86_64 --platform macosx_11_0_arm64

# Build for all supported platforms
depotpy pack /path/to/project --platform all

# Inspect a bundle
depotpy inspect myapp-1.0.0-offline.tar.gz

# Install from a bundle (on the target machine)
depotpy install myapp-1.0.0-offline.tar.gz

Architecture

DepotPy architecture

DepotPy is organized as a small standard-library-only CLI pipeline:

  • depotpy.cli parses pack, inspect, and install, then dispatches to the command modules.
  • PackBuilder orchestrates project detection, platform resolution, package download, manifest generation, and tarball creation.
  • The offline bundle contains manifest.json, packages/, and a generated README.md.
  • inspect reads manifest.json from an existing bundle, while install extracts the bundle and runs pip install --no-index --find-links ./packages.

Documentation

English Chinese
Getting Started 快速上手
CLI Reference CLI 参考
Python API Reference Python API 参考
Architecture 架构设计
Contributing 贡献指南

License

MIT

Metadata

Release files for depotpy 1.0.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 depotpy 1.0.0
File Size Uploaded Provenance Actions
depotpy-1.0.0.tar.gz 1.1 MB Without provenance Details for depotpy-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / depotpy-1.0.0.tar.gz

Download URL depotpy-1.0.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
65189d60bc7d06c9812dfcde62985ad9f860c04bf27430b43f119be9f45ac2d1
BLAKE2b-256 checksum
How to use checksums
7b48a485dd1a15ada357da0fbdd21b3484a6458cce742762a7d30ff2643e762e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / depotpy-1.0.0-py3-none-any.whl

Download URL depotpy-1.0.0-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f64dafda5744b3547dd0a8203027e4d590084a5d1cbf3c1dd8b842379503a0c3
BLAKE2b-256 checksum
How to use checksums
e6f7508502e175504b2cf63e6538af47a1674e227e67ff44d4b00d5bcd77c557
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for depotpy 1.0.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.

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