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.4.0.0/docker_compose_py-5.4.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.4.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.4.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.4.0.0-py2.py3-none-win_arm64.whl (14.0 MB view details)

Uploaded Python 2Python 3Windows ARM64

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

Uploaded Python 2Python 3Windows x86-64

docker_compose_py-5.4.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.4.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.4.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.4.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.4.0.0-py2.py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for docker_compose_py-5.4.0.0-py2.py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 3cc0335353f82fe75dfec8a95b964332516d74098a0e08f6dda09fe4b7757d5a
MD5 ad8b1be857f601235af283102836dfe1
BLAKE2b-256 aefa8bfdb974e749db5c4185e96bcbdb91294208643f5dd44c223cb00e70d3ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.4.0.0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 19f70b7664ae022de9fe560bf2b690d19e8855fe7abca08f03e35b781de9944f
MD5 426b37e39cec22a27e3d68e3820b7ca2
BLAKE2b-256 7c61655e53516325b0343a997c386d89bd1e970373c1c62731be3606fbf2699d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.4.0.0-py2.py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e423efeab36b6731147051e2d578ed5400ee11a9535b038def106f1ab69b8761
MD5 cf5a4b734be64948d774e77b5ff7ec5a
BLAKE2b-256 62fb2c5db06eecd570cd4e27e17a07c5060dea8ae70484bc4a5f4dd00adb82b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.4.0.0-py2.py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 1f9914f2851b1fbaa6f091ccc5f888e5379ec86c3eb4b17f0672f9f847c23439
MD5 e68fa486372153ad8f8ea04c7528f0ec
BLAKE2b-256 534c21024a720d6b575155f0cedcab4a7917b8f50358f483ed7394f837482a29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.4.0.0-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 836de25d384261fdb65175a6e1a5c230f826ccaee2d039caf7b1211e900a9ff5
MD5 80af681e708956a74c9c8d69b4d87821
BLAKE2b-256 ec7366cfc45540dd68e9c84b518aa045088f266e6d745931e4e175c898085503

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_compose_py-5.4.0.0-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0c3bff412833d6422325a432d96d8a847c8ca506779212e4e080eb234cfb5333
MD5 f44d8c2e78d4cabf447cb0dcc555871b
BLAKE2b-256 fdf01bb65ba460c932b020006c9083330c7dd0d6f45b2656081953bf20205f1b

See more details on using hashes here.

Release history Release notifications | RSS feed

5.5.1.0

6 files

5.5.0.0

6 files

This release

5.4.0.0 This release

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