File: __init__.py

package info (click to toggle)
python-cheroot 10.0.1%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,048 kB
  • sloc: python: 6,222; makefile: 15
file content (12 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
"""High-performance, pure-Python HTTP server used by CherryPy."""

try:
    from importlib import metadata
except ImportError:
    import importlib_metadata as metadata  # noqa: WPS440


try:
    __version__ = metadata.version('cheroot')
except Exception:
    __version__ = 'unknown'