helius-python 0.0.1__py3-none-any.whl → 0.0.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: helius-python
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Typed Python client for the Helius API
5
5
  Project-URL: Homepage, https://github.com/markosnarinian/helius-python
6
6
  Project-URL: Issues, https://github.com/markosnarinian/helius-python/issues
@@ -10,6 +10,9 @@ License-File: LICENSE
10
10
  Classifier: Operating System :: OS Independent
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Requires-Python: >=3.9
13
+ Requires-Dist: httpx
14
+ Requires-Dist: pydantic
15
+ Requires-Dist: python-dotenv
13
16
  Provides-Extra: dev
14
17
  Requires-Dist: pytest; extra == 'dev'
15
18
  Requires-Dist: respx; extra == 'dev'
@@ -61,12 +64,21 @@ type checking.
61
64
  pip install helius-python
62
65
  ```
63
66
 
67
+ This installs the runtime dependencies automatically:
68
+
69
+ - `httpx` for HTTP transport
70
+ - `pydantic` for typed response models and argument validation
71
+ - `python-dotenv` for optional `.env` loading of `HELIUS_API_KEY`
72
+
73
+ You do not need to install these separately unless your environment disables
74
+ dependency installation.
75
+
64
76
  ## Authentication
65
77
 
66
78
  Pass your Helius API key explicitly:
67
79
 
68
80
  ```python
69
- from helius import HeliusClient
81
+ from helius.client import HeliusClient
70
82
 
71
83
  client = HeliusClient(api_key="YOUR_HELIUS_API_KEY")
72
84
  ```
@@ -79,7 +91,7 @@ HELIUS_API_KEY=your_helius_api_key
79
91
  ```
80
92
 
81
93
  ```python
82
- from helius import HeliusClient
94
+ from helius.client import HeliusClient
83
95
 
84
96
  client = HeliusClient() # reads HELIUS_API_KEY from .env
85
97
  ```
@@ -89,7 +101,7 @@ client = HeliusClient() # reads HELIUS_API_KEY from .env
89
101
  ### As a context manager (recommended)
90
102
 
91
103
  ```python
92
- from helius import HeliusClient
104
+ from helius.client import HeliusClient
93
105
 
94
106
  with HeliusClient(api_key="YOUR_HELIUS_API_KEY") as client:
95
107
  balance = client.get_balance("So11111111111111111111111111111111111111112")
@@ -109,7 +121,7 @@ If a `with` block doesn't fit your code structure (e.g. the client lives on
109
121
  a long-lived object), call `close()` yourself when you're done:
110
122
 
111
123
  ```python
112
- from helius import HeliusClient
124
+ from helius.client import HeliusClient
113
125
 
114
126
  client = HeliusClient(api_key="YOUR_HELIUS_API_KEY")
115
127
  try:
@@ -207,7 +219,7 @@ docstring that is the source of truth for that symbol. You can read it
207
219
  straight from a REPL:
208
220
 
209
221
  ```python
210
- from helius import HeliusClient
222
+ from helius.client import HeliusClient
211
223
  help(HeliusClient.get_balance)
212
224
  ```
213
225
 
@@ -1,7 +1,7 @@
1
1
  helius/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  helius/client.py,sha256=SIczNqX2U_3ULM9-yO3ba3MOWMog4rtS6qkvXoDH_mQ,33229
3
3
  helius/models.py,sha256=X6aLhpAIvVccgCIJE_h2TO0RRdBI26EmaGNylT11Y3A,5082
4
- helius_python-0.0.1.dist-info/METADATA,sha256=knkLVOWYaVDKLPAeBdh5Pi0smm0Hn3viIwvhsNHHPmU,10671
5
- helius_python-0.0.1.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
6
- helius_python-0.0.1.dist-info/licenses/LICENSE,sha256=bZc2EDmq_GsWH77uK8LBn1kqqrOPcp2f9p-ys9bYa1E,1072
7
- helius_python-0.0.1.dist-info/RECORD,,
4
+ helius_python-0.0.2.dist-info/METADATA,sha256=SIJl_uxSTfuf2-X5vw9ftK2vJwhFWzVfXKW2m6tsdYo,11097
5
+ helius_python-0.0.2.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
6
+ helius_python-0.0.2.dist-info/licenses/LICENSE,sha256=bZc2EDmq_GsWH77uK8LBn1kqqrOPcp2f9p-ys9bYa1E,1072
7
+ helius_python-0.0.2.dist-info/RECORD,,