Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-24 22:54 UTC

OCHA-DAP / hdx-python-country

Utilities to map between country and region codes and names and to match administrative level names from different sources. Also utilities for foreign exchange enabling obtaining current and historic FX rates for different currencies

PythonCustom license★ 29 stars⑂ 12 forkssince Oct 2017View on GitHub ↗

OCHA-DAP/hdx-python-country holds a health index of 83 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (96/100) and lowest on AI Readiness (43/100). It was last updated 20 days ago. A single contributor accounts for most of its recent work.

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

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

Ownership

289 followers562 public repossince Jul 2013

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPIhdx-python-country4.3.157,99427320 days agohdxcountrycountry-codecurrenciescurrencyexchange-rateforeign-exchangefxiso-3166iso2iso3locationregion

Metrics by category

Vitality

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

77Good · 21% of overall
How it's scored
28.8/36Push recency — last push 20 days ago
9.7/36Commit cadence — 14/52 weeks with commits
13.6/18Commit volume — 32 commits in the last year
10/10OpenSSF Scorecard: Maintained — 15 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year32
Share of human-authored commits1
Days since last push20
Weeks with commits in the last year14

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 100 releases published
36/36Release recency — latest release 20 days ago
27/27Release cadence — a release every ~3.9 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases100
Latest release tag4.3.1
Releases derived from version tagsno
Days since latest release20
Mean days between releases3.9
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?

51Moderate · 17% of overall
How it's scored
23.5/60Stars — 29 stars
8.7/25Forks — 12 forks
6.5/15Watchers — 16 watchers
Inputs used
Forks12
Stars29
Watchers16
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
16.9/22.5License — license file present, not a recognized license
0/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README4
CONTRIBUTING guide presentno
Issue template presentno
Code of conduct presentno
Badge services used in the READMEcoveralls.io, github.com, shields.io
Pull request template presentno
How it's scored
63.5/80Monthly downloads — 57,994 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packageshdx-python-country
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads57,994
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?

63Moderate · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
1.8/22.5Commit distribution — top contributor authored 92% of commits
6.8/13.5Contributor breadth — 5 contributors
0/10OpenSSF Scorecard: Contributors — project has 0 contributing companies or organizations -- score normalized to 0
Inputs used
Bus factor1
Contributors sampled5
Share of commits by the top contributor0.919
How it's scored
42/42Issue resolution — 100% of issues closed
25.6/30PR acceptance — 69/81 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-Review — Found 1/30 approved changesets -- score normalized to 0
Inputs used
Merged pull requests69
Open issues0
Closed issues22
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days6
Pull requests decided in the last 30 days6
Share of issues closed1
Pull requests closed without merging12
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
30/30Ownership backing — organization-owned
0/20Verified domain
17.7/25Owner reach — 289 followers of OCHA-DAP
25/25Track record — 562 public repos, account ~13 yr old
Inputs used
Followers289
Owner account typeOrganization
Verified domainno
Owner accountOCHA-DAP
Public repositories562
Owner account age in days4,870

Package maintenance

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

Engineering Quality

Are baseline engineering and documentation practices in place?

96Exceptional · 19% of overall
How it's scored
24/24CI workflows — 2 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 — 18 out of 18 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://hdx-python-country.readthedocs.io/en/latest/
10/10Repository description
10/10Topics — 9 topics
10/10Wiki
Inputs used
Repository topicscountries, countries-api, country-codes, currencies, currency-rates, exchange-rates, foreign-exchange-rates, hdx, administrative-divisions
Wiki enabledyes
Repository homepagehttps://hdx-python-country.readthedocs.io/en/latest/
Documentation sitehttps://hdx-python-country.readthedocs.io/en/latest/
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
3.8/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 18 out of 18 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/30 approved changesets -- score normalized to 0
0/2.5Contributors — project has 0 contributing companies or organizations -- score normalized to 0
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.2/2.5License — license file detected
7.5/7.5Maintained — 15 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — no data
5/5Pinned-Dependencies — all dependencies are pinned
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 — no data
6.8/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated16
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive2
OpenSSF Scorecard aggregate score5.7
Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. 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 assessed56
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:hdx-python-country@4.3.1 runtime dependency closure — what installing the published package pulls in — 56 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.

43Weak · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
24/40Legible commit history — 45 of 100 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.45
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff])
0/11Static type checking
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
10/10OpenSSF Scorecard: Pinned-Dependencies — all dependencies are pinned
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfilesuv.lock
Dockerfile presentno
Primary language statically typedno
One-command bootstrap files—
Dev container config presentno
Linter config presentyes
Static type-check config files—
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0
How it's scored
0/45Type-checkable code — Python without a type-check config
55/55Manageable file sizes — 0/14 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)44,597
Source files sampled14
Oversized source files0

Key facts

29GitHub stars
5contributors
32commits, last 12 months
20days since last push
100releases
1bus factor
0open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable

More detail

Star and fork history 0 ★ / 12 ⇿
0Stars
12Forks
79Releases

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.

0246810121222019-092022-092025-09
Major 0Minor 8Patch 71

