pyhgtmap is a simple python program to create contour lines from NASA SRTM data and output them as OSM data. This is a fork of Phyghtmap due to its lack of maintenance.
Code is available on Github and package available on PyPi