tigerbeetle 0.16.37__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 +11 -0
- tigerbeetle/lib/aarch64-linux-gnu.2.27/libtb_client.so +0 -0
- tigerbeetle/lib/aarch64-linux-musl/libtb_client.so +0 -0
- tigerbeetle/lib/aarch64-macos/libtb_client.dylib +0 -0
- tigerbeetle/lib/x86_64-linux-gnu.2.27/libtb_client.so +0 -0
- tigerbeetle/lib/x86_64-linux-musl/libtb_client.so +0 -0
- tigerbeetle/lib/x86_64-macos/libtb_client.dylib +0 -0
- tigerbeetle/lib/x86_64-windows/tb_client.dll +0 -0
- {tigerbeetle-0.16.37.dist-info → tigerbeetle-0.16.38.dist-info}/METADATA +1 -1
- tigerbeetle-0.16.38.dist-info/RECORD +14 -0
- tigerbeetle-0.16.37.dist-info/RECORD +0 -14
- {tigerbeetle-0.16.37.dist-info → tigerbeetle-0.16.38.dist-info}/WHEEL +0 -0
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.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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=W7hAM-J5OK3ne1m2W04cWP0YrIzzpxng51CEZvX003c,3896096
|
|
6
|
-
tigerbeetle/lib/aarch64-linux-musl/libtb_client.so,sha256=CH2pPEWM2j2HYETBgGLH3NxTC6NOf0Lhnu6Snlz0j0c,3872824
|
|
7
|
-
tigerbeetle/lib/aarch64-macos/libtb_client.dylib,sha256=r3A-BAH4-N3OdJIDMxm8HE3kr31P0lWA-Jsv6gokXOg,537808
|
|
8
|
-
tigerbeetle/lib/x86_64-linux-gnu.2.27/libtb_client.so,sha256=Q9Rt6r4ad9bAPdNd364lPJFCov8j_35ZJvU4w4JKlaI,3840160
|
|
9
|
-
tigerbeetle/lib/x86_64-linux-musl/libtb_client.so,sha256=DF5_nl2dikSkwKSkl1yKUrg-ovt71-hKwRxFTlN2aXs,3837168
|
|
10
|
-
tigerbeetle/lib/x86_64-macos/libtb_client.dylib,sha256=4snQhG-_-QkbC6VHaIdybfz8fdgbNmtHRY8GOfW2RuA,750133
|
|
11
|
-
tigerbeetle/lib/x86_64-windows/tb_client.dll,sha256=5R1Sk4eaUJrnfhtZAw_AJSc1hf-wabNQWx7n2l2OMp4,833536
|
|
12
|
-
tigerbeetle-0.16.37.dist-info/METADATA,sha256=xpq6Dj3P1M3JV-WE1unya7MnDp1cUPKALHVHWVvl9FA,23154
|
|
13
|
-
tigerbeetle-0.16.37.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
14
|
-
tigerbeetle-0.16.37.dist-info/RECORD,,
|
|
File without changes
|