Skip to main content

Swarmauri QR Code Generator Tool.

Project description

Swarmauri Logo

PyPI - Downloads PyPI - Python Version PyPI - License PyPI - Version


QR Code Generator Tool

A tool component for generating QR codes from input data. The tool creates QR codes and returns them as base64-encoded images.

Installation

pip install swarmauri_tool_qrcodegenerator

Usage

Here's a basic example of how to use the QR Code Generator Tool:

from swarmauri.tools.QrCodeGeneratorTool import QrCodeGeneratorTool

# Initialize the tool
qr_tool = QrCodeGeneratorTool()

# Generate a QR code
result = qr_tool("Hello, world!")

# The result contains the QR code as a base64-encoded string
image_b64 = result['image_b64']

Want to help?

If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file swarmauri_tool_qrcodegenerator-0.7.0.dev12.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_qrcodegenerator-0.7.0.dev12.tar.gz
Algorithm Hash digest
SHA256 0d7224a5445fb7f06e72924a8cc822392f56fee07617890f0bba32b9055250d9
MD5 fec19989223c5b254e74a317746ba525
BLAKE2b-256 233ace2ba060e5fa29e46c05394bfb393d6513aee6f9bcae8b60cd0bad2136f2

See more details on using hashes here.

File details

Details for the file swarmauri_tool_qrcodegenerator-0.7.0.dev12-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_qrcodegenerator-0.7.0.dev12-py3-none-any.whl
Algorithm Hash digest
SHA256 837b59c3495abf6346fbb715773cf276003701eb8b83161a6148ca8d166461ba
MD5 8833d5ed14162c0c1e0913cd796c3cac
BLAKE2b-256 4fba5a9d1c8a132d6a3aab1cd4856d33f9528402e3a9ac0a0709b319653927e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page