Not using Python? Here are other supported languages!
Testcontainers for Python is a Python library that makes it simple to create and clean up container-based dependencies for automated integration or smoke tests. The easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.
To start using Testcontainers for Python, see the quickstart guide.
!!!note
If you need a high-level explanation of _Testcontainers_, see the [main website](https://testcontainers.com/getting-started/).
Inline documentation and docs where the code lives are crucial for us. Testcontainers For Python follows the PEP 257{:target="_blank"} comment conventions. The codebase previously supported Sphinx, so you may encounter comments not yet updated for the new documentation style.
- Timescale - Uses testcontainers-python in their pgai project for testing PostgreSQL integrations, AI model interactions, and AWS service integrations.
- Redis - Depends on testcontainers-python for their Redis vector library implementation.
- Apache - Uses testcontainers-python in their Skywalking project for an application performance monitoring tool in distributed systems.
See LICENSE{:target="_blank"}.
Copyright (c) 2015-2021 Sergey Pirogov and other authors.
See AUTHORS{:target="_blank"} for contributors.