16 lines
414 B
Python
16 lines
414 B
Python
from __future__ import annotations
|
|
|
|
from importlib.resources import files
|
|
|
|
|
|
def asset_path(name: str) -> str:
|
|
return str(files("securecheck").joinpath("assets", name))
|
|
|
|
|
|
def banner_text() -> str:
|
|
return files("securecheck").joinpath("assets", "banner.txt").read_text(encoding="utf-8")
|
|
|
|
|
|
def asset_text(name: str) -> str:
|
|
return files("securecheck").joinpath("assets", name).read_text(encoding="utf-8")
|