Swarmauri QR Code Generator Tool.
Project description
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_tool_qrcodegenerator-0.7.0.dev5.tar.gz.
File metadata
- Download URL: swarmauri_tool_qrcodegenerator-0.7.0.dev5.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b25c34defab485beb75d86b40ca53f2e2363d11ea8e2528853b1fe3f0539164
|
|
| MD5 |
4f811ca4667038b1c3a3540245d532c3
|
|
| BLAKE2b-256 |
23507f3db595f92c4c58e919fa371328c95954f5395cf458884a5d9d28b3c5f8
|
File details
Details for the file swarmauri_tool_qrcodegenerator-0.7.0.dev5-py3-none-any.whl.
File metadata
- Download URL: swarmauri_tool_qrcodegenerator-0.7.0.dev5-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6326a0e45e75df3c4ee272e1d8d872bb77012adc53142d48cc4c17dc8546fdef
|
|
| MD5 |
5530e875fc190eeae23635a8cde3f110
|
|
| BLAKE2b-256 |
8b2f2e051cb6b7f41ff784f6f3ddd7cc5ac3ed64233124677a332f3d4e103de1
|