rename publish_url to publish_uri
move __version__ to module __init__.py