Skip to main content

better-aws-tags

A unified Python interface for managing AWS resource tags.

AWS provides multiple tagging APIs across services, including the Resource Groups Tagging API and service-specific implementations such as EC2, S3, and IAM. This library abstracts these differences behind a single API that accepts any valid ARN and handles service routing automatically.

Getting Started

import better_aws_tags as bats

# Get tags for resources
tags = bats.get_tags(["arn:aws:s3:::my-bucket", "arn:aws:iam::123456789012:role/my-role"])

# Set tags on resources
bats.set_tags(["arn:aws:s3:::my-bucket"], {"Environment": "prod", "Team": "platform"})

How It Works

The library routes ARNs to the appropriate handler:

  1. Most resources use the Resource Groups Tagging API (1000+ supported resource types)
  2. Some IAM resources (roles, users, policies) require IAM-specific APIs

This routing is transparent - just pass ARNs and the library handles the rest.

Reference

AWS Resources and Resource Types:

Metadata

Release files for better-aws-tags 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for better-aws-tags 0.6.0
File Size Uploaded Provenance Actions
better_aws_tags-0.6.0.tar.gz 38.9 kB With provenance Details for better_aws_tags-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for better-aws-tags 0.6.0
File Interpreter ABI Platform Actions
better_aws_tags-0.6.0-py3-none-any.whl Python 3 none any Details for better_aws_tags-0.6.0-py3-none-any.whl

Total release size: 56.8 kB

Release files / better_aws_tags-0.6.0.tar.gz

Download URL better_aws_tags-0.6.0.tar.gz
Size 38.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b776eddb283525959baee7b4e983c581eb913c2aca20513d4b755daa60a9f3b3
BLAKE2b-256 checksum
How to use checksums
12240b9f363ee95346683ad5b126fb30717d7b3ba2628be805c9bafa0e0135af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.

Transparency log

Release files / better_aws_tags-0.6.0-py3-none-any.whl

Download URL better_aws_tags-0.6.0-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b9b3467f1664395816c532c6a4f234de6609f4147008c281c46afdfbec81a26
BLAKE2b-256 checksum
How to use checksums
75c49e31ee3bc369bcb5022172d785d216e5051a2fa333bd76da2168cced6941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.

Transparency log

Security for better-aws-tags 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for better_aws_tags-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page