Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Support drivers other than PostgreSQL

Open
#19 0 comments 0 reactions 1 assignee View on GitHub

@albireox is already working on this.

Since Sep 22, 2019.

Assessment

This issue has not been assessed yet.

Description

enhancement

Right now it's hardcoded in sdssdb that all the databases are PostgreSQL. In principle we may need to support other databases (e.g. SQLite or SQL Server) and should be able to use all the current framework. Both Peewee and SQLA support multiple drivers.

On the SQLA side this seems relatively simple, since the driver is specified as a string. For Peewee is a bit more complicated; we'd need to create a PeeweeBaseDatabaseConnection and then subclass from the appropriate Peewee connection class and make sure the __init__ is run correctly.

Dominant language
Python
Stars
8
Forks
2
Avg merge
10d 31m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sdss/sdssdb

All issues in sdss/sdssdb

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.