Expand my Community achievements bar.

SOLVED

AEM - Python integration

Avatar

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

Avatar

Correct answer by
Administrator

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



Kautuk Sahni

View solution in original post

5 Replies

Avatar

Correct answer by
Administrator

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



Kautuk Sahni

Avatar

Level 2

Thanks for the response .

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

Avatar

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

Avatar

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

Avatar

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.