Public record
Software health reportschema 0.31.0 · metrics 2.6.0 · 2026-08-12 22:48 UTC

tortoise / tortoise-orm

Familiar asyncio ORM for python, built with relations in mind

PythonApache-2.0★ 5,611 stars⑂ 500 forkssince Mar 2018View on GitHub ↗
KindLibraryCommand-line toolhow this is determined

tortoise/tortoise-orm holds a health index of 94 out of 100, placing it in the Exceptional band. It scores highest on Vitality (93/100) and lowest on AI Readiness (66/100). It was last updated 2 days ago. 2 contributors account for most of its recent work.

94
overall / 100
Exceptional

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.

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

Ownership

TortoiseOrganization
94 followers9 public repossince Aug 2018

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
PyPItortoise-orm1.1.8-1822 days agosqlmysqlpostgrespsqlsqliteaiosqliteasyncpgrelationaldatabaserdbmsormobject-mapperasyncasyncioaiopsycopg

Metrics by category

Vitality

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

93Exceptional · 21% of overall
How it's scored
36/36Push recency — last push 2 days ago
24.2/36Commit cadence — 35/52 weeks with commits
18/18Commit volume — 120 commits in the last year
10/10OpenSSF Scorecard: Maintained — 20 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year120
human_commit_share0.82
days_since_last_push2
active_weeks_last_year35

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 100 releases published
36/36Release recency — latest release 2 days ago
27/27Release cadence — a release every ~20.3 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count100
latest_release_tag1.1.8
releases_from_tagsno
days_since_latest_release2
mean_days_between_releases20.3
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?

85Excellent · 17% of overall
How it's scored
60/60Stars — 5,611 stars
22.5/25Forks — 500 forks
9/15Watchers — 43 watchers
Inputs used
forks500
stars5,611
watchers43
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (Apache-2.0)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges4
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_servicescoveralls.io, github.com, shields.io
has_pull_request_templateyes

Sustainability & Governance

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

71Good · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
15.7/22.5Commit distribution — top contributor authored 30% of commits
13.5/13.5Contributor breadth — 99 contributors
10/10OpenSSF Scorecard: Contributors — project has 9 contributing companies or organizations
Inputs used
bus_factor2
contributors_sampled99
top_contributor_share0.303
How it's scored
26.4/42Issue resolution — 63% of issues closed
23.6/30PR acceptance — 639/814 decided PRs merged
0/13Newcomer PR acceptance — 0/1 first-time contributors' PRs merged in 30d
12/15OpenSSF Scorecard: Code-Review — Found 17/20 approved changesets -- score normalized to 8
Inputs used
merged_prs639
open_issues470
closed_issues796
prs_merged_7d2
prs_decided_7d2
prs_merged_30d2
prs_decided_30d3
issue_closed_ratio0.629
closed_unmerged_prs175
first_time_authors_30d1
first_time_prs_merged_30d0
first_time_prs_decided_30d1
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
14.2/25Owner reach — 94 followers of tortoise
19.3/25Track record — 9 public repos, account ~7 yr old
Inputs used
followers94
owner_typeOrganization
is_verified
owner_logintortoise
public_repos9
account_age_days2,910

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on pypi
35/35Publish recency — latest publish 2 days ago
20/20Version history — 182 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagestortoise-orm
ecosystemspypi
any_deprecatedno
min_days_since_publish2

Engineering Quality

Are baseline engineering and documentation practices in place?

92Excellent · 19% of overall
How it's scored
24/24CI workflows — 5 workflow(s)
24/24Tests present
16/16Linter config
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
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://tortoise.github.io
10/10Repository description
10/10Topics — 7 topics
0/10Wiki
Inputs used
topicsorm, asyncio, async, python3, sqlite, postgresql, mysql
has_wikino
homepagehttps://tortoise.github.io
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

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

67Good · 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
6/7.5Code-Review — Found 17/20 approved changesets -- score normalized to 8
2.5/2.5Contributors — project has 9 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 — 20 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
2/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 4
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
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
0/7.5Vulnerabilities — 10 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate5.9
Excluded from scoring (no data or not applicable): branch_protection, 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_packages5
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:tortoise-orm@1.1.8 runtime dependency closure — what installing the published package pulls in — 5 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.

