pylint-hexagonal 0.0.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

pylinthexagonal 0.0.1

pylint-hexagonal



Table of Contents

Introduction
Installation
License

Introduction
This is a pylint plugin for use with a with a package structure as follows:
example/
├── adapters
│ ├── api
│ │ └── api.py
│ └── db
│ └── db.py
└── core
├── application
│ └── service.py
├── domain
│ └── aggregate.py
└── ports
├── primary
│ └── serviceport.py
└── secondary
└── daoport.py

The checker validates the following hexagonal architecure rules:

Core modules must not import from adapters
Adapter modules must not import from other adapters
Adapter modules modules should only import from the ports subpackage of the core.
Ports should not include any logic (abstract classes and methods only)

Installation
pip install pylint-hexagonal

License
pylint-hexagonal is distributed under the terms of the MIT license.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.