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

current release version as a string

tenpy.version.released = False

whether this is a released version or modified

tenpy.version.short_version = 'v1.1.0'

same as version, but with ‘v’ in front

tenpy.version.git_revision = '4319fbbbaeee11c87ba274953875d11bb8b7591d'

the hash of the last git commit (if available)

tenpy.version.full_version = '1.1.0.dev47+4319fbb'

if not released additional info with part of git revision

tenpy.version.version_summary = 'tenpy 1.1.0.dev47+4319fbb (not compiled),\ngit revision 4319fbbbaeee11c87ba274953875d11bb8b7591d using\npython 3.11.14 (main, Apr 27 2026, 17:28:30) [GCC 11.4.0]\nnumpy 2.4.4, scipy 1.17.1'

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