Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 2.85 KB

File metadata and controls

45 lines (29 loc) · 2.85 KB

Testcontainers for Python

Not using Python? Here are other supported languages!

About Testcontainers For Python

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/).

Code Comments

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.

Who Is Using Testcontainers Python?

  • 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.

License

See LICENSE{:target="_blank"}.

Attributions

Copyright

Copyright (c) 2015-2021 Sergey Pirogov and other authors.

See AUTHORS{:target="_blank"} for contributors.