Gppi is a project mainly written in Python, it's free.
PYPI(Python Pakcage Index) server for local package repository