Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-21 01:31 UTC

tortoise / tortoise-orm

Familiar asyncio ORM for python, built with relations in mind

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

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

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

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

Ownership

TortoiseOrganization
95 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.9682,94018337 days agosqlmysqlpostgrespsqlsqliteaiosqliteasyncpgrelationaldatabaserdbmsormobject-mapperasyncasyncioaiopsycopg

Metrics by category

Vitality

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

96Exceptional · 21% of overall
How it's scored
36/36Push recency — last push 1 days ago
29.1/36Commit cadence — 42/52 weeks with commits
18/18Commit volume — 192 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year192
Share of human-authored commits0.81
Days since last push1
Weeks with commits in the last year42

Release discipline

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

88Excellent · 17% of overall
How it's scored
60/60Stars — 5,641 stars
22.8/25Forks — 548 forks
9.1/15Watchers — 45 watchers
Inputs used
Forks548
Stars5,641
Watchers45
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 (Apache-2.0)
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 README4
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentno
Badge services used in the READMEcoveralls.io, github.com, shields.io
Pull request template presentyes
How it's scored
77.8/80Monthly downloads — 682,940 downloads/month across pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagestortoise-orm
Registry dependents—
Package ecosystemspypi
Total downloads—
Monthly downloads682,940
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?

75Good · 23% of overall
How it's scored
25.2/54Bus factor — 2 contributor(s) cover half of all commits
15.8/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
Share of commits by the top contributor0.297
How it's scored
27/42Issue resolution — 64% of issues closed
23.7/30PR acceptance — 714/902 decided PRs merged
13/13Newcomer PR acceptance — 9/9 first-time contributors' PRs merged in 30d
15/15OpenSSF Scorecard: Code-Review — all changesets reviewed
Inputs used
Merged pull requests714
Open issues467
Closed issues844
Pull requests merged in the last 7 days3
Pull requests decided in the last 7 days3
Pull requests merged in the last 30 days33
Pull requests decided in the last 30 days34
Share of issues closed0.644
Pull requests closed without merging188
First-time contributors with a pull request decided in the last 30 days8
Pull requests from first-time contributors merged in the last 30 days9
Pull requests from first-time contributors decided in the last 30 days9
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
14.3/25Owner reach — 95 followers of tortoise
19.3/25Track record — 9 public repos, account ~8 yr old
Inputs used
Followers95
Owner account typeOrganization
Verified domainno
Owner accounttortoise
Public repositories9
Owner account age in days3,010

Package maintenance

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

Engineering Quality

Are baseline engineering and documentation practices in place?

91Excellent · 19% of overall
How it's scored
24/24CI workflows — 5 workflow(s)
24/24Tests present
16/16Linter config — pyproject.toml ([tool.ruff], [tool.flake8])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
18/20OpenSSF Scorecard: CI-Tests — 28 out of 30 merged PRs checked by a CI test -- score normalized to 9
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://tortoise.github.io
10/10Repository description
10/10Topics — 7 topics
0/10Wiki
Inputs used
Repository topicsorm, asyncio, async, python3, sqlite, postgresql, mysql
Wiki enabledno
Repository homepagehttps://tortoise.github.io
Documentation sitehttps://tortoise.github.io
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

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

74Good · 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.2/2.5CI-Tests — 28 out of 30 merged PRs checked by a CI test -- score normalized to 9
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
7.5/7.5Code-Review — all changesets reviewed
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 — 30 commit(s) and 0 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
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
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated15
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive3
OpenSSF Scorecard aggregate score6.7
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 assessed6
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:tortoise-orm@1.1.9 runtime dependency closure — what installing the published package pulls in — 6 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.

73Good · 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 — 79 of 81 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.975
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
18/18One-command bootstrap — Makefile, docs/Makefile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff], [tool.flake8])
11/11Static type checking — tortoise/py.typed
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
8/8Automated maintenance — 19 of the last 100 commits are automated dependency updates
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 filesMakefile, docs/Makefile
Dev container config presentno
Linter config presentyes
Static type-check config filestortoise/py.typed
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0.19
How it's scored
27/45Type-checkable code — Python with type-check config (tortoise/py.typed)
54.4/55Manageable file sizes — 5/457 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)100,237
Source files sampled457
Oversized source files5
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

5,641GitHub stars
99contributors
192commits, last 12 months
1days since last push
100releases
2bus factor
467open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • First-time contributor figures cover 12 of 18 authors (cap 12)

More detail

Star and fork history 0 ★ / 548 ⇿
0Stars
548Forks
100Releases

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.

0100200300400500600544102018-062022-092026-11
Major 1Minor 13Patch 86

Each point covers 8 days.

OpenSSF Scorecard 6.7 / 10
6.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-21 01:30 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
9CI-Tests28 out of 30 merged PRs checked by a CI test -- score normalized to 9
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
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
10Maintained30 commit(s) and 0 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
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
10Vulnerabilities0 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
PyPIanyio—pyproject.toml
PyPItomlkit(>=0.11.4,<1.0.0)pyproject.toml
PyPItyping-extensions(>= 4.1.0)pyproject.toml
All dependencies 174

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

RegistryPackageVersionRelation
PyPIaiosqlite0.22.1direct
PyPIanyio4.14.2direct
PyPIiso86012.1.0direct
PyPIpypika-tortoise0.6.5direct
PyPItomlkit0.14.0direct
PyPItyping-extensions4.15.0direct
PyPItyping-extensions4.16.0direct
PyPIaiofiles25.1.0indirect
PyPIaiohappyeyeballs2.6.1indirect
PyPIaiohttp3.14.4indirect
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.18indirect
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.10.19indirect
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.4.1indirect
PyPIhpack4.2.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.9.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.6indirect
PyPIpsycopg-binary3.3.6indirect
PyPIpsycopg-pool3.3.0indirect
PyPIptpython3.0.32indirect
PyPIptyprocess0.7.0indirect
PyPIpure-eval0.2.3indirect
PyPIpycparser3.0indirect
PyPIpydantic2.13.5indirect
PyPIpydantic2.14.1indirect
PyPIpydantic-core2.46.5indirect
PyPIpydantic-core2.50.1indirect
PyPIpydantic-extra-types2.11.0indirect
PyPIpygments2.20.0indirect
PyPIpylint4.0.9indirect
PyPIpymysql1.1.2indirect
PyPIpyodbc5.3.0indirect
PyPIpytest9.0.3indirect
PyPIpytest-asyncio1.4.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.1indirect
PyPIsanic-routing23.12.0indirect
PyPIsanic-testing24.6.0indirect
PyPIsecretstorage3.5.0indirect
PyPIsetuptools84.1.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
PyPIstarlette1.6.0indirect
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
PyPItyping-inspection0.4.4indirect
PyPItzdata2025.3indirect
PyPIujson5.13.0indirect
PyPIurllib32.8.0indirect
PyPIuvloop0.22.1indirect
PyPIwcwidth0.6.0indirect
PyPIwebsockets16.0indirect
PyPIwerkzeug3.1.9indirect
PyPIwsproto1.3.2indirect
PyPIyarl1.25.1indirect
PyPIzipp3.23.0indirect
Dependency advisories 0

Installing pypi:tortoise-orm@1.1.9 pulls in 6 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.