apispec is Python library and a a pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification). It's framework-agnostic, and includes plugins for marshmallow, Flask, Tornado, and bottle and utilities for parsing docstrings.
apispec is available via the PyPI package manager.