python get version of package in code