Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dbunt1tled/python-fast-api
/ functions
Functions
288 in github.com/dbunt1tled/python-fast-api
⨍
Functions
288
◇
Types & classes
105
↓ 1 callers
Method
handle
(self, context: MessageContext)
src/core/rabbit_mq/message_handler.py:21
↓ 1 callers
Function
import_entities
(package)
src/database/migrations/env.py:44
↓ 1 callers
Method
initialize_container
(self)
src/cmd/cli_command_base.py:17
↓ 1 callers
Function
is_enum_value
(enum_class: Type[Enum], value: Any)
src/core/service/functions.py:14
↓ 1 callers
Method
log
(self)
src/cmd/cli_command_base.py:30
↓ 1 callers
Method
log_request_exception
(self, request: Request, e: BaseException, body_request: str, duration_ms: float)
src/core/log/log.py:134
↓ 1 callers
Method
log_request_full
( self, request: Request, status_code: int, body_request: str, body_response: str, duration_ms: float
src/core/log/log.py:112
↓ 1 callers
Method
login
(self, email: str, password: str)
src/app/auth/service/auth_service.py:24
↓ 1 callers
Function
memory_usage
()
src/core/service/statistics.py:8
↓ 1 callers
Method
new_by_user_id
(self, uid: int | list[int])
src/app/user_notification/service/user_notification_service.py:44
↓ 1 callers
Method
register_handler
(self, handler: MessageHandler)
src/core/rabbit_mq/consumer.py:63
↓ 1 callers
Method
remove_connection
(self, user_id: str, websocket: WebSocket)
src/app/ws/service/ws_service.py:83
↓ 1 callers
Method
render_template
(self, template_name: str, context: dict[str, Any] | None = None)
src/core/service/email/view_service.py:59
↓ 1 callers
Function
run_async_migrations
()
src/database/migrations/env.py:81
↓ 1 callers
Function
run_migrations_offline
()
src/database/migrations/env.py:55
↓ 1 callers
Function
run_migrations_online
()
src/database/migrations/env.py:99
↓ 1 callers
Method
send_confirm_email
(self, user: User)
src/app/auth/service/auth_service.py:71
↓ 1 callers
Method
send_email
(self, message: EMessage)
src/core/service/email/email_service.py:28
↓ 1 callers
Method
send_email
(self, message: EMessage)
src/core/rabbit_mq/rmq_service.py:10
↓ 1 callers
Method
send_heartbeat
(self, websocket: WebSocket)
src/app/ws/service/ws_service.py:88
↓ 1 callers
Method
session
(self)
src/core/db/asmysql.py:34
↓ 1 callers
Method
setup
(self)
src/core/log/log.py:38
↓ 1 callers
Function
setup_path
()
src/cmd/email_worker.py:6
↓ 1 callers
Method
start
(self)
src/core/rabbit_mq/worker.py:21
↓ 1 callers
Method
start
(cls)
src/cmd/cli_command_base.py:55
↓ 1 callers
Function
to_invert_case
(s: str)
src/core/service/functions.py:31
↓ 1 callers
Method
to_model
(self)
src/app/user_notification/dto/user_notification.py:20
↓ 1 callers
Method
to_user
(self)
src/app/user/dto/user.py:52
↓ 1 callers
Method
type
(self)
src/core/exception/exceptions.py:24
↓ 1 callers
Method
update
(self, uid: int, data: dict[str, Any])
src/app/user_notification/service/user_notification_service.py:23
↓ 1 callers
Method
verify_hash
(hash1: str, hash2: str)
src/core/service/hash_service.py:30
↓ 1 callers
Method
verify_password
(self, password: str, hashed_password: str)
src/core/service/hash_service.py:40
↓ 1 callers
Method
verify_x_api_key
(self, key: str)
src/core/service/hash_service.py:26
↓ 1 callers
Method
worker_start
(self)
src/app/ws/service/ws_service.py:96
↓ 1 callers
Method
worker_stop
(self)
src/app/ws/service/ws_service.py:99
Method
__init__
(self, application: BaseApplication, option: dict[str, Any] | None = None)
server.py:13
Method
__init__
(self, error_no: ErrorNo, message: str, inner_exception: Exception | None = None)
src/core/exception/exceptions.py:9
Method
__init__
(self, container: Container)
src/core/http/controller.py:13
Method
__init__
(self, app: ASGIApp, logger: Log)
src/core/http/middleware/logging.py:15
Method
__init__
( self, app: ASGIApp, hash_service: HashService, )
src/core/http/middleware/body_save.py:11
Method
__init__
( self, app: ASGIApp, hash_service: HashService, )
src/core/http/middleware/x_api_key_auth.py:14
Method
__init__
(self, app: ASGIApp, user_service: UserService, hash_service: HashService)
src/core/http/middleware/auth_bearer.py:30
Method
__init__
(self, container: Container)
src/core/http/response/response.py:62
Method
__init__
(self, container: Container)
src/core/http/response/api_response_service.py:25
Method
__init__
(self)
src/core/http/response/json_api.py:9
Method
__init__
(self, cfg: Settings)
src/core/service/hash_service.py:17
Method
__init__
( self, smtp_server: str, smtp_port: int, app_password: str, from_emai
src/core/service/email/email_service.py:16
Method
__init__
(self, template_dirs: str | list[str], app_url: str)
src/core/service/email/view_service.py:15
Method
__init__
( self, rmq_service: RMQService, view_service: ViewService, )
src/core/service/email/app_mail_service.py:10
Method
__init__
( self, token: str, token_type: TokenType, subject: str, expires_in: d
src/core/service/dto/token.py:20
Method
__init__
( self, app_name: str, env: str, service_name: str, loki_url: str,
src/core/log/log.py:16
Method
__init__
(self, logger, extra=None)
src/core/log/adapter/log_adapter.py:5
Method
__init__
(self, levels_to_loki: list[str] | None = None)
src/core/log/filter/loki_filter.py:5
Method
__init__
(self)
src/core/log/formatter/console.py:9
Method
__init__
( self, log: Log, )
src/core/web_socket/ws_manager.py:11
Method
__init__
(self, producer: AsyncRabbitMQProducer)
src/core/rabbit_mq/rmq_service.py:7
Method
__init__
( self, container: Container, )
src/core/rabbit_mq/message_handler.py:13
Method
__init__
( self, config: RabbitMQConfig, log: Log, )
src/core/rabbit_mq/producer.py:17
Method
__init__
(self, config: RabbitMQConfig, log: Log)
src/core/rabbit_mq/consumer.py:18
Method
__init__
(self, consumer: AsyncRabbitMQConsumer, queue: str, exchange: str, log: Log)
src/core/rabbit_mq/worker.py:9
Method
__init__
( self, dsn: str, )
src/core/db/asmysql.py:12
Method
__init__
(self, items: Sequence[T], total: int, page: int, per_page: int)
src/core/db/repository.py:103
Method
__init__
(self, db_config: MyDatabaseConfig, model: type[T], id_field: str = "id")
src/core/db/repository.py:115
Method
__init__
(self, enum_class, *args, **kwargs)
src/core/db/decorator/int_enum.py:8
Method
__init__
(self)
src/cmd/cli_command_base.py:13
Method
__init__
(self, app: FastAPI, container: Container)
src/app/user_notification/controller/user_notification_controller.py:13
Method
__init__
( self, user_notification_service: UserNotificationService, ws_manager: WSManager,
src/app/user_notification/service/ws_notification_service.py:15
Method
__init__
(self, user_notification_repository: UserNotificationRepository)
src/app/user_notification/service/user_notification_service.py:11
Method
__init__
(self, db_config: MyDatabaseConfig)
src/app/user_notification/repository/user_notification_repository.py:8
Method
__init__
(self, app: FastAPI, container: Container)
src/app/auth/controller/auth_controller.py:18
Method
__init__
( self, user_service: UserService, hash_service: HashService, app_email_servic
src/app/auth/service/auth_service.py:14
Method
__init__
(self, app: FastAPI, container: Container)
src/app/user/controller/user_controller.py:13
Method
__init__
(self, user_repository: UserRepository)
src/app/user/service/user_service.py:10
Method
__init__
(self, db_config: MyDatabaseConfig)
src/app/user/repository/user_repository.py:7
Method
__init__
( self, ws_manager: WSManager, hash_service: HashService, services: list[WSHan
src/app/ws/service/ws_service.py:20
Method
__init__
(self, app: FastAPI, container: Container)
src/app/ws/route/ws_controller.py:11
Method
__post_init__
(self)
src/core/db/repository.py:52
Method
__post_init__
(self)
src/app/ws/dto/income_message.py:16
Method
_create_channel
(self, queue_name: str)
src/core/rabbit_mq/consumer.py:74
Method
_format_currency
(amount: float, currency: str = "$")
src/core/service/email/view_service.py:103
Method
_format_date
(date_input: str | datetime, format_str: str = "%d.%m.%Y")
src/core/service/email/view_service.py:89
Method
_format_url
(path: str, query_params: dict[str, Any] | None = None, base_url: str = "")
src/core/service/email/view_service.py:116
Method
_truncate_words
(text: str, length: int = 50)
src/core/service/email/view_service.py:107
Method
add_connection
(self, user_id: str, websocket: WebSocket)
src/app/user_notification/service/ws_notification_service.py:25
Method
add_connection
(self, user_id: str, websocket: WebSocket)
src/app/ws/service/ws_handler.py:9
Method
broadcast
(self, data: dict[str, Any], exclude_user_id: list[str] | None = None)
src/core/web_socket/ws_manager.py:60
Method
can
(ws_type: WSType)
src/app/user_notification/service/ws_notification_service.py:85
Method
can
(ws_type: WSType)
src/app/ws/service/ws_handler.py:19
Method
can_handle
(self, action: str)
src/cmd/worker/email/send_email.py:10
Function
chunked
(iterable: list[T], size: int)
src/core/service/functions.py:26
Method
clear_cache
(self)
src/core/service/email/view_service.py:85
Method
close
(self)
src/core/rabbit_mq/consumer.py:48
Method
code
(self)
src/core/exception/exceptions.py:46
Method
code
(self)
src/core/exception/exceptions.py:54
Method
code
(self)
src/core/exception/exceptions.py:62
Method
code
(self)
src/core/exception/exceptions.py:70
Method
code
(self)
src/core/exception/exceptions.py:78
Method
code
(self)
src/core/exception/exceptions.py:86
Method
confirm_user
(self, req: ConfirmUserRequest = Depends())
src/app/auth/controller/auth_controller.py:52
Method
confirm_user
(self, jwt: str)
src/app/auth/service/auth_service.py:78
← previous
next →
101–200 of 288, ranked by callers