MeerK40t Barcode Extension
Project description
meerk40t-barcodes
MeerK40t 0.8+ Barcode extension.
Barcode-Extension
- Registers the console command:
qrcodewhich will generate a qrcode
Usage: qrcode x_pos y_pos dim code
Arguments:
x_pos X-position of qr-code y_pos Y-position of qr-code dim Width/length of qr-code code Text to create qr-code from
Options:
--boxsize (-x) Boxsize (default 10) --border (-b) Border around qr-code (default 4) --version (-v) size (1..40) --errcorr (-e) error correction, one of L (7%), M (15%), Q (25%), H (30%)
- Registers the console command:
barcodewhich will generate a barcode
Usage: barcode x_pos y_pos dimx dimy btype code
Arguments:
x_pos X-Position of barcode y_pos Y-Position of barcode dim Width of barcode, may be 'auto' to keep native width dimy Height of barcode, may be 'auto' to keep native height btype Barcode type code The code to process
Options:
--notext (-n) suppress text display
- GUI-Support The installation of this tool will register a new button in the Design section of MeerK40t:
If you click on it then a dialog will pop up allowing you to design a qr-code / a barcode:
This will create an element in Meerk40t that can be treated like any other regular path, but which will allow post-creation change of the underlying code (ie the barcode will be regenerated based on the new input).
Installation
pip install meerk40t-barcodesOr- Download into a directory:
$ pip install .
Development
- If you are developing your own extension for meerk40t you will want to use:
$ pip install -e .this installs the python module in edit mode which allows you to easily see and experience your changes. Without reinstalling your module.
Acknowledgements
-
This MeerK40t extension uses the work of two great libraries to create barcodes & QR codes:
-
The python-barcode library (https://github.com/WhyNotHugo/python-barcode)
-
The qrcode library (https://github.com/lincolnloop/python-qrcode)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meerk40t_barcodes-0.2.8.tar.gz.
File metadata
- Download URL: meerk40t_barcodes-0.2.8.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
799cafd5f237d69077b3be850c8d5b474c0b25c6987385f8b84dd2f5440d3351
|
|
| MD5 |
c81097727d975128a06d5ca36c0c1bc2
|
|
| BLAKE2b-256 |
258a5d49fe2599e66ee49135c7ee5e14f78c4080b1be9cb3a43ade4d49e27cbe
|
Provenance
The following attestation bundles were made for meerk40t_barcodes-0.2.8.tar.gz:
Publisher:
pypi.yml on meerk40t/meerk40t-barcodes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
meerk40t_barcodes-0.2.8.tar.gz -
Subject digest:
799cafd5f237d69077b3be850c8d5b474c0b25c6987385f8b84dd2f5440d3351 - Sigstore transparency entry: 170213679
- Sigstore integration time:
-
Permalink:
meerk40t/meerk40t-barcodes@6522e0200c0700f0b6f1b2300d89dcc9f081ffd4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/meerk40t
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@6522e0200c0700f0b6f1b2300d89dcc9f081ffd4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file meerk40t_barcodes-0.2.8-py2.py3-none-any.whl.
File metadata
- Download URL: meerk40t_barcodes-0.2.8-py2.py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdffd3a354c34e7825138256340919329ccf9b1e110ebfa3b57786f6494d5aca
|
|
| MD5 |
0e98c6ccab10279f8cfa6e0289fb19c4
|
|
| BLAKE2b-256 |
cffdd944d2fd09368fbabb389f265f00c424db04d1af29be9eb63efb9adc65e8
|
Provenance
The following attestation bundles were made for meerk40t_barcodes-0.2.8-py2.py3-none-any.whl:
Publisher:
pypi.yml on meerk40t/meerk40t-barcodes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
meerk40t_barcodes-0.2.8-py2.py3-none-any.whl -
Subject digest:
cdffd3a354c34e7825138256340919329ccf9b1e110ebfa3b57786f6494d5aca - Sigstore transparency entry: 170213683
- Sigstore integration time:
-
Permalink:
meerk40t/meerk40t-barcodes@6522e0200c0700f0b6f1b2300d89dcc9f081ffd4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/meerk40t
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@6522e0200c0700f0b6f1b2300d89dcc9f081ffd4 -
Trigger Event:
push
-
Statement type: