Skip to content

fairvis.settings

Paths of the app and of the data bundled with the package.

PACKAGE_PATH module-attribute

PACKAGE_PATH = Path(__file__).parent

Directory of the installed fairvis package.

APP_PATH module-attribute

APP_PATH = PACKAGE_PATH / 'app.py'

Streamlit script of the app.

DATA_PATH module-attribute

DATA_PATH = PACKAGE_PATH / 'data'

Data bundled with the package.

ASSESSMENTS_PATH module-attribute

ASSESSMENTS_PATH = DATA_PATH / 'assessments'

Example assessments, one xlsx file per model.

TEMPLATE_PATH module-attribute

TEMPLATE_PATH = DATA_PATH / 'FAIR_assessment_template.xlsx'

Template of a FAIR assessment, also the definition of the indicators.

LOGO_PATH module-attribute

LOGO_PATH = DATA_PATH / 'fair-ca-logo.png'

Logo of FAIR-CA, the icon of the app.