data-sourcerer 0.2.2__tar.gz → 0.2.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 (101) hide show
  1. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/PKG-INFO +1 -1
  2. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/pyproject.toml +1 -1
  3. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/__init__.py +1 -1
  4. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/file_system_finder/main.py +2 -2
  5. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/widgets/storage_content.py +4 -8
  6. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/shared/widgets/labeled_input.py +2 -2
  7. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/storage_action_progress/main.py +4 -6
  8. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/.gitignore +0 -0
  9. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/LICENSE +0 -0
  10. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/README.md +0 -0
  11. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/__init__.py +0 -0
  12. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/access_credentials/__init__.py +0 -0
  13. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/access_credentials/entities.py +0 -0
  14. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/access_credentials/exceptions.py +0 -0
  15. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/access_credentials/repositories.py +0 -0
  16. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/access_credentials/services.py +0 -0
  17. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/file_system/__init__.py +0 -0
  18. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/file_system/entities.py +0 -0
  19. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/file_system/exceptions.py +0 -0
  20. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/file_system/services.py +0 -0
  21. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/shared/__init__.py +0 -0
  22. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/shared/entities.py +0 -0
  23. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/storage_provider/__init__.py +0 -0
  24. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/storage_provider/entities.py +0 -0
  25. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/storage_provider/exceptions.py +0 -0
  26. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/domain/storage_provider/services.py +0 -0
  27. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/__init__.py +0 -0
  28. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/access_credentials/__init__.py +0 -0
  29. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/access_credentials/exceptions.py +0 -0
  30. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/access_credentials/registry.py +0 -0
  31. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/access_credentials/repositories.py +0 -0
  32. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/access_credentials/services.py +0 -0
  33. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/db/__init__.py +0 -0
  34. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/db/config.py +0 -0
  35. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/db/models.py +0 -0
  36. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/file_system/__init__.py +0 -0
  37. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/file_system/exceptions.py +0 -0
  38. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/file_system/services.py +0 -0
  39. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/storage_provider/__init__.py +0 -0
  40. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/storage_provider/exceptions.py +0 -0
  41. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/storage_provider/registry.py +0 -0
  42. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/storage_provider/services/__init__.py +0 -0
  43. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/storage_provider/services/azure.py +0 -0
  44. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/storage_provider/services/gcp.py +0 -0
  45. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/storage_provider/services/s3.py +0 -0
  46. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/infrastructure/utils.py +0 -0
  47. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/__init__.py +0 -0
  48. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/app.py +0 -0
  49. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/di_container.py +0 -0
  50. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/__init__.py +0 -0
  51. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/critical_error/__init__.py +0 -0
  52. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/critical_error/main.py +0 -0
  53. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/critical_error/styles.tcss +0 -0
  54. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/file_system_finder/styles.tcss +0 -0
  55. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/file_system_finder/widgets/__init__.py +0 -0
  56. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/file_system_finder/widgets/file_system_navigator.py +0 -0
  57. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/__init__.py +0 -0
  58. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/main.py +0 -0
  59. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/messages/__init__.py +0 -0
  60. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/messages/delete_request.py +0 -0
  61. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/messages/download_request.py +0 -0
  62. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/messages/preview_request.py +0 -0
  63. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/messages/refresh_storages_list_request.py +0 -0
  64. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/messages/resizing_rule.py +0 -0
  65. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/messages/select_storage_item.py +0 -0
  66. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/messages/uncheck_files_request.py +0 -0
  67. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/messages/upload_request.py +0 -0
  68. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/mixins/__init__.py +0 -0
  69. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/mixins/resize_containers_watcher_mixin.py +0 -0
  70. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/styles.tcss +0 -0
  71. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/widgets/__init__.py +0 -0
  72. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/widgets/gradient.py +0 -0
  73. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/widgets/resizing_rule.py +0 -0
  74. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/main/widgets/storage_list_sidebar.py +0 -0
  75. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/preview_content/__init__.py +0 -0
  76. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/preview_content/main.py +0 -0
  77. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/preview_content/styles.tcss +0 -0
  78. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/provider_creds_list/__init__.py +0 -0
  79. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/provider_creds_list/main.py +0 -0
  80. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/provider_creds_list/messages/__init__.py +0 -0
  81. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/provider_creds_list/messages/reload_credentials_request.py +0 -0
  82. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/provider_creds_list/styles.tcss +0 -0
  83. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/provider_creds_registration/__init__.py +0 -0
  84. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/provider_creds_registration/main.py +0 -0
  85. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/provider_creds_registration/styles.tcss +0 -0
  86. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/question/__init__.py +0 -0
  87. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/question/main.py +0 -0
  88. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/question/styles.tcss +0 -0
  89. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/shared/__init__.py +0 -0
  90. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/shared/containers.py +0 -0
  91. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/shared/widgets/__init__.py +0 -0
  92. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/shared/widgets/button.py +0 -0
  93. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/shared/widgets/loader.py +0 -0
  94. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/storage_action_progress/__init__.py +0 -0
  95. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/screens/storage_action_progress/styles.tcss +0 -0
  96. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/settings.py +0 -0
  97. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/themes/__init__.py +0 -0
  98. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/themes/github_dark.py +0 -0
  99. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/presentation/utils.py +0 -0
  100. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/settings.py +0 -0
  101. {data_sourcerer-0.2.2 → data_sourcerer-0.2.3}/sourcerer/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: data-sourcerer
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Sourcerer is a terminal cloud storage navigator.
5
5
  Author-email: Bohdana Kuzmenko <bohdana.kuzmenko.dev@gmail.com>
