Quill SDK for Python.
Project description
Quill Python SDK
Quickstart
First, install the quillsql package by running:
$ pip install quillsql
Then, add a /quill
endpoint to your existing python server. For example, if
you were running a FASTAPI app, you would just add the endpoint like this:
from quillsql import Quill
from fastapi import FastAPI, Request
app = FastAPI()
quill = Quill(
private_key=<YOUR_PRIVATE_KEY_HERE>,
database_connection_string=<YOUR_DB_CONNECTION_STRING_HERE>,
)
# ... your existing endpoints here ...
@app.post("/quill")
async def quill_post(data: Request):
body = await data.json()
return quill.query(org_id="2", data=body)
Then you can run your app like normally. Pass in this route to our react library on the frontend and you all set!
Questions
If you have any questions, please reach out to us!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quillsql-2.0.5.tar.gz
(7.6 kB
view details)
Built Distribution
quillsql-2.0.5-py3-none-any.whl
(10.4 kB
view details)
File details
Details for the file quillsql-2.0.5.tar.gz
.
File metadata
- Download URL: quillsql-2.0.5.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc39a022f32a5db7ef1792a05c543c1a8a959345667aa0468666dc9afb73f42c |
|
MD5 | cf6c5d0b4ffd70bb88ded6875ca49c53 |
|
BLAKE2b-256 | 3377af935ab0335b5a2857d20c47404a10e5fbfc2f9bcf00a079c810d21a1e0a |
File details
Details for the file quillsql-2.0.5-py3-none-any.whl
.
File metadata
- Download URL: quillsql-2.0.5-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade6c365224b3390b4a14e40b96b708035cee018e5f347d2f7a7c791b3de8bfa |
|
MD5 | 7bf00f333fb16814a897a0f6440ac721 |
|
BLAKE2b-256 | cba7824515a4ab2a779cf14bf0915c069c56899dbe1e0787e944944b5907629d |