Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-17 19:08 UTC

rytilahti / python-miio

Python library & console tool for controlling Xiaomi smart appliances

PythonGPL-3.0★ 4,303 stars⑂ 601 forkssince Mar 2017View on GitHub ↗
KindCommand-line toolLibraryhow this is determined

rytilahti/python-miio holds a health index of 80 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (88/100) and lowest on Vitality (46/100). It was last updated 54 days ago. A single contributor accounts for most of its recent work.

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

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

Ownership

Teemu R.Personal account
300 followers44 public repossince Feb 2013

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
PyPIpython-miio0.5.12-401521 days agoxiaomimiiomiotsmart-home

Metrics by category

Vitality

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

46Weak · 21% of overall
How it's scored
18/36Push recency — last push 54 days ago
2.8/36Commit cadence — 4/52 weeks with commits
11.7/18Commit volume — 19 commits in the last year
10/10OpenSSF Scorecard: Maintained — 19 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year19
human_commit_share1
days_since_last_push54
active_weeks_last_year4
How it's scored
27/27Ships releases — 49 releases published
0/36Release recency — latest release 918 days ago
19.8/27Release cadence — a release every ~115.9 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count49
latest_release_tag0.6.0.dev0
releases_from_tagsno
days_since_latest_release918
mean_days_between_releases115.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?

82Excellent · 17% of overall
How it's scored
58.9/60Stars — 4,303 stars
23.2/25Forks — 601 forks
10.9/15Watchers — 94 watchers
Inputs used
forks601
stars4,303
watchers94
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (GPL-3.0)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges6
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_servicesbadge.fury.io, codecov.io, github.com, readthedocs.org, shields.io
has_pull_request_templateno

Sustainability & Governance

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

62Moderate · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
10.3/22.5Commit distribution — top contributor authored 54% of commits
13.5/13.5Contributor breadth — 100 contributors
10/10OpenSSF Scorecard: Contributors — project has 3 contributing companies or organizations -- score normalized to 10
Inputs used
bus_factor1
contributors_sampled100
top_contributor_share0.544
How it's scored
30.1/42Issue resolution — 72% of issues closed
27.1/30PR acceptance — 907/1,003 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
9/15OpenSSF Scorecard: Code-Review — Found 19/30 approved changesets -- score normalized to 6
Inputs used
merged_prs907
open_issues276
closed_issues699
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.717
closed_unmerged_prs96
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
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
17.8/25Owner reach — 300 followers of rytilahti
24/25Track record — 44 public repos, account ~13 yr old
Inputs used
followers300
owner_typeUser
is_verified—
owner_loginrytilahti
public_repos44
account_age_days4,951
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.
How it's scored
25/25Published & resolvable — 1 package(s) on pypi
4/35Publish recency — latest publish 1,521 days ago
20/20Version history — 40 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagespython-miio
ecosystemspypi
any_deprecatedno
min_days_since_publish1,521

Engineering Quality

Are baseline engineering and documentation practices in place?

88Excellent · 19% of overall
How it's scored
24/24CI workflows — 3 workflow(s)
24/24Tests present
16/16Linter config — .flake8, pyproject.toml ([tool.ruff])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
12/20OpenSSF Scorecard: CI-Tests — 20 out of 30 merged PRs checked by a CI test -- score normalized to 6
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 site — https://python-miio.readthedocs.io
10/10Repository description
10/10Topics — 8 topics
0/10Wiki
Inputs used
topicsxiaomi, python, home-assistant, miio, home-automation, smart-home, miot, miot-spec
has_wikino
homepagehttps://python-miio.readthedocs.io
docs_sitehttps://python-miio.readthedocs.io
has_readmeyes
has_docs_diryes
has_descriptionyes

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
1.5/2.5CI-Tests — 20 out of 30 merged PRs checked by a CI test -- score normalized to 6
0.5/2.5CII-Best-Practices — badge detected: InProgress
4.5/7.5Code-Review — Found 19/30 approved changesets -- score normalized to 6
2.5/2.5Contributors — project has 3 contributing companies or organizations -- score normalized to 10
10/10Dangerous-Workflow — no dangerous workflow patterns detected
0/7.5Dependency-Update-Tool — no update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 19 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — no data
2.5/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 5
4/5SAST — SAST tool detected but not run on all commits
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
6/7.5Vulnerabilities — 2 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate5.8
Excluded from scoring (no data or not applicable): Branch-Protection, 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
sourceosv
advisories0
affected_packages0
assessed_packages19
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:python-miio@0.5.12 runtime dependency closure — what installing the published package pulls in — 19 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.

