fast-clean 0.1.1__tar.gz → 0.1.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 (75) hide show
  1. {fast_clean-0.1.1 → fast_clean-0.1.3}/PKG-INFO +5 -4
  2. fast_clean-0.1.3/README.md +13 -0
  3. fast_clean-0.1.3/fast_clean/__init__.py +3 -0
  4. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/depends.py +1 -1
  5. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/storage/reader.py +1 -1
  6. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/settings.py +1 -1
  7. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean.egg-info/PKG-INFO +5 -4
  8. {fast_clean-0.1.1 → fast_clean-0.1.3}/pyproject.toml +14 -1
  9. fast_clean-0.1.1/README.md +0 -13
  10. fast_clean-0.1.1/fast_clean/__init__.py +0 -3
  11. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/broker.py +0 -0
  12. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/container.py +0 -0
  13. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/contrib/__init__.py +0 -0
  14. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/contrib/healthcheck/__init__.py +0 -0
  15. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/contrib/healthcheck/router.py +0 -0
  16. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/db.py +0 -0
  17. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/enums.py +0 -0
  18. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/exceptions.py +0 -0
  19. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/loggers.py +0 -0
  20. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/middleware.py +0 -0
  21. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/models.py +0 -0
  22. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/redis.py +0 -0
  23. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/__init__.py +0 -0
  24. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/cache/__init__.py +0 -0
  25. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/cache/in_memory.py +0 -0
  26. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/cache/redis.py +0 -0
  27. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/crud/__init__.py +0 -0
  28. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/crud/db.py +0 -0
  29. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/crud/in_memory.py +0 -0
  30. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/crud/type_vars.py +0 -0
  31. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/settings/__init__.py +0 -0
  32. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/settings/enums.py +0 -0
  33. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/settings/env.py +0 -0
  34. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/settings/exceptions.py +0 -0
  35. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/settings/type_vars.py +0 -0
  36. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/storage/__init__.py +0 -0
  37. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/storage/enums.py +0 -0
  38. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/storage/local.py +0 -0
  39. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/storage/s3.py +0 -0
  40. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/repositories/storage/schemas.py +0 -0
  41. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/schemas/__init__.py +0 -0
  42. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/schemas/exceptions.py +0 -0
  43. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/schemas/pagination.py +0 -0
  44. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/schemas/repository.py +0 -0
  45. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/schemas/request_response.py +0 -0
  46. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/schemas/status_response.py +0 -0
  47. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/services/__init__.py +0 -0
  48. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/services/cryptography/__init__.py +0 -0
  49. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/services/cryptography/aes.py +0 -0
  50. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/services/cryptography/enums.py +0 -0
  51. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/services/lock.py +0 -0
  52. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/services/seed.py +0 -0
  53. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/services/transaction.py +0 -0
  54. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/tools/__init__.py +0 -0
  55. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/tools/cryptography.py +0 -0
  56. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/tools/load_seed.py +0 -0
  57. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/use_cases.py +0 -0
  58. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/utils/__init__.py +0 -0
  59. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/utils/process.py +0 -0
  60. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/utils/pydantic.py +0 -0
  61. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/utils/ssl_context.py +0 -0
  62. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/utils/string.py +0 -0
  63. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/utils/thread.py +0 -0
  64. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/utils/time.py +0 -0
  65. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/utils/type_converters.py +0 -0
  66. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean/utils/typer.py +0 -0
  67. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean.egg-info/SOURCES.txt +0 -0
  68. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean.egg-info/dependency_links.txt +0 -0
  69. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean.egg-info/requires.txt +0 -0
  70. {fast_clean-0.1.1 → fast_clean-0.1.3}/fast_clean.egg-info/top_level.txt +0 -0
  71. {fast_clean-0.1.1 → fast_clean-0.1.3}/setup.cfg +0 -0
  72. {fast_clean-0.1.1 → fast_clean-0.1.3}/tests/test_broker.py +0 -0
  73. {fast_clean-0.1.1 → fast_clean-0.1.3}/tests/test_container.py +0 -0
  74. {fast_clean-0.1.1 → fast_clean-0.1.3}/tests/test_db.py +0 -0
  75. {fast_clean-0.1.1 → fast_clean-0.1.3}/tests/test_exceptions.py +0 -0
@@ -1,7 +1,8 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fast-clean
3
- Version: 0.1.1
3
+ Version: 0.1.3
4
4
  Summary: FastAPI Clean Architecture implementation
5
+ Author-email: Luferov Victor <luferovvs@yandex.ru>, Orlov Artem <squakrazv@yandex.ru>
5
6
  Requires-Python: >=3.12
