Skip to main content

iotpack

A simple Python package that generates complete IoT projects using MQTT and CoAP.

Installation

pip install iotpack

Usage

import iotpack

iotpack.mqtt()
iotpack.coap()

Generated Files

Each protocol creates a folder (mqtt/ or coap/) with four files:

  • client.py
  • server.py
  • dashboard.py
  • requirements.txt

Quick start

cd mqtt
pip install -r requirements.txt
set SUPABASE_URL=your-url        (Windows)   |   export SUPABASE_URL=your-url   (Mac/Linux)
set SUPABASE_KEY=your-key        (Windows)   |   export SUPABASE_KEY=your-key   (Mac/Linux)
python server.py
python client.py
streamlit run dashboard.py

Supabase table

Run this once in the Supabase SQL editor:

create table sensor_data (
  id bigint generated always as identity primary key,
  device_id text,
  temperature float,
  humidity float,
  created_at timestamptz default now()
);

Features

  • MQTT client and server
  • CoAP client and server
  • Supabase database integration
  • Streamlit dashboard
  • Automatic requirements generation

License

MIT

Metadata

Release files for iotpack 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iotpack 0.1.0
File Size Uploaded Provenance Actions
iotpack-0.1.0.tar.gz 4.2 kB Without provenance Details for iotpack-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iotpack 0.1.0
File Interpreter ABI Platform Actions
iotpack-0.1.0-py3-none-any.whl Python 3 none any Details for iotpack-0.1.0-py3-none-any.whl

Total release size: 8.7 kB

Release files / iotpack-0.1.0.tar.gz

Download URL iotpack-0.1.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f6ea5ef024a78f2b871b2e1aea020ae3c5daae95f2ac5d620d7ec99d25ad8a13
BLAKE2b-256 checksum
How to use checksums
069649575f6dd51563b636f6380f51d0d326cfc592cc4c373471044b86e42c75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / iotpack-0.1.0-py3-none-any.whl

Download URL iotpack-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c667d70862e453baee8fc409d090ec6988b557ccab0d1c36f4a832efbf48228
BLAKE2b-256 checksum
How to use checksums
96eef0e5458fac29b6a9c03070e708e854922bc54c8c6eb88851b23fea3066c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for iotpack 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page