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

current release version as a string

tenpy.version.released = False

whether this is a released version or modified

tenpy.version.short_version = 'v0.6.1'

same as version, but with ‘v’ in front

tenpy.version.git_revision = '3801a06cdc4863e74d1fe241ad4ee6e08234e196'

the hash of the last git commit (if available)

tenpy.version.full_version = '0.6.1.dev63+3801a06'

if not released additional info with part of git revision

tenpy.version.version_summary = 'tenpy 0.6.1.dev63+3801a06 (not compiled),\ngit revision 3801a06cdc4863e74d1fe241ad4ee6e08234e196 using\npython 3.7.3 (default, Jan 24 2020, 02:22:02) \n[GCC 7.4.0]\nnumpy 1.19.1, scipy 1.5.2'

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