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.1.0/docker_compose_py-5.5.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.5.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.5.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.

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.1.0-py2.py3-none-win_arm64.whl (10.0 MB view details)

Uploaded Python 2Python 3Windows ARM64

docker_compose_py-5.5.1.0-py2.py3-none-win_amd64.whl (11.2 MB view details)

Uploaded Python 2Python 3Windows x86-64

docker_compose_py-5.5.1.0-py2.py3-none-manylinux_2_17_x86_64.whl (11.0 MB view details)

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

docker_compose_py-5.5.1.0-py2.py3-none-manylinux_2_17_aarch64.whl (9.9 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.17+ ARM64

docker_compose_py-5.5.1.0-py2.py3-none-macosx_11_0_arm64.whl (10.2 MB view details)

Uploaded Python 2Python 3macOS 11.0+ ARM64

docker_compose_py-5.5.1.0-py2.py3-none-macosx_10_9_x86_64.whl (11.2 MB view details)

Uploaded Python 2Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.5.1.0-py2.py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 247694801cade82dcb36e731a1028a202acaaa9c4614426e14520ffa76666401
MD5 3ce3b5cf7ee7d5667fadfde0d28a2a02
BLAKE2b-256 ff0de7f109ab60c4453b656e16a3f4ca0da048710b9545aeaca3e1ea5dd6e50b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.5.1.0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bdc765d8ba6a92e2254befd5eb16c2d17a166ebe989d472a12cc6b56b2601b23
MD5 3fd529421a27bfe7af144bdf7d025ee8
BLAKE2b-256 d93b0d58a76c5a15963c7c291aa881df0978e3ea6679f6473601219f5109381f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.5.1.0-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ad6b49f422dfa73196ce31f28c0418fbdea8079b72084046ec8e97bc3e10cd53
MD5 4c0e807134c5b2a3d4a2f3dc885b9837
BLAKE2b-256 acd3ca21a6a1a5c3a34dd1ec2c3ec695efddbb9f34b392411e92c5751d41a42e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.5.1.0-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 5fe13b7ecb80300e18b43b0ff937e422a9e83a531b2415b5c5a6f120a4dbc704
MD5 972c187751ac5b427a5c7dab5bbfd628
BLAKE2b-256 af7d08874bb01115f8462d5c83c466be43f7e125eea3bb35c60e260261590606

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.5.1.0-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 670b44053b61c02809f7174b1e9a33f3bf4703a3547420f6490df22d1a7b9d73
MD5 7e00b1a364ae7d7a89130fc42fc050c8
BLAKE2b-256 6fa8f18a411177d8b664a5aa3ce02f087dff12b26dcecb350129cbbdfa583cff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.5.1.0-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6686e35490eb0523a37cf1efe0f81769d703a9149750b4ded0f60683b780e2e4
MD5 59a0e2402dae0faa299197cb3bc2f9bd
BLAKE2b-256 7b60b8ba4774fff1e7ceee099ac496a01030ebedc06cccb4a1b1b600fe764b38

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

5.5.1.0 This release

6 files

5.5.0.0

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