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 = '1.0.6'

current release version as a string

tenpy.version.released = True

whether this is a released version or modified

tenpy.version.short_version = 'v1.0.6'

same as version, but with ‘v’ in front

tenpy.version.git_revision = 'b5408eaf11d3f3ed8fc71de96a8b681c8e4c7c04'

the hash of the last git commit (if available)

tenpy.version.full_version = '1.0.6'

if not released additional info with part of git revision

tenpy.version.version_summary = 'tenpy 1.0.6 (not compiled),\ngit revision b5408eaf11d3f3ed8fc71de96a8b681c8e4c7c04 using\npython 3.11.10 (main, Nov  5 2024, 16:13:19) [GCC 11.4.0]\nnumpy 2.2.5, scipy 1.15.2'

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