Skip to main content

Typing Stubs for SQLAlchemy 1.4

Project description

These are PEP-484 typing stubs for SQLAlchemy <https://www.sqlalchemy.org> 1.4 and 2.0. They are released concurrently along with a Mypy extension <https://docs.sqlalchemy.org/en/14/orm/extensions/mypy.html> 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.1a2.tar.gz (103.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: sqlalchemy2-stubs-0.0.1a2.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.1a2.tar.gz
Algorithm Hash digest
SHA256 2cd632b80c5d4246945ccfdb7d3ebccf5aa4a70357ac8555d9748c8bb7ac6c65
MD5 f3f0528b8a636df5c1cea92df80ef437
BLAKE2b-256 f257e6f8dea5e851d4ea15f1113f52ed26be5f95769c716c0e808277f7534d53

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