Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-24 19:44 UTC

mongodb / mongo-python-driver

PyMongo - the Official MongoDB Python driver

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

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

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

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

Ownership

mongodbOrganization
4,784 followers310 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.19.064,665,8761759 days agobsongridfsmongomongodbpymongo

Metrics by category

Vitality

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

99Exceptional · 21% of overall
How it's scored
36/36Push recency — last push 0 days ago
35.3/36Commit cadence — 51/52 weeks with commits
18/18Commit volume — 384 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year384
Share of human-authored commits0.86
Days since last push0
Weeks with commits in the last year51

Release discipline

98Exceptional
How it's scored
27/27Ships releases — 65 releases published
36/36Release recency — latest release 9 days ago
27/27Release cadence — a release every ~41.3 days
8/10OpenSSF Scorecard: Signed-Releases — 5 out of the last 5 releases have a total of 5 signed artifacts.
Inputs used
Number of releases65
Latest release tag4.19.0
Releases derived from version tagsno
Days since latest release9
Mean days between releases41.3

Community & Adoption

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

91Excellent · 17% of overall
How it's scored
59/60Stars — 4,361 stars
25/25Forks — 1,161 forks
13.1/15Watchers — 224 watchers
Inputs used
Forks1,161
Stars4,361
Watchers224
Growth authenticity stateorganic
Multiplier applied to stars and forks (%)100
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (Apache-2.0)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README4
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentno
Badge services used in the READMEcodecov.io, readthedocs.org, shields.io
Pull request template presentyes
How it's scored
80/80Monthly downloads — 64,665,876 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagespymongo
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads64,665,876
Packages excluded as unverified—
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 factor — 2 contributor(s) cover half of all commits
15/22.5Commit distribution — top contributor authored 33% of commits
13.5/13.5Contributor breadth — 96 contributors
10/10OpenSSF Scorecard: Contributors — project has 22 contributing companies or organizations
Inputs used
Bus factor2
Contributors sampled96
Share of commits by the top contributor0.333
How it's scored
0/42Issue resolution — no issues or no data
24.3/30PR acceptance — 2,523/3,120 decided PRs merged
13/13Newcomer PR acceptance — 3/3 first-time contributors' PRs merged in 30d
15/15OpenSSF Scorecard: Code-Review — all changesets reviewed
Inputs used
Merged pull requests2,523
Open issues0
Closed issues0
Pull requests merged in the last 7 days5
Pull requests decided in the last 7 days5
Pull requests merged in the last 30 days45
Pull requests decided in the last 30 days50
Share of issues closed—
Pull requests closed without merging597
First-time contributors with a pull request decided in the last 30 days2
Pull requests from first-time contributors merged in the last 30 days3
Pull requests from first-time contributors decided in the last 30 days3
Excluded from scoring (no data or not applicable): Issue resolution. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
25/25Owner reach — 4,784 followers of mongodb
25/25Track record — 310 public repos, account ~17 yr old
Inputs used
Followers4,784
Owner account typeOrganization
Verified domainno
Owner accountmongodb
Public repositories310
Owner account age in days6,498

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on pypi
35/35Publish recency — latest publish 9 days ago
20/20Version history — 175 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagespymongo
Package ecosystemspypi
Any package deprecated or yankedno
Days since latest package publish9

Engineering Quality

Are baseline engineering and documentation practices in place?

92Excellent · 19% of overall
How it's scored
24/24CI workflows — 9 workflow(s)
24/24Tests present
16/16Linter config — pyproject.toml ([tool.ruff])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentyes
Pre-commit config presentyes

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://www.mongodb.com/docs/languages/python/pymongo-driver/current/
10/10Repository description
10/10Topics — 5 topics
0/10Wiki
Inputs used
Repository topicsmongodb, mongodb-driver, pymongo, python, python-library
Wiki enabledno
Repository homepagehttps://www.mongodb.com/docs/languages/python/pymongo-driver/current/
Documentation sitehttps://www.mongodb.com/docs/languages/python/pymongo-driver/current/
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

82Excellent · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
3.8/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
7.5/7.5Code-Review — all changesets reviewed
2.5/2.5Contributors — project has 22 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
5/5Fuzzing — project is fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
2.5/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 5
5/5SAST — SAST tool is run on all commits
0/5Security-Policy — security policy file not detected
6/7.5Signed-Releases — 5 out of the last 5 releases have a total of 5 signed artifacts.
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
6/7.5Vulnerabilities — 2 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated18
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive0
OpenSSF Scorecard aggregate score7.7

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
25/25Indirect dependencies free of known advisories — no indirect dependency carries a known advisory
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
Data sourceosv
Advisories across affected packages0
Packages affected by advisories0
Packages assessed1
Packages not assessed0
Affected packages by severitynone
Direct dependencies affected by advisories0
Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the pypi:pymongo@4.19.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)
34.1/40Legible commit history — 55 of 86 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentyes
llms.txt address on the project websitehttps://www.mongodb.com/llms.txt
Share of human commits that state their intent0.64
Agent instruction files.github/copilot-instructions.md, AGENTS.md, CLAUDE.md
Size of the largest agent instruction file (bytes)2,235
How it's scored
18/18One-command bootstrap — doc/Makefile, justfile, test/lambda/mongodb/Makefile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff])
11/11Static type checking — bson/py.typed, gridfs/py.typed, pymongo/py.typed
10/10Reproducible environment — lockfile
10/10Demonstrated agent practice — 5 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 6 of the last 100 commits are automated dependency updates
5/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 5
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesuv.lock
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesdoc/Makefile, justfile, test/lambda/mongodb/Makefile
Dev container config presentno
Linter config presentyes
Static type-check config filesbson/py.typed, gridfs/py.typed, pymongo/py.typed
Share of commits authored by or credited to coding agents0.05
Toolchain manifests—
Share of commits that are automated dependency updates0.06
How it's scored
27/45Type-checkable code — Python with type-check config (bson/py.typed, gridfs/py.typed, pymongo/py.typed)
52.6/55Manageable file sizes — 20/461 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)169,540
Source files sampled461
Oversized source files20

