CodeForPhilly / CodeForPhilly/balancer-main

Dev Issue: Update Docker Compose

Open
#240 0 comments 0 reactions 1 assignee Claimed by @sahilds1 View on GitHub
Dominant language
TypeScript
Stars
21
Forks
19
PR merge metrics
No merged PRs in 30d

Description

The goal of this ticket is to be able to query the Balancer application database from a Jupyter notebook

```
from sqlalchemy import create_engine
import pandas as pd

engine = create_engine("postgresql+psycopg2://balancer:balancer@localhost:5433/balancer_dev")

# TODO: Delete papers that shouldn't be used from local database
query = "SELECT * FROM api_embeddings WHERE date_of_upload > '2025-03-14';"

df = pd.read_sql(query, engine)

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.