Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM - Python integration

priyadarshinic9
Level 2
Level 2

Hi,

I want to use Python scripts to create component in AEM.

Could some one guide me on this.

Regards,

Priya

1 Accepted Solution
kautuk_sahni
Correct answer by
Community Manager
Community Manager

Check this :- GitHub - Sensis/pyaem: Python client for Adobe Experience Manager (AEM) API

// PyAEM is a Python client for Adobe Experience Manager (AEM) API.

Also read this post :- AEM OSGI and PYTHON(yowsup)

// So you can create a service from which you can call Python scripts.

~kautuk

View solution in original post

5 Replies
kautuk_sahni
Correct answer by
Community Manager
Community Manager

Check this :- GitHub - Sensis/pyaem: Python client for Adobe Experience Manager (AEM) API

// PyAEM is a Python client for Adobe Experience Manager (AEM) API.

Also read this post :- AEM OSGI and PYTHON(yowsup)

// So you can create a service from which you can call Python scripts.

~kautuk

View solution in original post

priyadarshinic9
Level 2
Level 2

Thanks for the response .

Do i have to bundle python client to OSGI. Could you elaborate more on this.

MaxBarrass
Level 3
Level 3

nah mate you just run it outside of aem or using ansible

here is a more up to date version of that repo Ive been maintaining, it work on Py3.6 as well...

GitHub - wildone/pyaem: Python client for Adobe Experience Manager (AEM) API

pgleghorn1
Level 2
Level 2

Nice!

For ruby people there is also https://github.com/shinesolutions/ruby_aem which is pretty comprehensive, based on their swagger definition at https://github.com/shinesolutions/swagger-aem

Phil

cliffano
Level 2
Level 2

Author of those libraries here.

Thanks Phil for mentioning ruby_aem and swagger-aem .

The Python API client from the OpenAPI spec is also available on PyPI swaggeraem · PyPI 

While the Java client is available on Maven Central http://central.maven.org/maven2/com/shinesolutions/swaggeraem4j/

I have all the intention to build a Python/Java equivalent of ruby_aem, i.e. an SDK that's designed to be AEM resource oriented, comes with error handling along with a number of other niceties, but unfortunately it's not yet on my priority list.