tigerbeetle 0.16.27__py3-none-any.whl → 0.16.28__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
@@ -273,34 +273,26 @@ class QueryFilter:
273
273
  class CPacket(ctypes.Structure):
274
274
  @classmethod
275
275
  def from_param(cls, obj):
276
- validate_uint(bits=8, name="operation", number=obj.operation)
277
276
  validate_uint(bits=32, name="data_size", number=obj.data_size)
278
- validate_uint(bits=32, name="batch_size", number=obj.batch_size)
277
+ validate_uint(bits=16, name="tag", number=obj.tag)
278
+ validate_uint(bits=8, name="operation", number=obj.operation)
279
279
  return cls(
280
- next=obj.next,
281
280
  user_data=obj.user_data,
281
+ data=obj.data,
282
+ data_size=obj.data_size,
283
+ tag=obj.tag,
282
284
  operation=obj.operation,
283
285
  status=obj.status,
284
- data_size=obj.data_size,
285
- data=obj.data,
286
- batch_next=obj.batch_next,
287
- batch_tail=obj.batch_tail,
288
- batch_size=obj.batch_size,
289
- batch_allowed=obj.batch_allowed,
290
286
  )
291
287
 
292
288
  CPacket._fields_ = [ # noqa: SLF001
293
- ("next", ctypes.POINTER(CPacket)),
294
289
  ("user_data", ctypes.c_void_p),
290
+ ("data", ctypes.c_void_p),
291
+ ("data_size", ctypes.c_uint32),
292
+ ("tag", ctypes.c_uint16),
295
293
  ("operation", ctypes.c_uint8),
296
294
  ("status", ctypes.c_uint8),
297
- ("data_size", ctypes.c_uint32),
298
- ("data", ctypes.c_void_p),
299
- ("batch_next", ctypes.POINTER(CPacket)),
300
- ("batch_tail", ctypes.POINTER(CPacket)),
301
- ("batch_size", ctypes.c_uint32),
302
- ("batch_allowed", ctypes.c_bool),
303
- ("reserved", ctypes.c_uint8 * 7),
295
+ ("reserved", ctypes.c_uint8 * 32),
304
296
  ]
305
297
 
306
298
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tigerbeetle
3
- Version: 0.16.27
3
+ Version: 0.16.28
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=P7BDB1nq72D-fL6FhqBpCGfVX2FPore6x3T1d4JTiKk,25990
3
+ tigerbeetle/client.py,sha256=sniZ6IATiAGWgtRrd60Xtfcixw4cMOaVZEUUP6sFfzM,8774
4
+ tigerbeetle/lib.py,sha256=JKreDxdw_YejtH7F135_m6I6mNBSwjokaI6QicKm7cc,2425
5
+ tigerbeetle/lib/aarch64-linux-gnu.2.27/libtb_client.so,sha256=-f3dgm0y557BKAXHjZyzFazHpeWr4pN3SVLNmGbWAjA,3751112
6
+ tigerbeetle/lib/aarch64-linux-musl/libtb_client.so,sha256=8sBQU1R2la_AjZ7jh3p3CnafGh-i9J-dNxNx_elVYiY,3728360
7
+ tigerbeetle/lib/aarch64-macos/libtb_client.dylib,sha256=HebPPhGsAYhZnTPHt9glx-EzFiOZjmeGc8rBsBjGA8k,516960
8
+ tigerbeetle/lib/x86_64-linux-gnu.2.27/libtb_client.so,sha256=AnMz89Xbz2kDLWHh8srW4ZRRn77nJmxKc2NX8nqZB8I,3667392
9
+ tigerbeetle/lib/x86_64-linux-musl/libtb_client.so,sha256=GzBbQn5CguA3uO_YJqYVG5Hw4QEE5g3RJfxoMaGzJ1M,3664384
10
+ tigerbeetle/lib/x86_64-macos/libtb_client.dylib,sha256=zfEDtF2CIoFNjmZit9cpiNTZHtGfL3giGCTOU8HJO5I,729284
11
+ tigerbeetle/lib/x86_64-windows/tb_client.dll,sha256=C2jKv4vz8-QKKg5KcUjTGJCes_3btEagnnvMsqsEJRc,820224
12
+ tigerbeetle-0.16.28.dist-info/METADATA,sha256=dSXrE44EK9PIoQ1KU2PMuXW8Te9aDZ0_BeUon0OKr7c,22957
13
+ tigerbeetle-0.16.28.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ tigerbeetle-0.16.28.dist-info/RECORD,,
@@ -1,14 +0,0 @@
1
- tigerbeetle/__init__.py,sha256=3cmov0HPkByJw1znLKoTqIuZUEeEQMEg1fflWY3ty9A,168
2
- tigerbeetle/bindings.py,sha256=K3rgGuiH6kHO1rZOypk32S06O5OfHYHwLA2KQOyG2BM,26341
3
- tigerbeetle/client.py,sha256=sniZ6IATiAGWgtRrd60Xtfcixw4cMOaVZEUUP6sFfzM,8774
4
- tigerbeetle/lib.py,sha256=JKreDxdw_YejtH7F135_m6I6mNBSwjokaI6QicKm7cc,2425
5
- tigerbeetle/lib/aarch64-linux-gnu.2.27/libtb_client.so,sha256=u1hdl8OGFE-MeOQ-xPFTsXVJFEzrmxnBefWgmS9hW4E,3720048
6
- tigerbeetle/lib/aarch64-linux-musl/libtb_client.so,sha256=xI452cs1BpyHJb3ECyeMfDXua2WyyxZYQyxLc2A2IOg,3697280
7
- tigerbeetle/lib/aarch64-macos/libtb_client.dylib,sha256=EDqGJeoZkJ10NaPJtPQgPmPjBWgQmPfKyUjM5q8y0LU,515904
8
- tigerbeetle/lib/x86_64-linux-gnu.2.27/libtb_client.so,sha256=hVH2FXtsjOsGuPe1QicLsacp6hWCq43mL_RqH00fIXw,3634360
9
- tigerbeetle/lib/x86_64-linux-musl/libtb_client.so,sha256=aF5mbrS5BZKuUVSuoBVAsAwXX-cxztve_5bCpJ7BWzE,3631360
10
- tigerbeetle/lib/x86_64-macos/libtb_client.dylib,sha256=2aYZBmg_UAHX8k7xAsZM9f-6VP8ug7ko_BtFxiuqDK4,724116
11
- tigerbeetle/lib/x86_64-windows/tb_client.dll,sha256=o3iM89v-grxHii6GOtzUC08pJXz82328Wb_OFctCXpE,815104
12
- tigerbeetle-0.16.27.dist-info/METADATA,sha256=8JIM4XtOLdPgCZJ049DRXPqROphx1t5zZSssvPJR5Zk,22957
13
- tigerbeetle-0.16.27.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- tigerbeetle-0.16.27.dist-info/RECORD,,