Skip to main content

Generate QR cards for any occasion

Project description

MakeQR

Generate WiFi Access QR Codes

Installation

pip install makeqr -U

Usage example

To test that installation was successful, try:

makeqr --help

or

makeqr wifi --help

Command line command

Command

makeqr -p wifi --ssid ABC --password Tfsjfklasdjfklasdest -s wpa2

Output

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

DATA MODEL
{"ssid": "ABC", "security": "wpa2", "password": "Tfsjfklasdjfklasdest", "hidden": false}

QR STRING
WIFI:S:ABC;P:Tfsjfklasdjfklasdest;T:WPA;;

RESULT
                                                              
  ██████████████        ████  ██████  ██████  ██████████████  
  ██          ██    ██  ██████████        ██  ██          ██  
  ██  ██████  ██  ██████  ██  ██      ████    ██  ██████  ██  
  ██  ██████  ██  ██  ██      ██  ████    ██  ██  ██████  ██  
  ██  ██████  ██  ██    ██    ██    ████████  ██  ██████  ██  
  ██          ██  ██  ██████    ██  ████  ██  ██          ██  
  ██████████████  ██  ██  ██  ██  ██  ██  ██  ██████████████  
                  ██  ██████    ████  ██                      
  ██  ██████████      ██      ████████        ██████████      
        ██  ██  ██  ██    ██    ████  ██████  ██  ██  ████    
  ██    ██  ████████    ████    ██████      ████  ████        
  ██████    ██  ██  ██  ██    ██      ██  ██████  ██    ████  
  ██          ██  ████  ██  ██    ████  ██      ████████      
        ██  ██    ██████  ██████    ████████    ████  ████    
    ██  ████  ████  ██████  ██  ██  ████  ██    ██    ██      
    ████  ████          ██    ██████    ██  ██      ██        
    ██████    ██  ████████████  ██████  ██      ██  ██  ████  
  ██      ████        ██    ████  ██████████████  ██    ██    
  ██      ██  ████    ██  ████  ████            ██  ████      
  ██  ██████        ██████    ██      ██████████  ██      ██  
  ██  ████  ██████      ████    ██████    ██████████████      
                  ██  ██    ██    ██  ██  ██      ██  ██      
  ██████████████      ██  ██████████  ██████  ██  ██  ██      
  ██          ██  ████  ██  ██  ████    ████      ████        
  ██  ██████  ██  ██  ██      ████  ██    ██████████    ████  
  ██  ██████  ██  ██    ████      ██      ██      ██    ████  
  ██  ██████  ██  ██    ██    ████  ████  ██  ████████  ██    
  ██          ██    ██  ██    ██████      ████      ██  ██    
  ██████████████  ██  ██        ██  ██  ██    ██  ██          

Docker container

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

As python module

from makeqr import MakeQR, QRMailToModel

model = QRMailToModel(
  to='foo@bar.baz',
  subject='Awesome subject!',
)
qr = MakeQR(model)
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.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

makeqr-4.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: makeqr-4.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.15 Linux/5.15.0-1022-azure

File hashes

Hashes for makeqr-4.1.0.tar.gz
Algorithm Hash digest
SHA256 9d1809a4e4438eb0600e138097bcfb50dab654be9a335df2eac56bab37c26326
MD5 2b4809b159ae153744078394a831e363
BLAKE2b-256 9c70452a481c5a411d32a903ea43066f3b964bd2ad4c2d698ec921f1e8131c46

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: makeqr-4.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.15 Linux/5.15.0-1022-azure

File hashes

Hashes for makeqr-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9eb450c4b823a4cef649ef8d96f23bba4eee8e5ae1401e16597e9f255b826b73
MD5 d31b3d522cd51e585202e3654edbef84
BLAKE2b-256 95eb907ad27896deb7b03f59e9be792fc954ddd5f5e5f0226ef141300586bcaf

See more details on using hashes here.

Provenance

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