arnmatch 0.3.0__tar.gz → 0.3.2__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,23 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - uses: astral-sh/setup-uv@v5
18
+
19
+ - name: Build package
20
+ run: uv build
21
+
22
+ - name: Publish to PyPI
23
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -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
@@ -4,6 +4,10 @@ Parse AWS ARNs into structured data.
4
4
 
5
5
  ![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue)
6
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
+
7
11
  ## Features
8
12
 
9
13
  - Zero runtime dependencies
@@ -23,7 +27,7 @@ pip install arnmatch
23
27
  ### CLI
24
28
 
25
29
  ```bash
26
- $ arnmatch "arn:aws:lambda:us-east-1:123456789012:function:my-function"
30
+ $ uvx arnmatch "arn:aws:lambda:us-east-1:123456789012:function:my-function"
27
31
  aws_service: lambda
28
32
  aws_region: us-east-1
29
33
  aws_account: 123456789012
@@ -88,6 +92,8 @@ Prerequisites: [uv](https://github.com/astral-sh/uv)
88
92
 
89
93
  ```bash
90
94
  make lint # Run ruff linter
95
+ make test # Run pytest tests
96
+ make check # Run lint and test
91
97
  make build # Build wheel and tarball
92
98
  make publish # Build and upload to PyPI
93
99
  make clean # Remove build artifacts
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "arnmatch"
3
3
  dynamic = ["version"]
4
- description = "arnmatch - 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.0"
3
+ __version__ = "0.3.2"
4
4
 
5
5
  import sys
6
6
  from dataclasses import dataclass
@@ -1,18 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "mcp__plugin_adaptivegears_adaptivegears__search",
5
- "mcp__plugin_adaptivegears_adaptivegears__read",
6
- "Bash(uv init:*)",
7
- "Bash(uv venv:*)",
8
- "Bash(uv add:*)",
9
- "Bash(uv run:*)",
10
- "Bash(uv sync:*)",
11
- "Bash(make lint:*)",
12
- "Bash(make check:*)"
13
- ]
14
- },
15
- "enabledPlugins": {
16
- "adaptivegears@adaptivegears-marketplace": true
17
- }
18
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes