{"id":14451,"library":"awsiot","title":"awsiot (CLI Utility for IoT Provisioning)","description":"awsiot is an abandoned command-line utility designed to easily provision IoT things in AWS. Last updated in 2017 at version 0.1.3 (Alpha status), it is no longer actively maintained. For current AWS IoT development in Python, users should refer to the official and actively supported AWS IoT Device SDK for Python v2 (`awsiotsdk`) or the older v1 SDK (`AWSIoTPythonSDK`).","status":"abandoned","version":"0.1.3","language":"en","source_language":"en","source_url":"https://github.com/adamsondelacruz/awsiot","tags":["aws","iot","cli","utility","provisioning","abandoned"],"install":[{"cmd":"pip install awsiot","lang":"bash","label":"Install awsiot CLI"}],"dependencies":[],"imports":[],"quickstart":{"code":"# This is a command-line utility, not typically imported in Python scripts.\n# Example command to create an IoT thing (requires AWS credentials configured):\n# awsiot create --name my-new-iot-thing --template '{\"thingTypeName\":\"myThingType\"}'\n\n# To view help:\n# awsiot --help","lang":"bash","description":"awsiot is primarily used via the command line for provisioning tasks. Ensure your AWS credentials are configured (e.g., via environment variables or AWS CLI) before running commands."},"warnings":[{"fix":"Use the official AWS IoT Device SDK for Python v2 (`awsiotsdk`) which supports modern Python versions.","message":"This library is designed for Python 3.3-3.6. It is highly likely to be incompatible with newer Python versions (3.7+), and almost certainly broken on Python 3.12+ due to the removal of `ssl.wrap_socket` which affected older AWS SDKs.","severity":"breaking","affected_versions":"<=0.1.3 on Python >=3.7"},{"fix":"Migrate to `awsiotsdk` (AWS IoT Device SDK for Python v2) for all AWS IoT interactions.","message":"The `awsiot` library is an abandoned project last updated in 2017. It is not maintained and should not be used for new development. Official AWS IoT SDKs provide robust and actively supported alternatives.","severity":"deprecated","affected_versions":"All versions"},{"fix":"Always verify the exact package name (`pip install ...`) and the expected import path or command-line invocation. For current development, use `awsiotsdk`.","message":"There are several Python libraries for AWS IoT, including `awsiotsdk` (v2), `AWSIoTPythonSDK` (v1), and this `awsiot` CLI utility. Users frequently confuse them, leading to incorrect installations and import errors.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"last_verified":"2026-04-16T00:00:00.000Z","next_check":"2026-07-15T00:00:00.000Z","problems":[{"fix":"Ensure the library is installed with `pip install awsiot`. If using a virtual environment, activate it. Check your system's PATH environment variable.","cause":"The `awsiot` command-line utility is either not installed or its installation directory is not in your system's PATH.","error":"command not found: awsiot"},{"fix":"The `awsiot` library is primarily a command-line utility, not intended for direct programmatic import by end-users. If you need a Python SDK, install `awsiotsdk` (`pip install awsiotsdk`) and import its specific modules (e.g., `from awsiot import mqtt`). If you intended to use the `awsiot` CLI, ensure it's installed and callable from the command line.","cause":"This error often occurs when attempting to `import awsiot` in a Python script, or when `awsiotsdk` (the official SDK) was installed instead of `awsiot`.","error":"No module named 'awsiot'"},{"fix":"Use `awsiot <command> [options]` directly from your terminal. If you are trying to use programmatic features, be aware that this library is not designed for that, and you should use `awsiotsdk`.","cause":"This can happen when trying to run `awsiot` as a Python script directly (e.g., `python -m awsiot`) instead of as a command-line tool, or when calling a non-existent function.","error":"TypeError: 'module' object is not callable"}],"ecosystem":"pypi"}