stratalint 0.0.1__py3-none-any.whl
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.
stratalint/__init__.py
ADDED
stratalint/__main__.py
ADDED
|
@@ -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())
|
|
@@ -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,7 @@
|
|
|
1
|
+
stratalint/__init__.py,sha256=6RGQ88_ozZhmbU6Jin2TX44YVA6imgP3VMZmhCALntQ,90
|
|
2
|
+
stratalint/__main__.py,sha256=6cMfW7OkrX6nUery2NGB3KKxbh2hbR5Zi7QLW1sSIvI,435
|
|
3
|
+
stratalint-0.0.1.dist-info/METADATA,sha256=cQyc6waTcT-tBIiqIGI5MFQqhZbDBoNhXh7yqUwCbUA,1714
|
|
4
|
+
stratalint-0.0.1.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
5
|
+
stratalint-0.0.1.dist-info/entry_points.txt,sha256=ISAclZCObxsCNHwOWGtXFXM-1OdoR0qgXg1A0JK-SaI,52
|
|
6
|
+
stratalint-0.0.1.dist-info/licenses/LICENSE,sha256=DwT8q-XdDuuzT1aESS7n6hJv72a3cOrIPVDlU0tr7fQ,1063
|
|
7
|
+
stratalint-0.0.1.dist-info/RECORD,,
|
|
@@ -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.
|