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.0b2

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.0b2
File Size Uploaded Provenance Actions
sooeasyqr-0.1.0b2.tar.gz 5.7 kB Without provenance Details for sooeasyqr-0.1.0b2.tar.gz

Built distribution (wheel)

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

Total release size: 12.2 kB

Release files / sooeasyqr-0.1.0b2.tar.gz

Download URL sooeasyqr-0.1.0b2.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4cb8904a443574e2fcc83d31492a2c01ce6337595e8f651a86bb51bee652d581
BLAKE2b-256 checksum
How to use checksums
0437af83a57b947119c5808fcc625bcea2d55bf9513d636b99782e351902a716
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.0b2-py3-none-any.whl

Download URL sooeasyqr-0.1.0b2-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64a6f69e813b8627509746d094a81c933538efbcc76f92ab4a46dc5dfbd10e27
BLAKE2b-256 checksum
How to use checksums
c7fdf432ee70ec2101447cfb22ff98dcf1e8d6fbd79dc83238886395025cb470
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.0b2

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