File: __init__.py

package info (click to toggle)
python-emmet-core 0.84.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 77,220 kB
  • sloc: python: 16,355; makefile: 30
file content (12 lines) | stat: -rw-r--r-- 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
"""
Core module exposes the document interfaces
These will be ingested via Drones, built by Builders, and served via the API.
"""

from importlib.metadata import PackageNotFoundError, version

try:
    __version__ = version("emmet-core")
except PackageNotFoundError:  # pragma: no cover
    # package is not installed
    __version__ = "unknown"