sqlalchemy.orm.properties ColumnProperty Example Code

ColumnProperty is a class within the sqlalchemy.orm.properties module of the SQLAlchemy project.

RelationshipProperty is another callable from the sqlalchemy.orm.properties package with code examples.

Example 1 from sqlalchemy-utils

sqlalchemy-utils (project documentation and PyPI package information) is a code library with various helper functions and new data types that make it easier to use SQLAlchemy when building projects that involve more specific storage requirements such as currency. The wide array of data types includes ranged values and aggregated attributes.

sqlalchemy-utils / sqlalchemy_utils / functions / orm.py

Example 2 from WTForms-Alchemy

wtforms-alchemy (documentation and PyPI package information) is a WTForms extension toolkit for easier creation of SQLAlchemy model based forms. While this project primarily focuses on proper form handling, it also has many good examples of how to use various parts of SQLAlchemy in its code base. The project is provided as open source under the MIT license.

WTForms-Alchemy / wtforms_alchemy / generator.py