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

swarmauri_tool_qrcodegenerator-0.7.0.dev2.tar.gz (6.6 kB view details)

Uploaded Source

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.dev2.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_qrcodegenerator-0.7.0.dev2.tar.gz
Algorithm Hash digest
SHA256 818f2e52b9e4c0239bd2864a89e626f18e1a3467b74c6b74d6d8083cc00466ab
MD5 046082e9786d0fbb621329247620a6c5
BLAKE2b-256 b508e63fb860420168481d286344649dbd86e0609fa4a06d1d9fb0237641f384

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_qrcodegenerator-0.7.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 db3ba039bcef028f3648e971e66f12fc3ff45a637f2cc81952cef3e2c1d70b79
MD5 becd69ceac8f980beb3a79c0f881fdb8
BLAKE2b-256 ac094cc55b9dd4da33102edc48e7bf7b2489c9bf6e4b5b2d40c5152cfbc37959

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