Next / Previous / Contents / NM Tech homepage

6.2. Imports

pycbc.py
# - - - - -   I m p o r t s

SQLAlchemy has a number of sub-modules that we'll need.

pycbc.py
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.

pycbc.py
import math
import terrapos