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

Uploaded Source

Built Distribution

sqlalchemy2_stubs-0.0.1a9-py3-none-any.whl (186.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqlalchemy2-stubs-0.0.1a9.tar.gz
  • Upload date:
  • Size: 119.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for sqlalchemy2-stubs-0.0.1a9.tar.gz
Algorithm Hash digest
SHA256 67401e955d9db140e5dc2e3e32f22e2da1cce3c2c76495f0f7e86df251498822
MD5 ecfccd938fa7d307e238deb0256e1308
BLAKE2b-256 3783c31676bc0067d4a61242e47624d58b2dd5632d39dfce4952bb0e24d6fda7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqlalchemy2_stubs-0.0.1a9-py3-none-any.whl
  • Upload date:
  • Size: 186.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for sqlalchemy2_stubs-0.0.1a9-py3-none-any.whl
Algorithm Hash digest
SHA256 ee166eaaa73e368c40e23cb1d1b21588689c6a1af091fbab014256022f14b13e
MD5 ce4555b6d96717153bebf10443fe4365
BLAKE2b-256 b8a5c29e824ce60e56e0bf8dd5df67d13c3e7fbd69f8833e05bdf29b3315fbab

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