tonutils 2.0.1b1__tar.gz → 2.0.1b3__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 (121) hide show
  1. {tonutils-2.0.1b1/tonutils.egg-info → tonutils-2.0.1b3}/PKG-INFO +4 -4
  2. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/README.md +2 -2
  3. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/pyproject.toml +1 -1
  4. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/__init__.py +0 -2
  5. tonutils-2.0.1b3/tonutils/__meta__.py +1 -0
  6. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/__init__.py +5 -9
  7. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/__init__.py +5 -1
  8. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/balancer.py +319 -125
  9. tonutils-2.0.1b3/tonutils/clients/adnl/client.py +412 -0
  10. tonutils-2.0.1b3/tonutils/clients/adnl/provider/config.py +28 -0
  11. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/provider/models.py +4 -0
  12. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/provider/provider.py +191 -145
  13. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/provider/transport.py +38 -32
  14. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/provider/workers/base.py +0 -2
  15. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/provider/workers/pinger.py +1 -1
  16. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/provider/workers/reader.py +3 -2
  17. tonutils-2.0.1b1/tonutils/clients/adnl/provider/builder.py → tonutils-2.0.1b3/tonutils/clients/adnl/utils.py +62 -2
  18. tonutils-2.0.1b3/tonutils/clients/http/__init__.py +23 -0
  19. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/http/balancer.py +75 -63
  20. tonutils-2.0.1b3/tonutils/clients/http/clients/__init__.py +13 -0
  21. tonutils-2.0.1b3/tonutils/clients/http/clients/chainstack.py +48 -0
  22. tonutils-2.0.1b3/tonutils/clients/http/clients/quicknode.py +47 -0
  23. tonutils-2.0.1b3/tonutils/clients/http/clients/tatum.py +56 -0
  24. tonutils-2.0.1b1/tonutils/clients/http/tonapi/client.py → tonutils-2.0.1b3/tonutils/clients/http/clients/tonapi.py +31 -31
  25. tonutils-2.0.1b1/tonutils/clients/http/toncenter/client.py → tonutils-2.0.1b3/tonutils/clients/http/clients/toncenter.py +59 -48
  26. tonutils-2.0.1b3/tonutils/clients/http/providers/__init__.py +4 -0
  27. tonutils-2.0.1b3/tonutils/clients/http/providers/base.py +201 -0
  28. tonutils-2.0.1b3/tonutils/clients/http/providers/response.py +85 -0
  29. tonutils-2.0.1b3/tonutils/clients/http/providers/tonapi/__init__.py +3 -0
  30. {tonutils-2.0.1b1/tonutils/clients/http → tonutils-2.0.1b3/tonutils/clients/http/providers}/tonapi/models.py +1 -0
  31. tonutils-2.0.1b3/tonutils/clients/http/providers/tonapi/provider.py +125 -0
  32. tonutils-2.0.1b3/tonutils/clients/http/providers/toncenter/__init__.py +3 -0
  33. {tonutils-2.0.1b1/tonutils/clients/http → tonutils-2.0.1b3/tonutils/clients/http/providers}/toncenter/models.py +1 -0
  34. tonutils-2.0.1b3/tonutils/clients/http/providers/toncenter/provider.py +119 -0
  35. tonutils-2.0.1b3/tonutils/clients/http/utils.py +140 -0
  36. tonutils-2.0.1b3/tonutils/clients/limiter.py +115 -0
  37. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/__init__.py +18 -0
  38. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/base.py +33 -20
  39. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/dns/methods.py +2 -2
  40. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/jetton/methods.py +2 -2
  41. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/nft/methods.py +2 -2
  42. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/nft/tlb.py +1 -1
  43. tonutils-2.0.1b1/tonutils/protocols/contract.py → tonutils-2.0.1b3/tonutils/contracts/protocol.py +29 -29
  44. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/telegram/methods.py +2 -2
  45. tonutils-2.0.1b3/tonutils/contracts/vanity/__init__.py +17 -0
  46. tonutils-2.0.1b3/tonutils/contracts/vanity/models.py +39 -0
  47. tonutils-2.0.1b3/tonutils/contracts/vanity/tlb.py +40 -0
  48. tonutils-2.0.1b3/tonutils/contracts/vanity/vanity.py +40 -0
  49. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/__init__.py +2 -0
  50. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/base.py +3 -3
  51. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/messages.py +1 -1
  52. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/methods.py +2 -2
  53. tonutils-2.0.1b1/tonutils/protocols/wallet.py → tonutils-2.0.1b3/tonutils/contracts/wallet/protocol.py +35 -35
  54. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/versions/v5.py +3 -3
  55. tonutils-2.0.1b3/tonutils/exceptions.py +202 -0
  56. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/types.py +115 -0
  57. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/utils.py +3 -3
  58. {tonutils-2.0.1b1 → tonutils-2.0.1b3/tonutils.egg-info}/PKG-INFO +4 -4
  59. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils.egg-info/SOURCES.txt +26 -27
  60. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils.egg-info/requires.txt +1 -1
  61. tonutils-2.0.1b1/tonutils/__meta__.py +0 -1
  62. tonutils-2.0.1b1/tonutils/clients/adnl/client.py +0 -276
  63. tonutils-2.0.1b1/tonutils/clients/adnl/provider/config.py +0 -34
  64. tonutils-2.0.1b1/tonutils/clients/adnl/provider/limiter.py +0 -56
  65. tonutils-2.0.1b1/tonutils/clients/adnl/stack.py +0 -64
  66. tonutils-2.0.1b1/tonutils/clients/http/__init__.py +0 -20
  67. tonutils-2.0.1b1/tonutils/clients/http/chainstack/__init__.py +0 -4
  68. tonutils-2.0.1b1/tonutils/clients/http/chainstack/client.py +0 -63
  69. tonutils-2.0.1b1/tonutils/clients/http/chainstack/provider.py +0 -44
  70. tonutils-2.0.1b1/tonutils/clients/http/quicknode/__init__.py +0 -4
  71. tonutils-2.0.1b1/tonutils/clients/http/quicknode/client.py +0 -60
  72. tonutils-2.0.1b1/tonutils/clients/http/quicknode/provider.py +0 -42
  73. tonutils-2.0.1b1/tonutils/clients/http/tatum/__init__.py +0 -4
  74. tonutils-2.0.1b1/tonutils/clients/http/tatum/client.py +0 -66
  75. tonutils-2.0.1b1/tonutils/clients/http/tatum/provider.py +0 -53
  76. tonutils-2.0.1b1/tonutils/clients/http/tonapi/__init__.py +0 -4
  77. tonutils-2.0.1b1/tonutils/clients/http/tonapi/provider.py +0 -150
  78. tonutils-2.0.1b1/tonutils/clients/http/tonapi/stack.py +0 -71
  79. tonutils-2.0.1b1/tonutils/clients/http/toncenter/__init__.py +0 -4
  80. tonutils-2.0.1b1/tonutils/clients/http/toncenter/provider.py +0 -145
  81. tonutils-2.0.1b1/tonutils/clients/http/toncenter/stack.py +0 -73
  82. tonutils-2.0.1b1/tonutils/exceptions.py +0 -294
  83. tonutils-2.0.1b1/tonutils/protocols/__init__.py +0 -9
  84. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/LICENSE +0 -0
  85. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/setup.cfg +0 -0
  86. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/provider/__init__.py +0 -0
  87. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/provider/workers/__init__.py +0 -0
  88. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/adnl/provider/workers/updater.py +0 -0
  89. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/clients/base.py +0 -0
  90. /tonutils-2.0.1b1/tonutils/protocols/client.py → /tonutils-2.0.1b3/tonutils/clients/protocol.py +0 -0
  91. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/codes.py +0 -0
  92. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/dns/__init__.py +0 -0
  93. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/dns/collection.py +0 -0
  94. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/dns/item.py +0 -0
  95. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/dns/tlb.py +0 -0
  96. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/jetton/__init__.py +0 -0
  97. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/jetton/master.py +0 -0
  98. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/jetton/tlb.py +0 -0
  99. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/jetton/wallet.py +0 -0
  100. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/nft/__init__.py +0 -0
  101. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/nft/collection.py +0 -0
  102. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/nft/item.py +0 -0
  103. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/opcodes.py +0 -0
  104. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/telegram/__init__.py +0 -0
  105. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/telegram/collection.py +0 -0
  106. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/telegram/item.py +0 -0
  107. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/telegram/tlb.py +0 -0
  108. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/versions.py +0 -0
  109. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/configs.py +0 -0
  110. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/params.py +0 -0
  111. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/tlb.py +0 -0
  112. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/versions/__init__.py +0 -0
  113. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/versions/hw.py +0 -0
  114. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/versions/pp.py +0 -0
  115. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/versions/v1.py +0 -0
  116. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/versions/v2.py +0 -0
  117. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/versions/v3.py +0 -0
  118. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/contracts/wallet/versions/v4.py +0 -0
  119. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils/py.typed +0 -0
  120. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils.egg-info/dependency_links.txt +0 -0
  121. {tonutils-2.0.1b1 → tonutils-2.0.1b3}/tonutils.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tonutils
