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.10.0'

current release version as a string

tenpy.version.released = False

whether this is a released version or modified

tenpy.version.short_version = 'v0.10.0'

same as version, but with ‘v’ in front

tenpy.version.git_revision = '5afa48f132e770bb16aaf53bbb82bc724a72b907'

the hash of the last git commit (if available)

tenpy.version.full_version = '0.10.0.dev4+5afa48f'

if not released additional info with part of git revision

tenpy.version.version_summary = 'tenpy 0.10.0.dev4+5afa48f (not compiled),\ngit revision 5afa48f132e770bb16aaf53bbb82bc724a72b907 using\npython 3.7.9 (default, Oct 19 2020, 15:13:17) \n[GCC 7.5.0]\nnumpy 1.21.6, scipy 1.7.3'

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