seltz 0.1.1__py3-none-any.whl → 0.1.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.
seltz/seltz.py CHANGED
@@ -9,7 +9,7 @@ from .services.search_service import SearchService
9
9
  class Seltz:
10
10
  """Main Seltz SDK client for interacting with the Seltz API."""
11
11
 
12
- _ENDPOINT: str = "api.seltz.ai"
12
+ _ENDPOINT: str = "grpc.seltz.ai"
13
13
 
14
14
  def __init__(
15
15
  self,
@@ -21,7 +21,7 @@ class Seltz:
21
21
 
22
22
  Args:
23
23
  api_key: API key for authentication. If None, will try to read from SELTZ_API_KEY environment variable
24
- endpoint: The API endpoint to connect to (default: api.seltz.ai)
24
+ endpoint: The API endpoint to connect to (default: grpc.seltz.ai)
25
25
  insecure: Whether to use insecure connection (default: False)
26
26
 
27
27
  Returns:
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: seltz
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Seltz Python SDK for AI-powered search
5
5
  Author-email: Seltz <support@seltz.ai>
6
6
  Project-URL: Homepage, https://seltz.ai
7
7
  Project-URL: Documentation, https://docs.seltz.ai
8
- Project-URL: Repository, https://github.com/seltz-ai/seltz-py
9
- Project-URL: Bug Tracker, https://github.com/seltz-ai/seltz-py/issues
8
+ Project-URL: Repository, https://github.com/seltz-ai/seltz-python-sdk
9
+ Project-URL: Bug Tracker, https://github.com/seltz-ai/seltz-python-sdk/issues
10
10
  Keywords: search,ai,sdk,api
11
11
  Classifier: Development Status :: 4 - Beta
12
12
  Classifier: Intended Audience :: Developers
@@ -39,7 +39,7 @@ pip install seltz
39
39
  from seltz import Seltz
40
40
 
41
41
  # Initialize with API key
42
- client = Seltz.create(api_key="your-api-key")
42
+ client = Seltz(api_key="your-api-key")
43
43
 
44
44
  # Perform a search
45
45
  response = client.search("your search query")
@@ -61,18 +61,18 @@ Set your API key using one of these methods:
61
61
 
62
62
  2. **Direct parameter**:
63
63
  ```python
64
- client = Seltz.create(api_key="your-api-key")
64
+ client = Seltz(api_key="your-api-key")
65
65
  ```
66
66
 
67
67
  ## API Reference
68
68
 
69
- ### `Seltz.create(api_key=None, endpoint="api.seltz.ai", insecure=False)`
69
+ ### `Seltz(api_key=None, endpoint="grpc.seltz.ai", insecure=False)`
70
70
 
71
71
  Creates a new Seltz client instance.
72
72
 
73
73
  **Parameters:**
74
74
  - `api_key` (str, optional): API key for authentication. Defaults to `SELTZ_API_KEY` environment variable.
75
- - `endpoint` (str): API endpoint. Defaults to "api.seltz.ai".
75
+ - `endpoint` (str): API endpoint. Defaults to "grpc.seltz.ai".
76
76
  - `insecure` (bool): Use insecure connection. Defaults to False.
77
77
 
78
78
  **Returns:** `Seltz` instance
@@ -101,7 +101,7 @@ from seltz import (
101
101
  )
102
102
 
103
103
  try:
104
- client = Seltz.create(api_key="your-api-key")
104
+ client = Seltz(api_key="your-api-key")
105
105
  response = client.search("query")
106
106
  except SeltzConfigurationError as e:
107
107
  print(f"Configuration error: {e}")
@@ -1,13 +1,13 @@
1
1
  seltz/__init__.py,sha256=PfEylMpsO-APEQfWbj7nl36ieJVGSb-6RK4501EIpnE,491
2
2
  seltz/client.py,sha256=OKdesdOfz84v9zw8oAANC-WwnYrO06zh6ZJIMPnl2cM,1206
3
3
  seltz/exceptions.py,sha256=PCFXFY0c5lJuczoB0oWwSMlCAEvVM_HOrU2RR69aZXA,994
4
- seltz/seltz.py,sha256=HsPOQhuftxT3bb8j1cWZWY2DSgQevcDWBynMSlNJN_c,1604
4
+ seltz/seltz.py,sha256=ikPqLacdhMwMxILks0GjKIzBZeDB3ePNoAqvJRM4H48,1606
5
5
  seltz/services/__init__.py,sha256=hPncxVXXYyEjvBCwe0a6l4KGOKfKuarSONL1MjSekmk,457
6
6
  seltz/services/search_service.py,sha256=2t3LzHXWNg_dWHrhSbMBCht0WMz26LpIa5Rgy7kmkRI,2194
7
7
  seltz_public_api/proto/v1/seltz_pb2.py,sha256=H5J1GBGixJSdSV_tFIP69x2VMlstAZuvxM2ngikGoHo,2624
8
8
  seltz_public_api/proto/v1/seltz_pb2.pyi,sha256=RN_gWIqg7KLndmm7UG6a3BAhDPFZTkNovngPjpgmUlo,1625
9
9
  seltz_public_api/proto/v1/seltz_pb2_grpc.py,sha256=Gt-sDKmEsNYzRbzXKvQKIDFoVVnjU8LtEm_sbKyTuro,3024
10
- seltz-0.1.1.dist-info/METADATA,sha256=Tmt6jrQiHNvzy6tid2uwX11OBPFC0Nf3EeQ40H38XRQ,3244
11
- seltz-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- seltz-0.1.1.dist-info/top_level.txt,sha256=omV6Wwfxo_CgGHOAIE8aKEwm2-3c4ETyBCP-0ZIaZs0,23
13
- seltz-0.1.1.dist-info/RECORD,,
10
+ seltz-0.1.2.dist-info/METADATA,sha256=kAdyMtPPnvUt_MY6ioQGvGkkRHu1DNx4rln89C5oAH4,3234
11
+ seltz-0.1.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
12
+ seltz-0.1.2.dist-info/top_level.txt,sha256=omV6Wwfxo_CgGHOAIE8aKEwm2-3c4ETyBCP-0ZIaZs0,23
13
+ seltz-0.1.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5