tonutils 2.0.1b6__tar.gz → 2.0.1b8__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 (115) hide show
  1. {tonutils-2.0.1b6/tonutils.egg-info → tonutils-2.0.1b8}/PKG-INFO +3 -20
  2. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/README.md +2 -17
  3. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/pyproject.toml +2 -4
  4. tonutils-2.0.1b8/tonutils/__init__.py +12 -0
  5. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/cli.py +1 -1
  6. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/balancer.py +132 -355
  7. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/client.py +32 -202
  8. tonutils-2.0.1b8/tonutils/clients/adnl/mixin.py +268 -0
  9. tonutils-2.0.1b8/tonutils/clients/adnl/provider/config.py +35 -0
  10. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/provider/provider.py +61 -16
  11. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/provider/transport.py +13 -4
  12. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/provider/workers/pinger.py +1 -1
  13. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/utils.py +5 -5
  14. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/base.py +52 -92
  15. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/balancer.py +93 -90
  16. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/clients/tatum.py +1 -0
  17. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/clients/tonapi.py +12 -24
  18. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/clients/toncenter.py +15 -33
  19. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/provider/base.py +75 -60
  20. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/provider/models.py +1 -1
  21. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/provider/tonapi.py +0 -5
  22. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/provider/toncenter.py +4 -8
  23. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/protocol.py +6 -6
  24. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/__init__.py +3 -0
  25. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/base.py +32 -32
  26. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/protocol.py +9 -9
  27. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/telegram/tlb.py +1 -1
  28. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/__init__.py +4 -0
  29. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/base.py +5 -5
  30. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/tlb.py +18 -16
  31. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/versions/v5.py +6 -6
  32. tonutils-2.0.1b8/tonutils/exceptions.py +155 -0
  33. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/tools/block_scanner/__init__.py +5 -1
  34. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/tools/block_scanner/scanner.py +1 -1
  35. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/tools/status_monitor/monitor.py +6 -6
  36. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/types.py +24 -10
  37. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/utils.py +47 -7
  38. {tonutils-2.0.1b6 → tonutils-2.0.1b8/tonutils.egg-info}/PKG-INFO +3 -20
  39. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils.egg-info/SOURCES.txt +1 -7
  40. tonutils-2.0.1b6/tonutils/__init__.py +0 -17
  41. tonutils-2.0.1b6/tonutils/__meta__.py +0 -1
  42. tonutils-2.0.1b6/tonutils/clients/adnl/provider/config.py +0 -48
  43. tonutils-2.0.1b6/tonutils/exceptions.py +0 -212
  44. tonutils-2.0.1b6/tonutils/tonconnect/__init__.py +0 -0
  45. tonutils-2.0.1b6/tonutils/tonconnect/bridge/__init__.py +0 -0
  46. tonutils-2.0.1b6/tonutils/tonconnect/events.py +0 -0
  47. tonutils-2.0.1b6/tonutils/tonconnect/models/__init__.py +0 -0
  48. tonutils-2.0.1b6/tonutils/tonconnect/storage.py +0 -0
  49. tonutils-2.0.1b6/tonutils/tonconnect/tonconnect.py +0 -0
  50. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/LICENSE +0 -0
  51. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/setup.cfg +0 -0
  52. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/__init__.py +0 -0
  53. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/__init__.py +0 -0
  54. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/provider/__init__.py +0 -0
  55. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/provider/models.py +0 -0
  56. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/provider/workers/__init__.py +0 -0
  57. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/provider/workers/base.py +0 -0
  58. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/provider/workers/reader.py +0 -0
  59. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/adnl/provider/workers/updater.py +0 -0
  60. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/__init__.py +0 -0
  61. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/clients/__init__.py +0 -0
  62. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/clients/chainstack.py +0 -0
  63. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/clients/quicknode.py +0 -0
  64. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/provider/__init__.py +0 -0
  65. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/http/utils.py +0 -0
  66. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/clients/limiter.py +0 -0
  67. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/codes.py +0 -0
  68. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/dns/__init__.py +0 -0
  69. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/dns/collection.py +0 -0
  70. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/dns/item.py +0 -0
  71. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/dns/methods.py +0 -0
  72. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/dns/tlb.py +0 -0
  73. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/jetton/__init__.py +0 -0
  74. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/jetton/master.py +0 -0
  75. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/jetton/methods.py +0 -0
  76. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/jetton/tlb.py +0 -0
  77. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/jetton/wallet.py +0 -0
  78. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/nft/__init__.py +0 -0
  79. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/nft/collection.py +0 -0
  80. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/nft/item.py +0 -0
  81. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/nft/methods.py +0 -0
  82. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/nft/tlb.py +0 -0
  83. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/opcodes.py +0 -0
  84. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/telegram/__init__.py +0 -0
  85. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/telegram/collection.py +0 -0
  86. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/telegram/item.py +0 -0
  87. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/telegram/methods.py +0 -0
  88. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/vanity/__init__.py +0 -0
  89. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/vanity/models.py +0 -0
  90. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/vanity/tlb.py +0 -0
  91. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/vanity/vanity.py +0 -0
  92. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/versions.py +0 -0
  93. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/configs.py +0 -0
  94. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/messages.py +0 -0
  95. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/methods.py +0 -0
  96. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/params.py +0 -0
  97. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/protocol.py +0 -0
  98. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/versions/__init__.py +0 -0
  99. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/versions/hw.py +0 -0
  100. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/versions/pp.py +0 -0
  101. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/versions/v1.py +0 -0
  102. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/versions/v2.py +0 -0
  103. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/versions/v3.py +0 -0
  104. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/contracts/wallet/versions/v4.py +0 -0
  105. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/py.typed +0 -0
  106. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/tools/__init__.py +0 -0
  107. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/tools/block_scanner/events.py +0 -0
  108. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/tools/block_scanner/storage.py +0 -0
  109. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/tools/status_monitor/__init__.py +0 -0
  110. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/tools/status_monitor/console.py +0 -0
  111. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils/tools/status_monitor/models.py +0 -0
  112. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils.egg-info/dependency_links.txt +0 -0
  113. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils.egg-info/entry_points.txt +0 -0
  114. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils.egg-info/requires.txt +0 -0
  115. {tonutils-2.0.1b6 → tonutils-2.0.1b8}/tonutils.egg-info/top_level.txt +0 -0
