Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-08-27 12:19 UTC

mysql / mysql-connector-python

MySQL Connector/Python is implementing the MySQL Client/Server protocol completely in Python. No MySQL libraries are needed, and no compilation is necessary to run this Python DB API v2.0 compliant driver. Documentation & Download: http://dev.mysql.com/doc/connector-python/en

PythonCustom license★ 957 stars⑂ 300 forkssince Aug 2014View on GitHub ↗

mysql/mysql-connector-python holds a health index of 69 out of 100, placing it in the Good band. It scores highest on Community & Adoption (79/100) and lowest on Security (49/100). It was last updated 29 days ago. A single contributor accounts for most of its recent work.

69
overall / 100
Good

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.

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

Ownership

MySQLOrganization
2,469 followers24 public repossince Sep 2012

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPImysql-connector-python26.7.045,774,8732729 days agomysqldatabasedbconnectordriver
PyPImysqlx-connector-python26.7.05,7071129 days agomysqldatabasedbconnectordriverxdevapinosqldocstore

Metrics by category

Vitality

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

64Moderate · 21% of overall
How it's scored
28.8/36Push recencylast push 29 days ago
8.3/36Commit cadence12/52 weeks with commits
12.2/18Commit volume22 commits in the last year
4/10OpenSSF Scorecard: Maintained5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
Inputs used
commits_last_year22
human_commit_share1
days_since_last_push29
active_weeks_last_year12
How it's scored
16.2/27Ships releases57 version tags (no GitHub releases)
36/36Release recencylatest release 47 days ago
19.8/27Release cadencea release every ~94.2 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count57
latest_release_tag26.7.0
releases_from_tagsyes
days_since_latest_release47
mean_days_between_releases94.2
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?

79Good · 17% of overall
How it's scored
48.3/60Stars957 stars
20.6/25Forks300 forks
10/15Watchers63 watchers
Inputs used
forks300
stars957
watchers63
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
16.9/22.5Licenselicense file present, not a recognized license
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges3
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_servicesshields.io
has_pull_request_templateno
How it's scored
80/80Monthly downloads45,780,580 downloads/month across pypi
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagesmysql-connector-python, mysqlx-connector-python
dependents
ecosystemspypi
total_downloads
monthly_downloads45,780,580
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?

58Moderate · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
10.8/22.5Commit distributiontop contributor authored 52% of commits
13.5/13.5Contributor breadth20 contributors
10/10OpenSSF Scorecard: Contributorsproject has 5 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled20
top_contributor_share0.52
How it's scored
21/42Issue resolution50% of issues closed
0/30PR acceptance0/105 decided PRs merged
0/13Newcomer PR acceptanceno first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-ReviewFound 0/30 approved changesets -- score normalized to 0
Inputs used
merged_prs0
open_issues1
closed_issues1
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.5
closed_unmerged_prs105
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backingorganization-owned
0/20Verified domain
24.4/25Owner reach2,469 followers of mysql
22.2/25Track record24 public repos, account ~13 yr old
Inputs used
followers2,469
owner_typeOrganization
is_verifiedno
owner_loginmysql
public_repos24
account_age_days5,079

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable2 package(s) on pypi
35/35Publish recencylatest publish 29 days ago
20/20Version history27 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagesmysql-connector-python, mysqlx-connector-python
ecosystemspypi
any_deprecatedno
min_days_since_publish29

Engineering Quality

Are baseline engineering and documentation practices in place?

59Moderate · 19% of overall
How it's scored
0/24CI workflows
24/24Tests present
16/16Linter configpyproject.toml ([tool.pylint], [tool.black], [tool.isort])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Testsno data
Inputs used
has_cino
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configyes
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: CI-Tests. Remaining weights renormalized.

Documentation

55Moderate
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage sitehttps://dev.mysql.com/doc/connector-python/en/
10/10Repository description
0/10Topics
0/10Wiki
Inputs used
topics
has_wikino
homepage
docs_sitehttps://dev.mysql.com/doc/connector-python/en/
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

