created wordpress_attachment.py

This file can be used to obtain publically accessible URL for attachments which are not yet added to a post for those attached to  posts you can directly view them. Non published post will return 404.