crate-python icon indicating copy to clipboard operation
crate-python copied to clipboard

Python DB API client library for CrateDB, using HTTP.

Results 69 crate-python issues
Sort by recently updated
recently updated
newest added

CrateDB 5.7.0 introduced JWT token authentication. Let's also implement it on the client sides. - https://github.com/crate/crate/issues/14238 /cc @matriv, @kneth

## What's inside - macOS/Intel, macOS/ARM, Linux/ARM - CrateDB 4.8.4 ## Status That's probably too early: The test suite still depends on a test layer spinning up CrateDB natively, and...

## Problem ```python FAILED tests/client/test_http.py::test_client_multithreaded - Failed: Threads did not finish within 10.0s: ['0'] ``` -- https://github.com/crate/crate-python/actions/runs/20116383665/job/57726758758?pr=748#step:6:252

I'm running a crate cluster behind a proxy which forwards `https://my.proxy:443/crate/` to `internal.crate.hostname:4200`. This requires me to prepend `/crate/` to all paths which does not seem to be possible in...

enhancement
good first issue
contributions welcome

## Problem We probed JSON serialization with `crate-python` and discovered it does not work well in all situations yet, for example when the data payload includes an array/list, and is...

in `test_http.py`, for example tests that use: https://github.com/crate/crate-python/blob/371e12576f508d1250b267690237e07779c3c935/tests/client/test_http.py#L563 Do not seem to be very useful, we setup an HTTP server that parses things from the headers and puts the parsed...

enhancement

## Summary of the changes / Why this is an improvement Fixes #696 ## Checklist - [x] Link to issue this PR refers to (if applicable): Fixes #???

## About CrateDB’s HTTP interface supports gzip and deflate compressed requests, but the crate-python client currently does not utilize this capability. Adding request compression would reduce bandwidth usage, improve performance...

feature

Reproduce: Try to send a `datetime.time` object to CrateDB. With the new orjson we pass datetime objects to our custom [json_encoder](https://github.com/crate/crate-python/blob/6ec9995f3ede0f392c24ef712d7d2dadd8d99093/src/crate/client/http.py#L93), `datetime.time` is not handled.

triage
needs: feedback