{"id":28628284,"url":"https://github.com/sqlalchemy/sqlalchemy2-stubs","last_synced_at":"2025-06-12T10:12:00.712Z","repository":{"id":37765232,"uuid":"340472367","full_name":"sqlalchemy/sqlalchemy2-stubs","owner":"sqlalchemy","description":"PEP-484 typing stubs for SQLAlchemy 1.4","archived":false,"fork":false,"pushed_at":"2023-12-30T12:15:22.000Z","size":469,"stargazers_count":157,"open_issues_count":40,"forks_count":41,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-09-08T01:53:25.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sqlalchemy.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-02-19T19:42:25.000Z","updated_at":"2024-07-31T16:42:42.000Z","dependencies_parsed_at":"2023-01-30T16:17:00.439Z","dependency_job_id":"3f009599-9cff-4731-bc9a-2323813f2202","html_url":"https://github.com/sqlalchemy/sqlalchemy2-stubs","commit_stats":{"total_commits":210,"total_committers":30,"mean_commits":7.0,"dds":0.7,"last_synced_commit":"ff4df350896bfeded67cd53fb77b4a20c90f4195"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/sqlalchemy/sqlalchemy2-stubs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlalchemy%2Fsqlalchemy2-stubs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlalchemy%2Fsqlalchemy2-stubs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlalchemy%2Fsqlalchemy2-stubs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlalchemy%2Fsqlalchemy2-stubs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqlalchemy","download_url":"https://codeload.github.com/sqlalchemy/sqlalchemy2-stubs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqlalchemy%2Fsqlalchemy2-stubs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259444983,"owners_count":22858553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-12T10:11:59.974Z","updated_at":"2025-06-12T10:12:00.698Z","avatar_url":"https://github.com/sqlalchemy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===========================\nSQLAlchemy 2 Stubs (Legacy)\n===========================\n\nThese are interim PEP-484 typing stubs for the\n`SQLAlchemy \u003chttps://www.sqlalchemy.org\u003e`_ **1.4 release series only**. They\nare released concurrently along with a\n`Mypy extension \u003chttps://docs.sqlalchemy.org/en/14/orm/extensions/mypy.html\u003e`_\nwhich is designed to work with these stubs, which assists primarily in the area\nof ORM mappings.\n\nThe stubs replace the use of the \"sqlalchemy-stubs\" package published by\nDropbox. Differences include that these stubs are generated against 1.4's API\nas well as some adjustments to the use of generics. The sqlalchemy2-stubs stubs\npackage **will not work with SQLAlchemy 2.0, and will need to be explicitly /\nmanually uninstalled when upgrading to SQLAlchemy 2.0**.\n\nThis project should be considered **alpha level** and is not as mature\nas the Dropbox stubs for the initial release.\n\nSee the Mypy plugin documentation at https://docs.sqlalchemy.org/en/14/orm/extensions/mypy.html\nfor an overview of how to use PEP-484 annotations with ORM mapped classes.\n\nFor SQLAlchemy 2.0, when released, **the sqlalchemy2-stubs project is not\ncompatible**.  SQLAlchemy 2.0 will be / is fully pep-484 typed inline and\nwill not be compatible with any stubs.  There unfortunately appears to be no\nstandard approach in Python for the problem of a library that upgrades to\ninclude typing annotations inline, as typing tools will still consider\nany installed stubs to take precedence.  Therefore **sqlalchemy2-stubs\nwill need to be manually uninstalled when upgrading to SQLAlchemy 2.0**.\n\n\nCode of Conduct\n---------------\n\nAbove all, SQLAlchemy places great emphasis on polite, thoughtful, and\nconstructive communication between users and developers.\nPlease see our current Code of Conduct at\n`Code of Conduct \u003chttp://www.sqlalchemy.org/codeofconduct.html\u003e`_.\n\nLicense\n-------\n\nSQLAlchemy is distributed under the `MIT license\n\u003chttp://www.opensource.org/licenses/mit-license.php\u003e`_.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlalchemy%2Fsqlalchemy2-stubs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqlalchemy%2Fsqlalchemy2-stubs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqlalchemy%2Fsqlalchemy2-stubs/lists"}