Each point covers 6 days.

OpenSSF Scorecard 5.7 / 10
5.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-11-24 22:54 UTC

10Binary-Artifactsno binaries found in the repo
5Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests18 out of 18 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/30 approved changesets -- score normalized to 0
0Contributorsproject has 0 contributing companies or organizations -- score normalized to 0
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
9Licenselicense file detected
10Maintained15 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
10Pinned-Dependenciesall dependencies are pinned
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
9Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 2
RegistryPackageVersion constraintManifest
PyPIhdx-python-utilities>=4.2.7,<5pyproject.toml
PyPItenacity—pyproject.toml
All dependencies 96

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

RegistryPackageVersionRelation
PyPIhdx-python-utilities4.2.7direct
PyPItenacity9.2.1direct
PyPIannotated-doc0.0.5indirect
PyPIannotated-types0.8.0indirect
PyPIanyio4.16.0indirect
PyPIastdoc1.3.2indirect
PyPIattrs26.1.0indirect
PyPIbabel2.18.0indirect
PyPIbackrefs8.2indirect
PyPIcertifi2026.10.23indirect
PyPIcfgv3.5.0indirect
PyPIchardet7.7.0indirect
PyPIcharset-normalizer3.5.2indirect
PyPIclick8.5.0indirect
PyPIcolorama0.4.6indirect
PyPIcoverage7.17.1indirect
PyPIdata-bridges-client9.0.3indirect
PyPIdistlib0.4.4indirect
PyPIet-xmlfile2.0.0indirect
PyPIfilelock4.2.7indirect
PyPIfrictionless5.21.0indirect
PyPIghp-import2.1.0indirect
PyPIh110.16.0indirect
PyPIhttpcore1.0.9indirect
PyPIhttpx0.28.1indirect
PyPIhumanize4.16.0indirect
PyPIidentify2.6.20indirect
PyPIidna3.20indirect
PyPIijson3.6.0indirect
PyPIiniconfig2.3.1indirect
PyPIisodate0.7.2indirect
PyPIjinja23.1.6indirect
PyPIjsonlines4.0.0indirect
PyPIjsonschema4.26.0indirect
PyPIjsonschema-specifications2025.9.1indirect
PyPIloguru0.7.3indirect
PyPImarkdown3.11.2indirect
PyPImarkdown-it-py4.2.0indirect
PyPImarko2.2.5indirect
PyPImarkupsafe3.0.4indirect
PyPImdurl0.1.2indirect
PyPImergedeep1.3.4indirect
PyPImkapi4.5.0indirect
PyPImkdocs1.6.1indirect
PyPImkdocs-get-deps0.2.2indirect
PyPImkdocs-material9.8.0indirect
PyPImkdocs-material-extensions1.3.1indirect
PyPInodeenv1.12.0indirect
PyPIopenpyxl3.1.5indirect
PyPIpackaging26.3indirect
PyPIpaginate0.5.7indirect
PyPIpathspec1.1.1indirect
PyPIpetl1.7.31indirect
PyPIplatformdirs4.14.3indirect
PyPIpluggy1.7.0indirect
PyPIpre-commit4.7.0indirect
PyPIpydantic2.14.2indirect
PyPIpydantic-core2.50.2indirect
PyPIpygments2.21.0indirect
PyPIpymdown-extensions12.3indirect
PyPIpytest9.2.0indirect
PyPIpytest-cov7.1.0indirect
PyPIpython-dateutil3.0.0indirect
PyPIpython-discovery1.9.2indirect
PyPIpython-slugify9.1.3indirect
PyPIpyyaml6.0.3indirect
PyPIpyyaml-env-tag1.1indirect
PyPIrapidfuzz3.14.6indirect
PyPIratelimit2.2.1indirect
PyPIreferencing0.37.0indirect
PyPIrequests2.34.2indirect
PyPIrequests-file3.0.1indirect
PyPIrfc39862.0.0indirect
PyPIrich15.0.0indirect
PyPIrpds-py2026.9.1indirect
PyPIruamel-yaml0.19.1indirect
PyPIruff0.17.3indirect
PyPIshellingham1.5.4indirect
PyPIsimpleeval1.0.8indirect
PyPIsix1.17.0indirect
PyPItableschema-to-template0.0.13indirect
PyPItabulate0.10.0indirect
PyPItext-unidecode1.3indirect
PyPItyper0.27.3indirect
PyPItyping-extensions4.16.0indirect
PyPItyping-inspection0.4.4indirect
PyPItzdata2026.6indirect
PyPIurllib32.8.0indirect
PyPIvalidators0.36.0indirect
PyPIvirtualenv21.15.3indirect
PyPIwatchdog7.0.0indirect
PyPIwin32-setctime1.2.1indirect
PyPIxlrd2.0.2indirect
PyPIxlsx2csv0.8.4indirect
PyPIxlsxwriter3.3.1indirect
PyPIxlwt1.3.0indirect
Dependency advisories 0

Installing pypi:hdx-python-country@4.3.1 pulls in 56 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.