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

Uploaded Source

Built Distribution

sqlalchemy2_stubs-0.0.2a2-py3-none-any.whl (187.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqlalchemy2-stubs-0.0.2a2.tar.gz
  • Upload date:
  • Size: 120.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for sqlalchemy2-stubs-0.0.2a2.tar.gz
Algorithm Hash digest
SHA256 ccc75c91f84ccf34163d8d0179ed45f85fce9b85fdbe23f06a7bb0b959dc811a
MD5 0b69942e3fa48bad5a497f568c69226c
BLAKE2b-256 bb68e6c88aea093057be329a4bd3985a7c273b54585e217754ffdfa5a4b6047d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sqlalchemy2_stubs-0.0.2a2-py3-none-any.whl
  • Upload date:
  • Size: 187.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for sqlalchemy2_stubs-0.0.2a2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a60a50401ee2f5a4143285361499670754e63863550bb26bf76a02d41e51cba
MD5 374c94cbc45ddee718b09efb10e2aed1
BLAKE2b-256 3ec883a174a399a0a5a9998b4ec89587a568c594d1c1440f5c88df8252db784b

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