# Pixelblaze-client: Python 3 library for Pixelblaze

**URL:** <https://forum.electromage.com/t/pixelblaze-client-python-3-library-for-pixelblaze/756>\
**Category:** Patterns and Code\
**Created:** [November 24, 2020, 2:50am UTC](https://forum.electromage.com/t/pixelblaze-client-python-3-library-for-pixelblaze/756 "2020-11-24T02:50:20Z")\
**Posts on this page:** 1\
**Showing post:** 37

<div class="post-metadata">

**Author:** ![pixie](https://forum.electromage.com/letter_avatar_proxy/v4/letter/p/7bcc69/32.png) [@pixie](https://forum.electromage.com/u/pixie)\
**Post date:** [July 16, 2022, 3:52pm UTC](https://forum.electromage.com/t/pixelblaze-client-python-3-library-for-pixelblaze/756/37 "2022-07-16T15:52:56Z")

</div>

Pull request: If you change the signature of `ws_recv` to:

```auto
    def ws_recv(self, wantBinary=False, packetType=0x07):

```

and the test for binary packets to:

```auto
                elif (wantBinary is True) and (result[0] == packetType): # binary pattern list packet

```

then your library can be used to read other things besides the pattern list (I’m redoing my [animated previews](https://forum.electromage.com/t/feature-request-raw-rgb-values-in-preview-jpg/1791/5) code to take advantage of the increased number of preview pixels in v3.24, but they’re only in the websocket packets – the preview jpeg saved inside the pattern EPE is still limited to 100 wide by 150 tall).

---

_[View the full topic](https://forum.electromage.com/t/pixelblaze-client-python-3-library-for-pixelblaze/756)._