66Good · 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 — 74 of 82 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
legible_history_share0.902
agent_instruction_files
agent_instruction_max_bytes
How it's scored
18/18One-command bootstrap — Makefile, docs/Makefile
22/22Automated tests
11/11Lint / format config
11/11Static type checking — tortoise/py.typed
10/10Reproducible environment — lockfile
6/10Demonstrated agent practice — 3 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 18 of the last 100 commits are automated dependency updates
4/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 4
Inputs used
has_nixno
has_testsyes
lockfilesuv.lock
has_dockerfileno
typed_languageno
bootstrap_filesMakefile, docs/Makefile
has_devcontainerno
has_linter_configyes
typecheck_configstortoise/py.typed
agent_commit_share0.03
toolchain_manifests
dependency_bot_commit_share0.18
How it's scored
27/45Type-checkable code — Python with type-check config (tortoise/py.typed)
54.4/55Manageable file sizes — 5/448 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes95,040
source_files_sampled448
oversized_source_files5
How it's scored
0/40API schema (OpenAPI/GraphQL/proto)
0/20MCP server
40/40Runnable examples — examples
Inputs used
example_dirsexamples
has_mcp_signalno
api_schema_files

Key facts

5,611GitHub stars
99contributors
120commits, last 12 months
2days since last push
100releases
2bus factor
470open 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 ★ / 500 ⇿
0Stars
500Forks
99Releases

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.

010020030040050049682018-062022-072026-08
Major 1Minor 13Patch 85

Each point covers 8 days.

OpenSSF Scorecard 5.9 / 10
5.9aggregate

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-12 22:48 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
8Code-ReviewFound 17/20 approved changesets -- score normalized to 8
10Contributorsproject has 9 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained20 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
4Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 4
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
0Vulnerabilities10 existing vulnerabilities detected
Direct dependencies 6
RegistryPackageVersion constraintManifest
PyPIpypika-tortoise(>=0.6.5,<1.0.0)pyproject.toml
PyPIiso8601(>=2.1.0,<3.0.0)pyproject.toml
PyPIaiosqlite(>=0.16.0,<1.0.0)pyproject.toml
PyPIanyiopyproject.toml
PyPItomlkit(>=0.11.4,<1.0.0)pyproject.toml
PyPItyping-extensions(>= 4.1.0)pyproject.toml
All dependencies 170

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

