Robotics
code
Silk_LLM / __init__.py
nlsefouh's picture
Create __init__.py
d0ac577 verified
raw
history blame
304 Bytes
# __init__.py
from importlib import resources
try:
import tomllib
except ModuleNotFoundError:
import tomli as tomllib
# Version of the package
__version__ = "1.0.0"
# Read URL of the feed from config file
_cfg = tomllib.loads(resources.read_text("reader", "config.toml"))
URL = _cfg["feed"]["url"]