@@ -1,13 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tonutils
3
- Version: 2.0.1b6
3
+ Version: 2.0.1b8
4
4
  Summary: Tonutils is a high-level, object-oriented Python library designed to facilitate seamless interactions with the TON blockchain.
5
5
  Author: nessshon
6
6
  Maintainer: nessshon
7
7
  License-Expression: MIT
8
8
  Project-URL: Homepage, https://github.com/nessshon/tonutils/
9
- Project-URL: Documentation, https://nessshon.github.io/tonutils/
10
- Project-URL: Repository, https://github.com/nessshon/tonutils/
11
9
  Project-URL: Examples, https://github.com/nessshon/tonutils/tree/main/examples/
12
10
  Keywords: AsyncIO,TON,TON blockchain,The Open Network,blockchain,crypto,smart contracts
13
11
  Classifier: Development Status :: 4 - Beta
@@ -69,27 +67,13 @@ pip install --pre tonutils
69
67
 
70
68
  ## Usage
71
69
 
72
- Practical feature examples can be found in the **[examples](examples)** directory.\
73
- Each script demonstrates real-world usage and can be used as a reference when integrating `tonutils` into your project.
74
-
75
- ## Contribution
76
-
77
- We welcome your contributions! If you have ideas for improvement or have identified a bug, please create an issue or
78
- submit a pull request.
70
+ Practical feature examples can be found in the **[examples](examples)** directory.
79
71
 
80
72
  ## Donations
81
73
 
82
74
  Your contributions help me continue developing and improving this project!
83
75
 