6
7
  Description-Content-Type: text/markdown
7
8
  Requires-Dist: aiofiles>=24.1.0
@@ -31,7 +32,7 @@ FastAPI clean architecture implementation
31
32
  ## Contribution
32
33
 
33
34
  ```
34
- git clone
35
- uv sync
36
- pre-commit install
35
+ git clone git@github.com:Luferov/fast-clean.git
36
+ uv sync --all-extras --dev
37
+ uv run pre-commit install
37
38
  ```
@@ -0,0 +1,13 @@
1
+ # FastClean
2
+
3
+ FastAPI clean architecture implementation
4
+
5
+
6
+
7
+ ## Contribution
8
+
9
+ ```
10
+ git clone git@github.com:Luferov/fast-clean.git
11
+ uv sync --all-extras --dev
12
+ uv run pre-commit install
13
+ ```
@@ -0,0 +1,3 @@
1
+ """
2
+ FastAPI clean architecture implementation.
3
+ """
@@ -171,7 +171,7 @@ async def get_storage_repository(
171
171
  StorageTypeEnum.S3,
172
172
  S3StorageParamsSchema.model_validate(storage_settings.s3.model_dump()),
173
173
  )
174
- elif storage_settings.provider == 'local' and storage_settings.dir is not None:
174
+ elif storage_settings.provider == 'local':
175
175
  return await storage_repository_factory.make(
176
176
  StorageTypeEnum.LOCAL, LocalStorageParamsSchema(path=storage_settings.dir)
177
177
  )
@@ -8,7 +8,7 @@ from typing import Protocol, Self
8
8
  from aiofiles.threadpool.binary import AsyncBufferedReader
9
9
  from aiohttp import ClientResponse
10
10
 
11
- READ_SIZE = 1024
11
+ READ_SIZE = 5 * 1024 * 1024
12
12
 
13
13
 
14
14
  class StreamReadSyncProtocol(Protocol):
@@ -126,7 +126,7 @@ class CoreKafkaSettingsSchema(BaseModel):
126
126
  case 'SASL':
127
127
  for field in ('broker_username', 'broker_password'):
128
128
  assert bool(getattr(self, field)), f'{field} must be set when credentials={self.credentials}'
129
- case None:
129
+ case _:
130
130
  ...
131
131
  return self
132
132
 
@@ -1,7 +1,8 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fast-clean
3
- Version: 0.1.1
3
+ Version: 0.1.3
4
4
  Summary: FastAPI Clean Architecture implementation
5
+ Author-email: Luferov Victor <luferovvs@yandex.ru>, Orlov Artem <squakrazv@yandex.ru>
5
6
  Requires-Python: >=3.12
6
7
  Description-Content-Type: text/markdown
7
8
  Requires-Dist: aiofiles>=24.1.0
@@ -31,7 +32,7 @@ FastAPI clean architecture implementation
31
32
  ## Contribution
32
33
 
33
34
  ```
34
- git clone
35
- uv sync
36
- pre-commit install
35
+ git clone git@github.com:Luferov/fast-clean.git
36
+ uv sync --all-extras --dev
37
+ uv run pre-commit install
37
38
  ```
@@ -1,9 +1,13 @@
1
1
  [project]
2
2
  name = "fast-clean"
3
- version = "0.1.1"
3
+ version = "0.1.3"
4
4
  description = "FastAPI Clean Architecture implementation"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
7
+ authors = [
8
+ {name = "Luferov Victor", email = "luferovvs@yandex.ru"},
9
+ {name = "Orlov Artem", email = "squakrazv@yandex.ru"},
10
+ ]
7
11
  dependencies = [
8
12
  "aiofiles>=24.1.0",
9
13
  "aiokafka>=0.12.0",
@@ -91,3 +95,12 @@ testpaths = "tests"
91
95
  files = ["fast_clean", "tests"]
92
96
  disable_error_code = "import-untyped"
93
97
  strict_optional = false
98
+
99
+ [tool.semantic_release]
100
+ version_toml = [
101
+ "pyproject.toml:project.version"
102
+ ]
103
+ commit_message = "chore(release): {version} [skip ci]"
104
+ branch = "main"
105
+ upload_to_pypi = false
106
+ upload_to_release = true
@@ -1,13 +0,0 @@
1
- # FastClean
2
-
3
- FastAPI clean architecture implementation
4
-
5
-
6
-
7
- ## Contribution
8
-
9
- ```
10
- git clone
11
- uv sync
12
- pre-commit install
13
- ```
@@ -1,3 +0,0 @@
1
- """
2
- Библиотека ядра VoiceAI solution.
3
- """
File without changes
File without changes
File without changes