Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-21 02:30 UTC

swar / nba_api

An API Client package to access the APIs for NBA.com

PythonMIT★ 3,895 stars⑂ 729 forkssince Sep 2018View on GitHub ↗

swar/nba_api holds a health index of 92 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (96/100) and lowest on Security (66/100). It was last updated 9 days ago. 2 contributors account for most of its recent work.

92
overall / 100
Excellent

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.

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

Ownership

Swar PatelPersonal account
204 followers8 public repossince Sep 2015https://www.linkedin.com/in/swar/

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPInba_api1.12.0355,1634627 days agoapibasketballdatanbasportsstats

Metrics by category

Vitality

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

73Good · 21% of overall
How it's scored
28.8/36Push recency — last push 9 days ago
9.7/36Commit cadence — 14/52 weeks with commits
18/18Commit volume — 127 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year127
Share of human-authored commits0.94
Days since last push9
Weeks with commits in the last year14
How it's scored
27/27Ships releases — 41 releases published
36/36Release recency — latest release 27 days ago
19.8/27Release cadence — a release every ~45.3 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
Number of releases41
Latest release tagv1.12.0
Releases derived from version tagsno
Days since latest release27
Mean days between releases45.3

Community & Adoption

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

87Excellent · 17% of overall
How it's scored
58.2/60Stars — 3,895 stars
23.9/25Forks — 729 forks
11.3/15Watchers — 111 watchers
Inputs used
Forks729
Stars3,895
Watchers111
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
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 README5
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentno
Badge services used in the READMEshields.io
Pull request template presentyes
How it's scored
74/80Monthly downloads — 355,163 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesnba_api
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads355,163
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?

69Good · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
11.7/22.5Commit distribution — top contributor authored 48% of commits
13.5/13.5Contributor breadth — 39 contributors
10/10OpenSSF Scorecard: Contributors — project has 4 contributing companies or organizations
Inputs used
Bus factor2
Contributors sampled39
Share of commits by the top contributor0.478
How it's scored
33.3/42Issue resolution — 79% of issues closed
24.2/30PR acceptance — 260/322 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-Review — Found 1/26 approved changesets -- score normalized to 0
Inputs used
Merged pull requests260
Open issues88
Closed issues340
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days44
Pull requests decided in the last 30 days47
Share of issues closed0.794
Pull requests closed without merging62
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
16.6/25Owner reach — 204 followers of swar
18.9/25Track record — 8 public repos, account ~11 yr old
Inputs used
Followers204
Owner account typeUser
Verified domain—
Owner accountswar
Public repositories8
Owner account age in days4,072
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

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

Engineering Quality

Are baseline engineering and documentation practices in place?

96Exceptional · 19% of overall
How it's scored
24/24CI workflows — 5 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

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://github.com/swar/nba_api/blob/master/docs/table_of_contents.md
10/10Repository description
10/10Topics — 14 topics
10/10Wiki
Inputs used
Repository topicsnba, stats, nba-stats, nba-api, nba-stats-api, basketball-stats, sports-stats, api-client, endpoint-analysis, jupyter-notebooks, analysis, http-client, python, python3
Wiki enabledyes
Repository homepage—
Documentation sitehttps://github.com/swar/nba_api/blob/master/docs/table_of_contents.md
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

66Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
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
0/7.5Code-Review — Found 1/26 approved changesets -- score normalized to 0
2.5/2.5Contributors — project has 4 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
4.5/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 9
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — Project has not signed or included provenance with any releases.
7.5/7.5Token-Permissions — GitHub workflow tokens follow principle of least privilege
0/7.5Vulnerabilities — 17 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated17
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive1
OpenSSF Scorecard aggregate score5.8
Excluded from scoring (no data or not applicable): Branch-Protection. Remaining weights renormalized.

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 assessed9
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:nba_api@1.12.0 runtime dependency closure — what installing the published package pulls in — 9 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.

84Excellent · 4% of overall
How it's scored
45/45Agent instructions — AGENTS.md, CLAUDE.md
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 71 of 94 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.755
Agent instruction filesAGENTS.md, CLAUDE.md
Size of the largest agent instruction file (bytes)7,736
How it's scored
18/18One-command bootstrap — Makefile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff])
0/11Static type checking
10/10Reproducible environment — devcontainer, Dockerfile, lockfile
10/10Demonstrated agent practice — 57 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 6 of the last 100 commits are automated dependency updates
9/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 9
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesuv.lock
Dockerfile presentyes
Primary language statically typedno
One-command bootstrap filesMakefile
Dev container config presentyes
Linter config presentyes
Static type-check config files—
Share of commits authored by or credited to coding agents0.57
Toolchain manifests—
Share of commits that are automated dependency updates0.06
How it's scored
0/45Type-checkable code — Python without a type-check config
54.8/55Manageable file sizes — 1/314 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)374,253
Source files sampled314
Oversized source files1
How it's scored
0/40API schema (OpenAPI/GraphQL/proto) — not applicable to this kind of software
0/20MCP server — not applicable to this kind of software
40/40Runnable examples — examples, notebooks
Inputs used
Runnable example directoriesexamples, notebooks
MCP server signal presentno
API schema files—
Software kinds for which an interface is expected—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

