Also known as Ports and Adapters. It allows an application to easier be tested in isolation from external devices like databases or the web.
The Core logic is in the center. Database adapters and REST adapters plug into the Core.
class HexagonalArchitecture:\n def __init__(self):\n pass\n\n def execute(self):\n print('Executing Hexagonal Architecture')