arnmatch 0.3.0__py3-none-any.whl → 0.3.2__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.
arnmatch/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """ARN pattern matching using regex patterns."""
2
2
 
3
- __version__ = "0.3.0"
3
+ __version__ = "0.3.2"
4
4
 
5
5
  import sys
6
6
  from dataclasses import dataclass
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arnmatch
3
- Version: 0.3.0
4
- Summary: arnmatch - parse AWS ARNs into structured data
3
+ Version: 0.3.2
4
+ Summary: Parse AWS ARNs into structured data (2000+ resource types)
5
5
  Author-email: Andrey Gubarev <andrey@andreygubarev.com>
6
6
  Requires-Python: >=3.10
7
7
  Description-Content-Type: text/markdown
@@ -12,6 +12,10 @@ Parse AWS ARNs into structured data.
12
12
 
13
13
  ![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue)
14
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
+
15
19
  ## Features
16
20
 
17
21
  - Zero runtime dependencies
@@ -31,7 +35,7 @@ pip install arnmatch
31
35
  ### CLI
32
36
 
33
37
  ```bash
34
- $ arnmatch "arn:aws:lambda:us-east-1:123456789012:function:my-function"
38
+ $ uvx arnmatch "arn:aws:lambda:us-east-1:123456789012:function:my-function"
35
39
  aws_service: lambda
36
40
  aws_region: us-east-1
37
41
  aws_account: 123456789012
@@ -96,6 +100,8 @@ Prerequisites: [uv](https://github.com/astral-sh/uv)
96
100
 
97
101
  ```bash
98
102
  make lint # Run ruff linter
103
+ make test # Run pytest tests
104
+ make check # Run lint and test
99
105
  make build # Build wheel and tarball
100
106
  make publish # Build and upload to PyPI
101
107
  make clean # Remove build artifacts
@@ -0,0 +1,6 @@
1
+ arnmatch/__init__.py,sha256=8eeYRwIu9WY-CPlujy06MCByeBDxvkuBxsC56J3avzU,3926
2
+ arnmatch/arn_patterns.py,sha256=_1ZzNbqTrHWrdMMQAvpu78cdrNmsLaFSpae3auPA7cI,351568
3
+ arnmatch-0.3.2.dist-info/METADATA,sha256=UUmTL6M_2-QKEUYUW8Xe75ghSvNW20U2Qa5IlGquh28,3033
4
+ arnmatch-0.3.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
5
+ arnmatch-0.3.2.dist-info/entry_points.txt,sha256=k4tR_yh3Rodi-BfwVhc_6TktgYhE7BfMy6s0Zzq6EFk,43
6
+ arnmatch-0.3.2.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- arnmatch/__init__.py,sha256=LHndisskoE9eNlKfd5g7Q41RUA3uV1kVE8bx_CsbwKw,3926
2
- arnmatch/arn_patterns.py,sha256=_1ZzNbqTrHWrdMMQAvpu78cdrNmsLaFSpae3auPA7cI,351568
3
- arnmatch-0.3.0.dist-info/METADATA,sha256=bBXvzguzL4mp_J-RSkfe2KZRbGUpZaBEVQhYdQzkcw8,2797
4
- arnmatch-0.3.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
5
- arnmatch-0.3.0.dist-info/entry_points.txt,sha256=k4tR_yh3Rodi-BfwVhc_6TktgYhE7BfMy6s0Zzq6EFk,43
6
- arnmatch-0.3.0.dist-info/RECORD,,