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-1.0.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-1.0.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: depotpy-1.0.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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 65189d60bc7d06c9812dfcde62985ad9f860c04bf27430b43f119be9f45ac2d1
MD5 7180dcc09f2e3096fbf855947c15b01b
BLAKE2b-256 7b48a485dd1a15ada357da0fbdd21b3484a6458cce742762a7d30ff2643e762e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for depotpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f64dafda5744b3547dd0a8203027e4d590084a5d1cbf3c1dd8b842379503a0c3
MD5 37efda9cf46d18c8a505bae62d6f3f00
BLAKE2b-256 e6f7508502e175504b2cf63e6538af47a1674e227e67ff44d4b00d5bcd77c557

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