Skip to main content

Generate QR Code from Table Column 🚀

This Python package automatically generates QR codes in memory from a specific column of an Excel (.xlsx) or CSV (.csv) file and inserts them directly into a new Excel file, without storing temporary images on your disk.

Installation

Install the package directly via pip:

pip install generate-qrcode

🛠️ Usage

To use the tool, simply import the function addColumnQRcode from the module generateColumn.

The function takes two parameters:

1 - The path or name of the source file (.xlsx or .csv). 2 - The exact column name to transform into QR codes.

Example with Excel

from generate_qrcode.generateColumn import addColumnQRcode

# 1. Define the file and target column
file_name = "file_name.csv"
target_column = "column_name"

# 2. Run the function
# The function generates and automatically returns the path of the new file created
new_file = addColumnQRcode(file_name, target_column)

print(f"Processing complete! You can open: {new_file}")

Example with CSV

from generate_qrcode.generateColumn import addColumnQRcode

file_name = "file_name.csv"
target_column = "column_name"

new_file = addColumnQRcode(file_name, target_column)

print(f"Processing complete! You can open: {new_file}")

🔄 Output

After running the function:

Original data is preserved.

A new column named QR_Code is added at the end of the table.

QR codes are inserted directly into Excel cells at the correct size (100x100).

The output file is saved as [original_name]_qr.xlsx.

📋 Requirements & Dependencies

The package installs and uses the following libraries:

pandas (for reading Excel/CSV data)

openpyxl (for generating enriched Excel files)

qrcode (for creating QR code matrices)

pillow (to customize the visual appearance of generated QR codes)

Metadata

Release files for generate-qrcode 0.1.4

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

Source distribution (sdist)

Source distribution for generate-qrcode 0.1.4
File Size Uploaded Provenance Actions
generate_qrcode-0.1.4.tar.gz 3.5 kB Without provenance Details for generate_qrcode-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for generate-qrcode 0.1.4
File Interpreter ABI Platform Actions
generate_qrcode-0.1.4-py3-none-any.whl Python 3 none any Details for generate_qrcode-0.1.4-py3-none-any.whl

Total release size: 7.4 kB

Release files / generate_qrcode-0.1.4.tar.gz

Download URL generate_qrcode-0.1.4.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4359388f98acb221a423d0f652bc7661ab9541e1ac12509aa945a591e076135f
BLAKE2b-256 checksum
How to use checksums
a1914d052a5c04cf1ff599d6c40f033ddb8923e13845f54dd7e346865f98340d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / generate_qrcode-0.1.4-py3-none-any.whl

Download URL generate_qrcode-0.1.4-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5dd3187fd7af9ba39b6357f8a9691a4820e8f766d02738c83fdfa15257461d49
BLAKE2b-256 checksum
How to use checksums
850f33b96009c438934b30a2c3c30449a795e4815ef4de5b25f98b5814beb4d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for generate-qrcode 0.1.4

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