# Karamba API for python

**URL:** <https://discourse.mcneel.com/t/karamba-api-for-python/141111>\
**Category:** Karamba3D\
**Tags:** windows, python, rhino7\
**Created:** [April 14, 2022, 1:09pm UTC](https://discourse.mcneel.com/t/karamba-api-for-python/141111 "2022-04-14T13:09:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![keerthana](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/keerthana/32/566379_2.png) [@keerthana](https://discourse.mcneel.com/u/keerthana)\
**Post date:** [April 14, 2022, 1:09pm UTC](https://discourse.mcneel.com/t/karamba-api-for-python/141111/1 "2022-04-14T13:09:39Z")

</div>

Hi there!

I am trying to set up an entire Karamba analysis pipeline in python so that I can integrate it with other geometry algorithms that I’m using for my project.

I was happy to find this docs page for the Karamaba API

> **[Karamba.Loads Namespace](https://www.karamba3d.com/help/1-3-3/html/26211ec4-7660-0d05-9a0d-500db892a2c6.htm)**
>
> Classes that represent loads. They are 'builders' which create C++ load-objects but do not directly reference them.

however, there were no python examples in the docs. is the API compatible with python? can I script in python by referencing the docs here?

thanks!

---

<div class="post-metadata">

**Author:** ![anandshah3193](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/anandshah3193/32/373316_2.png) [@anandshah3193](https://discourse.mcneel.com/u/anandshah3193)\
**Post date:** [April 16, 2022, 9:50am UTC](https://discourse.mcneel.com/t/karamba-api-for-python/141111/2 "2022-04-16T09:50:54Z")

</div>

Hi Keerthana,

As far as I know you can.  
Refer this discussion:

> [@Karamba3d scripting in python](https://discourse.mcneel.com/t/karamba3d-scripting-in-python/97500/5):
>
> Hi Yoav, I assumed that you use Iron Python which comes with Grasshopper. In that case one can use the Karamba3D API with Python in the same way as for C#. – Clemens

Maybe this can get you started?

[2.7.1: Results Retrieval on Shells - Scripting Guide 2.2.0 (karamba3d.com)](https://scripting.karamba3d.com/2.-scripting/2.7-the-ironpython-component/2.7.1-results-retrieval-on-shells)

Best,  
Anand
