Echo Nest API is what you are looking for:
http://echonest.github.io/remix/
Python bindings are rich, though installing Echo Nest can be pain as the team does not seem to be able to build solid installers.
However it does not do local processing. Instead, it calculates audio fingerprint and uploads the song for Echo Nest servers for the information extraction using algorithms they don't expose.