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)
Metadata
Release files for meerk40t-barcodes 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| meerk40t_barcodes-0.2.8.tar.gz | 20.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| meerk40t_barcodes-0.2.8-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 40.5 kB
Release files / meerk40t_barcodes-0.2.8.tar.gz
| Download URL | meerk40t_barcodes-0.2.8.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
799cafd5f237d69077b3be850c8d5b474c0b25c6987385f8b84dd2f5440d3351
|
|
BLAKE2b-256 checksum How to use checksums |
258a5d49fe2599e66ee49135c7ee5e14f78c4080b1be9cb3a43ade4d49e27cbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 11, 2025.
Transparency logRelease files / meerk40t_barcodes-0.2.8-py2.py3-none-any.whl
| Download URL | meerk40t_barcodes-0.2.8-py2.py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cdffd3a354c34e7825138256340919329ccf9b1e110ebfa3b57786f6494d5aca
|
|
BLAKE2b-256 checksum How to use checksums |
cffdd944d2fd09368fbabb389f265f00c424db04d1af29be9eb63efb9adc65e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 11, 2025.
Transparency log