tikv-python 0.1.0__tar.gz → 0.1.1__tar.gz

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.
Files changed (52) hide show
  1. {tikv_python-0.1.0 → tikv_python-0.1.1}/PKG-INFO +2 -2
  2. {tikv_python-0.1.0 → tikv_python-0.1.1}/README.md +1 -1
  3. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/__init__.py +1 -1
  4. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_rpc.py +5 -2
  5. {tikv_python-0.1.0 → tikv_python-0.1.1}/.github/workflows/ci.yml +0 -0
  6. {tikv_python-0.1.0 → tikv_python-0.1.1}/.github/workflows/release.yml +0 -0
  7. {tikv_python-0.1.0 → tikv_python-0.1.1}/.gitignore +0 -0
  8. {tikv_python-0.1.0 → tikv_python-0.1.1}/LICENSE +0 -0
  9. {tikv_python-0.1.0 → tikv_python-0.1.1}/ci/start-cluster.sh +0 -0
  10. {tikv_python-0.1.0 → tikv_python-0.1.1}/ci/tikv.toml +0 -0
  11. {tikv_python-0.1.0 → tikv_python-0.1.1}/proto/errorpb.proto +0 -0
  12. {tikv_python-0.1.0 → tikv_python-0.1.1}/proto/kvrpcpb.proto +0 -0
  13. {tikv_python-0.1.0 → tikv_python-0.1.1}/proto/metapb.proto +0 -0
  14. {tikv_python-0.1.0 → tikv_python-0.1.1}/proto/pdpb.proto +0 -0
  15. {tikv_python-0.1.0 → tikv_python-0.1.1}/pyproject.toml +0 -0
  16. {tikv_python-0.1.0 → tikv_python-0.1.1}/scripts/generate_protos.py +0 -0
  17. {tikv_python-0.1.0 → tikv_python-0.1.1}/scripts/unasync.py +0 -0
  18. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_async/__init__.py +0 -0
  19. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_async/_client.py +0 -0
  20. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_async/_compat.py +0 -0
  21. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_async/_pd.py +0 -0
  22. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_async/_transport.py +0 -0
  23. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_backoff.py +0 -0
  24. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_errors.py +0 -0
  25. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_keys.py +0 -0
  26. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_proto/__init__.py +0 -0
  27. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_proto/errorpb_pb2.py +0 -0
  28. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_proto/errorpb_pb2.pyi +0 -0
  29. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_proto/kvrpcpb_pb2.py +0 -0
  30. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_proto/kvrpcpb_pb2.pyi +0 -0
  31. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_proto/metapb_pb2.py +0 -0
  32. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_proto/metapb_pb2.pyi +0 -0
  33. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_proto/pdpb_pb2.py +0 -0
  34. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_proto/pdpb_pb2.pyi +0 -0
  35. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_region.py +0 -0
  36. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_sync/__init__.py +0 -0
  37. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_sync/_client.py +0 -0
  38. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_sync/_compat.py +0 -0
  39. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_sync/_pd.py +0 -0
  40. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_sync/_transport.py +0 -0
  41. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/_types.py +0 -0
  42. {tikv_python-0.1.0 → tikv_python-0.1.1}/src/tikv/py.typed +0 -0
  43. {tikv_python-0.1.0 → tikv_python-0.1.1}/tests/__init__.py +0 -0
  44. {tikv_python-0.1.0 → tikv_python-0.1.1}/tests/conftest.py +0 -0
  45. {tikv_python-0.1.0 → tikv_python-0.1.1}/tests/fake_cluster.py +0 -0
  46. {tikv_python-0.1.0 → tikv_python-0.1.1}/tests/test_async_client.py +0 -0
  47. {tikv_python-0.1.0 → tikv_python-0.1.1}/tests/test_client.py +0 -0
  48. {tikv_python-0.1.0 → tikv_python-0.1.1}/tests/test_integration.py +0 -0
  49. {tikv_python-0.1.0 → tikv_python-0.1.1}/tests/test_internals.py +0 -0
  50. {tikv_python-0.1.0 → tikv_python-0.1.1}/tests/test_resilience.py +0 -0
  51. {tikv_python-0.1.0 → tikv_python-0.1.1}/tests/test_tls.py +0 -0
  52. {tikv_python-0.1.0 → tikv_python-0.1.1}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: tikv-python
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Pure-Python client for TiKV's raw key-value API
5
5
  Project-URL: Homepage, https://github.com/slavabobik/tikv-python
