Skip to content

Commit

Permalink
facelift
Browse files Browse the repository at this point in the history
  • Loading branch information
IanRFerguson committed Mar 23, 2024
1 parent cf75da7 commit f7afbe9
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 8 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# polar_bare or Barely Polar?
# Klondike

`polar_bare` offers a lightweight API to manage data ingestion between Polars DataFrames and several common DB-API frameworks.
<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.

## Installation

Install at the command line

```
pip install klondike==0.1.0
```
8 changes: 4 additions & 4 deletions polar_bare/__init__.py → klondike/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@

__all__ = []
POLAR_OBJECTS = [
("polar_bare.bigquery.bigquery", "PolarBigQuery"),
("polar_bare.postgres.postgres", "PolarPostgres"),
("polar_bare.redshift.redshift", "PolarRedshift"),
("polar_bare.snowflake.snowflake", "PolarSnowflake"),
("klondike.bigquery.bigquery", "PolarBigQuery"),
("klondike.postgres.postgres", "PolarPostgres"),
("klondike.redshift.redshift", "PolarRedshift"),
("klondike.snowflake.snowflake", "PolarSnowflake"),
]

for module_, object_ in POLAR_OBJECTS:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from google.cloud import bigquery
from google.cloud.bigquery import dbapi

from polar_bare.pbear.generic_db import PolarBareDB
from klondike.base.generic_db import PolarBareDB
import json
import os
import tempfile
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import psycopg

from polar_bare.pbear.generic_db import PolarBareDB
from klondike.base.generic_db import PolarBareDB

##########

Expand Down
File renamed without changes.
File renamed without changes.
Empty file removed polar_bare/utils/__init__.py
Empty file.
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
google-cloud-bigquery==3.19.0
polars==0.20.16
petl==1.7.15
psycopg==3.1.18

0 comments on commit f7afbe9

Please sign in to comment.