fast-clean 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
fast_clean/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """
2
- Библиотека ядра VoiceAI solution.
2
+ FastAPI clean architecture implementation.
3
3
  """
fast_clean/depends.py CHANGED
@@ -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):
@@ -1,7 +1,8 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fast-clean
3
- Version: 0.1.1
3
+ Version: 0.1.2
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,8 +1,8 @@
1
- fast_clean/__init__.py,sha256=xEOHJfgSkBzaCmr8cPL8JQwu83Gm90s9cBkhGAdQaTw,56
1
+ fast_clean/__init__.py,sha256=sT4tb75t5PXws8W_7wpA0jNtNxkWPFLAMrPlDGS7RHw,51
2
2
  fast_clean/broker.py,sha256=CHnL4Jd6jF5gKgtUXi33j9QFG2EUM4uqhVqdLuxIrZs,4474
3
3
  fast_clean/container.py,sha256=i7ZLZY_UN6ohGn-PT3RgAkzRPza3-DWRfgRdoaeMBWU,9562
4
4
  fast_clean/db.py,sha256=d03D9cYHpq8iQ7ErAwZYggLhITmxD5feSr071kv0_x0,5507
5
- fast_clean/depends.py,sha256=HfdmVgd8GoWXy5WkvO_iNGWrMq11Bi-xRsFC3kpPrIk,8861
5
+ fast_clean/depends.py,sha256=94mIIfXoY7X_lm0xrcd15QjrGkyr_QLF0Om5byJNuJ0,8824
6
6
  fast_clean/enums.py,sha256=lPhC_2_r6YFby7Mq-9u_JSiuyZ0e57F2VxBfUwnBZ18,826
7
7
  fast_clean/exceptions.py,sha256=Sp-k-a5z1Gedu0slzj1-rORnr4GP1FXDHKCKRaJq-7o,9485
8
8
  fast_clean/loggers.py,sha256=hVvZSDMMxYnK-p_yyjd4R7SyHpmxQF3eKQEeMu9Q-jo,705
@@ -30,7 +30,7 @@ fast_clean/repositories/settings/type_vars.py,sha256=_Oe8x4JwwrN9WOVjLA05BN6gv7c
30
30
  fast_clean/repositories/storage/__init__.py,sha256=mP_2NTx_Ec19WCmxecJsbjvNjhy8Oj8001lJC-BTGB8,3582
31
31
  fast_clean/repositories/storage/enums.py,sha256=bS4L63aEXNaGnJql8A1jmsK4KY916cWnzTW5p_PyLmg,375
32
32
  fast_clean/repositories/storage/local.py,sha256=s5REPU7xczvzin13sKyZtFdiocrgAMk8bnDIbJ90KT4,4270
33
- fast_clean/repositories/storage/reader.py,sha256=7NS2FNmLWqUahscQWujQX_r2DLd67tEILTp4XNTtz5c,3288
33
+ fast_clean/repositories/storage/reader.py,sha256=yAxj51ITWJf0u-KGC3DJ0iTB3pDI1p9ixi_h0ZcWoZ4,3299
34
34
  fast_clean/repositories/storage/s3.py,sha256=GcJ0qo6RgMSCIOKdafSwH4kz1YHc_2cOYuvgxT81yvI,4302
35
35
  fast_clean/repositories/storage/schemas.py,sha256=etlogfK_1uUZPQjHWQN6LWy6-8YY2Sago3Zbf6p0KcQ,623
36
36
  fast_clean/schemas/__init__.py,sha256=u7U2j-QURCEIL_Gg3cQyp3oCbsT497lD3X54nqWDfzQ,1361
@@ -58,7 +58,7 @@ fast_clean/utils/thread.py,sha256=ChEWBLupnSEMq4Wro_aiW0QvCLUKedKc0TQFMu7Zg4g,56
58
58
  fast_clean/utils/time.py,sha256=nvavbtG4zR_gkrGSbsqKAsBdePxO3LuTeoISbFZIgn0,307
59
59
  fast_clean/utils/type_converters.py,sha256=bMEJeoQB9Q6Qok1-ppn4Ii8ZpIkZwJbD2IzCydSStHw,523
60
60
  fast_clean/utils/typer.py,sha256=1O7BsNGn68bBzNbj0-Ycfhv35WpLzwvYTKn510YNXQQ,663
61
- fast_clean-0.1.1.dist-info/METADATA,sha256=y45FkjNYQMT4Uj9humSiK8W8bn4eQuH1djdxvLL-1cY,880
62
- fast_clean-0.1.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
63
- fast_clean-0.1.1.dist-info/top_level.txt,sha256=QfsGs-QLmPCZWWPFOukD0zhMnokH68FoO2KeObl6ZIA,11
64
- fast_clean-0.1.1.dist-info/RECORD,,
61
+ fast_clean-0.1.2.dist-info/METADATA,sha256=sIBIfOzYiWYc8zm_8dV7GQ-NYbgqd1gFmn5AFx-zLyY,1030
62
+ fast_clean-0.1.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
63
+ fast_clean-0.1.2.dist-info/top_level.txt,sha256=QfsGs-QLmPCZWWPFOukD0zhMnokH68FoO2KeObl6ZIA,11
64
+ fast_clean-0.1.2.dist-info/RECORD,,