--- id: arn version: "0.1.5" license: unclear license_treatment: unclear maintenance: abandoned --- # arn — A Python library for parsing AWS ARNs License: unclear · Maintenance: abandoned · Downloads: 162.4K/mo ## 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 above — verify before relying. Parses AWS ARN strings into typed objects with structured access to partition, service, region, account, and resource-specific attributes. 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 pip install arn uv add arn poetry add arn ## Installing arn 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_current - Install friction: low - Maintenance: abandoned - Downloads: 162.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags parse AWS ARN, AWS ARN parser, ARN string parsing, AWS resource identifier, ARN to object, AWS ARN library, aws, parsing [View on SkillFed](https://skillfed.io/packages/arn) · [View on PyPI](https://pypi.org/project/arn/)