Constants - cihai.constants
¶
Constants for cihai.
- cihai.constants.app_dirs = <appdirs.AppDirs object>¶
XDG App directory locations
- cihai.constants.DEFAULT_CONFIG: UntypedDict = {'database': {'url': 'sqlite:///{user_data_dir}/cihai.db'}, 'datasets': {}, 'debug': False, 'dirs': {'cache': PosixPath('/home/runner/.cache/cihai'), 'data': PosixPath('/home/runner/.local/share/cihai'), 'log': PosixPath('/home/runner/.cache/cihai/log')}, 'plugins': {}}¶
Default configuration
- cihai.constants.UNIHAN_CONFIG: UntypedDict = {'datasets': {'unihan': 'cihai.data.unihan.dataset.Unihan'}}¶
User will be prompted to automatically configure their installation for UNIHAN