3
- Version: 2.0.1b1
3
+ Version: 2.0.1b3
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
@@ -26,21 +26,21 @@ Requires-Python: <3.15,>=3.10
26
26
  Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
28
  Requires-Dist: aiohttp>=3.7.0
29
- Requires-Dist: pyapiq>=0.2.1
30
29
  Requires-Dist: pycryptodomex~=3.23.0
31
30
  Requires-Dist: pydantic<3.0,>=2.0
32
31
  Requires-Dist: pynacl~=1.6.0
33
32
  Requires-Dist: pytoniq-core~=0.1.45
33
+ Requires-Dist: requests>=2.31.0
34
34
  Dynamic: license-file
35
35
 
36
36
  # 📦 Tonutils 2.0 [BETA]
37
37
 
38
38
  [![TON](https://img.shields.io/badge/TON-grey?logo=TON&logoColor=40AEF0)](https://ton.org)
39
39
  ![Python Versions](https://img.shields.io/badge/Python-3.10%20--%203.14-black?color=FFE873&labelColor=3776AB)
40
- [![PyPI](https://img.shields.io/badge/pypi-2.0.1b1-FFE873?labelColor=3776AB)](https://pypi.org/project/tonutils/2.0.1b1/)
40
+ [![PyPI](https://img.shields.io/badge/pypi-2.0.1b2-FFE873?labelColor=3776AB)](https://pypi.org/project/tonutils/2.0.1b2/)
41
41
  [![License](https://img.shields.io/github/license/nessshon/tonutils)](LICENSE)
42
42
 
43
- ![Image](assets/banner-640x274.png)
43
+ ![Image](assets/banner.png)
44
44
 
45
45
  ![Downloads](https://pepy.tech/badge/tonutils)
46
46
  ![Downloads](https://pepy.tech/badge/tonutils/month)
@@ -2,10 +2,10 @@
2
2
 
3
3
  [![TON](https://img.shields.io/badge/TON-grey?logo=TON&logoColor=40AEF0)](https://ton.org)
4
4
  ![Python Versions](https://img.shields.io/badge/Python-3.10%20--%203.14-black?color=FFE873&labelColor=3776AB)
5
- [![PyPI](https://img.shields.io/badge/pypi-2.0.1b1-FFE873?labelColor=3776AB)](https://pypi.org/project/tonutils/2.0.1b1/)
5
+ [![PyPI](https://img.shields.io/badge/pypi-2.0.1b2-FFE873?labelColor=3776AB)](https://pypi.org/project/tonutils/2.0.1b2/)
6
6
  [![License](https://img.shields.io/github/license/nessshon/tonutils)](LICENSE)
7
7
 
8
- ![Image](assets/banner-640x274.png)
8
+ ![Image](assets/banner.png)
9
9
 
10
10
  ![Downloads](https://pepy.tech/badge/tonutils)
11
11
  ![Downloads](https://pepy.tech/badge/tonutils/month)
@@ -14,11 +14,11 @@ maintainers = [
14
14
  ]
15
15
  dependencies = [
16
16
  "aiohttp>=3.7.0",
17
- "pyapiq>=0.2.1",
18
17
  "pycryptodomex~=3.23.0",
19
18
  "pydantic>=2.0,<3.0",
20
19
  "pynacl~=1.6.0",
21
20
  "pytoniq-core~=0.1.45",
21
+ "requests>=2.31.0",
22
22
  ]
23
23
  keywords = [
24
24
  "AsyncIO",
@@ -1,7 +1,6 @@
1
1
  from . import (
2
2
  clients,
3
3
  contracts,
4
- protocols,
5
4
  exceptions,
6
5
  types,
7
6
  utils,
@@ -12,7 +11,6 @@ __all__ = [
12
11
  "__version__",
13
12
  "clients",
14
13
  "contracts",
15
- "protocols",
16
14
  "exceptions",
17
15
  "types",
18
16
  "utils",
@@ -0,0 +1 @@
1
+ __version__ = "2.0.1b3"
@@ -1,13 +1,13 @@
1
- from .adnl import AdnlBalancer, AdnlClient, AdnlProvider
2
- from .base import BaseClient
1
+ from .adnl import (
2
+ AdnlBalancer,
3
+ AdnlClient,
4
+ AdnlProvider,
5
+ )
3
6
  from .http import (
4
7
  HttpBalancer,
5
8
  ChainstackHttpClient,
6
- ChainstackHttpProvider,
7
9
  QuicknodeHttpClient,
8
- QuicknodeHttpProvider,
9
10
  TatumHttpClient,
10
- TatumHttpProvider,
11
11
  TonapiHttpClient,
12
12
  TonapiHttpProvider,
13
13
  ToncenterHttpClient,
@@ -15,17 +15,13 @@ from .http import (
15
15
  )
16
16
 
17
17
  __all__ = [
18
- "BaseClient",
19
18
  "AdnlBalancer",
20
19
  "AdnlClient",
21
20
  "AdnlProvider",
22
21
  "HttpBalancer",
23
22
  "ChainstackHttpClient",
24
- "ChainstackHttpProvider",
25
23
  "QuicknodeHttpClient",
26
- "QuicknodeHttpProvider",
27
24
  "TatumHttpClient",
28
- "TatumHttpProvider",
29
25
  "TonapiHttpClient",
30
26
  "TonapiHttpProvider",
31
27
  "ToncenterHttpClient",
@@ -2,4 +2,8 @@ from .balancer import AdnlBalancer
2
2
  from .client import AdnlClient
3
3
  from .provider import AdnlProvider
4
4
 
5
- __all__ = ["AdnlBalancer", "AdnlClient", "AdnlProvider"]
5
+ __all__ = [
6
+ "AdnlBalancer",
7
+ "AdnlClient",
8
+ "AdnlProvider",
9
+ ]