Functions | |
def | extractPages |
def | extractPagesForPackage |
def | generateTab |
Variables | |
list | allRows = [] |
string | destTabClassName = 'tabs' |
fileNameTemplate = None | |
htmlFileName = None | |
htmlFilePath = None | |
htmlFullPath = None | |
htmlPage = None | |
tuple | newTab = generateTab(pageNames, page) |
tuple | oldTab = temp.find('div', {'class' : destTabClassName}) |
tuple | page = page.replace(' ', '_') |
tuple | pageNames = pages.keys() |
tuple | pages = extractPagesForPackage() |
tuple | table = htmlPage.find('table', {'class' : tableClassName}) |
string | tableClassName = 'directory' |
tuple | temp = BeautifulSoup(str(htmlPage)) |
Definition at line 19 of file TableParser.py.
References python.multivaluedict.append(), and pileupCalc.upper.
def TableParser.extractPagesForPackage | ( | ) |
Definition at line 48 of file TableParser.py.
References python.multivaluedict.append(), and strip().
def TableParser.generateTab | ( | items, | |
curr, | |||
tabClass = 'tabs3' |
|||
) |
Definition at line 63 of file TableParser.py.
list TableParser.allRows = [] |
Definition at line 103 of file TableParser.py.
string TableParser.destTabClassName = 'tabs' |
Definition at line 95 of file TableParser.py.
tuple TableParser.fileNameTemplate = None |
Definition at line 13 of file TableParser.py.
tuple TableParser.htmlFileName = None |
Definition at line 12 of file TableParser.py.
tuple TableParser.htmlFilePath = None |
Definition at line 11 of file TableParser.py.
list TableParser.htmlFullPath = None |
Definition at line 10 of file TableParser.py.
tuple TableParser.htmlPage = None |
Definition at line 14 of file TableParser.py.
tuple TableParser.newTab = generateTab(pageNames, page) |
Definition at line 122 of file TableParser.py.
tuple TableParser.oldTab = temp.find('div', {'class' : destTabClassName}) |
Definition at line 121 of file TableParser.py.
tuple TableParser.page = page.replace(' ', '_') |
Definition at line 128 of file TableParser.py.
tuple TableParser.pageNames = pages.keys() |
Definition at line 104 of file TableParser.py.
tuple TableParser.pages = extractPagesForPackage() |
Definition at line 94 of file TableParser.py.
tuple TableParser.table = htmlPage.find('table', {'class' : tableClassName}) |
Definition at line 111 of file TableParser.py.
string TableParser.tableClassName = 'directory' |
Definition at line 15 of file TableParser.py.
tuple TableParser.temp = BeautifulSoup(str(htmlPage)) |
Definition at line 119 of file TableParser.py.