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.2a1.tar.gz (120.5 kB view details)

Uploaded Source

Built Distribution

sqlalchemy2_stubs-0.0.2a1-py3-none-any.whl (187.4 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy2-stubs-0.0.2a1.tar.gz.

File metadata

  • Download URL: sqlalchemy2-stubs-0.0.2a1.tar.gz
  • Upload date:
  • Size: 120.5 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.2a1.tar.gz
Algorithm Hash digest
SHA256 f89a884a1a08754be4dd8630e5abfb119a48e80663715b764a1e9f07d8afa424
MD5 c7efcf2ec27941254ab67ab6ee03e994
BLAKE2b-256 261dd0b75fb176ec339e2a3a8ba98d86c56258c537fe15372f0d72d25acb4b79

See more details on using hashes here.

File details

Details for the file sqlalchemy2_stubs-0.0.2a1-py3-none-any.whl.

File metadata

  • Download URL: sqlalchemy2_stubs-0.0.2a1-py3-none-any.whl
  • Upload date:
  • Size: 187.4 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.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 7dfc00167cd3163c228b870fa2d247d6f6f82885f6dae4927e83a3d70d48ccfa
MD5 d5ad04c1be690f2d13b7483d1b08f4b9
BLAKE2b-256 e22bddf48f16cbb13b345aaf70a55cafcc6174f4b187578bcf744a28857af610

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