6
6
  Project-URL: Documentation, https://github.com/slavabobik/tikv-python#readme
@@ -37,7 +37,7 @@ Description-Content-Type: text/markdown
37
37
 
38
38
  <p align="center">
39
39
  <a href="https://github.com/slavabobik/tikv-python/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/slavabobik/tikv-python/actions/workflows/ci.yml/badge.svg"></a>
40
- <a href="https://pypi.org/project/tikv-python/"><img alt="PyPI" src="https://img.shields.io/pypi/v/tikv-python.svg"></a>
40
+ <a href="https://pypi.org/project/tikv-python/"><img alt="PyPI" src="https://img.shields.io/pypi/v/tikv-python?label=pypi&color=blue"></a>
41
41
  <a href="pyproject.toml"><img alt="Python versions" src="https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fslavabobik%2Ftikv-python%2Fmain%2Fpyproject.toml&query=%24.project.requires-python&label=python&color=3776AB"></a>
42
42
  <a href="#compatibility"><img alt="Tested with TiKV 7.5 and 8.5" src="https://img.shields.io/badge/TiKV-7.5%20%7C%208.5-ff5a5f"></a>
43
43
  <a href="LICENSE"><img alt="License: Apache 2.0" src="https://img.shields.io/badge/license-Apache%202.0-blue.svg"></a>
@@ -7,7 +7,7 @@
7
7
 
8
8
  <p align="center">
9
9
  <a href="https://github.com/slavabobik/tikv-python/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/slavabobik/tikv-python/actions/workflows/ci.yml/badge.svg"></a>
10
- <a href="https://pypi.org/project/tikv-python/"><img alt="PyPI" src="https://img.shields.io/pypi/v/tikv-python.svg"></a>
10
+ <a href="https://pypi.org/project/tikv-python/"><img alt="PyPI" src="https://img.shields.io/pypi/v/tikv-python?label=pypi&color=blue"></a>
11
11
  <a href="pyproject.toml"><img alt="Python versions" src="https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fslavabobik%2Ftikv-python%2Fmain%2Fpyproject.toml&query=%24.project.requires-python&label=python&color=3776AB"></a>
12
12
  <a href="#compatibility"><img alt="Tested with TiKV 7.5 and 8.5" src="https://img.shields.io/badge/TiKV-7.5%20%7C%208.5-ff5a5f"></a>
13
13
  <a href="LICENSE"><img alt="License: Apache 2.0" src="https://img.shields.io/badge/license-Apache%202.0-blue.svg"></a>
@@ -41,4 +41,4 @@ __all__ = [
41
41
  "UndeterminedError",
42
42
  ]
43
43
 
44
- __version__ = "0.1.0"
44
+ __version__ = "0.1.1"
@@ -54,10 +54,13 @@ CHANNEL_OPTIONS = (
54
54
  # Scans and batch reads can legitimately exceed gRPC's 4 MiB default.
55
55
  ("grpc.max_receive_message_length", -1),
56
56
  ("grpc.max_send_message_length", -1),
57
- # Detect dead peers quickly, like client-go does.
57
+ # Detect dead peers quickly, like client-go does, but only while calls are in flight:
58
+ # PD's gRPC server (grpc-go defaults) answers pings on an idle connection more often
59
+ # than every 5 minutes with GOAWAY too_many_pings. An idle channel needs no pings, the
60
+ # next call reconnects if the peer went away.
58
61
  ("grpc.keepalive_time_ms", 10_000),
59
62
  ("grpc.keepalive_timeout_ms", 3_000),
60
- ("grpc.keepalive_permit_without_calls", 1),
63
+ ("grpc.keepalive_permit_without_calls", 0),
61
64
  ("grpc.http2.max_pings_without_data", 0),
62
65
  )
63
66
 
File without changes
File without changes
File without changes
File without changes
File without changes