3,895GitHub stars
39contributors
127commits, last 12 months
9days since last push
41releases
2bus factor
88open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable

More detail

Star and fork history 0 ★ / 729 ⇿
0Stars
729Forks
41Releases

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.

0125250375500625750724102018-092022-102026-11
Major 0Minor 11Patch 30

Each point covers 8 days.

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-11-21 02:29 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
0Code-ReviewFound 1/26 approved changesets -- score normalized to 0
10Contributorsproject has 4 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 3 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
9Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 9
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
10Token-PermissionsGitHub workflow tokens follow principle of least privilege
0Vulnerabilities17 existing vulnerabilities detected
Direct dependencies 6
RegistryPackageVersion constraintManifest
PyPIpandas>=2.2.2pyproject.toml
PyPIpandas>=2.2.2pyproject.toml
PyPIpandas>=2.2.3pyproject.toml
PyPIpandas>=2.3.3pyproject.toml
PyPIpandas>=3.0.6pyproject.toml
PyPIrequests(>=2.32.3,<3.0.0)pyproject.toml
All dependencies 66

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

RegistryPackageVersionRelation
PyPIpandas2.3.3direct
PyPIpandas3.1.0direct
PyPIrequests2.34.2direct
PyPIannotated-types0.8.0indirect
PyPIcertifi2026.10.23indirect
PyPIcfgv3.5.0indirect
PyPIcharset-normalizer3.5.2indirect
PyPIclick8.5.0indirect
PyPIclick-option-group0.5.9indirect
PyPIcolorama0.4.6indirect
PyPIcoverage7.16.2indirect
PyPIcoverage7.17.0indirect
PyPIdeprecated1.3.1indirect
PyPIdistlib0.4.4indirect
PyPIdotty-dict1.3.1indirect
PyPIexceptiongroup1.3.1indirect
PyPIfilelock4.1.0indirect
PyPIfilelock4.2.4indirect
PyPIgitdb4.0.12indirect
PyPIgitpython3.2.1indirect
PyPIidentify2.6.20indirect
PyPIidna3.20indirect
PyPIiniconfig2.3.1indirect
PyPIjinja23.1.6indirect
PyPImarkdown-it-py4.2.0indirect
PyPImarkupsafe3.0.4indirect
PyPImdurl0.1.2indirect
PyPInba-api1.12.0indirect
PyPInodeenv1.11.0indirect
PyPInumpy2.2.6indirect
PyPInumpy2.4.6indirect
PyPInumpy2.5.4indirect
PyPIpackaging26.3indirect
PyPIplatformdirs4.12.4indirect
PyPIplatformdirs4.13.5indirect
PyPIpluggy1.7.0indirect
PyPIpre-commit4.6.2indirect
PyPIpre-commit4.7.0indirect
PyPIpydantic2.14.1indirect
PyPIpydantic-core2.50.1indirect
PyPIpygments2.21.0indirect
PyPIpysocks1.7.1indirect
PyPIpytest9.2.0indirect
PyPIpytest-cov7.1.0indirect
PyPIpytest-recording0.14.0indirect
PyPIpython-dateutil3.0.0indirect
PyPIpython-discovery1.6.4indirect
PyPIpython-gitlab8.6.0indirect
PyPIpython-semantic-release10.7.0indirect
PyPIpytz2026.5indirect
PyPIpyyaml6.0.3indirect
PyPIrequests-toolbelt1.0.0indirect
PyPIrich15.0.0indirect
PyPIruff0.17.3indirect
PyPIshellingham1.5.4indirect
PyPIsix1.17.0indirect
PyPIsmmap5.0.3indirect
PyPItomli2.5.0indirect
PyPItomlkit0.15.2indirect
PyPItyping-extensions4.16.0indirect
PyPItyping-inspection0.4.4indirect
PyPItzdata2026.5indirect
PyPIurllib32.8.0indirect
PyPIvcrpy8.3.0indirect
PyPIvirtualenv21.14.13indirect
PyPIwrapt2.5.1indirect
Dependency advisories 0

Installing pypi:nba_api@1.12.0 pulls in 9 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.