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
Built Distribution
File details
Details for the file sqlalchemy2-stubs-0.0.2a6.tar.gz
.
File metadata
- Download URL: sqlalchemy2-stubs-0.0.2a6.tar.gz
- Upload date:
- Size: 121.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 540ae8b38592566ce1e0e6794a711fde4c281a3a7ae88d0aecf6ff04b7a3dc0f |
|
MD5 | f73ea7e9613f3cfc96626ea92b222c63 |
|
BLAKE2b-256 | a8ec2970ff98e4e3ae55a420c94c12c753ce3a31d79f25e3a05750ff68ecfb08 |
File details
Details for the file sqlalchemy2_stubs-0.0.2a6-py3-none-any.whl
.
File metadata
- Download URL: sqlalchemy2_stubs-0.0.2a6-py3-none-any.whl
- Upload date:
- Size: 188.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4482ccb07c90bf9d2684b8a3dd95e1d5f5b25d7b495c1121b68cbf8dc33a0290 |
|
MD5 | df7253ea39d73c33caf42dadaa77b384 |
|
BLAKE2b-256 | db8715cdf8d2b1ce866e032581e1f3fa6b99fd9b2c52dd28a4fd95bc31ce709a |