Sign inSign up

bandi13/pyqrcode

By bandi13

Updated almost 2 years ago

More information can be found at: https://github.com/bandi13/pyqrcode-docker

Image
Developer tools
0

197

bandi13/pyqrcode repository overview

pyqrcode-docker

Repo for creating arbitrary QR codes

To use

You first need to create the container: docker build -t bandi13/pyqrcode .. Alternatively, you can just use the one from my DockerHub repository (bandi13/pyqrcode).

Then you can run it like so: docker run --rm -it bandi13/pyqrcode "Hello world"

There are various arguments you can add to change the output. This is done by passing -e PYQRCODE_x to the docker run command, where x is one of the following:

  • ERROR: error correction level. One of 'L', 'M', 'Q', or 'H'
  • VERSION: size and data capacity of the code. Integer between 1 and 40
  • MODE: one of either 'numeric', 'alphanumeric', 'binary', or 'kanji'
  • FGCOLOR: color of the terminal foreground
  • BGCOLOR: color of the terminal background

This will also output the PNG image to the local directory if you pass in -v $(pwd):/app.

Support

or

Tag summary

Content type

Image

Digest

sha256:fa46a6880

Size

367.7 MB

Last updated

almost 2 years ago

docker pull bandi13/pyqrcode