Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/icalendar/version.py: 57%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""Version information on icalendar.
3This module provides a stable interface to the generated :file:`_version.py` file.
5Version as a string:
7.. code-block:: pycon
9 >>> from icalendar import version
10 >>> version # doctest: +SKIP
11 '7.0.0'
13Version as a tuple:
15.. code-block:: pycon
17 >>> from icalendar import version_tuple
18 >>> version_tuple # doctest: +SKIP
19 (7, 0, 0)
21"""
23try:
24 from ._version import __version__, __version_tuple__, version, version_tuple
25except ModuleNotFoundError:
26 __version__ = version = "0.0.0dev0"
27 __version_tuple__ = version_tuple = (0, 0, 0, "dev0")
29__all__ = [
30 "__version__",
31 "__version_tuple__",
32 "version",
33 "version_tuple",
34]