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.6.1.0/docker_compose_py-5.6.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.6.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.6.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.6.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.6.1.0
File
docker_compose_py-5.6.1.0-py2.py3-none-win_arm64.whl Python 2, Python 3 none Windows ARM64 Details
docker_compose_py-5.6.1.0-py2.py3-none-win_amd64.whl Python 3, Python 2 none Windows x86-64 Details
docker_compose_py-5.6.1.0-py2.py3-none-manylinux_2_17_x86_64.whl Python 2, Python 3 none Linux glibc 2.17+ x86-64 Details
docker_compose_py-5.6.1.0-py2.py3-none-manylinux_2_17_aarch64.whl Python 3, Python 2 none Linux glibc 2.17+ ARM64 Details
docker_compose_py-5.6.1.0-py2.py3-none-macosx_11_0_arm64.whl Python 3, Python 2 none macOS 11.0+ ARM64 Details
docker_compose_py-5.6.1.0-py2.py3-none-macosx_10_9_x86_64.whl Python 3, Python 2 none macOS 10.9+ x86-64 Details

Total release size: 64.1 MB

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

Download URL docker_compose_py-5.6.1.0-py2.py3-none-win_arm64.whl
Size 10.1 MB
Tags Python 2 Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
083ee173ad9abf230b9940df0ca9ef31b5fecf5cef1701a24705f6de2edf8e86
BLAKE2b-256 checksum
How to use checksums
40caf1b333a3172eeed40e71cbde46f4291d5862076722c93f263ab30c1ac46b
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.6.1.0-py2.py3-none-win_amd64.whl

Download URL docker_compose_py-5.6.1.0-py2.py3-none-win_amd64.whl
Size 11.3 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a68f997fcbc9610b0c332cb5ef294b1773f3f9b5467e62027ec003764579897c
BLAKE2b-256 checksum
How to use checksums
0ee46c2dca0bb46c00d3326596720e6461022aaf91f1c42b5ce9b17378c92a63
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.6.1.0-py2.py3-none-manylinux_2_17_x86_64.whl

Download URL docker_compose_py-5.6.1.0-py2.py3-none-manylinux_2_17_x86_64.whl
Size 11.1 MB
Tags Linux glibc 2.17+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
c8185b851c0c1badd39647a8ddda50f6daa61cb176049d3c8fb0b8e5e014eac9
BLAKE2b-256 checksum
How to use checksums
6dae24a263724d3020b62c53b6494978bcb3e590a8edb113c47336992115fa22
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.6.1.0-py2.py3-none-manylinux_2_17_aarch64.whl

Download URL docker_compose_py-5.6.1.0-py2.py3-none-manylinux_2_17_aarch64.whl
Size 10.0 MB
Tags Linux glibc 2.17+ ARM64 Python 2 Python 3
SHA-256 checksum
How to use checksums
4260d90fe1391912a36806e6573dea10e5623ea9250df0d8177c04e8847a9224
BLAKE2b-256 checksum
How to use checksums
f351ccfb02d0af583c7943d52a524014a9e863ee482950d69d4ba00f8ba18338
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.6.1.0-py2.py3-none-macosx_11_0_arm64.whl

Download URL docker_compose_py-5.6.1.0-py2.py3-none-macosx_11_0_arm64.whl
Size 10.2 MB
Tags Python 2 Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
39448b0eeee099f9af43a8136a6b6971cc21fc87de7b338376dfa0f670650b49
BLAKE2b-256 checksum
How to use checksums
b41a4153cf6be158ac08df2323fea1fd6df3e84245ae08d86fd7f6a25beeaf85
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.6.1.0-py2.py3-none-macosx_10_9_x86_64.whl

Download URL docker_compose_py-5.6.1.0-py2.py3-none-macosx_10_9_x86_64.whl
Size 11.3 MB
Tags Python 2 Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7ddad4dbe571ef12e16a7812680a6851718db40a229eabc55d6e59d2aac58d09
BLAKE2b-256 checksum
How to use checksums
9dad110db7b963f7e7d73827648cfc4996eefb6e26ba03f686d2c6a075bc5f23
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.6.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.

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