Trying out OwnCloud is not a bad suggestion (note it's written in PHP, not Python, if that makes any difference), but I'd advise against manually installing it from a tarball. You'll absolutely want security updates for server software facing the Internet. You can install it from OpenSUSE repositories as described here:
echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_8.0/ /' >> /etc/apt/sources.list.d/owncloud.list
# Might be a good idea to check the key manually at this point.
apt-key add - < Release.key
apt-get install owncloud