# PyKX 1.6.1 released

**URL:** <https://forum.kx.com/t/pykx-1-6-1-released/13210>\
**Category:** Community Support\
**Tags:** pykx, imported\
**Created:** [July 21, 2023, 12:00am UTC](https://forum.kx.com/t/pykx-1-6-1-released/13210 "2023-07-21T00:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rocuinneagain](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/rocuinneagain/32/287_2.png) [@rocuinneagain](https://forum.kx.com/u/rocuinneagain)\
**Post date:** [July 21, 2023, 12:00am UTC](https://forum.kx.com/t/pykx-1-6-1-released/13210/1 "2023-07-21T00:00:00Z")

</div>

[https://learninghub.kx.com/forums/topic/pykx-1-6-1-released](https://learninghub.kx.com/forums/topic/pykx-1-6-1-released)

PyKX 1.6.1 has been released. Full details on the release can be found [here](https://code.kx.com/pykx/changelog.html"). Highlights:

- Added `sorted`, `grouped`, `parted`, and `unique`. As methods off of `Tables` and `Vectors`.
- Added `PyKXReimport` class to allow subprocesses to reimport `PyKX` safely. Details [here](https://code.kx.com/pykx/1.6/api/reimporting.html#pykx.reimporter.PyKXReimport").
- Added environment variables to specify a path to `libpython`. Details [here](https://code.kx.com/pykx/1.6/user-guide/advanced/environment_variables.html#pykx-under-q").
- Fixed memory leaks in QConnection and PyKX as a server.
- Fixed bug in Jupyter Notebook magic command.

Full details including many other fixes included [here](https://code.kx.com/pykx/1.6/changelog.html#pykx-161").
