Skip to main content

Quill SDK for Python.

Project description

Quill Python SDK

Unit Tests Deployments

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

Uploaded Source

Built Distribution

quillsql-2.0.4-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quillsql-2.0.4.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

Hashes for quillsql-2.0.4.tar.gz
Algorithm Hash digest
SHA256 6695efc6a0bb8987a521b88242455cc4abcc64a411d50e2c52cc54497504cf27
MD5 1405eb343eed9b8fefca9f090fde0ee2
BLAKE2b-256 b519306283fbe42a9541ae370e58a5e77cd235a5a79761eab90cd6c97bf057b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quillsql-2.0.4-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

Hashes for quillsql-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 739ebdc44bd000d7ab1622e0d1112ad2f6a3f33b4bf4ef6893afa794f32742b6
MD5 66b53cb537e9d62465c7b97721de8c0b
BLAKE2b-256 d2e71f9b05f3fb692ec327e16cacd2dc0e19473780b1350f0ededcfb9e878319

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