version

  • full name: tenpy.version

  • parent module: tenpy

  • type: module

Module description

Access to version of this library.

The version is provided in the standard python format major.minor.revision as string. Use pkg_resources.parse_version before comparing versions.

tenpy.version.version = '0.5.0'

current release version as a string

tenpy.version.released = False

whether this is a released version or modified

tenpy.version.short_version = 'v0.5.0'

same as version, but with ‘v’ in front

tenpy.version.git_revision = 'ebf854883f5d815682aa40ef15e59e725d9b42bb'

the hash of the last git commit (if available)

tenpy.version.full_version = '0.5.0.dev67+ebf8548'

if not released additional info with part of git revision

tenpy.version.version_summary = 'tenpy 0.5.0.dev67+ebf8548 (not compiled),\ngit revision ebf854883f5d815682aa40ef15e59e725d9b42bb using\npython 3.8.0 (default, Nov 6 2019, 21:49:08) \n[GCC 7.3.0]\nnumpy 1.17.4+intel.0, scipy 1.3.1'

summary of the tenpy, python, numpy and scipy versions used