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 is organized as a small standard-library-only CLI pipeline:
depotpy.cliparsespack,inspect, andinstall, then dispatches to the command modules.PackBuilderorchestrates project detection, platform resolution, package download, manifest generation, and tarball creation.- The offline bundle contains
manifest.json,packages/, and a generatedREADME.md. inspectreadsmanifest.jsonfrom an existing bundle, whileinstallextracts the bundle and runspip 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd0c2738e16f35c2b61d34764220bf0e3651d3ee05fa71a27c6988a39c365d0d
|
|
| MD5 |
06803aab40155c853af8520c324b635f
|
|
| BLAKE2b-256 |
8c480ef1ee4df5cacb29ae7114d76f0204c5e135316d8ab0ed29890241a97ff2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4276169de486c3956553fe6845ed409570d532db03dedc360bc38ac814408d7
|
|
| MD5 |
1b6a1d2c8a3a695660c21b7bd4aeb393
|
|
| BLAKE2b-256 |
9aeb68d31877bd7aafb240e3c689fd0852bcda9fd63eb811294f5e638b25d2af
|