6
6
  License: MIT
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
 
3
3
  name = "data-sourcerer"
4
- version = "0.2.2"
4
+ version = "0.2.3"
5
5
  description = "Sourcerer is a terminal cloud storage navigator."
6
6
  requires-python = ">=3.9"
7
7
 
@@ -12,4 +12,4 @@ The application is structured using a clean architecture approach with:
12
12
  - Presentation layer: User interface components
13
13
  """
14
14
 
15
- __version__ = "0.2.2"
15
+ __version__ = "0.2.3"
@@ -159,9 +159,9 @@ class FileSystemNavigationModal(ModalScreen):
159
159
  except NoMatches:
160
160
  return
161
161
  label = str(
162
- event.path.relative_to(
162
+ event.path.relative_to( # ty: ignore[possibly-unbound-attribute]
163
163
  self.work_dir
164
- ) # ty: ignore[possibly-unbound-attribute]
164
+ )
165
165
  )
166
166
  if event.path.is_dir(): # ty: ignore[possibly-unbound-attribute]
167
167
  label += "/"
@@ -332,16 +332,12 @@ class StorageContentContainer(Vertical):
332
332
  search_prefix: reactive[str | None] = reactive( # ty: ignore[invalid-assignment]
333
333
  None, recompose=False
334
334
  )
335
- access_credentials_uuid: reactive[
335
+ access_credentials_uuid: reactive[ # ty: ignore[invalid-assignment]
336
336
  str | None
337
- ] = reactive( # ty: ignore[invalid-assignment]
338
- "", recompose=False
339
- )
340
- storage_content: reactive[
337
+ ] = reactive("", recompose=False)
338
+ storage_content: reactive[ # ty: ignore[invalid-assignment]
341
339
  StorageContent | None
342
- ] = reactive( # ty: ignore[invalid-assignment]
343
- None, recompose=True
344
- )
340
+ ] = reactive(None, recompose=True)
345
341
  selected_files: reactive[set] = reactive(set(), recompose=False)
346
342
  selected_files_n: reactive[int] = reactive(0, recompose=False)
347
343
 
@@ -75,10 +75,10 @@ class LabeledInput(Container):
75
75
  Value: A dataclass containing the name and value of the input field.
76
76
 
77
77
  """
78
- input_area = self.query_one(".form_input", expect_type=Input)
78
+ input_area = self.query_one(".form_input")
79
79
  text = (
80
80
  input_area.document.text
81
81
  if isinstance(input_area, TextArea)
82
- else input_area.value
82
+ else input_area.value # type: ignore
83
83
  )
84
84
  return self.Value(name=self.key, value=text)
@@ -185,9 +185,9 @@ class StorageActionProgressScreen(ModalScreen):
185
185
  Sets the border title and starts the appropriate worker thread based on the action type
186
186
  (download, delete, or upload).
187
187
  """
188
- self.query_one("#StorageActionProgress").border_title = (
189
- f"{self.action.capitalize()} {len(self.keys)} files from {self.storage_name}"
190
- )
188
+ self.query_one(
189
+ "#StorageActionProgress"
190
+ ).border_title = f"{self.action.capitalize()} {len(self.keys)} files from {self.storage_name}"
191
191
 
192
192
  if self.action == "download":
193
193
  self.active_worker = self.run_worker(self.download_files, thread=True)
@@ -447,9 +447,7 @@ class StorageActionProgressScreen(ModalScreen):
447
447
  self.files_has_been_processed = True
448
448
  self.active_executor = None
449
449
  try:
450
- await self.query_one(
451
- f"#progress_file_details_{key.uuid}", Label
452
- ).remove()
450
+ self.query_one(f"#progress_file_details_{key.uuid}", Label).remove()
453
451
  except NoMatches:
454
452
  self.log(f"Failed to remove progress details for {key.uuid}")
455
453
  main_progress_bar.advance(1)
File without changes
File without changes