Key facts

4,361GitHub stars
96contributors
384commits, last 12 months
0days since last push
65releases
2bus factor
0open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • 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 4361 stars today.

More detail

Star and fork history 4,353 ★ / 1,161 ⇿
4,353Stars
1,161Forks
65Releases

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,161332013-012019-112026-10
Major 0Minor 21Patch 35

Each point covers 13 days.

OpenSSF Scorecard 7.7 / 10
7.7aggregate

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-10-24 19:43 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
10Fuzzingproject is fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 5
10SASTSAST tool is run on all commits
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
8Vulnerabilities2 existing vulnerabilities detected
All dependencies 113

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

RegistryPackageVersionRelation
PyPIaccessible-pygments0.0.5indirect
PyPIalabaster1.0.0indirect
PyPIanyio4.15.1indirect
PyPIatheris3.1.0indirect
PyPIattrs26.1.0indirect
PyPIbabel2.18.0indirect
PyPIbackports-zstd—indirect
PyPIbackports-zstd1.8.0indirect
PyPIbeautifulsoup44.15.0indirect
PyPIboto31.43.112indirect
PyPIbotocore1.43.112indirect
PyPIcertifi—indirect
PyPIcertifi2026.7.22indirect
PyPIcffi2.1.1indirect
PyPIcharset-normalizer3.5.2indirect
PyPIclick8.5.0indirect
PyPIcolorama0.4.6indirect
PyPIcoverage7.15.0indirect
PyPIcramjam2.14.0indirect
PyPIcryptography—indirect
PyPIcryptography50.0.2indirect
PyPIdecorator5.3.1indirect
PyPIdnspython—indirect
PyPIdnspython2.9.0indirect
PyPIdocutils0.21.2indirect
PyPIfuro2025.12.19indirect
PyPIgevent26.9.0indirect
PyPIgreenlet3.5.6indirect
PyPIh110.16.0indirect
PyPIhttpcore1.0.9indirect
PyPIhttpx0.28.1indirect
PyPIidna3.20indirect
PyPIimagesize2.0.1indirect
PyPIimportlib-metadata—indirect
PyPIimportlib-metadata9.0.1indirect
PyPIiniconfig2.3.1indirect
PyPIjinja23.1.6indirect
PyPIjmespath1.1.0indirect
PyPIlibrt0.16.0indirect
PyPImarkupsafe3.0.4indirect
PyPImockupdb1.8.1indirect
PyPImod-wsgi—indirect
PyPImypy1.19.1indirect
PyPImypy-extensions1.1.0indirect
PyPInodeenv1.11.0indirect
PyPIpackaging26.3indirect
PyPIpathspec1.1.1indirect
PyPIpip26.2.1indirect
PyPIpluggy1.6.0indirect
PyPIpycparser3.11indirect
PyPIpygments2.21.0indirect
PyPIpykerberos—indirect
PyPIpykerberos1.2.4indirect
PyPIpymongo-auth-aws—indirect
PyPIpymongo-auth-aws1.3.0indirect
PyPIpymongocrypt—indirect
PyPIpymongocrypt1.20.0indirect
PyPIpyopenssl—indirect
PyPIpyopenssl26.4.0indirect
PyPIpyright1.1.411indirect
PyPIpytest—indirect
PyPIpytest9.1.1indirect
PyPIpytest-asyncio—indirect
PyPIpytest-asyncio1.4.0indirect
PyPIpython-dateutil2.9.0.post0indirect
PyPIpython-snappy—indirect
PyPIpython-snappy0.7.3indirect
PyPIreadthedocs-sphinx-search—indirect
PyPIreadthedocs-sphinx-search0.3.2indirect
PyPIrequests—indirect
PyPIrequests2.34.2indirect
PyPIroman-numerals4.1.0indirect
PyPIroman-numerals-py4.1.0indirect
PyPIruff0.15.20indirect
PyPIs3transfer0.19.2indirect
PyPIservice-identity—indirect
PyPIservice-identity26.1.0indirect
PyPIsetuptools84.0.0indirect
PyPIsimplejson4.2.0indirect
PyPIsix1.17.0indirect
PyPIsnowballstemmer3.1.1indirect
PyPIsoupsieve2.10indirect
PyPIsoupsieve3.0.3indirect
PyPIsphinx—indirect
PyPIsphinx8.2.3indirect
PyPIsphinx-autobuild—indirect
PyPIsphinx-autobuild2025.8.25indirect
PyPIsphinx-basic-ng1.0.0b2indirect
PyPIsphinx-rtd-theme—indirect
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-shellcheck—indirect
PyPIsphinxcontrib-shellcheck1.1.2indirect
PyPIstarlette1.8.0indirect
PyPItokenize-rt6.2.0indirect
PyPItomli2.5.0indirect
PyPItyping-extensions4.16.0indirect
PyPIunasync0.6.0indirect
PyPIurllib32.8.0indirect
PyPIuvicorn0.54.0indirect
PyPIwatchfiles1.3.0indirect
PyPIwebsockets17.2indirect
PyPIwinkerberos—indirect
PyPIwinkerberos0.13.0indirect
PyPIzipp4.1.1indirect
PyPIzope-event6.2indirect
PyPIzope-interface8.6indirect
Dependency advisories 0

Installing pypi:pymongo@4.19.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 statistics — PyPI.