quillsql 2.1.6__py3-none-any.whl → 2.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,19 @@
1
+ quillsql/__init__.py,sha256=FiuoxaNZveKXOPB0hkpfGNlpZKmSn3pRwcqm9HKYbCQ,180
2
+ quillsql/core.py,sha256=d75_Pl6gCaeYeMTpfnIvlTQndXchMb7aBPY0EGOOGEo,16431
3
+ quillsql/error.py,sha256=n9VKHw4FAgg7ZEAz2YQ8L_8FdRG_1shwGngf2iWhUSM,175
4
+ quillsql/assets/__init__.py,sha256=oXQ2ZS5XDXkXTYjADxNfGt55cIn_rqfgWL2EDqjTyoI,45
5
+ quillsql/assets/pgtypes.py,sha256=-B_2wUaoAsdX7_HnJhUlx4ptZQ6x-cXwuST9ACgGFdE,33820
6
+ quillsql/db/__init__.py,sha256=sPgYMF3eqKuc2k96i1Re8NHazLdGKCVN-rs15F1sovw,63
7
+ quillsql/db/bigquery.py,sha256=xJv3WUjyDmnfwaAAeLTTezUEw_qxrxQy-CTCwj8Hmjs,4811
8
+ quillsql/db/cached_connection.py,sha256=Pp0R2XGY-QuQYh8ThiDxSwNb6SEuEKfZcQRcvzjeC28,2556
9
+ quillsql/db/db_helper.py,sha256=qiIP-BM7R-3PhvWBELYjNazi-92EcQB0q9eN7Ej7XUA,2111
10
+ quillsql/db/postgres.py,sha256=ZTLtUVTJHkqAj7nZkcwbmkSOwR2ySN7vS5snoxqLRN0,4156
11
+ quillsql/utils/__init__.py,sha256=C2k9Xe0sG5XrP0XJo9K_-iej1S9PLMRKOYMeLxj7NYE,210
12
+ quillsql/utils/filters.py,sha256=REXOLIQZDHL4EDKtConXY9_GaqUmc2uTcyUa2_4MvAg,6786
13
+ quillsql/utils/run_query_processes.py,sha256=FRmNvjTDLUBr7MqDKQmivdC0anwybMXUyzQbKnaZx70,698
14
+ quillsql/utils/schema_conversion.py,sha256=TFfMibN9nOsxNRhHw5YIFl3jGTvipG81bxX4LFDulUY,314
15
+ quillsql/utils/tenants.py,sha256=ZD2FuKz0gjBVSsThHDv1P8PU6EL8E009NWihE5hAH-Q,2022
16
+ quillsql-2.2.0.dist-info/METADATA,sha256=JgI2dyz6-TvEm6tIuyUcUrY0t6XoDvxOnmPviLn9-5c,1786
17
+ quillsql-2.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
+ quillsql-2.2.0.dist-info/top_level.txt,sha256=eU2vHnVqwpYQJ3ADl1Q-DIBzbYejZRUhcMdN_4zMCz8,9
19
+ quillsql-2.2.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,72 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: quillsql
3
- Version: 2.1.6
4
- Summary: Quill SDK for Python.
5
- Home-page: https://github.com/quill-sql/quill-python
6
- Author: Quill
7
- Author-email: shawn@quillsql.com
8
- Description-Content-Type: text/markdown
9
- Requires-Dist: psycopg2-binary
10
- Requires-Dist: requests
11
- Requires-Dist: redis
12
- Requires-Dist: python-dotenv
13
- Requires-Dist: pytest
14
- Requires-Dist: google-cloud-bigquery
15
- Requires-Dist: google-auth
16
-
17
- # Quill Python SDK
18
-
19
- ## Quickstart
20
-
21
- First, install the quillsql package by running:
22
-
23
- ```bash
24
- $ pip install quillsql
25
- ```
26
-
27
- Then, add a `/quill` endpoint to your existing python server. For example, if
28
- you were running a FASTAPI app, you would just add the endpoint like this:
29
-
30
- ```python
31
- from quillsql import Quill
32
- from fastapi import FastAPI, Request
33
-
34
- app = FastAPI()
35
-
36
- quill = Quill(
37
- private_key=<YOUR_PRIVATE_KEY_HERE>,
38
- database_connection_string=<YOUR_DB_CONNECTION_STRING_HERE>,
39
- )
40
-
41
- # ... your existing endpoints here ...
42
-
43
- @app.post("/quill")
44
- async def quill_post(data: Request):
45
- body = await data.json()
46
- return quill.query(org_id="2", data=body)
47
- ```
48
-
49
- Then you can run your app like normally. Pass in this route to our react library
50
- on the frontend and you all set!
51
-
52
- ## For local testing (dev purposes only)
53
-
54
- ```
55
- pipenv install
56
- pipenv shell
57
- uvicorn examples.fastapi-server.app:app --reload --port 3000
58
- ```
59
-
60
- You are now ready to ping your local server at http://localhost:3000.
61
-
62
- ## Troubleshooting
63
-
64
- If you run into issues with `Library not loaded: @rpath/libpq.5.dylib` or `no LC_RPATH's found`, try uninstalling and reinstalling postgres on your machine. For example, using homebrew:
65
-
66
- ```bash
67
- $ brew uninstall c
68
- $ brew update
69
- $ brew install postgresql
70
- ```
71
-
72
- If you're still having this issue, this resource might also be useful for you: https://www.psycopg.org/docs/install.html.
@@ -1,17 +0,0 @@
1
- quillsql/__init__.py,sha256=xxVDrfIXLIbt45yHKGYRbqmgXSPe03uNbqENMLUnUC8,70
2
- quillsql/core.py,sha256=cCoCLwudlfmOj-o2hW-7Bwx5-XrCvXxQg3iNpTDX6z0,7670
3
- quillsql/error.py,sha256=XltjRgdBcq3lQN0KdUba5eDzA21yQ7KisIjvqqUSELI,161
4
- quillsql/assets/__init__.py,sha256=PX43SCko4w5P197YXghGI2VAq3-X1J91IO_tWY7rpiM,44
5
- quillsql/assets/pgtypes.py,sha256=qWAcGO6QfWN6XXtGI7cMreNSeTjw-xNgcc1aLoq9EV0,40768
6
- quillsql/db/__init__.py,sha256=mBGMd22nAtp9CdTpEG1Ty47zvSpO8gGejORCACF3-3c,62
7
- quillsql/db/bigquery.py,sha256=Hzs2DjJ9p8l-HywvaaAk5PbadueNgTVDyDMpCGTcd48,4220
8
- quillsql/db/cached_connection.py,sha256=1y_GzW5mIAYpmGKJjxpBqmFafpmgUA0Qm9oW_ufyPko,2570
9
- quillsql/db/db_helper.py,sha256=PFAcX2V26sIaR-hF8orGGltKXdEzR5b_enMSOHlAMUg,2054
10
- quillsql/db/postgres.py,sha256=iw71feFvnCDBMKpeGbhiJ_4Z4h7AlUi4Hk12Pfyzx6c,2799
11
- quillsql/utils/__init__.py,sha256=jJLp0OkFQdWohu8vIijfggiWf4eWmeAafVzx3YpdE4E,75
12
- quillsql/utils/run_query_processes.py,sha256=hElCVACq6bz1_jVIjQUrZzI1CPY188I3_5sHc21jtOc,673
13
- quillsql/utils/schema_conversion.py,sha256=MwFk95SIZ8OX5EAv141QXLjmCef-1z8jiVKlW71-sk8,297
14
- quillsql-2.1.6.dist-info/METADATA,sha256=HNtsQyw_xKnQasZ5OKDvKNZf_1OS_qCbPQguu-YTk_U,1809
15
- quillsql-2.1.6.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
16
- quillsql-2.1.6.dist-info/top_level.txt,sha256=eU2vHnVqwpYQJ3ADl1Q-DIBzbYejZRUhcMdN_4zMCz8,9
17
- quillsql-2.1.6.dist-info/RECORD,,