Are there any large Python libraries that avoid OOP? : <p>I'm a developer working at a company that primarily uses Python. I have a <em>strong</em> dislike of OOP; I feel it is almost always the wrong tool for the job and quickly makes code unmanageable. In our code base, I would like to avoid using objects / classes / inheritance, etc as much as possible.</p>

<p>I know how to write good functional code in "functional" languages like SML (I use the scare quotes because it is difficult to define what a functional language is). I would ideally like to do the same in Python. Python doesn't force OOP; it has modules, and first-class functions, etc, but it seems like all the Python code I see makes heavy use of classes, and often inheritance as well (even multiple inheritance!). This is both true of the code I work with as well as third-party libraries I've seen.</p>

<p>Are there good examples of large Python libraries that are written in a more functional style that I could learn from? Or has anyone had success in their own private code with this? I don't just want to start writing all my code in a functional style only to run into some pitfalls later down the line.</p>
