tigerbeetle 0.16.57__py3-none-any.whl → 0.16.64__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.
- tigerbeetle/client.py +1 -4
- 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.57.dist-info → tigerbeetle-0.16.64.dist-info}/METADATA +4 -4
- tigerbeetle-0.16.64.dist-info/RECORD +15 -0
- tigerbeetle-0.16.57.dist-info/RECORD +0 -15
- {tigerbeetle-0.16.57.dist-info → tigerbeetle-0.16.64.dist-info}/WHEEL +0 -0
tigerbeetle/client.py
CHANGED
|
@@ -73,10 +73,7 @@ class _IDGenerator:
|
|
|
73
73
|
|
|
74
74
|
randomness = os.urandom(10)
|
|
75
75
|
|
|
76
|
-
return int.from_bytes(
|
|
77
|
-
time_ms.to_bytes(6, "big") + randomness,
|
|
78
|
-
"big",
|
|
79
|
-
)
|
|
76
|
+
return (time_ms << 80) | int.from_bytes(randomness, "little")
|
|
80
77
|
|
|
81
78
|
# Module-level singleton instance.
|
|
82
79
|
_id_generator = _IDGenerator()
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tigerbeetle
|
|
3
|
-
Version: 0.16.
|
|
3
|
+
Version: 0.16.64
|
|
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
|
|
@@ -602,7 +602,7 @@ filter = tb.AccountFilter(
|
|
|
602
602
|
code=0, # No filter by Code.
|
|
603
603
|
timestamp_min=0, # No filter by Timestamp.
|
|
604
604
|
timestamp_max=0, # No filter by Timestamp.
|
|
605
|
-
limit=10, # Limit to ten
|
|
605
|
+
limit=10, # Limit to ten transfers at most.
|
|
606
606
|
flags=tb.AccountFilterFlags.DEBITS | # Include transfer from the debit side.
|
|
607
607
|
tb.AccountFilterFlags.CREDITS | # Include transfer from the credit side.
|
|
608
608
|
tb.AccountFilterFlags.REVERSED, # Sort by timestamp in reverse-chronological order.
|
|
@@ -663,7 +663,7 @@ query_filter = tb.QueryFilter(
|
|
|
663
663
|
ledger=0, # No filter by Ledger.
|
|
664
664
|
timestamp_min=0, # No filter by Timestamp.
|
|
665
665
|
timestamp_max=0, # No filter by Timestamp.
|
|
666
|
-
limit=10, # Limit to ten
|
|
666
|
+
limit=10, # Limit to ten accounts at most.
|
|
667
667
|
flags=tb.QueryFilterFlags.REVERSED, # Sort by timestamp in reverse-chronological order.
|
|
668
668
|
)
|
|
669
669
|
|
|
@@ -689,7 +689,7 @@ query_filter = tb.QueryFilter(
|
|
|
689
689
|
ledger=0, # No filter by Ledger.
|
|
690
690
|
timestamp_min=0, # No filter by Timestamp.
|
|
691
691
|
timestamp_max=0, # No filter by Timestamp.
|
|
692
|
-
limit=10, # Limit to ten
|
|
692
|
+
limit=10, # Limit to ten transfers at most.
|
|
693
693
|
flags=tb.QueryFilterFlags.REVERSED, # Sort by timestamp in reverse-chronological order.
|
|
694
694
|
)
|
|
695
695
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
tigerbeetle/__init__.py,sha256=vrZ9rqFxHpXtACa9qDhwKwSkhv3CGhAvg7vF3Ges8c0,957
|
|
2
|
+
tigerbeetle/bindings.py,sha256=NSND7UuFpnd4TRBDA9aDJLRS115QNi3m0dVksekVlZg,28155
|
|
3
|
+
tigerbeetle/client.py,sha256=pWHfWaO0oA1TDhOtIjxlTCuMPi8cwVNcTduOPxjibuQ,12005
|
|
4
|
+
tigerbeetle/lib.py,sha256=1Qln-Z4ZoCHJJ43sXlJJEs7-ZY5aZJjNNu7eISooAK8,2432
|
|
5
|
+
tigerbeetle/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
tigerbeetle/lib/aarch64-linux-gnu.2.27/libtb_client.so,sha256=pQkdJ7sCsFkVYgLxjExQXi2Q9PfH6Oq1PKkz8sHcCJg,691064
|
|
7
|
+
tigerbeetle/lib/aarch64-linux-musl/libtb_client.so,sha256=nQnWsFL9xGPrNxw4aZwBO_BAF59bOGNnaqZx0PIhyjw,689344
|
|
8
|
+
tigerbeetle/lib/aarch64-macos/libtb_client.dylib,sha256=P2VLKNa2srnUpDGb3sqJeXc1aBMRowDFFMS-a3ShnZk,696352
|
|
9
|
+
tigerbeetle/lib/x86_64-linux-gnu.2.27/libtb_client.so,sha256=cHcesNMuCYVQY1DIdAgJvN7HUxL6S9E53ryJGYVVF2A,814120
|
|
10
|
+
tigerbeetle/lib/x86_64-linux-musl/libtb_client.so,sha256=lpPDXBink1nUnozYWmbEj6OosoMbtRvJR3CVa2qMI6s,812600
|
|
11
|
+
tigerbeetle/lib/x86_64-macos/libtb_client.dylib,sha256=X-CLievVZ57kZVzSF8xoR_d62bIUKQC5rMKs_vV4wBc,788694
|
|
12
|
+
tigerbeetle/lib/x86_64-windows/tb_client.dll,sha256=r7j2g14w7aqJu2xKEmk-whDWioaiNCF12CaULiAXqtk,663040
|
|
13
|
+
tigerbeetle-0.16.64.dist-info/METADATA,sha256=p4qYjqt3jCVuI5UJXrhadTuc3vAC3a0vWzjegSVFP9U,23428
|
|
14
|
+
tigerbeetle-0.16.64.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
15
|
+
tigerbeetle-0.16.64.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
tigerbeetle/__init__.py,sha256=vrZ9rqFxHpXtACa9qDhwKwSkhv3CGhAvg7vF3Ges8c0,957
|
|
2
|
-
tigerbeetle/bindings.py,sha256=NSND7UuFpnd4TRBDA9aDJLRS115QNi3m0dVksekVlZg,28155
|
|
3
|
-
tigerbeetle/client.py,sha256=iLvRvUk-_YNip2ZIzPV3C5BbqjvlYa4vHDXbQpAoDnU,12048
|
|
4
|
-
tigerbeetle/lib.py,sha256=1Qln-Z4ZoCHJJ43sXlJJEs7-ZY5aZJjNNu7eISooAK8,2432
|
|
5
|
-
tigerbeetle/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
tigerbeetle/lib/aarch64-linux-gnu.2.27/libtb_client.so,sha256=9Ni-kr77uva3dIxwq6g89rxdbC0LuiDPbXYu7d8ZDrQ,693336
|
|
7
|
-
tigerbeetle/lib/aarch64-linux-musl/libtb_client.so,sha256=o3VknLRJjkZpBWlPO33KBclshNtrX7teHgvixKUiD1A,691616
|
|
8
|
-
tigerbeetle/lib/aarch64-macos/libtb_client.dylib,sha256=zqXLlUX1V2yJdG_8YbdVux7LsIFykZuuf2hjdgrsMBE,700224
|
|
9
|
-
tigerbeetle/lib/x86_64-linux-gnu.2.27/libtb_client.so,sha256=9WKWUV7QqmntjceqIu8-iD90zONv6Y2HW8riHYwyFyE,816808
|
|
10
|
-
tigerbeetle/lib/x86_64-linux-musl/libtb_client.so,sha256=6d7__mj4Vfc_WrHG6HuCBeCrE8g__awoQnlQvenG3b4,815256
|
|
11
|
-
tigerbeetle/lib/x86_64-macos/libtb_client.dylib,sha256=3MX0n9AdFfq3pjXgahavPiob6DEfEGA8-xz_pOoOYB4,792590
|
|
12
|
-
tigerbeetle/lib/x86_64-windows/tb_client.dll,sha256=R53xX0nn3hTgVoeR8jQLL8w7M5d00jbZf5IyaVoD_ek,664064
|
|
13
|
-
tigerbeetle-0.16.57.dist-info/METADATA,sha256=1EUIAa2ekf9x41mGf9dLHGaRIsu5ZW0b3ILqnK4Ac-E,23426
|
|
14
|
-
tigerbeetle-0.16.57.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
15
|
-
tigerbeetle-0.16.57.dist-info/RECORD,,
|
|
File without changes
|