For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Request featuresContact support
DocsAPI ReferenceGraphQLIntegrationsDeveloper Tools
DocsAPI ReferenceGraphQLIntegrationsDeveloper Tools
    • AI integration at emnify
  • SDKs
    • Overview
    • Concepts
    • Support and contribute
      • Quickstart
      • Examples
      • API Reference
LogoLogo
Request featuresContact support
SDKsPython

Python SDK examples

Was this page helpful?

Last updated September 6, 2023

Previous

Getting started with the emnify Python SDK

Next

Getting started with the emnify Java SDK

Built with

The following examples show you how to use the emnify Python SDK.

The source code for each example is available in the emnify-sdk-python GitHub repository.

ExampleDescription
Get your first device onlineConnect an emnify SIM to your device and configure the APN to access the internet.
Initialize the SDK clientImport dependencies and initialize the SDK using an application token.
Create and activate a deviceAssign an unassigned SIM, create a new device with defined parameters, and activate it.
Configure a deviceRetrieve a device’s details and adjust its attributes, like the name and tags.
Configure the operator blocklistAdd or remove operators from the blocklist.
Disable a deviceChange a device status to disabled.
Delete a deviceDisable and delete a device with specific ID.
Filter a list of SIM cardsReturn all SIMs for a specific customer organization.
Sort all devicesReturn a list of devices sorted by last updated date.
Manage device connectivityReset the device or network connectivity and check the connectivity status.