Files
Buffteks-Website/buffteks/lib/python3.12/site-packages/plotly/version.py
2025-05-08 21:10:14 -05:00

19 lines
423 B
Python

from ._version import get_versions
__version__ = get_versions()["version"]
del get_versions
from ._widget_version import __frontend_version__
def stable_semver():
"""
Get the stable portion of the semantic version string (the first three
numbers), without any of the trailing labels
'3.0.0rc11' -> '3.0.0'
"""
from packaging.version import Version
return Version(__version__).base_version