Developer Documentation AKA ‘Hacking’ the Library

This document describes the process for “hacking” the Python Fat Cookie Library.

Getting the Source

The easiest way to get the source is to use subversion on utforge (EID Required). From a command line run:

$ svn co https://utforge.its.utexas.edu/repos/PythonFatCookie/trunk python-cookie

This will create a folder called python-cookie in the current directory will the latest version of the source. The source files are arranged roughly like this:

  • docs/
    • build/html/ – documentation rendered in html
    • source/ – documentation in reStructuredText
    • Makefile – sphinx documentation make file
  • pycookie/
    • __init__.py – pycookie.get_version(), Static FC Variables
    • cookie.py – pycookie.FatCookie Class and FatCookieException
    • helpers.py – pycookie.helpers.Role Class and functions that clean the data before the FatCookie class is saved.
  • test/
    • test_cookie.py – Fat Cookie Library tests

You can also browse the source on utforge (EID required) without downloading it.