Contents

testcontainers 3.5.3

0

Library provides lightweight, throwaway instances of common databases, Selenium web browsers, or any

Library provides lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container

Stars: 529, Watchers: 529, Forks: 116, Open Issues: 26

The testcontainers/testcontainers-python repo was created 5 years ago and was last updated 2 days ago.
The project is popular with 529 github stars!

How to Install testcontainers

You can install testcontainers using pip

pip install testcontainers

or add it to a project with poetry

poetry add testcontainers

Package Details

Author
Sergey Pirogov
License
Homepage
https://github.com/testcontainers/testcontainers-python
PyPi
https://pypi.org/project/testcontainers/
GitHub Repo
https://github.com/testcontainers/testcontainers-python

Classifiers

  • Software Development/Libraries/Python Modules
No  testcontainers  pypi packages just yet.

Errors

A list of common testcontainers errors.

Code Examples

Here are some testcontainers code examples and snippets.

GitHub Issues

The testcontainers package has 26 open issues on GitHub

  • Is it possible to use a local image?
  • Add support for asyncio
  • Drop support for python 3.5
  • Added ClickHouse support
  • Fix deprecation warning message for ElasticsearchContainer
  • Move deprecated decorator from __init__ to class definition
  • Build option for DockerCompose
  • Adding support for Cassandra and Scylla
  • Improve DockerCompose documentation
  • Offer help to maintain the repo
  • Improve host detection
  • Support specifying postgresql drivers
  • General maintenance and tidying to ensure tests pass.
  • could not translate host name "localnpipe" to address: Unknown host

See more issues on GitHub

Related Packages & Articles

fastapi-framework 1.5.1

A FastAPI Framework for things like Database, Redis, Logging, JWT Authentication and Rate Limits

piccolo 0.74.3

A fast, user friendly ORM and query builder which supports asyncio.

helium 3.0.8

Lighter browser automation based on Selenium.

trustme 0.9.0

#1 quality TLS certs while you wait, for the discerning tester