Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-08-28 08:04 UTC

mongodb / mongo-python-driver

PyMongo - the Official MongoDB Python driver

PythonApache-2.0★ 4,352 stars⑂ 1,159 forkssince Jan 2009View on GitHub ↗

mongodb/mongo-python-driver holds a health index of 98 out of 100, placing it in the Exceptional band. It scores highest on Vitality (96/100) and lowest on Security (72/100). It was last updated today. 2 contributors account for most of its recent work.

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

98
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 87 is calibrated to 98 on the published index scale (record calibration 2026-08-02).

Ownership

mongodbOrganization
4,677 followers306 public repossince Jan 2009

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPIpymongo4.17.0105,397,490170129 days agobsongridfsmongomongodbpymongo

Metrics by category

Vitality

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

96Exceptional · 21% of overall

Development activity

100Exceptional
How it's scored
36/36Push recencylast push 0 days ago
36/36Commit cadence52/52 weeks with commits
18/18Commit volume338 commits in the last year
10/10OpenSSF Scorecard: Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year338
human_commit_share0.79
days_since_last_push0
active_weeks_last_year52
How it's scored
27/27Ships releases60 releases published
27/36Release recencylatest release 129 days ago
27/27Release cadencea release every ~28.5 days
8/10OpenSSF Scorecard: Signed-Releases5 out of the last 5 releases have a total of 5 signed artifacts.
Inputs used
releases_count60
latest_release_tag4.17.0
releases_from_tagsno
days_since_latest_release129
mean_days_between_releases28.5

Community & Adoption

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

91Excellent · 17% of overall
How it's scored
59/60Stars4,352 stars
25/25Forks1,159 forks
13.1/15Watchers226 watchers
Inputs used
forks1,159
stars4,352
watchers226
growth_stateorganic
growth_factor_pct100
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
6.3/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges4
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_servicescodecov.io, readthedocs.org, shields.io
has_pull_request_templateyes
How it's scored
80/80Monthly downloads105,397,490 downloads/month across pypi
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagespymongo
dependents
ecosystemspypi
total_downloads
monthly_downloads105,397,490
unverified_packages_excluded
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

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

82Excellent · 23% of overall
How it's scored
25.2/54Bus factor2 contributor(s) cover half of all commits
14.8/22.5Commit distributiontop contributor authored 34% of commits
13.5/13.5Contributor breadth96 contributors
10/10OpenSSF Scorecard: Contributorsproject has 22 contributing companies or organizations
Inputs used
bus_factor2
contributors_sampled96
top_contributor_share0.34
How it's scored
0/42Issue resolutionno issues or no data
24.1/30PR acceptance2,406/2,989 decided PRs merged
13/13Newcomer PR acceptance1/1 first-time contributors' PRs merged in 30d
15/15OpenSSF Scorecard: Code-Reviewall changesets reviewed
Inputs used
merged_prs2,406
open_issues0
closed_issues0
prs_merged_7d6
prs_decided_7d6
prs_merged_30d19
prs_decided_30d21
issue_closed_ratio
closed_unmerged_prs583
first_time_authors_30d1
first_time_prs_merged_30d1
first_time_prs_decided_30d1
Excluded from scoring (no data or not applicable): Issue resolution. Remaining weights renormalized.
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domain
25/25Owner reach4,677 followers of mongodb
25/25Track record306 public repos, account ~17 yr old
Inputs used
followers4,677
owner_typeOrganization
is_verifiedno
owner_loginmongodb
public_repos306
account_age_days6,440

Package maintenance

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

Engineering Quality

Are baseline engineering and documentation practices in place?

92Excellent · 19% of overall
How it's scored
24/24CI workflows8 workflow(s)
24/24Tests present
16/16Linter configpyproject.toml ([tool.ruff])
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://www.mongodb.com/docs/languages/python/pymongo-driver/current/
10/10Repository description
10/10Topics5 topics
0/10Wiki
Inputs used
topicsmongodb, mongodb-driver, pymongo, python, python-library
has_wikino
homepagehttps://www.mongodb.com/docs/languages/python/pymongo-driver/current/
docs_sitehttps://www.mongodb.com/docs/languages/python/pymongo-driver/current/
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

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

72Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
3.8/7.5Branch-Protectionbranch protection is not maximal on development and all release branches
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 0 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
1.5/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 3
4.5/5SASTSAST tool is not run on all commits -- score normalized to 9
0/5Security-Policysecurity policy file not detected
6/7.5Signed-Releases5 out of the last 5 releases have a total of 5 signed artifacts.
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities22 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated18
scorecard_versionv5.5.0
checks_inconclusive0
scorecard_aggregate6.5

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisoriesno direct dependency carries a known advisory
25/25Indirect dependencies free of known advisoriesno indirect dependency carries a known advisory
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories0
affected_packages0
assessed_packages1
unassessed_packages0
affected_by_severitynone
direct_affected_packages0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the pypi:pymongo@4.17.0 runtime dependency closure — what installing the published package pulls in — 1 packages. Reachability is not analyzed.

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.

