No project description provided
Project description
pylint-hexagonal
Table of Contents
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pylint_hexagonal-0.0.1.tar.gz
.
File metadata
- Download URL: pylint_hexagonal-0.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b35bf008e7394e26be5bf834c155a2c02495a132897058fd08d05d19026498f |
|
MD5 | 07e2350a9b1c544eeb3777c1a7bb056e |
|
BLAKE2b-256 | 041e2e951b99713272fadcc68c1f7d91c962e86d7b547f0227f8680325a2825b |
File details
Details for the file pylint_hexagonal-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pylint_hexagonal-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5a100cf796501c496649c6255c88d3f1a29ec573ea79e563663a4f84c6d7432 |
|
MD5 | 1dafbdc8fe5fbd110c9b71be35006a56 |
|
BLAKE2b-256 | 35bcce931e1e0d72991778551d4cdb9a14346b5760ad3d6e51b80a8656c9ca4b |