84
- - **TON**: `UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness`
85
-
86
- - **BTC**: `1JXHbB5kE1DfkHdv5dsNygRkNC3unJdU8M`
87
-
88
- - **USDT** (TRC-20): `TU4fCFdWufKb4rd25ihksiNDZZdyEYqro6`
89
-
90
- - **Crypto Bot**: [Donate through Crypto Bot](https://t.me/send?start=IVW1cyG3DYqG)
91
-
92
- - **xRocket Bot**: [Donate through xRocket](https://t.me/xrocket?start=inv_R4llrClZtPjovVe)
76
+ **TON**: `UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness`
93
77
 
94
78
  ## Support
95
79
 
@@ -99,4 +83,3 @@ With special thanks to [Igroman787](https://github.com/Igroman787) for the suppo
99
83
  ## License
100
84
 
101
85
  This repository is distributed under the [MIT License](LICENSE).
102
- Feel free to use, modify, and distribute the code in accordance with the terms of the license.
@@ -37,27 +37,13 @@ pip install --pre tonutils
37
37
 
38
38
  ## Usage
39
39
 
40
- Practical feature examples can be found in the **[examples](examples)** directory.\
41
- Each script demonstrates real-world usage and can be used as a reference when integrating `tonutils` into your project.
42
-
43
- ## Contribution
44
-
45
- We welcome your contributions! If you have ideas for improvement or have identified a bug, please create an issue or
46
- submit a pull request.
40
+ Practical feature examples can be found in the **[examples](examples)** directory.
47
41
 
48
42
  ## Donations
49
43
 
50
44
  Your contributions help me continue developing and improving this project!
51
45
 
52
- - **TON**: `UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness`
53
-
54
- - **BTC**: `1JXHbB5kE1DfkHdv5dsNygRkNC3unJdU8M`
55
-
56
- - **USDT** (TRC-20): `TU4fCFdWufKb4rd25ihksiNDZZdyEYqro6`
57
-
58
- - **Crypto Bot**: [Donate through Crypto Bot](https://t.me/send?start=IVW1cyG3DYqG)
59
-
60
- - **xRocket Bot**: [Donate through xRocket](https://t.me/xrocket?start=inv_R4llrClZtPjovVe)
46
+ **TON**: `UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness`
61
47
 
62
48
  ## Support
63
49
 
@@ -67,4 +53,3 @@ With special thanks to [Igroman787](https://github.com/Igroman787) for the suppo
67
53
  ## License
68
54
 
69
55
  This repository is distributed under the [MIT License](LICENSE).
70
- Feel free to use, modify, and distribute the code in accordance with the terms of the license.
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools>=61"]
2
+ requires = ["setuptools>=80"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
@@ -46,8 +46,6 @@ license = "MIT"
46
46
 
47
47
  [project.urls]
48
48
  Homepage = "https://github.com/nessshon/tonutils/"
49
- Documentation = "https://nessshon.github.io/tonutils/"
50
- Repository = "https://github.com/nessshon/tonutils/"
51
49
  Examples = "https://github.com/nessshon/tonutils/tree/main/examples/"
52
50
 
53
51
  [tool.setuptools.packages.find]
@@ -60,4 +58,4 @@ tonutils = ["py.typed"]
60
58
  tonutils = "tonutils.cli:main"
61
59
 
62
60
  [tool.setuptools.dynamic]
63
- version = { attr = "tonutils.__meta__.__version__" }
61
+ version = { attr = "tonutils.__init__.__version__" }
@@ -0,0 +1,12 @@
1
+ # Copyright (c) 2024 Shon Ness
2
+ #
3
+ # This source code is licensed under the MIT License found in the
4
+ # LICENSE file in the root directory of this source tree.
5
+
6
+ __all__ = [
7
+ "__uri__",
8
+ "__version__",
9
+ ]
10
+
11
+ __version__ = "2.0.1b8"
12
+ __uri__ = "https://github.com/nessshon/tonutils"
@@ -2,7 +2,7 @@ import argparse
2
2
  import asyncio
3
3
  import typing as t
4
4
 
5
- from tonutils.__meta__ import __version__
5
+ from tonutils import __version__
6
6
  from tonutils.clients.adnl.provider.config import (
7
7
  get_mainnet_global_config,
8
8
  get_testnet_global_config,