92Excellent · 4% of overall
How it's scored
45/45Agent instructions.github/copilot-instructions.md, AGENTS.md, CLAUDE.md
15/15Machine-readable docs (llms.txt)llms.txt served by the project website (https://www.mongodb.com/llms.txt)
37.8/40Legible commit history56 of 79 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtyes
llms_txt_urlhttps://www.mongodb.com/llms.txt
legible_history_share0.709
agent_instruction_files.github/copilot-instructions.md, AGENTS.md, CLAUDE.md
agent_instruction_max_bytes2,170
How it's scored
18/18One-command bootstrapdoc/Makefile, justfile, test/lambda/mongodb/Makefile
22/22Automated tests
11/11Lint / format configpyproject.toml ([tool.ruff])
11/11Static type checkingbson/py.typed, gridfs/py.typed, pymongo/py.typed
10/10Reproducible environmentlockfile
10/10Demonstrated agent practice5 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance14 of the last 100 commits are automated dependency updates
3/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 3
Inputs used
has_nixno
has_testsyes
lockfilesuv.lock
has_dockerfileno
typed_languageno
bootstrap_filesdoc/Makefile, justfile, test/lambda/mongodb/Makefile
has_devcontainerno
has_linter_configyes
typecheck_configsbson/py.typed, gridfs/py.typed, pymongo/py.typed
agent_commit_share0.05
toolchain_manifests
dependency_bot_commit_share0.14
How it's scored
27/45Type-checkable codePython with type-check config (bson/py.typed, gridfs/py.typed, pymongo/py.typed)
52.5/55Manageable file sizes20/439 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes168,925
source_files_sampled439
oversized_source_files20

Key facts

4,352GitHub stars
96contributors
338commits, last 12 months
0days since last push
60releases
2bus factor
0open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • Star history carried forward from 2026-07-16: GitHub restricted the stargazers API to repository admins, so it can no longer be collected. The repository has 4352 stars today.

More detail

Star and fork history 4,353 ★ / 1,159 ⇿
4,353Stars
1,159Forks
60Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

Only the most recent history is shown — this repository exceeds the collection window, so the earliest history is not captured.

Star history is shown as collected on 2026-07-16. GitHub restricted the stargazers API to repository administrators in July 2026, so this series can no longer be extended; the current star total above remains live.

01,0002,0003,0004,0005,0004,3531,159352013-012019-102026-08
Major 0Minor 19Patch 32

Each point covers 13 days.

OpenSSF Scorecard 6.5 / 10
6.5aggregate

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-08-28 08:04 UTC

10Binary-Artifactsno binaries found in the repo
5Branch-Protectionbranch protection is not maximal on development and all release branches
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 0 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
3Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 3
9SASTSAST tool is not run on all commits -- score normalized to 9
0Security-Policysecurity policy file not detected
8Signed-Releases5 out of the last 5 releases have a total of 5 signed artifacts.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities22 existing vulnerabilities detected
All dependencies 158

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

RegistryPackageVersionRelation
PyPIaccessible-pygments0.0.5indirect
PyPIalabaster0.7.16indirect
PyPIalabaster1.0.0indirect
PyPIanyio4.12.1indirect
PyPIanyio4.14.2indirect
PyPIattrs26.1.0indirect
PyPIbabel2.18.0indirect
PyPIbackports-asyncio-runner1.2.0indirect
PyPIbackports-zstdindirect
PyPIbackports-zstd1.3.0indirect
PyPIbackports-zstd1.7.0indirect
PyPIbeautifulsoup44.15.0indirect
PyPIboto31.42.97indirect
PyPIboto31.43.79indirect
PyPIbotocore1.42.97indirect
PyPIbotocore1.43.79indirect
PyPIcertifiindirect
PyPIcertifi2026.7.22indirect
PyPIcffi2.0.0indirect
PyPIcffi2.1.1indirect
PyPIcharset-normalizer3.5.1indirect
PyPIclick8.1.8indirect
PyPIclick8.4.2indirect
PyPIcolorama0.4.6indirect
PyPIcoverageindirect
PyPIcoverage7.10.7indirect
PyPIcoverage7.15.0indirect
PyPIcramjam2.11.0indirect
PyPIcramjam2.12.0indirect
PyPIcryptographyindirect
PyPIcryptography47.0.0indirect
PyPIcryptography50.0.0indirect
PyPIdecorator5.3.1indirect
PyPIdnspythonindirect
PyPIdnspython2.7.0indirect
PyPIdnspython2.8.0indirect
PyPIdocutils0.21.2indirect
PyPIexceptiongroup1.3.1indirect
PyPIfuro2025.12.19indirect
PyPIgeventindirect
PyPIgevent26.7.0indirect
PyPIgevent26.8.0indirect
PyPIgreenlet3.2.5indirect
PyPIgreenlet3.5.5indirect
PyPIh110.16.0indirect
PyPIhatch-requirements-txtindirect
PyPIhatchlingindirect
PyPIhttpcore1.0.9indirect
PyPIhttpx0.28.1indirect
PyPIidna3.19indirect
PyPIimagesize1.5.0indirect
PyPIimagesize2.0.1indirect
PyPIimportlib-metadataindirect
PyPIimportlib-metadata8.7.1indirect
PyPIimportlib-metadata9.0.0indirect
PyPIiniconfig2.1.0indirect
PyPIiniconfig2.3.0indirect
PyPIjinja23.1.6indirect
PyPIjmespath1.1.0indirect
PyPIlibrt0.15.0indirect
PyPImarkupsafe3.0.3indirect
PyPImockupdb1.8.1indirect
PyPImypy1.19.1indirect
PyPImypy-extensions1.1.0indirect
PyPInodeenv1.10.0indirect
PyPIpackaging26.3indirect
PyPIpathspec1.1.1indirect
PyPIpipindirect
PyPIpip26.0.1indirect
PyPIpip26.2.1indirect
PyPIpluggy1.6.0indirect
PyPIpycparser2.23indirect
PyPIpycparser3.0indirect
PyPIpygments2.21.0indirect
PyPIpykerberosindirect
PyPIpykerberos1.2.4indirect
PyPIpymongo-auth-awsindirect
PyPIpymongo-auth-aws1.3.0indirect
PyPIpymongocryptindirect
PyPIpymongocrypt1.18.1indirect
PyPIpyopensslindirect
PyPIpyopenssl26.2.0indirect
PyPIpyopenssl26.4.0indirect
PyPIpyright1.1.411indirect
PyPIpytestindirect
PyPIpytest8.4.2indirect
PyPIpytest9.1.1indirect
PyPIpytest-asyncioindirect
PyPIpytest-asyncio1.2.0indirect
PyPIpytest-asyncio1.4.0indirect
PyPIpython-dateutil2.9.0.post0indirect
PyPIpython-snappyindirect
PyPIpython-snappy0.7.3indirect
PyPIreadthedocs-sphinx-searchindirect
PyPIreadthedocs-sphinx-search0.3.2indirect
PyPIrequestsindirect
PyPIrequests2.32.5indirect
PyPIrequests2.34.2indirect
PyPIroman-numerals4.1.0indirect
PyPIroman-numerals-py4.1.0indirect
PyPIruff0.15.20indirect
PyPIs3transfer0.16.1indirect
PyPIs3transfer0.19.2indirect
PyPIservice-identityindirect
PyPIservice-identity26.1.0indirect
PyPIsetuptoolsindirect
PyPIsetuptools82.0.1indirect
PyPIsetuptools84.0.0indirect
PyPIsimplejsonindirect
PyPIsimplejson4.1.1indirect
PyPIsix1.17.0indirect
PyPIsnowballstemmer3.1.1indirect
PyPIsoupsieve2.8.4indirect
PyPIsoupsieve2.9.2indirect
PyPIsphinxindirect
PyPIsphinx7.4.7indirect
PyPIsphinx8.1.3indirect
PyPIsphinx8.2.3indirect
PyPIsphinx-autobuildindirect
PyPIsphinx-autobuild2024.10.3indirect
PyPIsphinx-autobuild2025.8.25indirect
PyPIsphinx-basic-ng1.0.0b2indirect
PyPIsphinx-rtd-themeindirect
PyPIsphinx-rtd-theme3.1.0indirect
PyPIsphinxcontrib-applehelp2.0.0indirect
PyPIsphinxcontrib-devhelp2.0.0indirect
PyPIsphinxcontrib-htmlhelp2.1.0indirect
PyPIsphinxcontrib-jquery4.1indirect
PyPIsphinxcontrib-jsmath1.0.1indirect
PyPIsphinxcontrib-qthelp2.0.0indirect
PyPIsphinxcontrib-serializinghtml2.0.0indirect
PyPIsphinxcontrib-shellcheckindirect
PyPIsphinxcontrib-shellcheck1.1.2indirect
PyPIstarlette0.49.3indirect
PyPIstarlette1.6.0indirect
PyPItokenize-rt6.2.0indirect
PyPItomli2.4.1indirect
PyPItyping-extensionsindirect
PyPItyping-extensions4.16.0indirect
PyPIunasync0.6.0indirect
PyPIurllib31.26.20indirect
PyPIurllib32.7.0indirect
PyPIuvicorn0.39.0indirect
PyPIuvicorn0.52.4indirect
PyPIwatchfiles1.1.1indirect
PyPIwatchfiles1.2.0indirect
PyPIwebsockets15.0.1indirect
PyPIwebsockets16.1.1indirect
PyPIwebsockets17.0.1indirect
PyPIwinkerberosindirect
PyPIwinkerberos0.12.2indirect
PyPIwinkerberos0.13.0indirect
PyPIzipp3.23.1indirect
PyPIzipp4.1.0indirect
PyPIzope-event6.0indirect
PyPIzope-event6.2indirect
PyPIzope-interface8.0.1indirect
PyPIzope-interface8.6indirect
Dependency advisories 0

Installing pypi:pymongo@4.17.0 pulls in 1 packages, direct and transitive: 0 carry known advisories, of which 0 are direct dependencies.

No known advisories affect the assessed dependencies.

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

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.34.0 — full methodology · metrics wiki.

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