Skip to main content

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

sqlalchemy-stubs-0.3.tar.gz (70.2 kB view details)

Uploaded Source

Built Distribution

sqlalchemy_stubs-0.3-py3-none-any.whl (115.5 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy-stubs-0.3.tar.gz.

File metadata

  • Download URL: sqlalchemy-stubs-0.3.tar.gz
  • Upload date:
  • Size: 70.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4

File hashes

Hashes for sqlalchemy-stubs-0.3.tar.gz
Algorithm Hash digest
SHA256 a3318c810697164e8c818aa2d90bac570c1a0e752ced3ec25455b309c0bee8fd
MD5 019f9c7d48139c3c6586acb04082ea0c
BLAKE2b-256 97f25b77bd9c54267a153d17e7ab70e1038929e0f0765b05d7e90a34687110fd

See more details on using hashes here.

File details

Details for the file sqlalchemy_stubs-0.3-py3-none-any.whl.

File metadata

  • Download URL: sqlalchemy_stubs-0.3-py3-none-any.whl
  • Upload date:
  • Size: 115.5 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/42.0.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4

File hashes

Hashes for sqlalchemy_stubs-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ca1250605a39648cc433f5c70cb1a6f9fe0b60bdda4c51e1f9a2ab3651daadc8
MD5 885eb0fc5ca58963de560e9f49290b45
BLAKE2b-256 f9dd11bac977c7bb901315371340f55282cbc6a9547037f6f480acc27c1a61dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page