Skip to main content

Generate QR cards for any occasion

Project description

MakeQR

PyPI PyPI

Generate WiFi Access QR Codes

Installation

pip install makeqr -U

To test that installation was successful, try:

makeqr --help

or

makeqr wifi --help

Usage example

Command line command

Command

makeqr -v wifi --password TopSecret --security wpa2 HomeWiFi

Output

 __   __  _______  ___   _  _______  _______  ______
|  |_|  ||   _   ||   | | ||       ||       ||    _ |
|       ||  |_|  ||   |_| ||    ___||   _   ||   | ||
|       ||       ||      _||   |___ |  | |  ||   |_||_
|       ||       ||     |_ |    ___||  |_|  ||    __  |
| ||_|| ||   _   ||    _  ||   |___ |      | |   |  | |
|_|   |_||__| |__||___| |_||_______||____||_||___|  |_|

Model: {"ssid": "HomeWiFi", "security": "wpa2", "password": "TopSecret", "hidden": false}
Encoded: WIFI:S:HomeWiFi;P:TopSecret;T:WPA;;
                                                              
  ██████████████  ████    ██████  ██  ██      ██████████████  
  ██          ██    ██████████████      ██    ██          ██  
  ██  ██████  ██      ██      ██    ██████    ██  ██████  ██  
  ██  ██████  ██  ██████          ██  ██  ██  ██  ██████  ██  
  ██  ██████  ██  ██    ████          ████    ██  ██████  ██  
  ██          ██  ██  ████        ██████████  ██          ██  
  ██████████████  ██  ██  ██  ██  ██  ██  ██  ██████████████  
                  ████  ██████    ██████                      
  ██      ██  ██████████    ██  ██████  ██  ██████████    ██  
  ██    ██      ██    ████  ██████            ████████        
    ██████████████      ████    ██        ████    ████    ██  
  ██        ██  ████    ██    ██  ████  ████  ██        ██    
    ██████    ██    ██      ██████████    ████  ████    ██    
  ██    ██        ████    ██    ██    ██        ██████        
  ████████    ████    ████████████  ████      ██      ██  ██  
            ██  ██      ██  ██  ████████  ████      ██    ██  
      ██      ██    ██    ████      ██  ██  ██        ██  ██  
  ██    ██      ██      ████████  ██    ██    ██████████      
      ██    ████  ████  ██      ████████    ██      ████  ██  
        ██████  ████████████  ████████  ██    ██  ██          
  ████    ██  ██  ██      ██████  ██████  ██████████    ██    
                  ██████  ██      ████    ██      ████  ██    
  ██████████████  ██        ██████      ████  ██  ██  ██  ██  
  ██          ██        ██  ██      ████  ██      ████        
  ██  ██████  ██  ██  ██  ████    ██    ████████████████      
  ██  ██████  ██              ██  ██    ████        ██    ██  
  ██  ██████  ██    ██          ████████                ████  
  ██          ██            ████  ████  ██  ██    ████  ████  
  ██████████████  ████████    ██████████  ████████  ██  ██    
                                                              

Docker container

docker run ghcr.io/shpaker/makeqr:4.0.1 link https://t.me/shpaker

As python module

from makeqr import MakeQR, QRMailToModel

qr = MakeQR(
  model = QRMailToModel(
    to='foo@bar.baz',
    subject='Awesome subject!',
  )
)
data: bytes = qr.make_image_data()

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

makeqr-4.4.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

makeqr-4.4.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file makeqr-4.4.1.tar.gz.

File metadata

  • Download URL: makeqr-4.4.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.18 Linux/6.5.0-1015-azure

File hashes

Hashes for makeqr-4.4.1.tar.gz
Algorithm Hash digest
SHA256 4e372916341daddd47f9bc93479ede6fdae8f6ab09e6bb9de2d63f8baac38079
MD5 6a35c4bae95cdbc3fd1cd9fbbbfe91d9
BLAKE2b-256 828a6bd8e269fbf2dd85843913303ae697472260753c1bab1ca8f40eebe869e5

See more details on using hashes here.

File details

Details for the file makeqr-4.4.1-py3-none-any.whl.

File metadata

  • Download URL: makeqr-4.4.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.18 Linux/6.5.0-1015-azure

File hashes

Hashes for makeqr-4.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5c8e6569f559d8f159bc70b9bea47c30bbf168fe1631b481fa3d82b62720a1c
MD5 ea9f6f31be4e0bb6a664f5c9708a1e14
BLAKE2b-256 c84f093c49daff6e28356c8b617d62a2abc560bd40c01350b7e85a7b9599a4bd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page