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.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

makeqr-4.4.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: makeqr-4.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3b1a471cffbfde8908107e5f289f9cc99fb804aa77c6a42702c454210b46d26f
MD5 0204fa6a1b5a584cb6f923242d689f99
BLAKE2b-256 8f4352c838151995507eafb9859d37f83f91e3b3aa9feb93cee4abeb0c127818

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: makeqr-4.4.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ca64c53a9e4d859be6238f23b465b2e7c991ac949b3b361baed035620eb034a
MD5 fefe958257e01ac29f5eaba137c0dcdd
BLAKE2b-256 4bd467c15749ed25b55f8b3a394917e26194ab6aad8a83305b567bc66e8d8b84

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