txtopts.py

The main commit and module.