70Good · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 99 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url—
legible_history_share0.99
agent_instruction_files—
agent_instruction_max_bytes—
How it's scored
18/18One-command bootstrap — docs/Makefile
22/22Automated tests
11/11Lint / format config — .flake8, pyproject.toml ([tool.ruff])
11/11Static type checking — miio/py.typed
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
0/8Automated maintenance — no automated dependency updates observed
5/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 5
Inputs used
has_nixno
has_testsyes
lockfilesuv.lock
has_dockerfileno
typed_languageno
bootstrap_filesdocs/Makefile
has_devcontainerno
has_linter_configyes
typecheck_configsmiio/py.typed
agent_commit_share0
toolchain_manifests—
dependency_bot_commit_share0
How it's scored
27/45Type-checkable code — Python with type-check config (miio/py.typed)
55/55Manageable file sizes — 0/275 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes37,304
source_files_sampled275
oversized_source_files0
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
Inputs used
example_dirsexamples
has_mcp_signalno
api_schema_files—
interfaces_expected_of—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

4,303GitHub stars
100contributors
19commits, last 12 months
54days since last push
49releases
1bus factor
276open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • pypi download statistics for 'python-miio' unavailable this scan (stats endpoint failed after retries); adoption may be under-evidenced

More detail

Star and fork history 0 ★ / 601 ⇿
0Stars
601Forks
49Releases

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.

010020030040050060058092017-032021-112026-07
Major 0Minor 5Patch 37

Each point covers 9 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-09-17 19:08 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
6CI-Tests20 out of 30 merged PRs checked by a CI test -- score normalized to 6
2CII-Best-Practicesbadge detected: InProgress
6Code-ReviewFound 19/30 approved changesets -- score normalized to 6
10Contributorsproject has 3 contributing companies or organizations -- score normalized to 10
10Dangerous-Workflowno dangerous workflow patterns detected
0Dependency-Update-Toolno update tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained19 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 5
8SASTSAST tool detected but not run on all commits
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
8Vulnerabilities2 existing vulnerabilities detected
Direct dependencies 12
RegistryPackageVersion constraintManifest
PyPIclick>=8pyproject.toml
PyPIcryptography>=35pyproject.toml
PyPIconstruct>=2.10.56,<3pyproject.toml
PyPIzeroconf>=0,<1pyproject.toml
PyPIattrs—pyproject.toml
PyPIplatformdirs—pyproject.toml
PyPItqdm>=4,<5pyproject.toml
PyPImicloud>=0.6pyproject.toml
PyPIcroniter>=1pyproject.toml
PyPIdefusedxml>=0,<1pyproject.toml
PyPIpydantic>=2pyproject.toml
PyPIPyYAML>=5,<7pyproject.toml
All dependencies 163

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

