# -*- coding: iso-8859-1 -*-
#-----------------------------------------------------------------------------
# Modeling Framework: an Object-Relational Bridge for python
#
# Copyright (c) 2001-2004 Sbastien Bigaret <sbigaret@users.sourceforge.net>
# All rights reserved.
#
# This file is part of the Modeling Framework.
#
# This code is distributed under a "3-clause BSD"-style license;
# see the LICENSE file for details.
#-----------------------------------------------------------------------------
"""The Modeling Framework is an Object-Relational Bridge for python
The Modeling Framework fills the gap between the Python object world and
relational databases in that it allows users to transparently create,
retrieve, update, or delete Python objects from a database without having to
write a single line of SQL. Its main features include generation of database
schema, generation of Python code templates ready to be used, support for
transparent mapping of (class) inheritance in relational databases,
object-oriented query language, use of standard Python getters to traverse
relationships (the related objects are automatically fetched when needed and
when appropriate), and automatic checking for referential-integrity
constraints, etc. Supported databases are MySQL, Oracle, PostgreSQL, and
SQLite.
"""
__version__="0.9"
import DatabaseContext # make it register itself for notifications
from utils import migration_warnings
migration_warnings()
import sys
if sys.version_info >= (2, 3):
import warnings
warnings.filterwarnings("ignore", "hex\(\)/oct\(\) of negative int will return a signed string in Python 2.4 and up", FutureWarning, "Modeling.*")
del sys
|