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.8.0.0/docker_compose_py-5.8.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.8.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.8.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.8.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.8.0.0
File Actions
docker_compose_py-5.8.0.0-py2.py3-none-win_arm64.whl Python 3, Python 2 none Windows ARM64 Details for docker_compose_py-5.8.0.0-py2.py3-none-win_arm64.whl
docker_compose_py-5.8.0.0-py2.py3-none-win_amd64.whl Python 3, Python 2 none Windows x86-64 Details for docker_compose_py-5.8.0.0-py2.py3-none-win_amd64.whl
docker_compose_py-5.8.0.0-py2.py3-none-manylinux_2_17_x86_64.whl Python 2, Python 3 none Linux glibc 2.17+ x86-64 Details for docker_compose_py-5.8.0.0-py2.py3-none-manylinux_2_17_x86_64.whl
docker_compose_py-5.8.0.0-py2.py3-none-manylinux_2_17_aarch64.whl Python 3, Python 2 none Linux glibc 2.17+ ARM64 Details for docker_compose_py-5.8.0.0-py2.py3-none-manylinux_2_17_aarch64.whl
docker_compose_py-5.8.0.0-py2.py3-none-macosx_11_0_arm64.whl Python 2, Python 3 none macOS 11.0+ ARM64 Details for docker_compose_py-5.8.0.0-py2.py3-none-macosx_11_0_arm64.whl
docker_compose_py-5.8.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.8.0.0-py2.py3-none-macosx_10_9_x86_64.whl

Total release size: 67.8 MB

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

Download URL docker_compose_py-5.8.0.0-py2.py3-none-win_arm64.whl
Size 10.7 MB
Tags Python 2 Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
e97133f0602a2a870187a65078f3741e3937a54a314aae3350967c67e953d544
BLAKE2b-256 checksum
How to use checksums
8ff4338a0596e3fd701819ad452b37a15a2c9563c02e5970fb71bef5ab0c154f
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.8.0.0-py2.py3-none-win_amd64.whl

Download URL docker_compose_py-5.8.0.0-py2.py3-none-win_amd64.whl
Size 12.0 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
63005734dea232129758c36b5f3a3643aeba78c922047b3f2883d1c92662fb8a
BLAKE2b-256 checksum
How to use checksums
e3c8185bcc0a888efca4e78d39ddaebccf0ea865c836b48b0ec315b700ea202f
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.8.0.0-py2.py3-none-manylinux_2_17_x86_64.whl

Download URL docker_compose_py-5.8.0.0-py2.py3-none-manylinux_2_17_x86_64.whl
Size 11.8 MB
Tags Linux glibc 2.17+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
140c6309458663127dc314345a39941d3304ad01274bd2e179b0818c609e328e
BLAKE2b-256 checksum
How to use checksums
760d7e1ee67df861c74f4df44014df60203f267fdc7d2c1f047ef57dc2cbd816
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.8.0.0-py2.py3-none-manylinux_2_17_aarch64.whl

Download URL docker_compose_py-5.8.0.0-py2.py3-none-manylinux_2_17_aarch64.whl
Size 10.6 MB
Tags Linux glibc 2.17+ ARM64 Python 2 Python 3
SHA-256 checksum
How to use checksums
9b921c1c330308c040b361d835cc0e974fd2a2d36ba01ac5358ef5e1bf6aa095
BLAKE2b-256 checksum
How to use checksums
568ed369d6b2933136c4d3af3a7d632d841096dc1288f7a8606dd8d9b081e69d
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.8.0.0-py2.py3-none-macosx_11_0_arm64.whl

Download URL docker_compose_py-5.8.0.0-py2.py3-none-macosx_11_0_arm64.whl
Size 10.8 MB
Tags Python 2 Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fbd2815668f20317e36d792e2e2411fb56a6a9753833b89ce2f5c93957f55455
BLAKE2b-256 checksum
How to use checksums
c0f1e139bbd1e83ea85a95c8f1adc60e9d6b5d8bbb0ca9dba628d42f3faa7a2d
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.8.0.0-py2.py3-none-macosx_10_9_x86_64.whl

Download URL docker_compose_py-5.8.0.0-py2.py3-none-macosx_10_9_x86_64.whl
Size 12.0 MB
Tags Python 2 Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
d9702dc66e7ed57ec0f8840296e0575b41a52cf35c08c70dad577c5e1ec667ee
BLAKE2b-256 checksum
How to use checksums
0c7877eb30ba8c7c628cef7f26e86af0c3c4eb39856e56f35d870bdbef0ed151
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.8.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