def get_file(self):
        filename = self.get_path()
        if not os.path.isfile(filename):
            raise FileNotFound('File "{0}" does not exists'.format(filename))
        return File(open(filename, 'rb'))
Calculate the total number of downloads for the package
dataset/ETHPy150Open benoitbryon/django-downloadview/django_downloadview/views/path.py/PathDownloadView.get_file--crossover with--dataset/ETHPy150Open DNX/django-fagungis/pypi_stats.py/PyPIDownloadAggregator.downloads