meerk40t-barcodes


Namemeerk40t-barcodes JSON
Version 0.2.5 PyPI version JSON
download
home_pagehttps://github.com/meerk40t/meerk40t-barcodes
SummaryMeerK40t Barcode Extension
upload_time2024-01-26 10:09:29
maintainer
docs_urlNone
authorjpirnay
requires_python
licenseMIT
keywords lasercutter laser vector parser
VCS
bugtrack_url
requirements No requirements were recorded.
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">

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