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.

Code of Conduct

Above all, SQLAlchemy places great emphasis on polite, thoughtful, and constructive communication between users and developers. Please see our current Code of Conduct at Code of Conduct.

License

SQLAlchemy is distributed under the MIT license.

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.1a4.tar.gz (104.2 kB view details)

Uploaded Source

Built Distribution

sqlalchemy2_stubs-0.0.1a4-py3-none-any.whl (169.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqlalchemy2-stubs-0.0.1a4.tar.gz
  • Upload date:
  • Size: 104.2 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.1a4.tar.gz
Algorithm Hash digest
SHA256 821d48cba522d151419e0abff63c348eb9e9312a0758171c57ca34d68f4e0280
MD5 3b740835d6b0bfdc09a574278584d1bf
BLAKE2b-256 97d2eed2607589447523610016c8ecb6754c6a9cb0b345b73049c2cb888790d1

See more details on using hashes here.

File details

Details for the file sqlalchemy2_stubs-0.0.1a4-py3-none-any.whl.

File metadata

  • Download URL: sqlalchemy2_stubs-0.0.1a4-py3-none-any.whl
  • Upload date:
  • Size: 169.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for sqlalchemy2_stubs-0.0.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 0b83f4885a24adc1f469c4ff2320f639edd179e85e085a38d4f671942bb4f067
MD5 1b30ab46c36dfdf10189af8713424294
BLAKE2b-256 2936181eddc6cc3cdfb945f93e4467c829be2cd0d7378f188481dc04c02ccf4c

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