This project analyzes color data and includes:
- Mean, median, mode, variance
- Probability
- Recursive search
- Binary to decimal
- Fibonacci sum
- ✅ Supabase PostgreSQL storage with hidden password
bincom_test.py
: main script
- Install dependencies:
pip install python-dotenv psycopg2
- Add your Supabase DB password inside
.env
:
SUPABASE_DB_URL=postgresql://postgres:yourpassword@aws-0-eu-west-1.pooler.supabase.com:6543/postgres
SUPABASE_DB_URL=postgresql://postgres:%40ProudBot99@aws-0-eu-west-1.pooler.supabase.com:6543/postgres
- Run your script:
python bincom_exam_solution.py