Testcontainers for Python provides lightweight, throwaway instances of services running in Docker containers for integration tests.