Skip to main content

docker-compose-py

CI PyPI

A Python wrapper to provide a pip-installable Docker Compose CLI (docker-compose) binary.

Installation

pip install docker-compose-py

Or install a platform wheel directly from a GitHub Release (for air-gapped/offline use):

pip install https://github.com/neeve-ai/docker-compose-py/releases/download/v5.8.1.0/docker_compose_py-5.8.1.0-py2.py3-none-manylinux_2_17_x86_64.whl

Usage

After installation, the docker-compose binary is available in your environment:

docker-compose version
docker-compose config --quiet

As a pre-commit hook

Add to your .pre-commit-config.yaml:

- repo: https://github.com/neeve-ai/docker-compose-py
  rev: v5.8.1.0
  hooks:
  - id: docker-compose

This runs docker-compose config --quiet to validate the default compose file (compose.yml or docker-compose.yml in the current directory).

To validate a non-default file:

- repo: https://github.com/neeve-ai/docker-compose-py
  rev: v5.8.1.0
  hooks:
  - id: docker-compose
    args: [-f, path/to/docker-compose.yml, config, --quiet]

Supported Platforms

Platform Architecture
Linux x86_64, aarch64
macOS x86_64, arm64
Windows x86_64 (AMD64), arm64 (ARM64)

Note: Only the two mainstream Linux architectures (x86_64 and aarch64) are supported, as PyPI does not support exotic Linux wheel tags (armv6l, armv7l, ppc64le, riscv64, s390x) in its registry. Windows x86 (32-bit) and Linux i686 are also unsupported.

Updating to a new Docker Compose version

./update_version.sh 5.4.0

This downloads the checksums.txt from the new release and regenerates setup.cfg with updated URLs and SHA-256 hashes for all 6 supported platforms.

Metadata

Release files for docker-compose-py 5.8.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for docker-compose-py 5.8.1.0
File Actions
docker_compose_py-5.8.1.0-py2.py3-none-win_arm64.whl Python 3, Python 2 none Windows ARM64 Details for docker_compose_py-5.8.1.0-py2.py3-none-win_arm64.whl
docker_compose_py-5.8.1.0-py2.py3-none-win_amd64.whl Python 2, Python 3 none Windows x86-64 Details for docker_compose_py-5.8.1.0-py2.py3-none-win_amd64.whl
docker_compose_py-5.8.1.0-py2.py3-none-manylinux_2_17_x86_64.whl Python 3, Python 2 none Linux glibc 2.17+ x86-64 Details for docker_compose_py-5.8.1.0-py2.py3-none-manylinux_2_17_x86_64.whl
docker_compose_py-5.8.1.0-py2.py3-none-manylinux_2_17_aarch64.whl Python 2, Python 3 none Linux glibc 2.17+ ARM64 Details for docker_compose_py-5.8.1.0-py2.py3-none-manylinux_2_17_aarch64.whl
docker_compose_py-5.8.1.0-py2.py3-none-macosx_11_0_arm64.whl Python 3, Python 2 none macOS 11.0+ ARM64 Details for docker_compose_py-5.8.1.0-py2.py3-none-macosx_11_0_arm64.whl
docker_compose_py-5.8.1.0-py2.py3-none-macosx_10_9_x86_64.whl Python 2, Python 3 none macOS 10.9+ x86-64 Details for docker_compose_py-5.8.1.0-py2.py3-none-macosx_10_9_x86_64.whl

Total release size: 67.1 MB

Release files / docker_compose_py-5.8.1.0-py2.py3-none-win_arm64.whl

Download URL docker_compose_py-5.8.1.0-py2.py3-none-win_arm64.whl
Size 10.5 MB
Tags Python 2 Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
7b363f2bb90d0750118ebdff7b7529d61e5f5c04394341611117066a232b02a1
BLAKE2b-256 checksum
How to use checksums
72c1bbf5e045e7e8246a9dd016d48ecdfb3711c4f03404e6544bb8a44dc56596
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / docker_compose_py-5.8.1.0-py2.py3-none-win_amd64.whl

Download URL docker_compose_py-5.8.1.0-py2.py3-none-win_amd64.whl
Size 11.9 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
bbfd493b917827e3a7813e35984b1605eee795170e74b9d35aa743c2689d6fc9
BLAKE2b-256 checksum
How to use checksums
8831e10937074d14fd1ce370a15c30a00ad608a535b30c35e07481060cfd2ce1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / docker_compose_py-5.8.1.0-py2.py3-none-manylinux_2_17_x86_64.whl

Download URL docker_compose_py-5.8.1.0-py2.py3-none-manylinux_2_17_x86_64.whl
Size 11.6 MB
Tags Linux glibc 2.17+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
f41129d6ada76a4dd80b9a379c2ef78792c6f9e639b7d65c09201cd6c57a33c2
BLAKE2b-256 checksum
How to use checksums
d04f4d92b785c63a46d36911d3705cf10c570b1ac19e90c4814911bdc7484dd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / docker_compose_py-5.8.1.0-py2.py3-none-manylinux_2_17_aarch64.whl

Download URL docker_compose_py-5.8.1.0-py2.py3-none-manylinux_2_17_aarch64.whl
Size 10.5 MB
Tags Linux glibc 2.17+ ARM64 Python 2 Python 3
SHA-256 checksum
How to use checksums
a01e3d3aa70cfa16f2356f34f85fd122bf9fa9faae3b19f04423cbe91c86fef3
BLAKE2b-256 checksum
How to use checksums
67e3e72558eba688172edaddb048011d4499b0f95a567cb3d0ae2c80219f91e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / docker_compose_py-5.8.1.0-py2.py3-none-macosx_11_0_arm64.whl

Download URL docker_compose_py-5.8.1.0-py2.py3-none-macosx_11_0_arm64.whl
Size 10.7 MB
Tags Python 2 Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
24b3d7b80adab40d3583ff8f88c1adccfc5f437ee6dee4d4e0a3ff6c5a339fbb
BLAKE2b-256 checksum
How to use checksums
27a609171522f5dfc256e93b6950b54fb29cfa8fb66eb5ce38d2d5c590277db7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / docker_compose_py-5.8.1.0-py2.py3-none-macosx_10_9_x86_64.whl

Download URL docker_compose_py-5.8.1.0-py2.py3-none-macosx_10_9_x86_64.whl
Size 11.9 MB
Tags Python 2 Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
fd5afc0a17f7110a61d3dc8254c4d6c6b2d70a77c0ab361b94effa352cfdfe2c
BLAKE2b-256 checksum
How to use checksums
8f8302dc4d50108beac1fd860da99929e7e482ca638d4eec22080903652ad885
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for docker-compose-py 5.8.1.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