Casper van der Wel преди 2 години
родител
ревизия
07042ec3d0
променени са 35 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 0 0
      clean_python/base/__init__.py
  2. 0 0
      clean_python/base/application/manage.py
  3. 0 0
      clean_python/base/domain/__init__.py
  4. 0 0
      clean_python/base/domain/child_entity.py
  5. 0 0
      clean_python/base/domain/domain_event.py
  6. 0 0
      clean_python/base/domain/domain_service.py
  7. 0 0
      clean_python/base/domain/exceptions.py
  8. 0 0
      clean_python/base/domain/pagination.py
  9. 0 0
      clean_python/base/domain/repository.py
  10. 0 0
      clean_python/base/domain/root_entity.py
  11. 0 0
      clean_python/base/domain/value.py
  12. 0 0
      clean_python/base/domain/value_object.py
  13. 0 0
      clean_python/base/infrastructure/gateway.py
  14. 0 0
      clean_python/base/infrastructure/internal_gateway.py
  15. 0 0
      clean_python/base/infrastructure/now.py
  16. 0 0
      clean_python/base/infrastructure/tmpdir_provider.py
  17. 0 0
      clean_python/base/presentation/link.py
  18. 0 0
      clean_python/celery/celery_rmq_broker.py
  19. 0 0
      clean_python/dramatiq/async_actor.py
  20. 0 0
      clean_python/dramatiq/dramatiq_task_logger.py
  21. 0 0
      clean_python/dramatiq/sleep_task.py
  22. 0 0
      clean_python/fastapi/context.py
  23. 0 0
      clean_python/fastapi/error_responses.py
  24. 0 0
      clean_python/fastapi/fastapi_access_logger.py
  25. 0 0
      clean_python/fastapi/request_query.py
  26. 0 0
      clean_python/fastapi/resource.py
  27. 0 0
      clean_python/fastapi/service.py
  28. 0 0
      clean_python/fluentbit/fluentbit_gateway.py
  29. 0 0
      clean_python/oauth2/oauth2.py
  30. 0 0
      clean_python/sql/sql_gateway.py
  31. 0 0
      clean_python/sql/sql_provider.py
  32. 0 0
      clean_python/testing/attr_dict.py
  33. 0 0
      clean_python/testing/profilers.py
  34. 0 0
      clean_python/testing/testing.py
  35. 6 1
      pyproject.toml

+ 0 - 0
clean_python/child_entity.py → clean_python/base/__init__.py


+ 0 - 0
clean_python/manage.py → clean_python/base/application/manage.py


+ 0 - 0
clean_python/base/domain/__init__.py


+ 0 - 0
clean_python/base/domain/child_entity.py


+ 0 - 0
clean_python/domain_event.py → clean_python/base/domain/domain_event.py


+ 0 - 0
clean_python/domain_service.py → clean_python/base/domain/domain_service.py


+ 0 - 0
clean_python/exceptions.py → clean_python/base/domain/exceptions.py


+ 0 - 0
clean_python/pagination.py → clean_python/base/domain/pagination.py


+ 0 - 0
clean_python/repository.py → clean_python/base/domain/repository.py


+ 0 - 0
clean_python/root_entity.py → clean_python/base/domain/root_entity.py


+ 0 - 0
clean_python/value.py → clean_python/base/domain/value.py


+ 0 - 0
clean_python/value_object.py → clean_python/base/domain/value_object.py


+ 0 - 0
clean_python/gateway.py → clean_python/base/infrastructure/gateway.py


+ 0 - 0
clean_python/internal_gateway.py → clean_python/base/infrastructure/internal_gateway.py


+ 0 - 0
clean_python/now.py → clean_python/base/infrastructure/now.py


+ 0 - 0
clean_python/tmpdir_provider.py → clean_python/base/infrastructure/tmpdir_provider.py


+ 0 - 0
clean_python/link.py → clean_python/base/presentation/link.py


+ 0 - 0
clean_python/celery_rmq_broker.py → clean_python/celery/celery_rmq_broker.py


+ 0 - 0
clean_python/async_actor.py → clean_python/dramatiq/async_actor.py


+ 0 - 0
clean_python/dramatiq_task_logger.py → clean_python/dramatiq/dramatiq_task_logger.py


+ 0 - 0
clean_python/sleep_task.py → clean_python/dramatiq/sleep_task.py


+ 0 - 0
clean_python/context.py → clean_python/fastapi/context.py


+ 0 - 0
clean_python/error_responses.py → clean_python/fastapi/error_responses.py


+ 0 - 0
clean_python/fastapi_access_logger.py → clean_python/fastapi/fastapi_access_logger.py


+ 0 - 0
clean_python/request_query.py → clean_python/fastapi/request_query.py


+ 0 - 0
clean_python/resource.py → clean_python/fastapi/resource.py


+ 0 - 0
clean_python/service.py → clean_python/fastapi/service.py


+ 0 - 0
clean_python/fluentbit_gateway.py → clean_python/fluentbit/fluentbit_gateway.py


+ 0 - 0
clean_python/oauth2.py → clean_python/oauth2/oauth2.py


+ 0 - 0
clean_python/sql_gateway.py → clean_python/sql/sql_gateway.py


+ 0 - 0
clean_python/sql_provider.py → clean_python/sql/sql_provider.py


+ 0 - 0
clean_python/attr_dict.py → clean_python/testing/attr_dict.py


+ 0 - 0
clean_python/profilers.py → clean_python/testing/profilers.py


+ 0 - 0
clean_python/testing.py → clean_python/testing/testing.py


+ 6 - 1
pyproject.toml

@@ -10,7 +10,7 @@ license = {text = "MIT"}
 classifiers = ["Programming Language :: Python"]
 keywords = []
 requires-python = ">=3.7"
-dependencies = ["pydantic==1.*"]
+dependencies = ["pydantic==1.*", "inject", "asgiref"]
 dynamic = ["version"]
 
 [project.optional-dependencies]
@@ -18,6 +18,11 @@ test = [
     "pytest",
     "pytest-cov"
 ]
+dramatiq = ["dramatiq"]
+fastapi = ["fastapi"]
+auth = ["jwt"]
+fluentbit = ["fluentbit"]
+sql = ["sqlalchemy==2.*"]
 
 [project.urls]
 homepage = "https://github.com/nens/clean-python"