Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

sooeasyqr

"This qr lib is soo easy bruh"

sooeasyqr is a highly simplified, intuitive, and professional Python QR code library designed to eliminate boilerplate code. It provides advanced features like binary data support, custom error correction, automated file reading, terminal ASCII rendering, and robust scanning utilities—all wrapped in a clean, developer-friendly API.


📦 Installation

Install the library directly from PyPI along with its core dependencies:

pip install sooeasyqr

🛠️ Usage Guide

1. Generating & Saving QR Codes (core.py)

import sooeasyqr

# Initialize the QR object (Supports "auto" or specific versions, and error correction levels)
qr = sooeasyqr.QR(errorcorrectionlevel="H", version="auto")

# Load data (You can use text, raw bytes, or read directly from a file!)
qr.text("Hello, welcome to sooeasyqr! 🎯")
# qr.binary(b"\x00\xff\x55")
# qr.file("config.json")

# Optimize padding and whitespace for standard smartphone cameras
qr.scannable()

# Save in various image formats (automatically checks for Pillow)
qr.save("my_qr.png")
qr.save("my_qr.jpg")
qr.save("my_qr.bmp")

# Instantly view it in your system's default image viewer
qr.show()

# Print ASCII art directly to your terminal
print(qr.ascii())

# Safely destroy data from memory when finished
qr.destroy()

2. Scanning & Reading QR Codes (read.py)

import sooeasyqr

# Check if an image contains a valid QR code
if sooeasyqr.isvalidqrcode("my_qr.png"):
    print("✅ Valid QR code detected!")

# Read standard text or data
data = sooeasyqr.read("my_qr.png")
print(f"Decoded Data: {data}")

# Smart auto-detection (Automatically parses JSON if applicable, or returns text/bytes)
result = sooeasyqr.readauto("my_qr.png")
print(f"Auto-parsed Result: {result}")

# Get detailed scanning information (data, detection bounding box, success status)
details = sooeasyqr.read_detailed("my_qr.png")
print(details)

📋 Features

  • Zero Boilerplate: Hide all the complex underlying configurations behind a clean OOP interface.
  • Multi-Format Saving: Seamlessly export to .png, .jpg, and .bmp with built-in safety checks.
  • Advanced Reader: Built-in scanning tools (read, readbinary, readauto, isvalidqrcode, read_detailed) powered by OpenCV.
  • Memory Safe: Explicit .destroy() method to wipe data securely from RAM.

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.

Metadata

Release files for sooeasyqr 0.1.0b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sooeasyqr 0.1.0b1
File Size Uploaded Provenance Actions
sooeasyqr-0.1.0b1.tar.gz 5.8 kB Without provenance Details for sooeasyqr-0.1.0b1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sooeasyqr 0.1.0b1
File Interpreter ABI Platform Actions
sooeasyqr-0.1.0b1-py3-none-any.whl Python 3 none any Details for sooeasyqr-0.1.0b1-py3-none-any.whl

Total release size: 12.2 kB

Release files / sooeasyqr-0.1.0b1.tar.gz

Download URL sooeasyqr-0.1.0b1.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6f86e00b162b4d4dde276aa31a60606e1cad08b9a45c15d262903a903fb8df65
BLAKE2b-256 checksum
How to use checksums
caa8126c94e543a975e61020ce6155c6162d015b24c60fb542b543d778794e0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / sooeasyqr-0.1.0b1-py3-none-any.whl

Download URL sooeasyqr-0.1.0b1-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7a088ea39941ff51a4159cbe07b6807fc3d23ee5606a6413d831c44fb83fc1c
BLAKE2b-256 checksum
How to use checksums
ffb89ee968769f89065beff998b11260663d55a7397f42d1c0944ef005ab26f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Security for sooeasyqr 0.1.0b1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page