arn
A Python library for parsing AWS ARNs
Decision gist · record as of 2026-08-14
Yes, if you only need to parse ARNs for AWS services that existed before March 2021 and do not require ongoing maintenance. The package is simple, lightweight, and has no known vulnerabilities. No, if you need support for newer AWS services, expect active maintenance, or require a clear license statement—consider an alternative that is actively maintained.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is frictionless (pure Python wheel, single lightweight dependency on dataclasses).
- However, the package is abandoned—last release was 2021-03-05 and no commits since then—so expect no maintenance, bug fixes, or support for new AWS services.
License · maintenance · safety
(unclear) — License status is unclear; no SPDX identifier or raw license text is available. Verify the actual license (check the repository or package source) before using in proprietary or copyleft-sensitive projects.
last release 2021-03-05 (1988 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 162,413 downloads/mo, #10,605 on PyPI
Alternatives
Verify before relying
pip install arn
from arn.elbv2 import TargetGroupArn
arn_str = "arn:aws:elasticloadbalancing:us-east-1:123456789012:targetgroup/foo/abc"
arn_obj = TargetGroupArn(arn_str)
print(arn_obj.service, arn_obj.region, arn_obj.account)- Whether the package supports all current AWS service ARN types or only a subset of those defined at release time.
- Actual license terms (SPDX identifier and full text are missing from metadata).
- Whether abandoned status means the package will break with future AWS service changes or Python versions.
What it is and what it does
arn is a lightweight Python library that converts AWS ARN strings into typed objects, letting you access the standard ARN components (partition, service, region, account) and resource-specific fields (like target group name and ID) as object attributes instead of parsing strings manually. It provides service-specific classes (e.g., TargetGroupArn for ELBv2 resources) that know how to extract and validate the resource-type-specific parts of an ARN.
The library depends only on dataclasses and installs as a pure Python wheel with no compiled dependencies. However, it has been abandoned since March 2021 with no commits or releases since then. If you need to parse ARNs for services added after that date or rely on ongoing maintenance, this package will not receive updates.
Use it for
- Extract and validate AWS resource identifiers from ARN strings in automation scripts or infrastructure-as-code tools.
- Convert ARN strings into structured objects for logging, filtering, or policy generation in AWS tooling.
- Parse target group, load balancer, or other ELBv2 resource ARNs to access their components programmatically.
- Validate ARN format and extract account or region information for access control or resource tagging workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you only need to parse ARNs for AWS services that existed before March 2021 and do not require ongoing maintenance.
The package is simple, lightweight, and has no known vulnerabilities. No, if you need support for newer AWS services, expect active maintenance, or require a clear license statement—consider an alternative that is actively maintained.
Install
arn on PyPI
Before you install
Installation is frictionless (pure Python wheel, single lightweight dependency on dataclasses). However, the package is abandoned—last release was 2021-03-05 and no commits since then—so expect no maintenance, bug fixes, or support for new AWS services.
License in practice
License status is unclear; no SPDX identifier or raw license text is available. Verify the actual license (check the repository or package source) before using in proprietary or copyleft-sensitive projects.
Quickstart
pip install arn
from arn.elbv2 import TargetGroupArn
arn_str = "arn:aws:elasticloadbalancing:us-east-1:123456789012:targetgroup/foo/abc"
arn_obj = TargetGroupArn(arn_str)
print(arn_obj.service, arn_obj.region, arn_obj.account)
Verify before relying
- Whether the package supports all current AWS service ARN types or only a subset of those defined at release time.
- Actual license terms (SPDX identifier and full text are missing from metadata).
- Whether abandoned status means the package will break with future AWS service changes or Python versions.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedataclasses |
| Maintenance | Abandoned 1,988 days since the last release |
| First released | |
| Downloads | 162,413 / month, #10,605 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: arn-0.1.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “parse AWS ARN”
- arnParses AWS ARN strings into typed objects with structured access to…
- arnparseParses Amazon Resource Names (ARNs) into their component…
- policyuniverseParses and analyzes AWS IAM and Resource Policies, extracts…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also arnparse · policyuniverse · awacs · policy-sentry · aws-cdk.aws-s3 · aws-assume-role-lib · s3pathlib · aws-cdk.aws-dynamodb · pulumi-aws · aws-cdk.aws-elasticloadbalancingv2