Skip to main content

Generate QR cards for any occasion

Project description

wifi_qrcode

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}
ENCODED QR DATA
  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.0.2.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

makeqr-4.0.2-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

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