The team behind ip2long is using the Mercurial software to manage the source code.
hg clone https://archive.srchub.org/hg/ip2long
Find here more details on how to access ip2long source code.