Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor out SQLAlchemy #22

Closed
spwoodcock opened this issue Jan 21, 2024 · 0 comments · Fixed by #23
Closed

Refactor out SQLAlchemy #22

spwoodcock opened this issue Jan 21, 2024 · 0 comments · Fixed by #23
Assignees
Labels
enhancement New feature or request

Comments

@spwoodcock
Copy link
Member

Issue

  • Not everyone uses SQLAlchemy, but most will need to use a database driver.

Solution

  • Replace SQLAlchemy with direct driver usage.
  • psycopg2 is what SQLAlchemy uses underneath, and what most people generally use for connecting to Postgres.
    • There are many alternatives in the async world, as psycopg was quite slow to implement this.
    • But we will focus on a sync driver only for now (this doesn't require many queries / exceptional performance).

Context

This would improve the install of fmtm-splitter, reducing sub-dependencies.

@spwoodcock spwoodcock added the enhancement New feature or request label Jan 21, 2024
@spwoodcock spwoodcock self-assigned this Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant