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 Distribution
Built Distribution
File details
Details for the file sqlalchemy-stubs-dev-0.3.3.tar.gz
.
File metadata
- Download URL: sqlalchemy-stubs-dev-0.3.3.tar.gz
- Upload date:
- Size: 74.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50f8903fce03a4f2542a59cc0de952d81ac75e66c24ef3488b870c26f368b506 |
|
MD5 | 24bd5e9e454b7666ce3454fee3aec787 |
|
BLAKE2b-256 | da5ae1906d6b6a3ce3c14019fa8944e4ff441c91e6acb431966c3e88516c495f |
File details
Details for the file sqlalchemy_stubs_dev-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: sqlalchemy_stubs_dev-0.3.3-py3-none-any.whl
- Upload date:
- Size: 116.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9abb500d25b69f4e2fb675f40d5e8891cffe16789c15b39bd7227a7f103aa34c |
|
MD5 | d8b133ab41a8533e9ef7ceb9a6ec34d7 |
|
BLAKE2b-256 | 525cecaa137a5f9c6e6c39f92370ee3de1a2aa43568556bc6ad686992e817917 |