seltz 0.1.1__tar.gz → 0.1.2__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.
@@ -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}")
@@ -14,7 +14,7 @@ pip install seltz
14
14
  from seltz import Seltz
15
15
 
16
16
  # Initialize with API key
17
- client = Seltz.create(api_key="your-api-key")
17
+ client = Seltz(api_key="your-api-key")
18
18
 
19
19
  # Perform a search
20
20
  response = client.search("your search query")
@@ -36,18 +36,18 @@ Set your API key using one of these methods:
36
36
 
37
37
  2. **Direct parameter**:
38
38
  ```python
39
- client = Seltz.create(api_key="your-api-key")
39
+ client = Seltz(api_key="your-api-key")
40
40
  ```
41
41
 
42
42
  ## API Reference
43
43
 
44
- ### `Seltz.create(api_key=None, endpoint="api.seltz.ai", insecure=False)`
44
+ ### `Seltz(api_key=None, endpoint="grpc.seltz.ai", insecure=False)`
45
45
 
46
46
  Creates a new Seltz client instance.
47
47
 
48
48
  **Parameters:**
49
49
  - `api_key` (str, optional): API key for authentication. Defaults to `SELTZ_API_KEY` environment variable.
50
- - `endpoint` (str): API endpoint. Defaults to "api.seltz.ai".
50
+ - `endpoint` (str): API endpoint. Defaults to "grpc.seltz.ai".
51
51
  - `insecure` (bool): Use insecure connection. Defaults to False.
52
52
 
53
53
  **Returns:** `Seltz` instance
@@ -76,7 +76,7 @@ from seltz import (
76
76
  )
77
77
 
78
78
  try:
79
- client = Seltz.create(api_key="your-api-key")
79
+ client = Seltz(api_key="your-api-key")
80
80
  response = client.search("query")
81
81
  except SeltzConfigurationError as e:
82
82
  print(f"Configuration error: {e}")
@@ -96,4 +96,4 @@ except SeltzAPIError as e:
96
96
 
97
97
  - Python 3.8+
98
98
  - grpcio >= 1.76.0
99
- - protobuf >= 6.33.1
99
+ - protobuf >= 6.33.1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "seltz"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Seltz Python SDK for AI-powered search"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -32,8 +32,8 @@ dependencies = [
32
32
  [project.urls]
33
33
  Homepage = "https://seltz.ai"
34
34
  Documentation = "https://docs.seltz.ai"
35
- Repository = "https://github.com/seltz-ai/seltz-py"
36
- "Bug Tracker" = "https://github.com/seltz-ai/seltz-py/issues"
35
+ Repository = "https://github.com/seltz-ai/seltz-python-sdk"
36
+ "Bug Tracker" = "https://github.com/seltz-ai/seltz-python-sdk/issues"
37
37
 
38
38
  [tool.setuptools.packages.find]
39
39
  where = ["src"]
@@ -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}")
File without changes
File without changes
File without changes
File without changes