chore: final touches for prod

This commit is contained in:
Christopher Gondek 2025-10-13 16:10:50 +02:00
parent 70c5f3a6b0
commit 3e773630e2
5 changed files with 38 additions and 2 deletions

27
.env.example Normal file
View file

@ -0,0 +1,27 @@
# Preprocessor Configuration
# Path to the preprocessor configuration YAML file
PP_CONFIG_PATH="/path/to/your/pp-config.yaml"
# API Keys
# API key for the preprocessor service
PP_API_KEY="your-preprocessor-api-key-here"
# API key for database endpoint access
DB_ENDPOINT_API_KEY="your-database-endpoint-api-key-here"
# Database Configuration
# Path to the SQLite database file
DB_URL="/path/to/your/database.db"
# Power BI Configuration
# Power BI dataset identifier
POWERBI_DATASET_ID="your-powerbi-dataset-id"
# Power BI client ID for Azure AD authentication
POWERBI_CLIENT_ID="your-powerbi-client-id"
# Power BI client secret for Azure AD authentication
POWERBI_CLIENT_SECRET="your-powerbi-client-secret"
# Power BI tenant ID (Azure AD tenant)
POWERBI_TENANT_ID="your-powerbi-tenant-id"

6
.gitignore vendored
View file

@ -11,3 +11,9 @@ wheels/
# Environment variables # Environment variables
.env .env
# Data files
data/
# System files
.DS_Store

View file

@ -7,6 +7,7 @@ requires-python = ">=3.13"
dependencies = [ dependencies = [
"aiosqlite>=0.20.0", "aiosqlite>=0.20.0",
"fastapi>=0.117.1", "fastapi>=0.117.1",
"greenlet>=3.2.4",
"httpx>=0.28.1", "httpx>=0.28.1",
"msal>=1.34.0", "msal>=1.34.0",
"pandas>=2.3.2", "pandas>=2.3.2",

View file

@ -1,7 +1,7 @@
version: 1 version: 1
tables: tables:
- name: "inventory_table" - name: "Data"
powerbi_table_name: "InventoryData" powerbi_table_name: "data_full"
steps: steps:
- keep: - keep:
columns: columns:

View file

@ -691,6 +691,7 @@ source = { virtual = "." }
dependencies = [ dependencies = [
{ name = "aiosqlite" }, { name = "aiosqlite" },
{ name = "fastapi" }, { name = "fastapi" },
{ name = "greenlet" },
{ name = "httpx" }, { name = "httpx" },
{ name = "msal" }, { name = "msal" },
{ name = "pandas" }, { name = "pandas" },
@ -707,6 +708,7 @@ dependencies = [
requires-dist = [ requires-dist = [
{ name = "aiosqlite", specifier = ">=0.20.0" }, { name = "aiosqlite", specifier = ">=0.20.0" },
{ name = "fastapi", specifier = ">=0.117.1" }, { name = "fastapi", specifier = ">=0.117.1" },
{ name = "greenlet", specifier = ">=3.2.4" },
{ name = "httpx", specifier = ">=0.28.1" }, { name = "httpx", specifier = ">=0.28.1" },
{ name = "msal", specifier = ">=1.34.0" }, { name = "msal", specifier = ">=1.34.0" },
{ name = "pandas", specifier = ">=2.3.2" }, { name = "pandas", specifier = ">=2.3.2" },