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.7.0.0/docker_compose_py-5.7.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.7.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.7.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.

Metadata

Release files for docker-compose-py 5.7.0.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.7.0.0
File Actions
docker_compose_py-5.7.0.0-py2.py3-none-win_arm64.whl Python 3, Python 2 none Windows ARM64 Details for docker_compose_py-5.7.0.0-py2.py3-none-win_arm64.whl
docker_compose_py-5.7.0.0-py2.py3-none-win_amd64.whl Python 2, Python 3 none Windows x86-64 Details for docker_compose_py-5.7.0.0-py2.py3-none-win_amd64.whl
docker_compose_py-5.7.0.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.7.0.0-py2.py3-none-manylinux_2_17_x86_64.whl
docker_compose_py-5.7.0.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.7.0.0-py2.py3-none-manylinux_2_17_aarch64.whl
docker_compose_py-5.7.0.0-py2.py3-none-macosx_11_0_arm64.whl Python 3, Python 2 none macOS 11.0+ ARM64 Details for docker_compose_py-5.7.0.0-py2.py3-none-macosx_11_0_arm64.whl
docker_compose_py-5.7.0.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.7.0.0-py2.py3-none-macosx_10_9_x86_64.whl

Total release size: 66.1 MB

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

Download URL docker_compose_py-5.7.0.0-py2.py3-none-win_arm64.whl
Size 10.4 MB
Tags Python 2 Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
02ebf1f745191e62202697febb7bb9163139bcdf7e60c2d95a83b1b8f34ac3e0
BLAKE2b-256 checksum
How to use checksums
565cb3143a9990b6c0511b8410f5e204b9636650d9dc0a9c77a913c73132f9be
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.7.0.0-py2.py3-none-win_amd64.whl

Download URL docker_compose_py-5.7.0.0-py2.py3-none-win_amd64.whl
Size 11.7 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
857d05ba60a80ec5fb14dbafc80560b929b01dc2db8abd48559e413a8ad71830
BLAKE2b-256 checksum
How to use checksums
e9ee0b03ba490a38ae0ac884b9a8ec8a5c09f539ec5727a5983a069e69c569be
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.7.0.0-py2.py3-none-manylinux_2_17_x86_64.whl

Download URL docker_compose_py-5.7.0.0-py2.py3-none-manylinux_2_17_x86_64.whl
Size 11.5 MB
Tags Linux glibc 2.17+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
9162bbf6df17b072cb3eb0131679b48f406318d365ceafc26f0e7ccc5cf2a8dd
BLAKE2b-256 checksum
How to use checksums
0dbde9b3ec4aa1b6eba24dabfe7a53a3538722b4015f1fdfe626eb80fca67f5b
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.7.0.0-py2.py3-none-manylinux_2_17_aarch64.whl

Download URL docker_compose_py-5.7.0.0-py2.py3-none-manylinux_2_17_aarch64.whl
Size 10.3 MB
Tags Linux glibc 2.17+ ARM64 Python 2 Python 3
SHA-256 checksum
How to use checksums
addfb9d48799aa3c509e383b8f569c17eb27151692c71d90fa8b64c752a8a595
BLAKE2b-256 checksum
How to use checksums
5cdf80e23fc64344f7fcdb9563bdead42ae30baa5dcf3e61267619005fdec37a
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.7.0.0-py2.py3-none-macosx_11_0_arm64.whl

Download URL docker_compose_py-5.7.0.0-py2.py3-none-macosx_11_0_arm64.whl
Size 10.6 MB
Tags Python 2 Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
30f5fb177adbcdfe7f97c5a5d13c7bd02fb1ab86049b491f9dc32c78bf5a5956
BLAKE2b-256 checksum
How to use checksums
ca387e3f9c33ed2b67cf6b7ca0fbdb3e1b9b4e6bcac9b94920b8ec7ce48686a2
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.7.0.0-py2.py3-none-macosx_10_9_x86_64.whl

Download URL docker_compose_py-5.7.0.0-py2.py3-none-macosx_10_9_x86_64.whl
Size 11.7 MB
Tags Python 2 Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
5853ee865c076c5403efdb319f1f717c9972798b56c8a7338b9781a0a54dc952
BLAKE2b-256 checksum
How to use checksums
8398dd3c88d030bf9ab73f520026dfdd0db49f8dbf48c635905ac32fda1ac32d
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.7.0.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