49Weak · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
0/2.5CI-Testsno data
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0/7.5Code-ReviewFound 0/30 approved changesets -- score normalized to 0
2.5/2.5Contributorsproject has 5 contributing companies or organizations
0/10Dangerous-Workflowno data
0/7.5Dependency-Update-Toolno update tool detected
0/5Fuzzingproject is not fuzzed
2.2/2.5Licenselicense file detected
3/7.5Maintained5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
0/5Packagingno data
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTno SAST tool detected
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsno data
6/7.5Vulnerabilities2 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated13
scorecard_versionv5.5.0
checks_inconclusive5
scorecard_aggregate3.6
Excluded from scoring (no data or not applicable): CI-Tests, Dangerous-Workflow, Packaging, Signed-Releases, Token-Permissions. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisoriesno direct dependency carries a known advisory
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
0/40No advisories left outstandingno advisory carries a publication date
Inputs used
sourceosv
advisories4
affected_packages1
assessed_packages4
unassessed_packages1
affected_by_severityhigh 1
direct_affected_packages0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 4 resolved dependencies against OSV. 1 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. 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.

66Good · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
33.1/40Legible commit history62 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.62
agent_instruction_files
agent_instruction_max_bytes
How it's scored
18/18One-command bootstrapmysqlx-connector-python/docs/mysqlx/Makefile
22/22Automated tests
11/11Lint / format configpyproject.toml ([tool.pylint], [tool.black], [tool.isort])
11/11Static type checkingmysql-connector-python/lib/mysql/connector/aio/py.typed, mysql-connector-python/lib/mysql/connector/py.typed, mysqlx-connector-python/lib/mysqlx/py.typed
10/10Reproducible environmentDockerfile
0/10Demonstrated agent practiceno agent-authored commits among the last 100
0/8Automated maintenanceno automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfiles
has_dockerfileyes
typed_languageno
bootstrap_filesmysqlx-connector-python/docs/mysqlx/Makefile
has_devcontainerno
has_linter_configyes
typecheck_configsmysql-connector-python/lib/mysql/connector/aio/py.typed, mysql-connector-python/lib/mysql/connector/py.typed, mysqlx-connector-python/lib/mysqlx/py.typed
agent_commit_share0
toolchain_manifests
dependency_bot_commit_share0
How it's scored
27/45Type-checkable codePython with type-check config (mysql-connector-python/lib/mysql/connector/aio/py.typed, mysql-connector-python/lib/mysql/connector/py.typed, mysqlx-connector-python/lib/mysqlx/py.typed)
51.9/55Manageable file sizes16/280 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes313,273
source_files_sampled280
oversized_source_files16
How it's scored
40/40API schema (OpenAPI/GraphQL/proto)mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_connection.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_crud.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_cursor.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_datatypes.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_expect.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_expr.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_notice.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_prepare.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_resultset.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_session.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_sql.proto
0/20MCP servernot applicable to this kind of software
40/40Runnable examplesexamples
Inputs used
example_dirsexamples
has_mcp_signalno
api_schema_filesmysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_connection.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_crud.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_cursor.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_datatypes.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_expect.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_expr.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_notice.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_prepare.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_resultset.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_session.proto, mysqlx-connector-python/src/mysqlxpb/mysqlx/protocol/mysqlx_sql.proto
interfaces_expected_of
Excluded from scoring (no data or not applicable): MCP server. Remaining weights renormalized.

Key facts

957GitHub stars
20contributors
22commits, last 12 months
29days since last push
57releases
1bus factor
1open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 300 ⇿
0Stars
300Forks
56Releases

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.

05010015020025030028742014-082020-082026-07
Major 1Minor 13Patch 41

Each point covers 11 days.

OpenSSF Scorecard 3.6 / 10
3.6aggregate

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-27 12:19 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
n/aCI-Testsno pull request found
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/30 approved changesets -- score normalized to 0
10Contributorsproject has 5 contributing companies or organizations
n/aDangerous-Workflowno workflows found
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
9Licenselicense file detected
4Maintained5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTno SAST tool detected
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
n/aToken-PermissionsNo tokens found
8Vulnerabilities2 existing vulnerabilities detected
All dependencies 5

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

RegistryPackageVersionRelation
PyPIdnspython2.6.1indirect
PyPIgssapi1.8.3indirect
PyPIlz44.4.4indirect
PyPIprotobuf5.29.4indirect
PyPIzstandardindirect
Dependency advisories 1

This repository publishes no package the index resolves, so its own dependency graph was assessed — 4 packages, which also include development and test pins that never ship: 1 carry known advisories, of which 0 are direct. 1 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list.

PackageVersionRelationSeverityAdvisoriesFixed in
protobuf5.29.4indirecthigh46.33.5

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.