Skip to main content

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

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-dev-0.3.3.tar.gz (74.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlalchemy_stubs_dev-0.3.3-py3-none-any.whl (116.0 kB view details)

Uploaded Python 3

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

Hashes for sqlalchemy-stubs-dev-0.3.3.tar.gz
Algorithm Hash digest
SHA256 50f8903fce03a4f2542a59cc0de952d81ac75e66c24ef3488b870c26f368b506
MD5 24bd5e9e454b7666ce3454fee3aec787
BLAKE2b-256 da5ae1906d6b6a3ce3c14019fa8944e4ff441c91e6acb431966c3e88516c495f

See more details on using hashes here.

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

Hashes for sqlalchemy_stubs_dev-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9abb500d25b69f4e2fb675f40d5e8891cffe16789c15b39bd7227a7f103aa34c
MD5 d8b133ab41a8533e9ef7ceb9a6ec34d7
BLAKE2b-256 525cecaa137a5f9c6e6c39f92370ee3de1a2aa43568556bc6ad686992e817917

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 files

0.3.2

1 file

0.3.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page