SQLAlchemy stubs and mypy plugin
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.
pip install sqlalchemy-stubs
Important: you need to enable the plugin in your mypy config file:
[mypy] plugins = sqlmypy
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|sqlalchemy_stubs-0.1-py3-none-any.whl (107.7 kB) Copy SHA256 hash SHA256||Wheel||py3|
|sqlalchemy-stubs-0.1.tar.gz (65.2 kB) Copy SHA256 hash SHA256||Source||None|