ANNOUNCE: awstats_reader 0.5
joshua at joshuakugler.com
Sat Dec 19 23:04:27 CET 2009
ABOUT THE MODULE
AwstatsReader is a pythonic interface to AWStats data cache files. Using
it, you can access year and month via dict-like subscripts, and and
individual data points via both dict-like subscripts and attribute-like
As of version 0.5, it includes a script for merging AWStats Cache files.
ABOUT THE AUTHOR
Joshua Kugler (joshua at azariah.com) is a programmer and system administator
with over 10 years of industory experience. He is currently looking for a
job. Happen to have one you could offer him? :)
Resume at: http://jjncj.com/papers/KuglerResume.pdf
This is an early-beta release. There are 43 tests which cover most, if not
all of the functionality, but not much documentation. The interface should
be considered stable, but not in concrete. The usage of this project in
a "real world" situation (awstats_cache_merge.py) led to many improvements
to the API.
I wrote this via examples from an AWStats cache file, so I'm sure there are
sections for which I do not have definitions. If you would send me those
sections, I'll be sure to add them.
Right now, this will parse and display cache files from AWStats 6.5. I've
not tested other versions yet, as 6.5 is the only version I've had access
to so far.
No public repository yet. Just haven't set it up.
obj = awstats_reader.AwstatsReader('/path/to/awstats_logs', 'example.com')
m = obj
# Access like a dictionary...
#...or like an object attribute
Please send questions/comments/suggestions to awstatsreader at azariah.com
For now, you can find the latest version here:
More information about the Python-list