Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stratalint-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stratalint-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

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

Hashes for stratalint-0.0.1.tar.gz
Algorithm Hash digest
SHA256 15a61208a62ab92c5823e43bb0ced93f7e3282cf6631b951f13844aeb95139f0
MD5 2fbeccb0c636bdb965cc11ce9ae71e07
BLAKE2b-256 c15d3900f5eae0061ae8e84f7b492f197ced232150ec27475938f98c29cf1a49

See more details on using hashes here.

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

Hashes for stratalint-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c5f695363bc64de2d32772b43f624257c1dbe918e2e81d35b3819cee0129ff8
MD5 1a607d258d3e643dd08e2125ffdb62dd
BLAKE2b-256 17d6d68bf42673ffd85768c11bb10302bc92c39374fe67911c96c5a3b60f3a26

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page