dotcloud/docker-py — pull request #260 by mmerickel (2014-07-05 18:09:40+00:00)
Title: support loading DOCKER_HOST from environ if available

You can argue this should be done by the developer instead of the library, but I think it's more useful for the library to support the standard set by the docker cli.

Side note, without something like this it's impossible to run the integration tests on another host (e.g. on osx in a vm). Of course we could just fix the integration tests to support loading the environ key.