Skip to main content

Official Python wrapper for the Silasyn QR Generation Engine.

Project description

import os

readme_content = """# 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`:
File generated successfully.

```bash
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](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, encryption Wi-Fi hotspot access credentials
.vcard(fn, mob, email, ...) fn, mob, email, org, title 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) title, start, end, desc iCal Calendar Events configuration
.upi(vpa) vpa, name, amount, note Unified Payments Interface (UPI) request matrices
.crypto(addr, coin) addr, coin, amount 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 via return_base64=True.

© 2026 Silasyn. All rights reserved. """

with open("README.md", "w", encoding="utf-8") as f: f.write(readme_content) print("File generated successfully.")

Your Markdown `README.md` file is ready
[file-tag: code-generated-file-0-1782217380152694867]

Here is the structured text of the enhanced, beautifully formatted `README.md` file designed for modern VSCode rendering:

```markdown
# 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`:

```bash
pip install silasyn-qr

Project details


Download files

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

Source Distribution

silasyn_qr-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

silasyn_qr-1.0.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file silasyn_qr-1.0.0.tar.gz.

File metadata

  • Download URL: silasyn_qr-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for silasyn_qr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 74d168cf7f76ea22527d5646de19a7ed5c803a71945ada678ab3c139db93eae1
MD5 5b02e07104f0b0419f702968526fc9f1
BLAKE2b-256 0ab0faf7030bc4b73f9455430fb4fb09ee00ab4b9e727865626712684c3aab3a

See more details on using hashes here.

File details

Details for the file silasyn_qr-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: silasyn_qr-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for silasyn_qr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cd2da4fbf4ea9c8c52f5d0d43099c058a66d456f94ec8f2efc40460128b6d29
MD5 c9668119a4365fa476dc74204f245fab
BLAKE2b-256 24b72f79b73057e350baaa25d21b77717b6f32b7710016642165d862aa72389a

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