Add initial implementation of Docker Compose manager and example usage

- Introduced DockerComposeManager class for programmatically creating and managing Docker Compose YAML files.
- Added example script demonstrating usage of DockerComposeManager.
- Created tests for service creation, modification, and removal.
- Included project metadata in pyproject.toml and added linting instructions in copilot-instructions.md.
This commit is contained in:
2025-06-18 03:45:48 +02:00
parent 49e72e82a0
commit 63160d682f
7 changed files with 252 additions and 0 deletions

14
pyproject.toml Normal file
View File

@ -0,0 +1,14 @@
[project]
name = "compose"
version = "0.1.0"
description = "A simple Python package for managing Docker Compose files"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"pytest>=8.4.0",
"pyyaml>=6.0.2",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"