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.1.0/docker_compose_py-5.7.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.7.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.7.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.7.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.7.1.0
File Actions
docker_compose_py-5.7.1.0-py2.py3-none-win_arm64.whl Python 3, Python 2 none Windows ARM64 Details for docker_compose_py-5.7.1.0-py2.py3-none-win_arm64.whl
docker_compose_py-5.7.1.0-py2.py3-none-win_amd64.whl Python 2, Python 3 none Windows x86-64 Details for docker_compose_py-5.7.1.0-py2.py3-none-win_amd64.whl
docker_compose_py-5.7.1.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.1.0-py2.py3-none-manylinux_2_17_x86_64.whl
docker_compose_py-5.7.1.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.1.0-py2.py3-none-manylinux_2_17_aarch64.whl
docker_compose_py-5.7.1.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.1.0-py2.py3-none-macosx_11_0_arm64.whl
docker_compose_py-5.7.1.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.1.0-py2.py3-none-macosx_10_9_x86_64.whl

Total release size: 67.0 MB

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

Download URL docker_compose_py-5.7.1.0-py2.py3-none-win_arm64.whl
Size 10.5 MB
Tags Python 2 Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
4035ff505e115292677f22beaed9bc32902f0ea0821b175c634bee37b4d56d2b
BLAKE2b-256 checksum
How to use checksums
dcb7a2f73b5355024e8c0a6744ee79c81ae5c9a1fbc1383919080f79a753bee7
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.1.0-py2.py3-none-win_amd64.whl

Download URL docker_compose_py-5.7.1.0-py2.py3-none-win_amd64.whl
Size 11.8 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ff1f91467197b361722a9eca54d7f0a922b5f12b552705d86fdf9a30cd72f5d4
BLAKE2b-256 checksum
How to use checksums
7a728bd69e9825e036262ba2b547d5b43ef2945d038e117a4da762d026e2d653
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.1.0-py2.py3-none-manylinux_2_17_x86_64.whl

Download URL docker_compose_py-5.7.1.0-py2.py3-none-manylinux_2_17_x86_64.whl
Size 11.6 MB
Tags Linux glibc 2.17+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
691538cee8e64178d3d937dc3d1440e2a8db869d8132e5b7d77da72df9a14590
BLAKE2b-256 checksum
How to use checksums
abda59ebc910673dfb33756b072ced4ce36a0c8812effc3f11e7582b12febb59
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.1.0-py2.py3-none-manylinux_2_17_aarch64.whl

Download URL docker_compose_py-5.7.1.0-py2.py3-none-manylinux_2_17_aarch64.whl
Size 10.5 MB
Tags Linux glibc 2.17+ ARM64 Python 2 Python 3
SHA-256 checksum
How to use checksums
e998513eb738eaea9339bffaeff7982aa3bf2ceac2f2491ca2dac3353e2e3dd5
BLAKE2b-256 checksum
How to use checksums
1d36fce295c56863fa9f2250f91f66a73366cf6930c9af94427528ef5b5e8312
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.1.0-py2.py3-none-macosx_11_0_arm64.whl

Download URL docker_compose_py-5.7.1.0-py2.py3-none-macosx_11_0_arm64.whl
Size 10.7 MB
Tags Python 2 Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3c154c877bfdee2c82e52f3004bc6785dade9b7459fe52d3897429817a06bd50
BLAKE2b-256 checksum
How to use checksums
d87f0f19d317ee08820b426298afa415ba0c3f0d9edc33a3892656a14c65ece9
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.1.0-py2.py3-none-macosx_10_9_x86_64.whl

Download URL docker_compose_py-5.7.1.0-py2.py3-none-macosx_10_9_x86_64.whl
Size 11.9 MB
Tags Python 2 Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7c98d18712cd859cba857623d2e63ce754ce125962c3ddf7f172111a89b73bbe
BLAKE2b-256 checksum
How to use checksums
417d2a3eabd70bdcbcfd09e2958c896b62f81cbf0adf8775022c53a40becc599
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.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.

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