Skip to main content

Typing Stubs for SQLAlchemy 1.4

Project description

These are PEP-484 typing stubs for SQLAlchemy 1.4 and 2.0. They are released concurrently along with a Mypy extension which is designed to work with these stubs, which assists primarily in the area of ORM mappings.

The stubs replace the use of the “sqlalchemy-stubs” package published by Dropbox. Differences include that these stubs are generated against 1.4’s API as well as some adjustments to the use of generics.

This project should be considered alpha level and is not as mature as the Dropbox stubs for the initial release.

See the Mypy plugin documentation at https://docs.sqlalchemy.org/en/14/orm/extensions/mypy.html for an overview of how to use PEP-484 annotations with ORM mapped classes.

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

sqlalchemy2-stubs-0.0.1a3.tar.gz (103.1 kB view details)

Uploaded Source

File details

Details for the file sqlalchemy2-stubs-0.0.1a3.tar.gz.

File metadata

  • Download URL: sqlalchemy2-stubs-0.0.1a3.tar.gz
  • Upload date:
  • Size: 103.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.8.0 tqdm/4.38.0 CPython/3.8.3

File hashes

Hashes for sqlalchemy2-stubs-0.0.1a3.tar.gz
Algorithm Hash digest
SHA256 388bc32974258e90fe243bf9d6c0e1b67c8a658a279fb4151145f0d0406f4399
MD5 36e27c63aeccc5241610e910dbfa5898
BLAKE2b-256 81b95fbdbe43f66846094ab47c186c6d49955163ca9cb6ae1a46db693fdb1e9c

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