OSGI is bloated and pretentious, just use the classloader, it takes 300 lines of code and you have the best container in the world, see my Archive class:
https://github.com/tinspin/rupy/blob/master/src/se/rupy/http...
What does SQLAlchemy have to do with containers?