stratalint 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 strata
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.4
2
+ Name: stratalint
3
+ Version: 0.0.1
4
+ Summary: Strata: a structural linter that enforces layers, module roles, and function shape in Python. Placeholder release.
5
+ Project-URL: Homepage, https://github.com/strata
6
+ Author: strata
7
+ License: MIT
8
+ License-File: LICENSE
9
+ Keywords: architecture,ast,boundaries,layers,lint,linter,static-analysis
10
+ Classifier: Development Status :: 1 - Planning
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Topic :: Software Development :: Quality Assurance
15
+ Requires-Python: >=3.9
16
+ Description-Content-Type: text/markdown
17
+
18
+ # Strata
19
+
20
+ > ruff tells you your code is wrong; strata tells you it's in the wrong place,
21
+ > the wrong shape, or lying about what it does.
22
+
23
+ **Strata** is a structural linter for Python. Where most linters check style and
24
+ correctness within a file, strata enforces *architecture*: which layers may
25
+ import from which, what role each module plays, how large and shaped an
26
+ orchestrator function may be, and whether names honor their contracts
27
+ (`validate_*` raises or passes, `write_*` is a sink, `on_*` is a callback).
28
+
29
+ It is designed for the LLM era: violation messages are written to be read by a
30
+ coding agent at the moment of the mistake, and the rule set can generate the
31
+ agent instructions that keep generated code compliant before the checker even
32
+ runs.
33
+
34
+ ## Status
35
+
36
+ Early / placeholder. This release reserves the package name. The tool is not
37
+ implemented yet.
38
+
39
+ ## Install
40
+
41
+ ```sh
42
+ pip install stratalint
43
+ ```
44
+
45
+ The command is `strata`; the PyPI package is `stratalint` (the `strata` name was
46
+ already taken on PyPI).
47
+
48
+ ```sh
49
+ strata
50
+ ```
51
+
52
+ ## License
53
+
54
+ MIT
@@ -0,0 +1,37 @@
1
+ # Strata
2
+
3
+ > ruff tells you your code is wrong; strata tells you it's in the wrong place,
4
+ > the wrong shape, or lying about what it does.
5
+
6
+ **Strata** is a structural linter for Python. Where most linters check style and
7
+ correctness within a file, strata enforces *architecture*: which layers may
8
+ import from which, what role each module plays, how large and shaped an
9
+ orchestrator function may be, and whether names honor their contracts
10
+ (`validate_*` raises or passes, `write_*` is a sink, `on_*` is a callback).
11
+
12
+ It is designed for the LLM era: violation messages are written to be read by a
13
+ coding agent at the moment of the mistake, and the rule set can generate the
14
+ agent instructions that keep generated code compliant before the checker even
15
+ runs.
16
+
17
+ ## Status
18
+
19
+ Early / placeholder. This release reserves the package name. The tool is not
20
+ implemented yet.
21
+
22
+ ## Install
23
+
24
+ ```sh
25
+ pip install stratalint
26
+ ```
27
+
28
+ The command is `strata`; the PyPI package is `stratalint` (the `strata` name was
29
+ already taken on PyPI).
30
+
31
+ ```sh
32
+ strata
33
+ ```
34
+
35
+ ## License
36
+
37
+ MIT
@@ -0,0 +1,38 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "stratalint"
7
+ version = "0.0.1"
8
+ description = "Strata: a structural linter that enforces layers, module roles, and function shape in Python. Placeholder release."
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = { text = "MIT" }
12
+ authors = [{ name = "strata" }]
13
+ keywords = [
14
+ "lint",
15
+ "linter",
16
+ "architecture",
17
+ "layers",
18
+ "boundaries",
19
+ "static-analysis",
20
+ "ast",
21
+ ]
22
+ classifiers = [
23
+ "Development Status :: 1 - Planning",
24
+ "Intended Audience :: Developers",
25
+ "License :: OSI Approved :: MIT License",
26
+ "Programming Language :: Python :: 3",
27
+ "Topic :: Software Development :: Quality Assurance",
28
+ ]
29
+ dependencies = []
30
+
31
+ [project.urls]
32
+ Homepage = "https://github.com/strata"
33
+
34
+ [project.scripts]
35
+ strata = "stratalint.__main__:main"
36
+
37
+ [tool.hatch.build.targets.wheel]
38
+ packages = ["src/stratalint"]
@@ -0,0 +1,3 @@
1
+ """Strata: a structural linter for Python. Placeholder release."""
2
+
3
+ __version__ = "0.0.1"
@@ -0,0 +1,19 @@
1
+ """CLI entry point for the strata command (placeholder)."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import sys
6
+
7
+ from stratalint import __version__
8
+
9
+
10
+ def main() -> int:
11
+ """Print a placeholder notice and exit."""
12
+ print(f"strata {__version__}")
13
+ print("This is a placeholder release; the tool is not implemented yet.")
14
+ print("Project: https://github.com/strata")
15
+ return 0
16
+
17
+
18
+ if __name__ == "__main__":
19
+ sys.exit(main())