{"adoption": {"forks": 74, "observed_at": "2026-08-28T04:04:38.434850+00:00", "stars": 1407}, "canonical_url": "https://ross.abutalabs.com/products/pydantic-sqlalchemy", "card": {"archived": false, "artifact_type": "library", "description": "Tools to convert SQLAlchemy models to Pydantic models", "domain": ["databases", "web-development", "developer-tools"], "enriched": true, "function": ["orm", "serialization"], "health_score": 98, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["tiangolo/pydantic-sqlalchemy"], "name": "tiangolo/pydantic-sqlalchemy", "platform": ["python"], "pushed_at": "2026-08-22T03:12:59+00:00", "repo": "tiangolo/pydantic-sqlalchemy", "stars": 1407, "tags": ["pydantic", "sqlalchemy", "model-conversion", "fastapi", "deprecated-in-favor-of-sqlmodel"], "topics": [], "urls": [], "use_cases": ["convert sqlalchemy models to pydantic models", "generate pydantic schemas from database models", "serialize sqlalchemy orm objects with pydantic", "create fastapi response models from sqlalchemy models", "auto-generate pydantic schemas for existing database tables"], "what_it_is": "A small Python library that dynamically generates Pydantic models from SQLAlchemy ORM models. The author recommends using SQLModel instead, as this project is experimental and limited in usefulness.", "when_to_avoid": ["starting a new project - use SQLModel instead", "you need autocompletion and inline errors from statically defined pydantic models", "you need complex relationships or advanced validation"], "when_to_choose": ["you have a legacy codebase already using pydantic-sqlalchemy", "you need a quick one-off dynamic conversion of sqlalchemy models to pydantic"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pydantic-sqlalchemy", "repo": "tiangolo/pydantic-sqlalchemy", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:38:39.933908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90c9b5c5470bba685158e4a68597c5f07aa0fffd3a98e7e0a199e32bb2e757fd", "fetched_at": "2026-08-28T04:04:38.434850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tiangolo/pydantic-sqlalchemy"}, {"content_hash": "5f9f0674fce3542d24e177d109dbdd0d332bf25e084c2adb180c7a30d1da63cd", "fetched_at": "2026-08-29T11:52:22.961602+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pydantic-sqlalchemy/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:38:39.933908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90c9b5c5470bba685158e4a68597c5f07aa0fffd3a98e7e0a199e32bb2e757fd", "fetched_at": "2026-08-28T04:04:38.434850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tiangolo/pydantic-sqlalchemy"}, {"content_hash": "5f9f0674fce3542d24e177d109dbdd0d332bf25e084c2adb180c7a30d1da63cd", "fetched_at": "2026-08-29T11:52:22.961602+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pydantic-sqlalchemy/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:38:39.933908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90c9b5c5470bba685158e4a68597c5f07aa0fffd3a98e7e0a199e32bb2e757fd", "fetched_at": "2026-08-28T04:04:38.434850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tiangolo/pydantic-sqlalchemy"}, {"content_hash": "5f9f0674fce3542d24e177d109dbdd0d332bf25e084c2adb180c7a30d1da63cd", "fetched_at": "2026-08-29T11:52:22.961602+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pydantic-sqlalchemy/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:38:39.933908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90c9b5c5470bba685158e4a68597c5f07aa0fffd3a98e7e0a199e32bb2e757fd", "fetched_at": "2026-08-28T04:04:38.434850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tiangolo/pydantic-sqlalchemy"}, {"content_hash": "5f9f0674fce3542d24e177d109dbdd0d332bf25e084c2adb180c7a30d1da63cd", "fetched_at": "2026-08-29T11:52:22.961602+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pydantic-sqlalchemy/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:38:39.933908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90c9b5c5470bba685158e4a68597c5f07aa0fffd3a98e7e0a199e32bb2e757fd", "fetched_at": "2026-08-28T04:04:38.434850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tiangolo/pydantic-sqlalchemy"}, {"content_hash": "5f9f0674fce3542d24e177d109dbdd0d332bf25e084c2adb180c7a30d1da63cd", "fetched_at": "2026-08-29T11:52:22.961602+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pydantic-sqlalchemy/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:38:39.933908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90c9b5c5470bba685158e4a68597c5f07aa0fffd3a98e7e0a199e32bb2e757fd", "fetched_at": "2026-08-28T04:04:38.434850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tiangolo/pydantic-sqlalchemy"}, {"content_hash": "5f9f0674fce3542d24e177d109dbdd0d332bf25e084c2adb180c7a30d1da63cd", "fetched_at": "2026-08-29T11:52:22.961602+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pydantic-sqlalchemy/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:38.434850+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:38:39.933908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90c9b5c5470bba685158e4a68597c5f07aa0fffd3a98e7e0a199e32bb2e757fd", "fetched_at": "2026-08-28T04:04:38.434850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tiangolo/pydantic-sqlalchemy"}, {"content_hash": "5f9f0674fce3542d24e177d109dbdd0d332bf25e084c2adb180c7a30d1da63cd", "fetched_at": "2026-08-29T11:52:22.961602+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pydantic-sqlalchemy/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:38:39.933908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90c9b5c5470bba685158e4a68597c5f07aa0fffd3a98e7e0a199e32bb2e757fd", "fetched_at": "2026-08-28T04:04:38.434850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tiangolo/pydantic-sqlalchemy"}, {"content_hash": "5f9f0674fce3542d24e177d109dbdd0d332bf25e084c2adb180c7a30d1da63cd", "fetched_at": "2026-08-29T11:52:22.961602+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pydantic-sqlalchemy/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:38:39.933908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90c9b5c5470bba685158e4a68597c5f07aa0fffd3a98e7e0a199e32bb2e757fd", "fetched_at": "2026-08-28T04:04:38.434850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tiangolo/pydantic-sqlalchemy"}, {"content_hash": "5f9f0674fce3542d24e177d109dbdd0d332bf25e084c2adb180c7a30d1da63cd", "fetched_at": "2026-08-29T11:52:22.961602+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pydantic-sqlalchemy/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:38:39.933908+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "90c9b5c5470bba685158e4a68597c5f07aa0fffd3a98e7e0a199e32bb2e757fd", "fetched_at": "2026-08-28T04:04:38.434850+00:00", "kind": "readme", "missing": false, "url": "https://github.com/tiangolo/pydantic-sqlalchemy"}, {"content_hash": "5f9f0674fce3542d24e177d109dbdd0d332bf25e084c2adb180c7a30d1da63cd", "fetched_at": "2026-08-29T11:52:22.961602+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pydantic-sqlalchemy/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 52}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2314, "days_push": 11, "days_rel": 106, "gap_med": null, "n_releases_24m": 1}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}