Official Python wrapper for the Silasyn QR Generation Engine.
Project description
Silasyn QR Engine (Python Wrapper)
The official Python interface for the Silasyn QR Generation API. Generate high-fidelity QR matrices directly from your Python scripts without relying on local image processing libraries.
Installation
Install the package via pip:
pip install silasyn-qr
Quick Start
from silasyn_qr import SilasynQR
# Initialize the engine
qr = SilasynQR()
# Generate a simple URL QR Code and save locally
qr.raw("https://silasyn.com", filename="my_website.png")
# Generate a Wi-Fi QR Code and retrieve the Base64 JSON payload
wifi_data = qr.wifi("MyHomeNetwork", password="SuperSecretPassword", return_base64=True)
print(wifi_data)
Supported Payload Protocols
The wrapper supports a comprehensive suite of structured data payloads:
| Protocol / Method | Parameters | Description |
|---|---|---|
.raw(data) |
data |
Standard URL, plaintext string, or fallback payload |
.wifi(ssid, password, ...) |
ssid, password, enc, hidden |
Wi-Fi hotspot access credentials |
.vcard(fn, ln, mob, work, email, comp, title, vurl, adr) |
fn, ln, mob, work, email, comp, title, vurl, adr |
Digital Contact Cards (vCard format) |
.email(to, sub, body) |
to, sub, body |
Pre-composed Email Drafts |
.whatsapp(to, msg) |
to, msg |
Direct WhatsApp instant message chats |
.sms(to, msg) |
to, msg |
Pre-filled Short Message Service (SMS) text messages |
.location(lat, lng) |
lat, lng |
Map coordinates / Geolocation pin drop |
.event(title, start, end, loc) |
title, start, end, loc |
iCal Calendar Events configuration |
.upi(vpa, name) |
vpa, name |
Unified Payments Interface (UPI) request matrices |
.crypto(addr, coin) |
addr, coin |
Cryptocurrency wallet address routing |
Advanced Features & Formatting
- Zero Heavy Dependencies: Pure API communication layer—no
Pillow,opencv, or heavy matrix libraries required locally. - Flexible Outputs: Choose between direct local file rendering (
filename="out.png") or explicit payload retrieval viareturn_base64=True.
© 2026 Silasyn. All rights reserved.
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 silasyn_qr-1.0.1.tar.gz.
File metadata
- Download URL: silasyn_qr-1.0.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58b87e2dc800b577d1b9174281fab1776d8c2f1272566c6fef58b32ed448eaeb
|
|
| MD5 |
ed208027ee0bbebb56b2c68b2299777d
|
|
| BLAKE2b-256 |
81b81657f3e358b193d21bae65b73b06ea6893df708ee2a6ecf6bfeafb39f3e0
|
File details
Details for the file silasyn_qr-1.0.1-py3-none-any.whl.
File metadata
- Download URL: silasyn_qr-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1471d8b7fb3b69b197261bbd5739e5f34e1f4271fd75396e79b19714c5384539
|
|
| MD5 |
e38e7e8cf0349ba2ee84de4ad631592b
|
|
| BLAKE2b-256 |
80166415c0dc4f1265a71b6ac3bb09c59e8f97d54e14431b04420f1c86922a84
|