summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/__init__.py
blob: 343a0cac8c90331e0f82b414b7a1c0205eb5ac10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# __init__.py
# Copyright (C) 2005, 2006, 2007, 2008 Michael Bayer mike_mp@zzzcomputing.com
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php

import inspect
from sqlalchemy.types import \
    BLOB, BOOLEAN, CHAR, CLOB, DATE, DATETIME, DECIMAL, FLOAT, INT, \
    NCHAR, NUMERIC, SMALLINT, TEXT, TIME, TIMESTAMP, VARCHAR, \
    Binary, Boolean, Date, DateTime, Float, Integer, Interval, Numeric, \
    PickleType, SmallInteger, String, Text, Time, Unicode, UnicodeText

from sqlalchemy.sql import \
    func, modifier, text, literal, literal_column, null, alias, \
    and_, or_, not_, \
    select, subquery, union, union_all, insert, update, delete, \
    join, outerjoin, \
    bindparam, outparam, asc, desc, collate, \
    except_, except_all, exists, intersect, intersect_all, \
    between, case, cast, distinct, extract

from sqlalchemy.schema import \
    MetaData, ThreadLocalMetaData, Table, Column, ForeignKey, \
    Sequence, Index, ForeignKeyConstraint, PrimaryKeyConstraint, \
    CheckConstraint, UniqueConstraint, Constraint, \
    PassiveDefault, ColumnDefault, DDL

from sqlalchemy.engine import create_engine, engine_from_config

__all__ = [ name for name, obj in locals().items()
            if not (name.startswith('_') or inspect.ismodule(obj)) ]

__version__ = 'svn'