# Where to get the Python libraries

**URL:** <https://forums.digi.com/t/where-to-get-the-python-libraries/2870>\
**Category:** Python\
**Created:** [February 13, 2013, 3:04pm UTC](https://forums.digi.com/t/where-to-get-the-python-libraries/2870 "2013-02-13T15:04:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![toplus](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@toplus](https://forums.digi.com/u/toplus)\
**Post date:** [February 13, 2013, 3:04pm UTC](https://forums.digi.com/t/where-to-get-the-python-libraries/2870/1 "2013-02-13T15:04:58Z")

</div>

Hi all,

I’m sure that I’m missing something obvious, but I am trying to get hold of Python libraries to program XBee S5 radio modules and I can’t seem to find them. I have seen the official C libraries from Digi, but I was hoping that there would be something similar for Python. I would like to be able to use the API with these, but also be able to shift to transparent mode if required. I have checked the Digi Python wiki and support forums etc, and the closest thing that I have found is this: [http://www.digi.com/wiki/developer/index.php/XBee\_Extensions\_to\_the\_Python\_Socket\_API](http://www.digi.com/wiki/developer/index.php/XBee_Extensions_to_the_Python_Socket_API) .However, I can’t see any place to download the libraries mentioned there.

I know there is a lot of information on using Python for the iDigi DIA stuff, but I don’t think this is applicable for what I’m trying to do.

Any help would be appreciated.  
Thank you!

Tomas

---

<div class="post-metadata">

**Author:** ![Campbell](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@Campbell](https://forums.digi.com/u/Campbell)\
**Post date:** [February 22, 2013, 10:23pm UTC](https://forums.digi.com/t/where-to-get-the-python-libraries/2870/2 "2013-02-22T22:23:18Z")

</div>

Have you checked the Digi Pythons programmers Guide.

[http://www.digi.com/wiki/developer/index.php/Digi\_Python\_Programmer's\_Guide#socket](http://www.digi.com/wiki/developer/index.php/Digi_Python_Programmer%27s_Guide#socket)

---

<div class="post-metadata">

**Author:** ![toplus](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@toplus](https://forums.digi.com/u/toplus)\
**Post date:** [February 25, 2013, 1:02pm UTC](https://forums.digi.com/t/where-to-get-the-python-libraries/2870/3 "2013-02-25T13:02:59Z")

</div>

Hi Campbell,

Thank you for your answer. Yes, I did check the programmers guide, but that seems to be focused to Digi Devices that can be programmed, not to modem modules such as Xbee (where the program runs on the modem host, not the device itself). What I need is a Python implementation of the API for Xbee modules, the same way that DiGi has provided one in Ansi C.

Any suggestions?  
Thank you again,

Tomas
