tigerbeetle 0.16.36__py3-none-any.whl → 0.16.38__py3-none-any.whl

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.

Potentially problematic release.


This version of tigerbeetle might be problematic. Click here for more details.

tigerbeetle/bindings.py CHANGED
@@ -635,6 +635,10 @@ OnCompletion = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.POINTER(CPacket),
635
635
  ctypes.c_uint64, ctypes.c_void_p, ctypes.c_uint32)
636
636
  LogHandler = ctypes.CFUNCTYPE(None, ctypes.c_uint, ctypes.c_void_p, ctypes.c_uint)
637
637
 
638
+ class InitParameters(ctypes.Structure):
639
+ _fields_ = [("cluster_id", c_uint128), ("client_id", c_uint128),
640
+ ("addresses_ptr", ctypes.c_void_p), ("addresses_len", ctypes.c_uint64)]
641
+
638
642
  # Initialize a new TigerBeetle client which connects to the addresses provided and
639
643
  # completes submitted packets by invoking the callback with the given context.
640
644
  tb_client_init = tbclient.tb_client_init
@@ -650,6 +654,13 @@ tb_client_init_echo.argtypes = [ctypes.POINTER(CClient), ctypes.POINTER(ctypes.c
650
654
  ctypes.c_char_p, ctypes.c_uint32, ctypes.c_void_p,
651
655
  OnCompletion]
652
656
 
657
+ # Returns the cluster_id and addresses passed in to either tb_client_init or
658
+ # tb_client_init_echo.
659
+ tb_client_init_parameters = tbclient.tb_client_init_parameters
660
+ tb_client_init_parameters.restype = ClientStatus
661
+ tb_client_init_parameters.argtypes = [ctypes.POINTER(CClient),
662
+ ctypes.POINTER(InitParameters)]
663
+
653
664
  # Closes the client, causing any previously submitted packets to be completed with
654
665
  # `TB_PACKET_CLIENT_SHUTDOWN` before freeing any allocated client resources from init.
655
666
  # It is undefined behavior to use any functions on the client once deinit is called.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tigerbeetle
3
- Version: 0.16.36
3
+ Version: 0.16.38
4
4
  Summary: The TigerBeetle client for Python.
5
5
  Project-URL: Homepage, https://github.com/tigerbeetle/tigerbeetle
6
6
  Project-URL: Issues, https://github.com/tigerbeetle/tigerbeetle/issues
@@ -0,0 +1,14 @@
1
+ tigerbeetle/__init__.py,sha256=3cmov0HPkByJw1znLKoTqIuZUEeEQMEg1fflWY3ty9A,168
2
+ tigerbeetle/bindings.py,sha256=5dqaNENHFxQZ5co5bWLKZx2GaREPH5N52Pwe1ntLx3E,26971
3
+ tigerbeetle/client.py,sha256=oGg1vAFqI8UZ5awI3sshZfxUdBsroUKwgp2rUa75lFc,9255
4
+ tigerbeetle/lib.py,sha256=JKreDxdw_YejtH7F135_m6I6mNBSwjokaI6QicKm7cc,2425
5
+ tigerbeetle/lib/aarch64-linux-gnu.2.27/libtb_client.so,sha256=g5_2fXHY2SfMZXy_deNPrlE_fBsYSN9lPvcF6f_IbYM,4177472
6
+ tigerbeetle/lib/aarch64-linux-musl/libtb_client.so,sha256=Fbh07zD0O963HMIjaiD6dgUxiEYRE1tQzpQq-r05g8g,4165752
7
+ tigerbeetle/lib/aarch64-macos/libtb_client.dylib,sha256=OGz2BOSAT00bVtrmt7UERg-dwjoyXIzPlJjS0SbYcpc,578752
8
+ tigerbeetle/lib/x86_64-linux-gnu.2.27/libtb_client.so,sha256=3JThlZtnYP7MwdHqNn4zdIbi25sVjdtBIyi_w0IQnOA,4148336
9
+ tigerbeetle/lib/x86_64-linux-musl/libtb_client.so,sha256=EcOZZa7_Zg7qPi9ITkdbaLG7guaGTpXorBKdJJZ9Fa0,4145344
10
+ tigerbeetle/lib/x86_64-macos/libtb_client.dylib,sha256=_2Uj0DcTQ3KAMria_cdaDCiTciV9xtjKHnsapif3aeI,799339
11
+ tigerbeetle/lib/x86_64-windows/tb_client.dll,sha256=WlaByCfDn76KcOwJ8Cbk3ZH7yeSBz3I0kw0Kc9qkcRE,881664
12
+ tigerbeetle-0.16.38.dist-info/METADATA,sha256=E5DV8RWSHKa2CPvQAp_42nnqWoTGy1bi-P-Q_dgckwM,23154
13
+ tigerbeetle-0.16.38.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ tigerbeetle-0.16.38.dist-info/RECORD,,
@@ -1,14 +0,0 @@
1
- tigerbeetle/__init__.py,sha256=3cmov0HPkByJw1znLKoTqIuZUEeEQMEg1fflWY3ty9A,168
2
- tigerbeetle/bindings.py,sha256=SYdpVc8-8hk9SLoPFquNfh1qMNzPHOLtNWW1WOBN7UE,26427
3
- tigerbeetle/client.py,sha256=oGg1vAFqI8UZ5awI3sshZfxUdBsroUKwgp2rUa75lFc,9255
4
- tigerbeetle/lib.py,sha256=JKreDxdw_YejtH7F135_m6I6mNBSwjokaI6QicKm7cc,2425
5
- tigerbeetle/lib/aarch64-linux-gnu.2.27/libtb_client.so,sha256=EAm2K1-F946kOX6LxKQuL1X6WEdhVot0ad52dqIpYcI,3895152
6
- tigerbeetle/lib/aarch64-linux-musl/libtb_client.so,sha256=aJnrVC6nHa9BtgkkjpBRFXtMoSM7CDuBi0YivHtXw8w,3871880
7
- tigerbeetle/lib/aarch64-macos/libtb_client.dylib,sha256=xB0-KiM6yncXenQg1G9FO06x93DVXAfyk7mUFBv0yK4,537584
8
- tigerbeetle/lib/x86_64-linux-gnu.2.27/libtb_client.so,sha256=x9fv5jnWSDjiFEiLqt07yMRqRfFvjwJ9grYPXvNvcVI,3836352
9
- tigerbeetle/lib/x86_64-linux-musl/libtb_client.so,sha256=Fds8ZOUzR5MFXzkoIE1Xv-h6A4n-wG7_BLfrTOTTZF0,3833352
10
- tigerbeetle/lib/x86_64-macos/libtb_client.dylib,sha256=8fi6J4769ipFn0mFo_gErjAV1htQO6pktFiUWEQCTBo,749902
11
- tigerbeetle/lib/x86_64-windows/tb_client.dll,sha256=H65tn7km9Asn8Ps_CHdnC3v5DWHPrSh1KeP3rWXqa9g,834048
12
- tigerbeetle-0.16.36.dist-info/METADATA,sha256=OjWTTC6VbeUgCeh3w-N6lzv2XBBPsby3VxIZtiNws18,23154
13
- tigerbeetle-0.16.36.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- tigerbeetle-0.16.36.dist-info/RECORD,,