$npx skillfedfor your agent

awacs

AWS Access Policy Language creation library

Worth itPyPI Software DevelopmentReleased Jun 2026808.6K downloads / moNew BSD licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — awacs-2.6.0-py3-none-any.whl
v2.6.0 · released 2026-06-07 · Python >=3.9

Yes. awacs is actively maintained, has no dependencies, supports current Python versions, carries no known vulnerabilities, and solves a real problem—writing AWS policies in code with validation. Use it if you're building infrastructure-as-code that needs to generate IAM policies programmatically.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation with no runtime dependencies.
  • Active maintenance—last commit 2026-08-10, release 68 days ago—and supports current Python versions (3.9 through 3.14).

License · maintenance · safety

New BSD license (permissive) — Licensed under New BSD (permissive), so you can use and modify freely in commercial or private projects with minimal restrictions.

last release 2026-06-07 (68 days) · last repo commit 2026-08-10 · 393 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 808,633 downloads/mo, #5,013 on PyPI

Verify before relying

pip install awacs

from awacs.aws import PolicyDocument, Statement, Allow, Action, Principal
from awacs.iam import ARN as IAM_ARN
from awacs.s3 import ARN as S3_ARN

pd = PolicyDocument(
    Version="2012-10-17",
    Statement=[
        Statement(
            Effect=Allow,
            Principal=Principal("AWS", [IAM_ARN("user/Bob", "", "123456789012")]),
            Action=[Action("s3", "*")],
            Resource=[S3_ARN("my_corporate_bucket/*")],
        ),
    ],
)
print(pd.to_json())
  • Whether the deprecated awacs.aws.Policy object is still functional or already removed in version 2.6.0
  • Scope of built-in property and type checking—which validation errors are caught at definition time vs. serialization time
Same gist for agents: .md · .json

What it is and what it does

awacs is a Python library for programmatically building AWS IAM access policies as JSON. Instead of hand-writing policy JSON, you write Python code using awacs classes like PolicyDocument, Statement, Principal, and Action, then serialize to JSON. The library validates policy structure and types as you build, catching common errors before the policy reaches AWS.

It's designed to work with AWS IAM, S3, and other AWS services that accept policy documents. The library has no runtime dependencies, making it lightweight to add to infrastructure-as-code projects. It's actively maintained and supports Python 3.9 and later.

Use it for

  • Generate S3 bucket policies programmatically with validated principals, actions, and resources
  • Build IAM role trust policies in code rather than JSON templates
  • Create reusable policy templates by parameterizing awacs objects with account IDs and resource ARNs
  • Catch policy syntax errors during development instead of at AWS deployment time

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

awacs is actively maintained, has no dependencies, supports current Python versions, carries no known vulnerabilities, and solves a real problem—writing AWS policies in code with validation. Use it if you're building infrastructure-as-code that needs to generate IAM policies programmatically.

Install

awacs on PyPI

Before you install

Low friction installation with no runtime dependencies. Active maintenance—last commit 2026-08-10, release 68 days ago—and supports current Python versions (3.9 through 3.14).

License in practice

Licensed under New BSD (permissive), so you can use and modify freely in commercial or private projects with minimal restrictions.

Quickstart

pip install awacs

from awacs.aws import PolicyDocument, Statement, Allow, Action, Principal
from awacs.iam import ARN as IAM_ARN
from awacs.s3 import ARN as S3_ARN

pd = PolicyDocument(
    Version="2012-10-17",
    Statement=[
        Statement(
            Effect=Allow,
            Principal=Principal("AWS", [IAM_ARN("user/Bob", "", "123456789012")]),
            Action=[Action("s3", "*")],
            Resource=[S3_ARN("my_corporate_bucket/*")],
        ),
    ],
)
print(pd.to_json())

Verify before relying

  • Whether the deprecated awacs.aws.Policy object is still functional or already removed in version 2.6.0
  • Scope of built-in property and type checking—which validation errors are caught at definition time vs. serialization time

Package facts

LicenseNew BSD license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 68 days since the last release
Last repo commit
First released
Downloads808,633 / month, #5,013 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Evidence: awacs-2.6.0-py3-none-any.whl

Tags

Capabilities
AWS IAM policy generatorAWS access control policy PythonAWS policy JSON builderIAM policy as codeAWS policy validation
Topics
aws-iampolicy-as-codeinfrastructure

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 › “AWS access control policy Python”

  • awacsawacs generates AWS IAM policy JSON from Python code, with built-in…
  • policy-sentryPolicy Sentry generates least-privilege AWS IAM policies from…
  • 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

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

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.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

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.

permissive licensepure Python
323.3Mdownloads / mo

See also policy-sentry · policyuniverse · troposphere · aws-cdk.aws-iam · arn · aws-msk-iam-sasl-signer-python · py-iam-expand · cdk-iam-floyd · cloudsplaining · iamdata