# Experimental SQLAlchemy type stubs and mypy plugin
This package contains type stubs and mypy plugin to provide more precise
static types and type inference for SQLAlchemy framework. SQLAlchemy uses
dynamic Python features that are hard to understand by static type checkers,
this is why the plugin is needed in addition to type stubs.
Currently, some basic use cases like inferring model field types are supported.
The final goal is to be able to get precise types for most common patterns.
## Installation
```
pip install sqlalchemy-stubs
```
Important: you need to enable the plugin in your mypy config file:
```
[mypy]
plugins = sqlmypy
```
Raw data
{
"_id": null,
"home_page": "https://github.com/dropbox/sqlalchemy-stubs",
"name": "sqlalchemy-stubs",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Ivan Levkivskyi",
"author_email": "levkivskyi@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/81/60/db082788267740b17eac2c00666bbea1c8c5a94b569e8b1ea76b0cf42d57/sqlalchemy-stubs-0.4.tar.gz",
"platform": "",
"description": "# Experimental SQLAlchemy type stubs and mypy plugin\n\nThis package contains type stubs and mypy plugin to provide more precise\nstatic types and type inference for SQLAlchemy framework. SQLAlchemy uses\ndynamic Python features that are hard to understand by static type checkers,\nthis is why the plugin is needed in addition to type stubs.\n\nCurrently, some basic use cases like inferring model field types are supported.\nThe final goal is to be able to get precise types for most common patterns.\n\n## Installation\n\n```\npip install sqlalchemy-stubs\n```\n\nImportant: you need to enable the plugin in your mypy config file:\n```\n[mypy]\nplugins = sqlmypy\n```\n\n\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "SQLAlchemy stubs and mypy plugin",
"version": "0.4",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b2216ceccf34ca0b03b52e97a84cf2eb",
"sha256": "5eec7aa110adf9b957b631799a72fef396b23ff99fe296df726645d01e312aa5"
},
"downloads": -1,
"filename": "sqlalchemy_stubs-0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b2216ceccf34ca0b03b52e97a84cf2eb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 116067,
"upload_time": "2021-01-12T14:02:02",
"upload_time_iso_8601": "2021-01-12T14:02:02.723646Z",
"url": "https://files.pythonhosted.org/packages/62/ae/cb215ab25b76228bc90c90444b87e323ffba58c212321a53d5bc92903098/sqlalchemy_stubs-0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "248dcb62dde109037da589bf18806ce0",
"sha256": "c665d6dd4482ef642f01027fa06c3d5e91befabb219dc71fc2a09e7d7695f7ae"
},
"downloads": -1,
"filename": "sqlalchemy-stubs-0.4.tar.gz",
"has_sig": false,
"md5_digest": "248dcb62dde109037da589bf18806ce0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 70682,
"upload_time": "2021-01-12T14:02:04",
"upload_time_iso_8601": "2021-01-12T14:02:04.438453Z",
"url": "https://files.pythonhosted.org/packages/81/60/db082788267740b17eac2c00666bbea1c8c5a94b569e8b1ea76b0cf42d57/sqlalchemy-stubs-0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-01-12 14:02:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "dropbox",
"github_project": "sqlalchemy-stubs",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "sqlalchemy-stubs"
}