a2a

raw JSON →
0.44 verified Mon Apr 27 auth: no python

a2a is a Python library for finding corresponding service offerings between Microsoft Azure and Amazon AWS. It helps map cloud services across the two major cloud providers. Current version: 0.44.

pip install a2a
error ModuleNotFoundError: No module named 'a2a'
cause Library not installed or installed in wrong environment.
fix
Run 'pip install a2a' in your active Python environment.
error AttributeError: module 'a2a' has no attribute 'get_match'
cause Using old import pattern 'import a2a' instead of 'from a2a import get_match'.
fix
Use 'from a2a import get_match'.
gotcha The library is still in early development (version 0.44) and APIs may change without notice. Pin your version in requirements.
fix Use a2a==0.44 in requirements.txt
deprecated The function 'match' from older versions is deprecated; use 'get_match' instead.
fix Replace 'from a2a import match' with 'from a2a import get_match'

Maps an Azure service name to its corresponding AWS service.

from a2a import get_match

result = get_match('Azure Virtual Machines', 'AWS')
print(result)