Skip to content

Commit

Permalink
clean up scope
Browse files Browse the repository at this point in the history
  • Loading branch information
IanRFerguson committed Mar 23, 2024
1 parent 329908e commit 377ee73
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 161 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<img src="https://upload.wikimedia.org/wikipedia/en/d/d5/Klondike_logo.svg">

Klondike offers a lightweight API to read and write data to various database endpoints using Polars.
Klondike offers a lightweight API to read and write data to Google BigQuery using rust-optimized Polars DataFrames.

## Installation

Expand Down
3 changes: 0 additions & 3 deletions klondike/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
__all__ = []
POLAR_OBJECTS = [
("klondike.bigquery.bigquery", "PolarBigQuery"),
("klondike.postgres.postgres", "PolarPostgres"),
("klondike.redshift.redshift", "PolarRedshift"),
("klondike.snowflake.snowflake", "PolarSnowflake"),
]

for module_, object_ in POLAR_OBJECTS:
Expand Down
76 changes: 0 additions & 76 deletions klondike/base/generic_db.py

This file was deleted.

10 changes: 4 additions & 6 deletions klondike/bigquery/bigquery.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import json
import os
import tempfile
from contextlib import contextmanager
from typing import Optional, Union

from google.cloud import bigquery
from google.cloud.bigquery import dbapi

from klondike.base.generic_db import KlondikeDB
import json
import os
import tempfile

##########

SCOPES = (
Expand All @@ -20,7 +18,7 @@
)


class PolarBigQuery(KlondikeDB):
class PolarBigQuery:
"""
Establish and authenticate a connection to a BigQuery warehouse
"""
Expand Down
Empty file removed klondike/postgres/__init__.py
Empty file.
75 changes: 0 additions & 75 deletions klondike/postgres/postgres.py

This file was deleted.

Empty file removed klondike/redshift/__init__.py
Empty file.

0 comments on commit 377ee73

Please sign in to comment.