Catalog PyPI
PACKAGE EXPLORERView in registry

aam-py

PyPI

Python bindings for the aam-rs AAML configuration parser

Versions collected1
Direct dependencies0From release 2.9.0
Last observed20 Oct, 16:59 UTC

README

Version 2.9.0 documentation

aam-rs Python bindings

Python bindings for aam-rs with support for parsing, merging, reverse lookups, and deep alias resolution.

Install

pip install aam-py

Quick start

from aam_py import AAML

doc = AAML.parse("host = localhost\nport = 8080")
print(doc.find_obj("host"))

More examples

from aam_py import AAML

doc = AAML.parse("""
root = /srv/app
active = root
env = production
""")

print(doc.find_deep("active"))      # /srv/app
print(doc.find_key("production"))   # env
print(doc.find_obj("production"))   # env (reverse lookup fallback)
doc = AAML.parse("a = 1")
doc.merge_content("b = 2\na = 3")
print(doc.find_obj("a"))  # 3
print(doc.find_obj("b"))  # 2

AAML syntax refresher

# comments
host = localhost
port = 8080

@import common.aam

base = /srv
current = base

Local development checks

cargo test

If you work on packaging/bindings, also run the relevant CI matrix jobs from this repository.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2.9.016 Jul 20260

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:59 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:63b0a3eb5deed59398fe296fbf046677b4cdd2153de13ac5d21fdcb99b1b93f7