arnmatch 0.3.1__tar.gz → 2026.1.0__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.
@@ -54,5 +54,6 @@ Data flow: AWS docs → `scraper.py` → raw resources → `codegen.py` → `cod
54
54
 
55
55
  - Uses `uv` for package management (not pip)
56
56
  - Build system is hatchling with dynamic version from `src/arnmatch/__init__.py`
57
+ - **Versioning**: CalVer format `YYYY.MM.MICRO` (e.g., `2026.01.0`)
57
58
  - Always run `make build` before publishing to ensure patterns are current
58
59
  - Scraper cache lives in `.cache/` - delete if AWS docs change significantly
@@ -1,9 +1,21 @@
1
+ Metadata-Version: 2.4
2
+ Name: arnmatch
3
+ Version: 2026.1.0
4
+ Summary: Parse AWS ARNs into structured data (2000+ resource types)
5
+ Author-email: Andrey Gubarev <andrey@andreygubarev.com>
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
8
+
1
9
  # arnmatch
2
10
 
3
11
  Parse AWS ARNs into structured data.
4
12
 
5
13
  ![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue)
6
14
 
15
+ ## Why
16
+
17
+ AWS ARN formats are inconsistent. This problem was unsolved. Now it's solved (for 2000+ resource types from 300+ services). You're welcome.
18
+
7
19
  ## Features
8
20
 
9
21
  - Zero runtime dependencies
@@ -82,12 +94,18 @@ Properties:
82
94
 
83
95
  Exception raised when ARN parsing fails. Inherits from `ValueError`.
84
96
 
97
+ ## Versioning
98
+
99
+ This project uses [CalVer](https://calver.org/) with format `YYYY.MM.MICRO` (e.g., `2026.01.0`).
100
+
85
101
  ## Development
86
102
 
87
103
  Prerequisites: [uv](https://github.com/astral-sh/uv)
88
104
 
89
105
  ```bash
90
106
  make lint # Run ruff linter
107
+ make test # Run pytest tests
108
+ make check # Run lint and test
91
109
  make build # Build wheel and tarball
92
110
  make publish # Build and upload to PyPI
93
111
  make clean # Remove build artifacts
@@ -1,17 +1,13 @@
1
- Metadata-Version: 2.4
2
- Name: arnmatch
3
- Version: 0.3.1
4
- Summary: Parse AWS ARNs into structured data
5
- Author-email: Andrey Gubarev <andrey@andreygubarev.com>
6
- Requires-Python: >=3.10
7
- Description-Content-Type: text/markdown
8
-
9
1
  # arnmatch
10
2
 
11
3
  Parse AWS ARNs into structured data.
12
4
 
13
5
  ![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue)
14
6
 
7
+ ## Why
8
+
9
+ AWS ARN formats are inconsistent. This problem was unsolved. Now it's solved (for 2000+ resource types from 300+ services). You're welcome.
10
+
15
11
  ## Features
16
12
 
17
13
  - Zero runtime dependencies
@@ -90,12 +86,18 @@ Properties:
90
86
 
91
87
  Exception raised when ARN parsing fails. Inherits from `ValueError`.
92
88
 
89
+ ## Versioning
90
+
91
+ This project uses [CalVer](https://calver.org/) with format `YYYY.MM.MICRO` (e.g., `2026.01.0`).
92
+
93
93
  ## Development
94
94
 
95
95
  Prerequisites: [uv](https://github.com/astral-sh/uv)
96
96
 
97
97
  ```bash
98
98
  make lint # Run ruff linter
99
+ make test # Run pytest tests
100
+ make check # Run lint and test
99
101
  make build # Build wheel and tarball
100
102
  make publish # Build and upload to PyPI
101
103
  make clean # Remove build artifacts
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "arnmatch"
3
3
  dynamic = ["version"]
4
- description = "Parse AWS ARNs into structured data"
4
+ description = "Parse AWS ARNs into structured data (2000+ resource types)"
5
5
  readme = "README.md"
6
6
  authors = [
7
7
  { name = "Andrey Gubarev", email = "andrey@andreygubarev.com" }
@@ -1,6 +1,6 @@
1
1
  """ARN pattern matching using regex patterns."""
2
2
 
3
- __version__ = "0.3.1"
3
+ __version__ = "2026.01.0"
4
4
 
5
5
  import sys
6
6
  from dataclasses import dataclass
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes