Skip to main content

Package name: JQTT

  • Author: Jaime Loeuf
  • License: MIT
  • Package Desciption:
    • This package is a simplified MQTT library based on the paho MQTT library.
    • Currently this package contains the
      1. 'Publisher' Class
      2. 'Subscription' Class
      3. 'Pub' function
      4. 'Sub' function
    • Currently lacking more documentation. For now please view test scripts for the different modules to see how to use this Package.
To Publish data to broker:
from JQTT import pub
pub('Chicken Nuggets!')

To Subscribe to data:

from JQTT import sub
def onMsg(client, userdata, message):
	print(message) # Callback function to print out the message
sub(onMsg) # Pass the function into the sub function to use it as a callback function
  • For the above lib usage. The broker and topics are not set, thus the default broker and topics will be used.

To Change broker and topic before publishing data or subscribing to messages:

from JQTT import sub, pub set_broker, set_topic
set_broker('m2m.org', 'p') # Set the broker to publish to
set_topic('MQTT_test', 'p') # Set the topic to publish to
pub('Hello, test 123') # Publish the message to the abv broker's topic
set_broker('m2m.org', 's') # Set the broker to subscribe to
set_topic('MQTT_test', 's') # Set the topic to subscribe to
def onMsg(client, userdata, message):
	print(message) # Callback function to print out the message
sub(onMsg) # Subscribe to the messages from the abv broker's topic using the abv callback function.

Metadata

Release files for JQTT 1.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 JQTT 1.1.0
File Size Uploaded Provenance
JQTT-1.1.0.tar.gz 8.1 kB Without provenance Details

Release files / JQTT-1.1.0.tar.gz

Download URL JQTT-1.1.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7792dbc2392e2da274cb850f30fddb06a5e1f130df0de0fc21eed8dc6141dced
BLAKE2b-256 checksum
How to use checksums
22102fe9d322cff25faebacf1f3043d3f5524dd65ee74b73a3899a8401a111dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Security for JQTT 1.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

1.1.0 This release

1 release file 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