# kdb+ and Python

**URL:** <https://forum.kx.com/t/kdb-and-python/11636>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [November 15, 2017, 4:32pm UTC](https://forum.kx.com/t/kdb-and-python/11636 "2017-11-15T16:32:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon11](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@simon11](https://forum.kx.com/u/simon11)\
**Post date:** [November 15, 2017, 4:32pm UTC](https://forum.kx.com/t/kdb-and-python/11636/1 "2017-11-15T16:32:00Z")

</div>

today we announced that we have acquired the rights to kdb+ for Python, or PyQ, from Enlightenment Research, it simplifies the running of a Python interpreter embedded in a kdb+ server.&nbsp;

We have also announced the release of a beta version of embedPy which can load Python into kdb+, so Python variables and objects become q variables, and either language can act upon them.&nbsp;

Together they simplify working with Python from q, and q from Python.

See https://kx.com/blog/kdb-python-embedpy-pyq/ for more details

---

<div class="post-metadata">

**Author:** ![Krishna1](https://avatars.discourse-cdn.com/v4/letter/k/71e660/32.png) [@Krishna1](https://forum.kx.com/u/Krishna1)\
**Post date:** [November 16, 2017, 4:32am UTC](https://forum.kx.com/t/kdb-and-python/11636/2 "2017-11-16T04:32:00Z")

</div>

Hello Simon,&nbsp;  
Any chance that embedPy might be available for the 32-bit KDB+ version? I see on the Github page that one requires KDB+ 64-bit.&nbsp;

Thanks,&nbsp;

Kumar

| ![""]() | Virus-free. www.avast.com |

---

<div class="post-metadata">

**Author:** ![simon11](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@simon11](https://forum.kx.com/u/simon11)\
**Post date:** [November 16, 2017, 6:17pm UTC](https://forum.kx.com/t/kdb-and-python/11636/3 "2017-11-16T18:17:00Z")

</div>

sorry, no plans for a version that works with 32bit kdb+ at the moment&nbsp;

Simon Garland | **Kx** | simon@kx.com

---

<div class="post-metadata">

**Author:** ![Alexander\_Belop](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@Alexander\_Belop](https://forum.kx.com/u/Alexander_Belop)\
**Post date:** [November 21, 2017, 6:53pm UTC](https://forum.kx.com/t/kdb-and-python/11636/4 "2017-11-21T18:53:00Z")

</div>

I was able to build embedPy on macOS for 32bit kdb+.&nbsp; Note that for this to work you will need a 32bit (or universal) build of Python.

---

<div class="post-metadata">

**Author:** ![Alexander\_Belop](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@Alexander\_Belop](https://forum.kx.com/u/Alexander_Belop)\
**Post date:** [November 21, 2017, 6:55pm UTC](https://forum.kx.com/t/kdb-and-python/11636/5 "2017-11-21T18:55:00Z")

</div>

> I was able to build embedPy on macOS for 32bit kdb+.&nbsp; Note that for this to work you will need a 32bit (or universal) build of Python.

See&nbsp;[https://github.com/KxSystems/embedPy/issues/13](https://github.com/KxSystems/embedPy/issues/13) for details.&nbsp;

---

<div class="post-metadata">

**Author:** ![Krishna1](https://avatars.discourse-cdn.com/v4/letter/k/71e660/32.png) [@Krishna1](https://forum.kx.com/u/Krishna1)\
**Post date:** [November 22, 2017, 3:41am UTC](https://forum.kx.com/t/kdb-and-python/11636/6 "2017-11-22T03:41:00Z")

</div>

Thank you, Alexander.&nbsp;  
Kumar
