Skip to main content

Quill SDK for Python.

Project description

Quill Python SDK

Quill 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


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.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

quillsql-2.0.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file quillsql-2.0.1.tar.gz.

File metadata

  • Download URL: quillsql-2.0.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for quillsql-2.0.1.tar.gz
Algorithm Hash digest
SHA256 0405eb151cccc077b2b442ff1a02675bd13532cc3b013deea1235b1942dfe0d8
MD5 c4d85e658514c67c7d3b6cc1283b07b9
BLAKE2b-256 1d3e92c49379e1201b72f38ea227a3609a99922e7de65067e5410fea72e659eb

See more details on using hashes here.

File details

Details for the file quillsql-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: quillsql-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for quillsql-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2abd23a5d277d6d47b62579e9b5ee93fd79e12e18e07ba55176d286a82d5eef6
MD5 c7f675e4643c61a03c3f4a329a4427a5
BLAKE2b-256 11fd880f2116b84e35bf9850025aa9ceab5770bfd059bd95799a0a35b8ef0674

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page