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.5.0.0/docker_compose_py-5.5.0.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.5.0.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.5.0.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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

docker_compose_py-5.5.0.0-py2.py3-none-win_arm64.whl (14.0 MB view details)

Uploaded Python 2Python 3Windows ARM64

docker_compose_py-5.5.0.0-py2.py3-none-win_amd64.whl (15.8 MB view details)

Uploaded Python 2Python 3Windows x86-64

docker_compose_py-5.5.0.0-py2.py3-none-manylinux_2_17_x86_64.whl (15.5 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ x86-64

docker_compose_py-5.5.0.0-py2.py3-none-manylinux_2_17_aarch64.whl (13.9 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

docker_compose_py-5.5.0.0-py2.py3-none-macosx_11_0_arm64.whl (14.3 MB view details)

Uploaded Python 2Python 3macOS 11.0+ ARM64

docker_compose_py-5.5.0.0-py2.py3-none-macosx_10_9_x86_64.whl (15.9 MB view details)

Uploaded Python 2Python 3macOS 10.9+ x86-64

File details

Details for the file docker_compose_py-5.5.0.0-py2.py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for docker_compose_py-5.5.0.0-py2.py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ea1927a13838d513ea90534ccad9981684980777770f274d2aaa26270e69d54f
MD5 2e9d415ff9ab82ce6a75180650a33ba6
BLAKE2b-256 765c66ee756df3c8327895dc4e01971ef636d3c98f4644884bd26d5b5d8a744f

See more details on using hashes here.

File details

Details for the file docker_compose_py-5.5.0.0-py2.py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for docker_compose_py-5.5.0.0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bb07e9bd253e428031b19675b821bcd9306a37159abd28339464166e70d0971c
MD5 5340400e0feb33e9e0c2814dfbed136f
BLAKE2b-256 6f32c7a8acb3960e8a45d690bcd467110d0ad9552fe397a379b85af2f1600a5d

See more details on using hashes here.

File details

Details for the file docker_compose_py-5.5.0.0-py2.py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for docker_compose_py-5.5.0.0-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 fb70cc0cef2faf37d7b79d7b5e0235d3543f153fbc5f716489c4e389055acf0d
MD5 ce04bc53d0117004813c7159aa911ad2
BLAKE2b-256 cc08f0af2249f2ea87c6b6bdb08cd8f0f3cf9f81f19a1247fd959bdd5502435a

See more details on using hashes here.

File details

Details for the file docker_compose_py-5.5.0.0-py2.py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for docker_compose_py-5.5.0.0-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 484caf5449601b997cfc22d00cdeadc48ee2beb961e8b408171170e03cad7cb0
MD5 3fb541b0f9e9f052f32f21b0b1be7c97
BLAKE2b-256 66b142cce3a49951365a0e0841ff949e20dd42a35b94974cd9c4f2debbc38fad

See more details on using hashes here.

File details

Details for the file docker_compose_py-5.5.0.0-py2.py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for docker_compose_py-5.5.0.0-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff79f76d3cf6116f7c7a6ecd68a66f6f290487fb100c5b3e3b64896ccff9f678
MD5 6bab1994649e0147083d398b4633036d
BLAKE2b-256 2764cef0d9a943c17cc53ede1b07dc7e51b98bf849581988747e9ddac8f7d13c

See more details on using hashes here.

File details

Details for the file docker_compose_py-5.5.0.0-py2.py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for docker_compose_py-5.5.0.0-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 914cc6891cd11eb00896274ec3a4a59a5ecb5870a6b277a54989c835c51c758f
MD5 7168e99afcc15c7221a1e467d64825af
BLAKE2b-256 78e84c13681fc0cb26dd9d8824fcf67bd192b454a8f0c63c5d1926e3f739952d

See more details on using hashes here.

Release history Release notifications | RSS feed

5.5.1.0

6 files

This release

5.5.0.0 This release

6 files

5.4.0.0

6 files

5.3.1.1

6 files

5.3.1.0

3 files

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