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

File metadata

File hashes

Hashes for swarmauri_tool_qrcodegenerator-0.7.0.dev4.tar.gz
Algorithm Hash digest
SHA256 77d1b7f894629088837858179345f070c4e0618c65844930278b6116ee599738
MD5 828499e4eb16b72570a96d060bdde26f
BLAKE2b-256 ef8b4f50f92af39638eff8bdf4bf041a206a35296a224f3a4780770c0e9955da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_qrcodegenerator-0.7.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 26fd7ee446d891271646a29948a5f31aa2317eab60c8fddcb13cc517027f6d99
MD5 356a8abf66ed609880c97a4d7d195627
BLAKE2b-256 44e8acb8e5fef21053c5da9556551310e6f61217df6731efd34a69599a6fb99e

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