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.2.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.2.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: depotpy-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 cd0c2738e16f35c2b61d34764220bf0e3651d3ee05fa71a27c6988a39c365d0d
MD5 06803aab40155c853af8520c324b635f
BLAKE2b-256 8c480ef1ee4df5cacb29ae7114d76f0204c5e135316d8ab0ed29890241a97ff2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: depotpy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4276169de486c3956553fe6845ed409570d532db03dedc360bc38ac814408d7
MD5 1b6a1d2c8a3a695660c21b7bd4aeb393
BLAKE2b-256 9aeb68d31877bd7aafb240e3c689fd0852bcda9fd63eb811294f5e638b25d2af

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