Public record
Software health reportschema 0.12.0 · metrics 2.10.0 · 2026-07-18 12:43 UTC

testcontainers / testcontainers-python

Testcontainers is a Python library that providing a friendly API to run Docker container. It is designed to create runtime environment to use during your automatic tests.

PythonApache-2.0★ 2,251 stars⑂ 375 forkssince Mar 2017View on GitHub ↗

testcontainers/testcontainers-python holds a health index of 95 out of 100, placing it in the Exceptional band. It scores highest on Engineering Quality (92/100) and lowest on Security (58/100). It was last updated 1 day ago. 4 contributors account for most of its recent work.

95
overall / 100
Exceptional

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

95
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 82 is calibrated to 95 on the published index scale (record calibration 2026-08-02).

Ownership

TestcontainersOrganization
2,272 followers57 public repossince Jul 2015

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPItestcontainers4.14.2-71122 days agodockerloggingtest-automationtesting

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

91Excellent · 21% of overall
How it's scored
36/36Push recencylast push 1 days ago
20.8/36Commit cadence30/52 weeks with commits
18/18Commit volume143 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year143
human_commit_share
days_since_last_push1
active_weeks_last_year30

Release discipline

100Exceptional
How it's scored
27/27Ships releases51 releases published
36/36Release recencylatest release 37 days ago
27/27Release cadencea release every ~28.8 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count51
latest_release_tagtestcontainers-v4.15.0-rc4
releases_from_tagsno
days_since_latest_release37
mean_days_between_releases28.8
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

77Good · 17% of overall
How it's scored
54.4/60Stars2,251 stars
21.4/25Forks375 forks
6.8/15Watchers18 watchers
Inputs used
forks375
stars2,251
watchers18
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (Apache-2.0)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_services
has_pull_request_templateno

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

89Excellent · 23% of overall
How it's scored
43.2/54Bus factor4 contributor(s) cover half of all commits
16.2/22.5Commit distributiontop contributor authored 28% of commits
13.5/13.5Contributor breadth100 contributors
10/10OpenSSF Scorecard: Contributorsproject has 22 contributing companies or organizations
Inputs used
bus_factor4
contributors_sampled100
top_contributor_share0.28
How it's scored
28.1/42Issue resolution67% of issues closed
22.8/30PR acceptance481/633 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
15/15OpenSSF Scorecard: Code-Reviewall changesets reviewed
Inputs used
merged_prs481
open_issues131
closed_issues265
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio0.669
closed_unmerged_prs152
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domainverified-domain status not read for this organization
24.1/25Owner reach2,272 followers of testcontainers
24.8/25Track record57 public repos, account ~11 yr old
Inputs used
followers2,272
owner_typeOrganization
is_verified
owner_logintestcontainers
public_repos57
account_age_days4,018
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable1 package(s) on pypi
35/35Publish recencylatest publish 122 days ago
20/20Version history71 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagestestcontainers
ecosystemspypi
any_deprecatedno
min_days_since_publish122

Engineering Quality

Are baseline engineering and documentation practices in place?

92Excellent · 19% of overall
How it's scored
24/24CI workflows5 workflow(s)
24/24Tests present
16/16Linter config
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configyes

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage sitehttps://testcontainers-python.readthedocs.io/en/latest/
10/10Repository description
10/10Topics6 topics
0/10Wiki
Inputs used
topicspython, python3, testing, testcontainers, selenium, database
has_wikino
homepagehttps://testcontainers-python.readthedocs.io/en/latest/
docs_sitehttps://testcontainers-python.readthedocs.io/en/latest/
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

58Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionno data
2.5/2.5CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
7.5/7.5Code-Reviewall changesets reviewed
2.5/2.5Contributorsproject has 22 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
7.5/7.5Maintained30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities11 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate5.8
Excluded from scoring (no data or not applicable): Branch-Protection, Signed-Releases. Remaining weights renormalized.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

62Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
0/40Legible commit historyno data
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
Excluded from scoring (no data or not applicable): Legible commit history. Remaining weights renormalized.
How it's scored
18/18One-command bootstrapMakefile
22/22Automated tests
11/11Lint / format config
11/11Static type checkingsrc/testcontainers/py.typed
10/10Reproducible environmentdevcontainer, Dockerfile, lockfile
0/10Demonstrated agent practiceno data
5/8Automated maintenancedependency automation configured, none observed in the sampled commits
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilesuv.lock
has_dockerfileyes
typed_languageno
bootstrap_filesMakefile
has_devcontaineryes
has_linter_configyes
typecheck_configssrc/testcontainers/py.typed
agent_commit_share
toolchain_manifests
dependency_bot_commit_share0
Excluded from scoring (no data or not applicable): Demonstrated agent practice. Remaining weights renormalized.
How it's scored
27/45Type-checkable codePython with type-check config (src/testcontainers/py.typed)
55/55Manageable file sizes0/267 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes33,253
source_files_sampled267
oversized_source_files0
How it's scored
0/40API schema (OpenAPI/GraphQL/proto)not applicable to this kind of software
0/20MCP servernot applicable to this kind of software
40/40Runnable examplessample, samples
Inputs used
example_dirssample, samples
has_mcp_signalno
api_schema_files
interfaces_expected_of
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

2,251GitHub stars
100contributors
143commits, last 12 months
1days since last push
51releases
4bus factor
131open issues
PyPIpackage ecosystems

More detail

OpenSSF Scorecard 5.8 / 10
5.8aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-07-18 12:42 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
10Contributorsproject has 22 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities11 existing vulnerabilities detected
Direct dependencies 5
RegistryPackageVersion constraintManifest
PyPIdockerpyproject.toml
PyPIurllib3pyproject.toml
PyPIwraptpyproject.toml
PyPItyping-extensionspyproject.toml
PyPIpython-dotenvpyproject.toml
All dependencies 252