RegistryPackageVersionRelation
PyPIattrs24.2.0direct
PyPIattrs26.1.0direct
PyPIclick8.1.7direct
PyPIclick8.4.2direct
PyPIconstruct2.10.70direct
PyPIcroniter3.0.4direct
PyPIcroniter6.2.2direct
PyPIcryptography43.0.3direct
PyPIcryptography49.0.0direct
PyPIdefusedxml0.7.1direct
PyPImicloud0.6direct
PyPIplatformdirs4.10.0direct
PyPIplatformdirs4.3.6direct
PyPIpydantic2.13.4direct
PyPIpydantic2.9.2direct
PyPIpyyaml6.0.2direct
PyPIpyyaml6.0.3direct
PyPItqdm4.66.5direct
PyPItqdm4.68.3direct
PyPIzeroconf0.136.0direct
PyPIzeroconf0.150.0direct
PyPIalabaster0.7.16indirect
PyPIalabaster1.0.0indirect
PyPIandroid-backup0.2.0indirect
PyPIannotated-types0.7.0indirect
PyPIast-serialize0.5.0indirect
PyPIbabel2.16.0indirect
PyPIbabel2.18.0indirect
PyPIcachetools5.5.0indirect
PyPIcachetools7.1.4indirect
PyPIcertifi2024.8.30indirect
PyPIcertifi2026.6.17indirect
PyPIcffi1.17.1indirect
PyPIcffi2.0.0indirect
PyPIcfgv3.4.0indirect
PyPIcfgv3.5.0indirect
PyPIchardet5.2.0indirect
PyPIcharset-normalizer3.4.0indirect
PyPIcharset-normalizer3.4.7indirect
PyPIcolorama0.4.6indirect
PyPIcoverage7.14.3indirect
PyPIcoverage7.6.4indirect
PyPIcrcmod1.7indirect
PyPIdistlib0.3.9indirect
PyPIdistlib0.4.3indirect
PyPIdoc81.1.2indirect
PyPIdoc82.0.0indirect
PyPIdocformatter1.7.5indirect
PyPIdocformatter1.7.8indirect
PyPIdocutils0.21.2indirect
PyPIfilelock3.16.1indirect
PyPIfilelock3.29.4indirect
PyPIidentify2.6.1indirect
PyPIidentify2.6.19indirect
PyPIidna3.10indirect
PyPIidna3.18indirect
PyPIifaddr0.2.0indirect
PyPIimagesize1.4.1indirect
PyPIimagesize2.0.0indirect
PyPIiniconfig2.0.0indirect
PyPIiniconfig2.3.0indirect
PyPIisort5.13.2indirect
PyPIisort8.0.1indirect
PyPIjinja23.1.4indirect
PyPIjinja23.1.6indirect
PyPIlibrt0.11.0indirect
PyPImarkdown-it-py3.0.0indirect
PyPImarkdown-it-py4.2.0indirect
PyPImarkupsafe3.0.2indirect
PyPImarkupsafe3.0.3indirect
PyPImdit-py-plugins0.4.2indirect
PyPImdit-py-plugins0.6.1indirect
PyPImdurl0.1.2indirect
PyPImypy1.13.0indirect
PyPImypy2.1.0indirect
PyPImypy-extensions1.0.0indirect
PyPImypy-extensions1.1.0indirect
PyPImyst-parser3.0.1indirect
PyPImyst-parser5.1.0indirect
PyPInetifaces0.11.0indirect
PyPInodeenv1.10.0indirect
PyPInodeenv1.9.1indirect
PyPIpackaging24.1indirect
PyPIpackaging26.2indirect
PyPIpathspec1.1.1indirect
PyPIpbr6.1.0indirect
PyPIpbr7.0.3indirect
PyPIpluggy1.5.0indirect
PyPIpluggy1.6.0indirect
PyPIpre-commit4.0.1indirect
PyPIpre-commit4.6.0indirect
PyPIpycparser2.22indirect
PyPIpycparser3.0indirect
PyPIpycryptodome3.21.0indirect
PyPIpycryptodome3.23.0indirect
PyPIpydantic-core2.23.4indirect
PyPIpydantic-core2.46.4indirect
PyPIpygments2.18.0indirect
PyPIpygments2.20.0indirect
PyPIpyproject-api1.10.1indirect
PyPIpyproject-api1.8.0indirect
PyPIpytest8.3.3indirect
PyPIpytest9.1.1indirect
PyPIpytest-asyncio0.24.0indirect
PyPIpytest-asyncio1.4.0indirect
PyPIpytest-cov5.0.0indirect
PyPIpytest-cov7.1.0indirect
PyPIpytest-mock3.14.0indirect
PyPIpytest-mock3.15.1indirect
PyPIpython-dateutil2.9.0.post0indirect
PyPIpython-discovery1.4.2indirect
PyPIpython-miio0.6.0.dev0indirect
PyPIpytz2024.2indirect
PyPIrequests2.32.3indirect
PyPIrequests2.34.2indirect
PyPIrestructuredtext-lint1.4.0indirect
PyPIrestructuredtext-lint2.0.2indirect
PyPIroman-numerals4.1.0indirect
PyPIsetuptools82.0.1indirect
PyPIsix1.16.0indirect
PyPIsix1.17.0indirect
PyPIsnowballstemmer2.2.0indirect
PyPIsnowballstemmer3.1.1indirect
PyPIsphinx7.4.7indirect
PyPIsphinx9.0.4indirect
PyPIsphinx9.1.0indirect
PyPIsphinx-click6.0.0indirect
PyPIsphinx-click6.2.0indirect
PyPIsphinx-rtd-theme3.0.1indirect
PyPIsphinx-rtd-theme3.1.0indirect
PyPIsphinxcontrib-apidoc0.5.0indirect
PyPIsphinxcontrib-apidoc0.6.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
PyPIstevedore5.3.0indirect
PyPIstevedore5.8.0indirect
PyPItomli2.4.1indirect
PyPItomli-w1.2.0indirect
PyPItox4.23.2indirect
PyPItox4.56.1indirect
PyPItypes-attrs19.1.0indirect
PyPItypes-croniter6.2.2.20260518indirect
PyPItypes-freezegun1.1.10indirect
PyPItypes-pytz2026.2.0.20260518indirect
PyPItypes-pyyaml6.0.12.20260518indirect
PyPItypes-requests2.33.0.20260518indirect
PyPItyping-extensions4.12.2indirect
PyPItyping-extensions4.15.0indirect
PyPItyping-inspection0.4.2indirect
PyPItzdata2024.2indirect
PyPItzdata2026.2indirect
PyPItzlocal5.2indirect
PyPItzlocal5.4.3indirect
PyPIuntokenize0.1.1indirect
PyPIurllib32.2.3indirect
PyPIurllib32.7.0indirect
PyPIvirtualenv20.27.0indirect
PyPIvirtualenv21.5.1indirect
Dependency advisories 0

Installing pypi:python-miio@0.5.12 pulls in 19 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.