# - - - - - I m p o r t s
SQLAlchemy has a number of sub-modules that we'll need.
The sqlalchemy.schema module supplies
schema classes such as Table and Column.
The sqlalchemy.types module defines
column types.
The sqlalchemy.orm module controls the
object-relational mapper (ORM).
The sqlalchemy.exc module defines the
exception classes thrown by SQLAlchemy.
The sqlalchemy.engine module has the
create_engine() function necessary for
connecting to the database backend.
from sqlalchemy import schema, types, orm, engine, exc
To handle geographical calculations, we will use the author's
Python mapping
package, as well as the standard
math package for trig functions.
import math import terrapos