Web platform for sharing free data for ML and research

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 config.py

View raw Download
text/x-script.python • 269 B
Python script, ASCII text executable
        
            
1
import dotenv
2
from os import environ
3
4
dotenv.load_dotenv("secrets.env")
5
6
DB_PASSWORD = environ["DB_PASSWORD"]
7
DB_URI = f"postgresql://gigadata:{DB_PASSWORD}@localhost:5432/gigadata"
8
DATA_PATH = "./data"
9
ROOT_URL = "http://localhost:8080"
10
SITE_NAME = "Development site"
11