moleculekit.version module#

Get the version string for the named package.

param distribution_name:

The name of the distribution package to query.

return:

The version string for the package as defined in the package’s “Version” metadata key.

moleculekit.version.__dir__()#

Default dir() implementation.

moleculekit.version.__format__(format_spec, /)#

Default object formatter.

moleculekit.version.__init_subclass__()#

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

moleculekit.version.__new__(*args, **kwargs)#

Create and return a new object. See help(type) for accurate signature.

moleculekit.version.__reduce__()#

Helper for pickle.

moleculekit.version.__reduce_ex__(protocol, /)#

Helper for pickle.

moleculekit.version.__sizeof__()#

Size of object in memory, in bytes.

moleculekit.version.__subclasshook__()#

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).