Skip to main content

Build cross-platform offline installation packages for Python projects

Project description

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

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

depotpy-0.3.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

depotpy-0.3.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file depotpy-0.3.0.tar.gz.

File metadata

  • Download URL: depotpy-0.3.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for depotpy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 52eaebd96dd1414d46871a7c10b95715024ee74cd9194901e53ce8f0f633b563
MD5 b21527383c51d85cd0335a02781bc203
BLAKE2b-256 0137ee009425085e92f5d679cf54657b02cf557088f14853effaab7d363871f1

See more details on using hashes here.

File details

Details for the file depotpy-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: depotpy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for depotpy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92688bf432948d06be23147db7c18d93d24fd4aac0d406ecb8e9d09ef8019f24
MD5 0ba3d779d626da9ad450a6c527f36f93
BLAKE2b-256 ea5591f7c96203206c35bce27cb2c3dffc3a113305e157a0768327542f6e9ba8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page