New Nexmo Python Library Released for PyCon

Published May 30, 2016 by Phil Leggetter

We’re pleased that we’ve released v1.2.0 of the official Nexmo Python library in time for PyCon. Right now it’s a different animal to the PHP library we released last week which is based on the Nexmo client library specification. The Python library presently offers a simpler wrapper around the HTTP requests required to interact with the Nexmo API, but we plan to update it to align with the client library spec in the near future. What do you think?

The purpose of this post is to let you know that we now have an official Python library and – most importantly – to ask for your feedback on the approach we’re taking.

Basic Nexmo Python Library Usage

Usage is really simple. Start with installation:

Then create a new Nexmo Client instance and call the relevant function:

From there, we’d love you to investigate the Nexmo platform functionality it exposes. For example:

  • Provisioning numbers
  • Sending SMS
  • Making calls using text to speech
  • Integrating simple two-factor auth using the Nexmo Verify API
  • and much more

Then, take a look at the proposed client library specification and let us know what you think of that as a direction for the Python library. If you prefer email you can always drop a note to [email protected] with your thoughts.

In return we’ll send you some Nexmo swag.

Thanks to Tim Craft

Last, but certainly not least, this library has been developed by Tim Craft. He kindly agreed to transfer ownership over to Nexmo recently so that we can make it the officially support Python Nexmo client library. We’re also very pleased to say that Tim will continue contributing.

Nexmo Demo at PyCon
We look forward to hearing your feedback. If you read this whilst at PyCon, why not drop by the Nexmo booth, try out Sam’s LED demo and chat to the team about Nexmo and the Python library.

Leave a Reply

Your email address will not be published.