Contents

testcontainers 3.7.1

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: 739, Watchers: 739, Forks: 148, Open Issues: 62

The testcontainers/testcontainers-python repo was created 5 years ago and was last updated 4 hours ago.
The project is popular with 739 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 62 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.2

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

piccolo 0.104.0

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

helium 3.0.9

Lighter browser automation based on Selenium.

nose2 0.12.0

unittest2 with plugins, the successor to nose

trustme 0.9.0

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