meerk40t-barcodes


Namemeerk40t-barcodes JSON
Version 0.2.8 PyPI version JSON
download
home_pagehttps://github.com/meerk40t/meerk40t-barcodes
SummaryMeerK40t Barcode Extension
upload_time2025-02-11 09:53:58
maintainerNone
docs_urlNone
authorjpirnay
requires_pythonNone
licenseMIT
keywords lasercutter laser vector parser
VCS
bugtrack_url
requirements meerk40t qrcode python-barcode
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # meerk40t-barcodes

MeerK40t 0.8+ Barcode extension.

## Barcode-Extension

* Registers the console command: `qrcode` which 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: `barcode` which 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:

<img width="639" alt="image" src="https://user-images.githubusercontent.com/2670784/232893108-c2f4293c-f084-4d5b-8900-b4cbd74f0e38.png">

If you click on it then a dialog will pop up allowing you to design a qr-code / a barcode:

<img width="258" alt="image" src="https://user-images.githubusercontent.com/2670784/232893402-88694837-370a-4b34-a0b7-e9e2ac83c0bc.png">

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).

<img width="432" alt="image" src="https://user-images.githubusercontent.com/2670784/232892296-c3cbae13-53d8-4143-9667-94cdc31cb4a5.png">

## Installation

* `pip install meerk40t-barcodes`
Or
* 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)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/meerk40t/meerk40t-barcodes",
    "name": "meerk40t-barcodes",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "lasercutter, laser, vector, parser",
    "author": "jpirnay",
    "author_email": "jens@pirnay.com",
    "download_url": "https://files.pythonhosted.org/packages/25/8a/5d49fe2599e66ee49135c7ee5e14f78c4080b1be9cb3a43ade4d49e27cbe/meerk40t_barcodes-0.2.8.tar.gz",
    "platform": null,
    "description": "# meerk40t-barcodes\n\nMeerK40t 0.8+ Barcode extension.\n\n## Barcode-Extension\n\n* Registers the console command: `qrcode` which will generate a qrcode\n\nUsage:    `qrcode x_pos y_pos dim code`\n\nArguments:\n> x_pos          X-position of qr-code\n> y_pos          Y-position of qr-code\n> dim            Width/length of qr-code\n> code           Text to create qr-code from\n\nOptions:\n> --boxsize  (-x)      Boxsize (default 10)\n> --border   (-b)      Border around qr-code (default 4)\n> --version  (-v)      size (1..40)\n> --errcorr  (-e)      error correction, one of L (7%), M (15%), Q (25%), H (30%)\n\n* Registers the console command: `barcode` which will generate a barcode\n\nUsage:    `barcode x_pos y_pos dimx dimy btype code`\n\nArguments:\n> x_pos     X-Position of barcode\n> y_pos     Y-Position of barcode\n> dim       Width of barcode, may be 'auto' to keep native width\n> dimy      Height of barcode, may be 'auto' to keep native height\n> btype     Barcode type\n> code      The code to process\n\n Options:\n> --notext  (-n)      suppress text display\n\n* GUI-Support\nThe installation of this tool will register a new button in the Design section of MeerK40t:\n\n<img width=\"639\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2670784/232893108-c2f4293c-f084-4d5b-8900-b4cbd74f0e38.png\">\n\nIf you click on it then a dialog will pop up allowing you to design a qr-code / a barcode:\n\n<img width=\"258\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2670784/232893402-88694837-370a-4b34-a0b7-e9e2ac83c0bc.png\">\n\nThis 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).\n\n<img width=\"432\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2670784/232892296-c3cbae13-53d8-4143-9667-94cdc31cb4a5.png\">\n\n## Installation\n\n* `pip install meerk40t-barcodes`\nOr\n* Download into a directory:\n* `$ pip install .`\n\n## Development\n\n* If you are developing your own extension for meerk40t you will want to use:\n* `$ 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.\n\n## Acknowledgements\n\n* This MeerK40t extension uses the work of two great libraries to create barcodes & QR codes:\n\n* The python-barcode library (https://github.com/WhyNotHugo/python-barcode)\n* The qrcode library (https://github.com/lincolnloop/python-qrcode)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "MeerK40t Barcode Extension",
    "version": "0.2.8",
    "project_urls": {
        "Homepage": "https://github.com/meerk40t/meerk40t-barcodes"
    },
    "split_keywords": [
        "lasercutter",
        " laser",
        " vector",
        " parser"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "cffdd944d2fd09368fbabb389f265f00c424db04d1af29be9eb63efb9adc65e8",
                "md5": "0e98c6ccab10279f8cfa6e0289fb19c4",
                "sha256": "cdffd3a354c34e7825138256340919329ccf9b1e110ebfa3b57786f6494d5aca"
            },
            "downloads": -1,
            "filename": "meerk40t_barcodes-0.2.8-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0e98c6ccab10279f8cfa6e0289fb19c4",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 20395,
            "upload_time": "2025-02-11T09:53:56",
            "upload_time_iso_8601": "2025-02-11T09:53:56.430824Z",
            "url": "https://files.pythonhosted.org/packages/cf/fd/d944d2fd09368fbabb389f265f00c424db04d1af29be9eb63efb9adc65e8/meerk40t_barcodes-0.2.8-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "258a5d49fe2599e66ee49135c7ee5e14f78c4080b1be9cb3a43ade4d49e27cbe",
                "md5": "c81097727d975128a06d5ca36c0c1bc2",
                "sha256": "799cafd5f237d69077b3be850c8d5b474c0b25c6987385f8b84dd2f5440d3351"
            },
            "downloads": -1,
            "filename": "meerk40t_barcodes-0.2.8.tar.gz",
            "has_sig": false,
            "md5_digest": "c81097727d975128a06d5ca36c0c1bc2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20087,
            "upload_time": "2025-02-11T09:53:58",
            "upload_time_iso_8601": "2025-02-11T09:53:58.449394Z",
            "url": "https://files.pythonhosted.org/packages/25/8a/5d49fe2599e66ee49135c7ee5e14f78c4080b1be9cb3a43ade4d49e27cbe/meerk40t_barcodes-0.2.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-11 09:53:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "meerk40t",
    "github_project": "meerk40t-barcodes",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "meerk40t",
            "specs": []
        },
        {
            "name": "qrcode",
            "specs": []
        },
        {
            "name": "python-barcode",
            "specs": []
        }
    ],
    "lcname": "meerk40t-barcodes"
}
        
Elapsed time: 1.20575s