Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # src/data/get_raw_data.py
- import sys
- import os
- sys.path.append('../')
- from settings import config
- # src/settings.py
- from os.path import join, dirname, os
- from dotenv import load_dotenv
- dotenv_path = join(dirname(__file__), '../.env')
- load_dotenv(dotenv_path)
- class ParamConfig:
- """Config variables for the project"""
- def __init__(self):
- self.kaggle_username = os.environ.get("KAGGLE_USERNAME")
- self.kaggle_password = os.environ.get("KAGGLE_PASSWORD")
- config = ParamConfig()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement