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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sqlalchemy-stubs-0.4.tar.gz.
File metadata
- Download URL: sqlalchemy-stubs-0.4.tar.gz
- Upload date:
- Size: 70.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c665d6dd4482ef642f01027fa06c3d5e91befabb219dc71fc2a09e7d7695f7ae
|
|
| MD5 |
248dcb62dde109037da589bf18806ce0
|
|
| BLAKE2b-256 |
8160db082788267740b17eac2c00666bbea1c8c5a94b569e8b1ea76b0cf42d57
|
File details
Details for the file sqlalchemy_stubs-0.4-py3-none-any.whl.
File metadata
- Download URL: sqlalchemy_stubs-0.4-py3-none-any.whl
- Upload date:
- Size: 116.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5eec7aa110adf9b957b631799a72fef396b23ff99fe296df726645d01e312aa5
|
|
| MD5 |
b2216ceccf34ca0b03b52e97a84cf2eb
|
|
| BLAKE2b-256 |
62aecb215ab25b76228bc90c90444b87e323ffba58c212321a53d5bc92903098
|