SQLAlchemy stubs and mypy plugin
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for sqlalchemy_stubs_dev-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69e4a10ff56a0a491ef11d538a4e0ac17a5cce4614d671c846ff862d82260dde |
|
MD5 | bd038af145fa8da2bd62c665439f7e5b |
|
BLAKE2b-256 | d7082e7633af626d747898bb80825a409d9c68ee694d439fd8142d9d6ca773ed |