Automate SIM management with the emnify Python SDK


emnify is an API-first cellular connectivity platform designed to be integrated directly into customer applications. This gives you the opportunity to automate their connectivity management while troubleshooting their devices as a whole—connectivity included. 
As we continue our mission to spark innovation in IoT, we are excited to announce the release of another tool designed to simplify connectivity management—emnify’s Python SDK.

How SDKs simplify automation

Software development kits provide developers access to APIs through logical expressions. 
For example, authenticating with an SDK often requires two steps, whereas direct API usage requires multiple steps. 

With an SDK: 

from emnify import EMnify
emnify = EMnify(TOKEN)

Without the SDK: 

async function authenticate(applicationToken)
{ axios
    { application_token: applicationToken

 .then((response) => {

       if (response.status === 200) {
     setAuthenticationStatus("AUTHENTICATED"); } })
 .catch((error) => { console.log(error);

Automate Device Management

With the Python SDK, you can flexibly automate their SIM state management to match the unique lifecycle of their devices, starting with their initial configuration. 

Set up and configure devices via SMS

Many telematics companies configure their devices for data connectivity by sending an SMS. Some of our customers use this process to configure data connectivity and tell the device which server to communicate with. This process can be automated with the Python SDK. 

Automatically suspend seasonal devices

Automating connectivity management is especially useful for companies with seasonal devices which aren’t during specific times of the year. By leveraging the SDK, connectivity management can be integrated with calendars or other systems that track and maintain their fleet. These automations remove the need to manually disable device connectivity.

Suspend devices based on customer actions

When your customers cancel their subscription, the connectivity must also be disabled. The Python SDK will help you automate the suspension of this service or even permanently remove the related SIM card from the platform.

Monitor and troubleshoot your device connectivity 

emnify's Python SDK version enables you to implement real-time monitoring of all connected devices. But, with thousands of devices distributed globally, automatic network switching may not solve location-specific issues. That's why the SDK also covers features like connectivity reset and network blocklisting that let you quickly troubleshoot potential issues.

Note: If you prefer monitoring device connectivity and data consumption directly from your existing operational dashboards and application, the emnify Data Streamer lets you do so. Learn about the Data Streamer, or check our Integration guides for detailed instructions.

Try the emnify Python SDK and give us feedback

We’d love to hear from you to help us shape the SDK. Feel free to interact with us directly in our GitHub repository by submitting issues or contributing directly.

The emnify Python SDK is open source and includes comprehensive documentation.

Related Posts

Image for post EMnify connects to SFMIX to cater with increasing M2M/IoT data volumes

EMnify connects to SFMIX to cater with increasing M2M/IoT data volumes

EMnify, the leading provider of cloud services enabling the Internet of Things, announced today to start peering at the San Francisco Metropolitan Internet Exchange (SFMIX). The SFMIX is a carrier-neutral Internet Exchange based within the “Silicon Valley” region of California to promote local data exchange. “We see a great increase of data traffic from mobile M2M/IoT devices connected through our globally distributed mobile packet core towards popular cloud providers and M2M applications in the San Francisco Bay Area. To provide lowest possible latency and best quality of service we have now implemented IPv4/6 peering capability at the SFMIX on Gigabit scale.”, said Martin Giess (CTO). Vishesh Joshi (Product Manager, SDN & NFV) added: “All participants of the SFMIX ( will be able to benefit from the best connectivity to mobile devices roaming into the bay area, based on our unique SDN technology we are able to dynamically route mobile data traffic on a global scale while making use of local breakouts like the SFMIX”. About EMnify EMnify addresses with its cloud services exclusively the rapidly expanding global machine-to-machine (M2M) communications market and enables the Internet of Things (IoT) Eco System with Cellular Connectivity and Management Tools to connect and control devices – simple, efficient and secure. If you have questions about our services or you are looking for reliable and secure mobile connectivity for your M2M/IoT devices please contact us by email at