Strata: a structural linter that enforces layers, module roles, and function shape in Python. Placeholder release.
Project description
Strata
ruff tells you your code is wrong; strata tells you it's in the wrong place, the wrong shape, or lying about what it does.
Strata is a structural linter for Python. Where most linters check style and
correctness within a file, strata enforces architecture: which layers may
import from which, what role each module plays, how large and shaped an
orchestrator function may be, and whether names honor their contracts
(validate_* raises or passes, write_* is a sink, on_* is a callback).
It is designed for the LLM era: violation messages are written to be read by a coding agent at the moment of the mistake, and the rule set can generate the agent instructions that keep generated code compliant before the checker even runs.
Status
Early / placeholder. This release reserves the package name. The tool is not implemented yet.
Install
pip install stratalint
The command is strata; the PyPI package is stratalint (the strata name was
already taken on PyPI).
strata
License
MIT
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stratalint-0.0.1.tar.gz.
File metadata
- Download URL: stratalint-0.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15a61208a62ab92c5823e43bb0ced93f7e3282cf6631b951f13844aeb95139f0
|
|
| MD5 |
2fbeccb0c636bdb965cc11ce9ae71e07
|
|
| BLAKE2b-256 |
c15d3900f5eae0061ae8e84f7b492f197ced232150ec27475938f98c29cf1a49
|
File details
Details for the file stratalint-0.0.1-py3-none-any.whl.
File metadata
- Download URL: stratalint-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c5f695363bc64de2d32772b43f624257c1dbe918e2e81d35b3819cee0129ff8
|
|
| MD5 |
1a607d258d3e643dd08e2125ffdb62dd
|
|
| BLAKE2b-256 |
17d6d68bf42673ffd85768c11bb10302bc92c39374fe67911c96c5a3b60f3a26
|