Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 793 Bytes

File metadata and controls

24 lines (18 loc) · 793 Bytes

Interfaces Guide

Layout

Interfaces are grouped by responsibility:

  • interfaces/application: services and facades.
  • interfaces/auth: authentication, authorization, ownership, password hashing, and token services.
  • interfaces/data: repositories, queries, caches, and serializers.
  • interfaces/database: connector and transaction boundaries.
  • interfaces/files: parsers, writers, and spreadsheet writers.
  • interfaces/integration: external APIs, Redis, queues, and outbox.
  • interfaces/middleware: request context processing.
  • interfaces/observability: logging and exception reporting.

Rule

Use grouped imports in new code:

from python_core.interfaces.data.repository import Repository
from python_core.interfaces.application.facade import Facade