Full resolved dependency set from the GitHub dependency graph: 5 direct and 247 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
PyPIdocker7.2.0direct
PyPIpython-dotenv1.2.2direct
PyPItyping-extensions4.15.0direct
PyPIurllib32.7.0direct
PyPIwrapt2.2.2direct
PyPIaiofiles25.1.0indirect
PyPIaiohappyeyeballs2.6.2indirect
PyPIaiohttp3.14.0indirect
PyPIaiosignal1.4.0indirect
PyPIalabaster1.0.0indirect
PyPIannotated-types0.7.0indirect
PyPIanyio4.14.1indirect
PyPIargon2-cffi25.1.0indirect
PyPIargon2-cffi-bindings25.1.0indirect
PyPIasn1crypto1.5.1indirect
PyPIast-serialize0.5.0indirect
PyPIasync-timeout5.0.1indirect
PyPIattrs26.1.0indirect
PyPIauthlib1.7.2indirect
PyPIazure-core1.41.0indirect
PyPIazure-cosmos4.16.1indirect
PyPIazure-storage-blob12.30.0indirect
PyPIbabel2.18.0indirect
PyPIbackports-asyncio-runner1.2.0indirect
PyPIbackports-tarfile1.2.0indirect
PyPIbackrefs7.0indirect
PyPIbcrypt5.0.0indirect
PyPIboto31.43.36indirect
PyPIboto3-stubs-lite1.43.36indirect
PyPIbotocore1.43.36indirect
PyPIbotocore-stubs1.43.14indirect
PyPIbracex2.6indirect
PyPIcachetools7.1.4indirect
PyPIcassandra-driver3.30.0indirect
PyPIcertifi2026.5.20indirect
PyPIcffi2.0.0indirect
PyPIcfgv3.5.0indirect
PyPIcharset-normalizer3.4.7indirect
PyPIchromadb-client1.5.9indirect
PyPIclick8.4.1indirect
PyPIclickhouse-driver0.2.10indirect
PyPIcolorama0.4.6indirect
PyPIcoverage7.14.1indirect
PyPIcrate2.1.2indirect
PyPIcryptography49.0.0indirect
PyPIdeprecated1.3.1indirect
PyPIdeprecation2.1.0indirect
PyPIdistlib0.4.1indirect
PyPIdnspython2.8.0indirect
PyPIdocutils0.21.2indirect
PyPIdocutils0.22.4indirect
PyPIdurationpy0.10indirect
PyPIevents0.5indirect
PyPIexceptiongroup1.3.1indirect
PyPIexecnet2.1.2indirect
PyPIfilelock3.29.0indirect
PyPIfrozenlist1.8.0indirect
PyPIgeojson3.3.0indirect
PyPIgeomet1.1.0indirect
PyPIghp-import2.1.0indirect
PyPIgoogle-api-core2.30.3indirect
PyPIgoogle-auth2.53.0indirect
PyPIgoogle-cloud-core2.6.0indirect
PyPIgoogle-cloud-datastore2.25.0indirect
PyPIgoogle-cloud-pubsub2.39.0indirect
PyPIgoogleapis-common-protos1.75.0indirect
PyPIgreenlet3.5.1indirect
PyPIgrpc-google-iam-v10.14.4indirect
PyPIgrpcio1.78.0indirect
PyPIgrpcio-status1.78.0indirect
PyPIh110.16.0indirect
PyPIh24.3.0indirect
PyPIhpack4.1.0indirect
PyPIhttpcore1.0.9indirect
PyPIhttpx0.28.1indirect
PyPIhvac2.4.0indirect
PyPIhyperframe6.1.0indirect
PyPIibm-db3.2.9indirect
PyPIibm-db-sa0.4.4indirect
PyPIid1.6.1indirect
PyPIidentify2.6.19indirect
PyPIidna3.18indirect
PyPIimagesize2.0.0indirect
PyPIimportlib-metadata9.0.0indirect
PyPIinfluxdb5.3.2indirect
PyPIinfluxdb-client1.50.0indirect
PyPIiniconfig2.3.0indirect
PyPIinvoke3.0.3indirect
PyPIisodate0.7.2indirect
PyPIjaraco-classes3.4.0indirect
PyPIjaraco-context6.1.2indirect
PyPIjaraco-functools4.5.0indirect
PyPIjeepney0.9.0indirect
PyPIjinja23.1.6indirect
PyPIjmespath1.1.0indirect
PyPIjoserfc1.7.0indirect
PyPIjsonschema4.26.0indirect
PyPIjsonschema-specifications2025.9.1indirect
PyPIjwcrypto1.5.7indirect
PyPIkafka-python-ng2.2.3indirect
PyPIkeyring25.7.0indirect
PyPIkubernetes36.0.3indirect
PyPIlibrt0.11.0indirect
PyPIlz44.4.5indirect
PyPImarkdown3.10.2indirect
PyPImarkdown-it-py4.2.0indirect
PyPImarkupsafe3.0.3indirect
PyPImdurl0.1.2indirect
PyPImergedeep1.3.4indirect
PyPIminio7.2.20indirect
PyPImkdocs1.6.1indirect
PyPImkdocs-codeinclude-plugin0.2.1indirect
PyPImkdocs-get-deps0.2.2indirect
PyPImkdocs-include-markdown-plugin7.3.0indirect
PyPImkdocs-markdownextradata-plugin0.2.6indirect
PyPImkdocs-material9.7.6indirect
PyPImkdocs-material-extensions1.3.1indirect
PyPImore-itertools11.1.0indirect
PyPImsgpack1.1.2indirect
PyPImultidict6.7.1indirect
PyPImypy2.1.0indirect
PyPImypy-extensions1.1.0indirect
PyPInats-py2.15.0indirect
PyPIneo4j6.2.0indirect
PyPInh30.3.5indirect
PyPInodeenv1.10.0indirect
PyPInumpy2.2.6indirect
PyPInumpy2.4.6indirect
PyPIoauthlib3.3.1indirect
PyPIopenfga-sdk0.10.4indirect
PyPIopensearch-protobufs1.2.0indirect
PyPIopensearch-py3.2.0indirect
PyPIopentelemetry-api1.42.1indirect
PyPIopentelemetry-exporter-otlp-proto-common1.42.1indirect
PyPIopentelemetry-exporter-otlp-proto-grpc1.42.1indirect
PyPIopentelemetry-proto1.42.1indirect
PyPIopentelemetry-sdk1.42.1indirect
PyPIopentelemetry-semantic-conventions0.63b1indirect
PyPIoracledb4.0.1indirect
PyPIorjson3.11.9indirect
PyPIoutcome1.3.0.post0indirect
PyPIoverrides7.7.0indirect
PyPIpackaging26.2indirect
PyPIpaginate0.5.7indirect
PyPIpaho-mqtt2.1.0indirect
PyPIpandas2.3.3indirect
PyPIpandas3.0.3indirect
PyPIparamiko5.0.0indirect
PyPIpathspec1.1.1indirect
PyPIpg80001.31.5indirect
PyPIpika1.4.1indirect
PyPIplatformdirs4.10.0indirect
PyPIpluggy1.6.0indirect
PyPIportalocker3.2.0indirect
PyPIpre-commit4.6.0indirect
PyPIpropcache0.5.2indirect
PyPIproto-plus1.28.0indirect
PyPIprotobuf6.33.6indirect
PyPIpsycopg3.3.4indirect
PyPIpsycopg2-binary2.9.11indirect
PyPIpyasn10.6.3indirect
PyPIpyasn1-modules0.4.2indirect
PyPIpybase641.4.3indirect
PyPIpycparser3.0indirect
PyPIpycryptodome3.23.0indirect
PyPIpydantic2.13.4indirect
PyPIpydantic-core2.46.4indirect
PyPIpydantic-settings2.14.1indirect
PyPIpygments2.20.0indirect
PyPIpyjwt2.13.0indirect
PyPIpymdown-extensions10.21.3indirect
PyPIpymilvus3.0.0indirect
PyPIpymongo4.17.0indirect
PyPIpymssql2.3.13indirect
PyPIpymysql1.2.0indirect
PyPIpynacl1.6.2indirect
PyPIpysocks1.7.1indirect
PyPIpytest9.0.3indirect
PyPIpytest-asyncio1.4.0indirect
PyPIpytest-cov7.1.0indirect
PyPIpytest-mock3.15.1indirect
PyPIpytest-xdist3.8.0indirect
PyPIpython-arango8.3.3indirect
PyPIpython-dateutil2.9.0.post0indirect
PyPIpython-discovery1.4.0indirect
PyPIpython-keycloak7.1.1indirect
PyPIpytz2026.2indirect
PyPIpywin32311indirect
PyPIpywin32-ctypes0.2.3indirect
PyPIpyyaml6.0.3indirect
PyPIpyyaml-env-tag1.1indirect
PyPIqdrant-client1.18.0indirect
PyPIreactivex4.1.0indirect
PyPIreadme-renderer44.0indirect
PyPIredis8.0.1indirect
PyPIreferencing0.37.0indirect
PyPIrequests2.34.2indirect
PyPIrequests-oauthlib2.0.0indirect
PyPIrequests-toolbelt1.0.0indirect
PyPIrfc39862.0.0indirect
PyPIrich15.0.0indirect
PyPIroman-numerals4.1.0indirect
PyPIrpds-py0.30.0indirect
PyPIrpds-py2026.5.1indirect
PyPIruff0.15.20indirect
PyPIs3transfer0.19.0indirect
PyPIscramp1.4.8indirect
PyPIsecretstorage3.5.0indirect
PyPIselenium4.45.0indirect
PyPIsetuptools82.0.1indirect
PyPIsix1.17.0indirect
PyPIsniffio1.3.1indirect
PyPIsnowballstemmer3.1.1indirect
PyPIsortedcontainers2.4.0indirect
PyPIsphinx8.1.3indirect
PyPIsphinx9.0.4indirect
PyPIsphinx9.1.0indirect
PyPIsphinxcontrib-applehelp2.0.0indirect
PyPIsphinxcontrib-devhelp2.0.0indirect
PyPIsphinxcontrib-htmlhelp2.1.0indirect
PyPIsphinxcontrib-jsmath1.0.1indirect
PyPIsphinxcontrib-qthelp2.0.0indirect
PyPIsphinxcontrib-serializinghtml2.0.0indirect
PyPIsqlalchemy2.0.51indirect
PyPIsqlalchemy-cockroachdb2.0.4indirect
PyPIsqlalchemy-cratedb0.42.0indirect
PyPItenacity9.1.4indirect
PyPItestcontainers4.15.0rc4indirect
PyPItomli2.4.1indirect
PyPItrino0.337.0indirect
PyPItrio0.33.0indirect
PyPItrio-websocket0.12.2indirect
PyPItwine6.2.0indirect
PyPItypes-awscrt0.33.0indirect
PyPItypes-docker7.1.0.20260518indirect
PyPItypes-paramiko5.0.0.20260617indirect
PyPItypes-requests2.33.0.20260518indirect
PyPItypes-s3transfer0.16.0indirect
PyPItyping-inspection0.4.2indirect
PyPItzdata2026.2indirect
PyPItzlocal5.3.1indirect
PyPIvalidators0.35.0indirect
PyPIverlib20.3.2indirect
PyPIvirtualenv21.4.2indirect
PyPIwatchdog6.0.0indirect
PyPIwcmatch10.1indirect
PyPIweaviate-client4.22.0indirect
PyPIwebsocket-client1.9.0indirect
PyPIwsproto1.3.2indirect
PyPIyarl1.24.2indirect
PyPIzipp4.1.0indirect
PyPIzstandard0.25.0indirect
Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.12.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsPyPI.