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

Uploaded Source

Built Distribution

sqlalchemy2_stubs-0.0.2a9-py3-none-any.whl (189.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqlalchemy2-stubs-0.0.2a9.tar.gz
  • Upload date:
  • Size: 121.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for sqlalchemy2-stubs-0.0.2a9.tar.gz
Algorithm Hash digest
SHA256 05846aa7401717b188db5e449f69265fd8954e5e9847fa24c93e54ec2036807c
MD5 e87667b474be4bfe49cf6b97088bee6d
BLAKE2b-256 8920796983c0844a5fd6be2392f2892e3c781e0a3525105301b22b6708d6cdb9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqlalchemy2_stubs-0.0.2a9-py3-none-any.whl
  • Upload date:
  • Size: 189.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for sqlalchemy2_stubs-0.0.2a9-py3-none-any.whl
Algorithm Hash digest
SHA256 717f12d0bbe90e73eaf632fe0b9f92a55021b83a00b591f6c8a22559cc2bacf1
MD5 12912dfe9e0a533a03d2582de4c37c63
BLAKE2b-256 147265a3fc1d23c2986716c9fdaec8fbeddb1a1e675a092b8b305155f3dc13da

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