Intel® Business Client Software Development
Support for Intel® vPro™ software development and technologies associated with Intel vPro platforms.

Intel AMT to Python

leonardoborges
Beginner
1,150 Views
Hi guys!

I have a C++ file that import 3 AMT's C++ files. But this files imports lots of some others AMT's C++ files.
I'd like to know if there's a Intel AMT SDK for Python? If don't, is there a easy way to wrap C++ AMT's code for Python?
0 Kudos
4 Replies
Judy_H_Intel
Employee
1,149 Views
Hi Leonardo,
Thanks for your post. Sorry to say, there isn't a Python AMT SDK. I'm not familiar with how Python works with C++, so I can't answer on wrapping the C++ code for Python. Maybe someone else in the community could answer that question?

Cheers,
Judy
0 Kudos
RBens2
Valued Contributor I
1,149 Views
Instead of looking at importing the C++ modules into Python, I would look into grabbing the .Net scriptable libraries that were written to allow Powershell to interact with AMT. The DLL is written to be scriptable, so you should probably be able to get it integrated with Python much the same as you would integrate any .Net module. I haven't actually tried this, but I think that it would work.

Regards,
Roger
0 Kudos
leonardoborges
Beginner
1,149 Views
Thanks for your replies!
I'm trying to "wrap" C++ and Python now, using SWIG. But I'm new using this feature and I'm getting some (lots actually) of errors.
I have to had 2 files, I guess: a Windows and a Linux "wrapper file". If anyone have a clue of how, please let me know.
Otherwise, when I'm done of those modules, I'll post the way I did it. Maybe can be helpful to other developers.
0 Kudos
Rao__Vinay
Beginner
1,149 Views

There seems to be an early version of  Python "Tools for interacting with Intel's AMT" 

https://pypi.python.org/pypi/amt/0.2.0

https://github.com/sdague/amt

0 Kudos
Reply