SakaiPy works again! I was able to find a more stable way of creating sessions! Now I'll be able to base all future work off of a stable platform.
- New way to handle session generation.
- Architecture re-write to work with new session generation.
Since this is a pretty major rewrite (and I didn't feel like making a v3) I'll be making a post about this rewrite at my blog. I'm also in the the process of trying to automatically host documentation for SakaiPy.
- Complete rewrite of the program architecture. Documentation for API incoming.
- Introduce SakaiPy object. This object is now the main entry point for the library.
- Should work with Python3.x correctly.
- No longer uses mechanize for web-scraping/login form.
- Uses the /session REST api for session cookies.
- Implemented some HTTP error checking for the requests. Still need to implement some sort of error checking for the login portion.
- Only works in 2.7 currently. Mechanize does not yet support 3.x
- Added ability to specify login form id and username/password field names
- Any Sakai installation should technically be able to use it now