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

rytilahti / python-miio

Python library & console tool for controlling Xiaomi smart appliances

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

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

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

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

Ownership

Teemu R.Personal account
298 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.12115,141401586 days agoxiaomimiiomiotsmart-home

Metrics by category

Vitality

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

36Weak · 21% of overall
How it's scored
9.9/36Push recency — last push 118 days ago
3.5/36Commit cadence — 5/52 weeks with commits
11.7/18Commit volume — 19 commits in the last year
0/10OpenSSF Scorecard: Maintained — 0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Inputs used
Commits in the last year19
Share of human-authored commits1
Days since last push118
Weeks with commits in the last year5
How it's scored
27/27Ships releases — 49 releases published
0/36Release recency — latest release 982 days ago
19.8/27Release cadence — a release every ~115.9 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases49
Latest release tag0.6.0.dev0
Releases derived from version tagsno
Days since latest release982
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?

83Excellent · 17% of overall
How it's scored
59/60Stars — 4,344 stars
23.2/25Forks — 601 forks
10.9/15Watchers — 94 watchers
Inputs used
Forks601
Stars4,344
Watchers94
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 (GPL-3.0)
18/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 README6
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentno
Badge services used in the READMEbadge.fury.io, codecov.io, github.com, readthedocs.org, shields.io
Pull request template presentno
How it's scored
67.5/80Monthly downloads — 115,141 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagespython-miio
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads115,141
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?

59Moderate · 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
Share of commits by the top contributor0.543
How it's scored
30/42Issue resolution — 72% of issues closed
27.1/30PR acceptance — 907/1,004 decided PRs merged
0/13Newcomer PR acceptance — 0/1 first-time contributors' PRs merged in 30d
9/15OpenSSF Scorecard: Code-Review — Found 19/30 approved changesets -- score normalized to 6
Inputs used
Merged pull requests907
Open issues279
Closed issues699
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days0
Pull requests decided in the last 30 days1
Share of issues closed0.715
Pull requests closed without merging97
First-time contributors with a pull request decided in the last 30 days1
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days1
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
17.8/25Owner reach — 298 followers of rytilahti
24/25Track record — 44 public repos, account ~13 yr old
Inputs used
Followers298
Owner account typeUser
Verified domain—
Owner accountrytilahti
Public repositories44
Owner account age in days5,015
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,586 days ago
20/20Version history — 40 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagespython-miio
Package ecosystemspypi
Any package deprecated or yankedno
Days since latest package publish1,586

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 — 19 out of 30 merged PRs checked by a CI test -- score normalized to 6
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://python-miio.readthedocs.io
10/10Repository description
10/10Topics — 8 topics
0/10Wiki
Inputs used
Repository topicsxiaomi, python, home-assistant, miio, home-automation, smart-home, miot, miot-spec
Wiki enabledno
Repository homepagehttps://python-miio.readthedocs.io
Documentation sitehttps://python-miio.readthedocs.io
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

54Moderate · 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 — 19 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
0/7.5Maintained — 0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
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
0/7.5Vulnerabilities — 36 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated15
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive3
OpenSSF Scorecard aggregate score4.2
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
Data sourceosv
Advisories across affected packages0
Packages affected by advisories0
Packages assessed19
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: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
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.99
Agent instruction files—
Size of the largest agent instruction file (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
Nix config presentno
Tests presentyes
Dependency lockfilesuv.lock
Dockerfile presentno
Primary language statically typedno
One-command bootstrap filesdocs/Makefile
Dev container config presentno
Linter config presentyes
Static type-check config filesmiio/py.typed
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0
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
Size of the largest source file (bytes)37,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
Runnable example directoriesexamples
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

4,344GitHub stars
100contributors
19commits, last 12 months
118days since last push
49releases
1bus factor
279open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable

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.

010020030040050060058192017-032022-012026-11
Major 0Minor 5Patch 37

Each point covers 9 days.

OpenSSF Scorecard 4.2 / 10
4.2aggregate

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:50 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-Tests19 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
0Maintained0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
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
0Vulnerabilities36 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.