RegistryPackageVersionRelation
PyPIaiosqlite0.22.1direct
PyPIanyio4.12.1direct
PyPIiso86012.1.0direct
PyPIpypika-tortoise0.6.5direct
PyPItomlkit0.14.0direct
PyPItyping-extensions4.15.0direct
PyPIaiofiles25.1.0indirect
PyPIaiohappyeyeballs2.6.1indirect
PyPIaiohttp3.14.1indirect
PyPIaiomysql0.3.2indirect
PyPIaiosignal1.4.0indirect
PyPIalabaster1.0.0indirect
PyPIannotated-doc0.0.4indirect
PyPIannotated-types0.7.0indirect
PyPIappdirs1.4.4indirect
PyPIasgi-lifespan2.1.0indirect
PyPIastroid4.0.4indirect
PyPIasttokens3.0.1indirect
PyPIasync-timeout5.0.1indirect
PyPIasyncmy0.2.12indirect
PyPIasyncodbc0.1.1indirect
PyPIasyncpg0.31.0indirect
PyPIattrs25.4.0indirect
PyPIbabel2.18.0indirect
PyPIbackports-asyncio-runner1.2.0indirect
PyPIbackports-tarfile1.2.0indirect
PyPIbandit1.9.4indirect
PyPIblacksheep2.6.2indirect
PyPIblinker1.9.0indirect
PyPIcertifi2026.2.25indirect
PyPIcffi2.0.0indirect
PyPIcharset-normalizer3.4.4indirect
PyPIciso86012.3.3indirect
PyPIclick8.3.1indirect
PyPIcodespell2.4.1indirect
PyPIcolorama0.4.6indirect
PyPIcoverage7.13.4indirect
PyPIcryptography50.0.0indirect
PyPIdecorator5.2.1indirect
PyPIdill0.4.1indirect
PyPIdocutils0.21.2indirect
PyPIdocutils0.22.4indirect
PyPIessentials1.1.9indirect
PyPIessentials-openapi1.3.0indirect
PyPIexceptiongroup1.3.1indirect
PyPIexecnet2.1.2indirect
PyPIexecuting2.2.1indirect
PyPIfastapi0.135.0indirect
PyPIflask3.1.3indirect
PyPIfrozenlist1.8.0indirect
PyPIguardpost1.0.4indirect
PyPIh110.16.0indirect
PyPIh24.3.0indirect
PyPIhpack4.1.0indirect
PyPIhtml5tagger1.3.0indirect
PyPIhttpcore1.0.9indirect
PyPIhttptools0.7.1indirect
PyPIhttpx0.28.1indirect
PyPIhypercorn0.18.0indirect
PyPIhyperframe6.1.0indirect
PyPIid1.6.1indirect
PyPIidna3.15indirect
PyPIimagesize1.4.1indirect
PyPIimportlib-metadata8.7.1indirect
PyPIiniconfig2.3.0indirect
PyPIipython8.38.0indirect
PyPIipython9.10.0indirect
PyPIipython-pygments-lexers1.1.1indirect
PyPIisort8.0.1indirect
PyPIitsdangerous2.2.0indirect
PyPIjaraco-classes3.4.0indirect
PyPIjaraco-context6.1.0indirect
PyPIjaraco-functools4.4.0indirect
PyPIjedi0.19.2indirect
PyPIjeepney0.9.0indirect
PyPIjinja23.1.6indirect
PyPIkeyring25.7.0indirect
PyPIlibrt0.8.1indirect
PyPImarkdown-it-py4.0.0indirect
PyPImarkupsafe3.0.3indirect
PyPImatplotlib-inline0.2.1indirect
PyPImccabe0.7.0indirect
PyPImdurl0.1.2indirect
PyPImore-itertools10.8.0indirect
PyPImultidict6.7.1indirect
PyPImypy1.19.1indirect
PyPImypy-extensions1.1.0indirect
PyPInest-asyncio1.6.0indirect
PyPInh30.3.3indirect
PyPIorjson3.11.7indirect
PyPIpackaging26.0indirect
PyPIparso0.8.6indirect
PyPIpathspec1.0.4indirect
PyPIpexpect4.9.0indirect
PyPIplatformdirs4.9.2indirect
PyPIpluggy1.6.0indirect
PyPIpriority2.0.0indirect
PyPIprompt-toolkit3.0.52indirect
PyPIpropcache0.4.1indirect
PyPIpsycopg3.3.3indirect
PyPIpsycopg-binary3.3.3indirect
PyPIpsycopg-pool3.3.0indirect
PyPIptpython3.0.32indirect
PyPIptyprocess0.7.0indirect
PyPIpure-eval0.2.3indirect
PyPIpycparser3.0indirect
PyPIpydantic2.12.5indirect
PyPIpydantic-core2.41.5indirect
PyPIpydantic-extra-types2.11.0indirect
PyPIpygments2.20.0indirect
PyPIpylint4.0.5indirect
PyPIpymysql1.1.2indirect
PyPIpyodbc5.3.0indirect
PyPIpytest9.0.3indirect
PyPIpytest-asyncio1.3.0indirect
PyPIpytest-codspeed4.3.0indirect
PyPIpytest-cov7.0.0indirect
PyPIpytest-xdist3.8.0indirect
PyPIpytz2025.2indirect
PyPIpywin32-ctypes0.2.3indirect
PyPIpyyaml6.0.3indirect
PyPIquart0.20.0indirect
PyPIreadme-renderer44.0indirect
PyPIrequests2.33.0indirect
PyPIrequests-toolbelt1.0.0indirect
PyPIrfc39862.0.0indirect
PyPIrich14.3.3indirect
PyPIrodi2.0.8indirect
PyPIroman-numerals4.1.0indirect
PyPIruff0.15.4indirect
PyPIsanic25.12.0indirect
PyPIsanic-routing23.12.0indirect
PyPIsanic-testing24.6.0indirect
PyPIsecretstorage3.5.0indirect
PyPIsetuptools83.0.0indirect
PyPIsniffio1.3.1indirect
PyPIsnowballstemmer3.0.1indirect
PyPIsphinx8.1.3indirect
PyPIsphinx9.0.4indirect
PyPIsphinx9.1.0indirect
PyPIsphinx-copybutton0.5.2indirect
PyPIsphinx-immaterial0.13.9indirect
PyPIsphinxcontrib-applehelp2.0.0indirect
PyPIsphinxcontrib-devhelp2.0.0indirect
PyPIsphinxcontrib-htmlhelp2.1.0indirect
PyPIsphinxcontrib-jsmath1.0.1indirect
PyPIsphinxcontrib-qthelp2.0.0indirect
PyPIsphinxcontrib-serializinghtml2.0.0indirect
PyPIstack-data0.6.3indirect
PyPIstarlette0.52.1indirect
PyPIstevedore5.7.0indirect
PyPItaskgroup0.2.2indirect
PyPItomli2.4.0indirect
PyPItracerite2.3.1indirect
PyPItraitlets5.14.3indirect
PyPItwine6.2.0indirect
PyPItypes-pymysql1.1.0.20251220indirect
PyPItypes-pytz2025.2.0.20251108indirect
PyPItypes-pyyaml6.0.12.20250915indirect
PyPItyping-inspection0.4.2indirect
PyPItzdata2025.3indirect
PyPIujson5.13.0indirect
PyPIurllib32.7.0indirect
PyPIuvloop0.22.1indirect
PyPIwcwidth0.6.0indirect
PyPIwebsockets16.0indirect
PyPIwerkzeug3.1.6indirect
PyPIwsproto1.3.2indirect
PyPIyarl1.22.0indirect
PyPIzipp3.23.0indirect
Dependency advisories 0

Installing pypi:tortoise-orm@1.1.8 pulls in 5 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

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.6.0, schema v0.31.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsPyPI.