title: Given a .torrent file how do I generate a magnet link in python?
body: <p>I need a way to convert .torrents into magnet links. Would like a way to do so in python. Are there any libraries that already do this?</p>