Skip to main content

pylint-hexagonal

PyPI - Version PyPI - Python Version


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:

  1. Core modules must not import from adapters
  2. Adapter modules must not import from other adapters
  3. Adapter modules modules should only import from the ports subpackage of the core.
  4. 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.

Metadata

Release files for pylint-hexagonal 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylint-hexagonal 0.0.1
File Size Uploaded Provenance
pylint_hexagonal-0.0.1.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pylint-hexagonal 0.0.1
File Interpreter ABI Platform
pylint_hexagonal-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / pylint_hexagonal-0.0.1.tar.gz

Download URL pylint_hexagonal-0.0.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b35bf008e7394e26be5bf834c155a2c02495a132897058fd08d05d19026498f
BLAKE2b-256 checksum
How to use checksums
041e2e951b99713272fadcc68c1f7d91c962e86d7b547f0227f8680325a2825b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Release files / pylint_hexagonal-0.0.1-py3-none-any.whl

Download URL pylint_hexagonal-0.0.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5a100cf796501c496649c6255c88d3f1a29ec573ea79e563663a4f84c6d7432
BLAKE2b-256 checksum
How to use checksums
35bcce931e1e0d72991778551d4cdb9a14346b5760ad3d6e51b80a8656c9ca4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.0

Security for pylint-hexagonal 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page