alfred-python 0.6.2__tar.gz → 0.6.3__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 (40) hide show
  1. {alfred_python-0.6.2 → alfred_python-0.6.3}/PKG-INFO +7 -7
  2. {alfred_python-0.6.2 → alfred_python-0.6.3}/README.md +6 -6
  3. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred_python.egg-info/PKG-INFO +7 -7
  4. {alfred_python-0.6.2 → alfred_python-0.6.3}/pyproject.toml +1 -1
  5. {alfred_python-0.6.2 → alfred_python-0.6.3}/LICENSE +0 -0
  6. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/__init__.py +0 -0
  7. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/base/__init__.py +0 -0
  8. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/base/config.py +0 -0
  9. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/base/constants.py +0 -0
  10. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/base/exceptions.py +0 -0
  11. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/base/typed.py +0 -0
  12. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/exceptions/__init__.py +0 -0
  13. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/http/__init__.py +0 -0
  14. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/http/http_client.py +0 -0
  15. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/http/typed.py +0 -0
  16. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/realtime/__init__.py +0 -0
  17. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/__init__.py +0 -0
  18. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/data_points/__init__.py +0 -0
  19. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/data_points/base.py +0 -0
  20. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/data_points/v1.py +0 -0
  21. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/files/__init__.py +0 -0
  22. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/files/base.py +0 -0
  23. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/files/typed.py +0 -0
  24. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/files/v1.py +0 -0
  25. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/jobs/__init__.py +0 -0
  26. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/jobs/base.py +0 -0
  27. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/jobs/typed.py +0 -0
  28. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/jobs/v1.py +0 -0
  29. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/sessions/__init__.py +0 -0
  30. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/sessions/base.py +0 -0
  31. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/rest/sessions/v1.py +0 -0
  32. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/typings/__init__.py +0 -0
  33. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/typings/misc.py +0 -0
  34. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/utils/__init__.py +0 -0
  35. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred/utils/logging.py +0 -0
  36. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred_python.egg-info/SOURCES.txt +0 -0
  37. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred_python.egg-info/dependency_links.txt +0 -0
  38. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred_python.egg-info/requires.txt +0 -0
  39. {alfred_python-0.6.2 → alfred_python-0.6.3}/alfred_python.egg-info/top_level.txt +0 -0
  40. {alfred_python-0.6.2 → alfred_python-0.6.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alfred-python
3
- Version: 0.6.2
3
+ Version: 0.6.3
4
4
  Summary: Python library designed to simplify and streamline interactions with the Alfred API
5
5
  Author-email: Tagshelf LLC <support@tagshelf.com>
6
6
  License: Copyright (c) 2018 The Python Packaging Authority
@@ -269,11 +269,11 @@ auth_config = AuthConfiguration({
269
269
  "api_key": "<api-key>"
270
270
  })
271
271
 
272
- client = AlfredRealTimeClient(
272
+ realtime_client = AlfredRealTimeClient(
273
273
  config,
274
274
  auth_config,
275
275
  verbose=False,
276
- on_callback=None,
276
+ error_callback=None,
277
277
  on_connect=None
278
278
  )
279
279
  ```
@@ -282,7 +282,7 @@ client = AlfredRealTimeClient(
282
282
  These events are specifically designed to respond to a variety of actions or status changes related to Files. To see more details about File events, visit our [official documentation](https://docs.tagshelf.dev/event-api/fileevents).
283
283
  ```python
284
284
  # Listen to all File events
285
- client.on_file_event(lambda data: print(data))
285
+ realtime_client.on_file_event(lambda data: print(data))
286
286
  ```
287
287
 
288
288
  ### Job Events
@@ -290,7 +290,7 @@ Alfred performs asynchronous document classification, extraction, and indexing o
290
290
 
291
291
  ```python
292
292
  # Listen to all Job events
293
- client.on_job_event(lambda data: print(data))
293
+ realtime_client.on_job_event(lambda data: print(data))
294
294
  ```
295
295
 
296
296
  ### Specific Events
@@ -304,10 +304,10 @@ Here's an example of how to listen to a specific event:
304
304
  from alfred.base import FileEvent, JobEvent
305
305
 
306
306
  # Listen to the specific File Done event
307
- client.on(FileEvent.FILE_DONE_EVENT.value, lambda data: print(data))
307
+ realtime_client.on(FileEvent.FILE_DONE_EVENT.value, lambda data: print(data))
308
308
 
309
309
  # Listen to the specific Job Finished event
310
- client.on(JobEvent.JOB_FINISHED_EVENT.value, lambda data: print(data))
310
+ realtime_client.on(JobEvent.JOB_FINISHED_EVENT.value, lambda data: print(data))
311
311
  ```
312
312
 
313
313
  Here is a list of all supported events:
@@ -230,11 +230,11 @@ auth_config = AuthConfiguration({
230
230
  "api_key": "<api-key>"
231
231
  })
232
232
 
233
- client = AlfredRealTimeClient(
233
+ realtime_client = AlfredRealTimeClient(
234
234
  config,
235
235
  auth_config,
236
236
  verbose=False,
237
- on_callback=None,
237
+ error_callback=None,
238
238
  on_connect=None
239
239
  )
240
240
  ```
@@ -243,7 +243,7 @@ client = AlfredRealTimeClient(
243
243
  These events are specifically designed to respond to a variety of actions or status changes related to Files. To see more details about File events, visit our [official documentation](https://docs.tagshelf.dev/event-api/fileevents).
244
244
  ```python
245
245
  # Listen to all File events
246
- client.on_file_event(lambda data: print(data))
246
+ realtime_client.on_file_event(lambda data: print(data))
247
247
  ```
248
248
 
249
249
  ### Job Events
@@ -251,7 +251,7 @@ Alfred performs asynchronous document classification, extraction, and indexing o
251
251
 
252
252
  ```python
253
253
  # Listen to all Job events
254
- client.on_job_event(lambda data: print(data))
254
+ realtime_client.on_job_event(lambda data: print(data))
255
255
  ```
256
256
 
257
257
  ### Specific Events
@@ -265,10 +265,10 @@ Here's an example of how to listen to a specific event:
265
265
  from alfred.base import FileEvent, JobEvent
266
266
 
267
267
  # Listen to the specific File Done event
268
- client.on(FileEvent.FILE_DONE_EVENT.value, lambda data: print(data))
268
+ realtime_client.on(FileEvent.FILE_DONE_EVENT.value, lambda data: print(data))
269
269
 
270
270
  # Listen to the specific Job Finished event
271
- client.on(JobEvent.JOB_FINISHED_EVENT.value, lambda data: print(data))
271
+ realtime_client.on(JobEvent.JOB_FINISHED_EVENT.value, lambda data: print(data))
272
272
  ```
273
273
 
274
274
  Here is a list of all supported events:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alfred-python
3
- Version: 0.6.2
3
+ Version: 0.6.3
4
4
  Summary: Python library designed to simplify and streamline interactions with the Alfred API
5
5
  Author-email: Tagshelf LLC <support@tagshelf.com>
6
6
  License: Copyright (c) 2018 The Python Packaging Authority
@@ -269,11 +269,11 @@ auth_config = AuthConfiguration({
269
269
  "api_key": "<api-key>"
270
270
  })
271
271
 
272
- client = AlfredRealTimeClient(
272
+ realtime_client = AlfredRealTimeClient(
273
273
  config,
274
274
  auth_config,
275
275
  verbose=False,
276
- on_callback=None,
276
+ error_callback=None,
277
277
  on_connect=None
278
278
  )
279
279
  ```
@@ -282,7 +282,7 @@ client = AlfredRealTimeClient(
282
282
  These events are specifically designed to respond to a variety of actions or status changes related to Files. To see more details about File events, visit our [official documentation](https://docs.tagshelf.dev/event-api/fileevents).
283
283
  ```python
284
284
  # Listen to all File events
285
- client.on_file_event(lambda data: print(data))
285
+ realtime_client.on_file_event(lambda data: print(data))
286
286
  ```
287
287
 
288
288
  ### Job Events
@@ -290,7 +290,7 @@ Alfred performs asynchronous document classification, extraction, and indexing o
290
290
 
291
291
  ```python
292
292
  # Listen to all Job events
293
- client.on_job_event(lambda data: print(data))
293
+ realtime_client.on_job_event(lambda data: print(data))
294
294
  ```
295
295
 
296
296
  ### Specific Events
@@ -304,10 +304,10 @@ Here's an example of how to listen to a specific event:
304
304
  from alfred.base import FileEvent, JobEvent
305
305
 
306
306
  # Listen to the specific File Done event
307
- client.on(FileEvent.FILE_DONE_EVENT.value, lambda data: print(data))
307
+ realtime_client.on(FileEvent.FILE_DONE_EVENT.value, lambda data: print(data))
308
308
 
309
309
  # Listen to the specific Job Finished event
310
- client.on(JobEvent.JOB_FINISHED_EVENT.value, lambda data: print(data))
310
+ realtime_client.on(JobEvent.JOB_FINISHED_EVENT.value, lambda data: print(data))
311
311
  ```
312
312
 
313
313
  Here is a list of all supported events:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "alfred-python"
7
- version = "0.6.2"
7
+ version = "0.6.3"
8
8
  authors = [{ name = "Tagshelf LLC", email = "support@tagshelf.com" }]
9
9
  description = "Python library designed to simplify and streamline interactions with the Alfred API"
10
10
  readme = "README.md"
File without changes
File without changes