reflex-qrcode


Namereflex-qrcode JSON
Version 0.0.1 PyPI version JSON
download
home_pageNone
SummaryReflex custom component QRCode
upload_time2024-07-06 18:50:46
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseApache-2.0
keywords reflex reflex-custom-components
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # QRCode

A Reflex custom component for QRCodes based on [react-qr-code](https://github.com/onexay/reflex-qrcode/blob/main/qrcode_demo/qrcode_demo/qrcode_demo.py) component.

## Installation

### PIP

```bash
pip install reflex-qrcode
```

### Poetry

```bash
poetry add reflex-qrcode
```

## Usage

### Props

* `title`: [`str`] - Title of the QRCode, shows up as tooltip
* `value`: [`str`] - Value for which QRCode is generated
* `level`: [`str`] - QRCode level, valid values are `L`, `M`, `Q` and `H`. Default is `L`
* `size`: [`int`] - QCode size (square), maximum value is `256`

```python
from reflex_qrcode import QRCode

def index():
    return QRCode(
        title="Title", 
        value="Value"
    )

```

See [demo code]() for details.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "reflex-qrcode",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "reflex, reflex-custom-components",
    "author": null,
    "author_email": "Akshay Ranjan <akshay.ranjan@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/02/70/1a2eb045bb77f7f10ced42df059bcd7355ba58e183a83c4897e2d1e4cac8/reflex_qrcode-0.0.1.tar.gz",
    "platform": null,
    "description": "# QRCode\n\nA Reflex custom component for QRCodes based on [react-qr-code](https://github.com/onexay/reflex-qrcode/blob/main/qrcode_demo/qrcode_demo/qrcode_demo.py) component.\n\n## Installation\n\n### PIP\n\n```bash\npip install reflex-qrcode\n```\n\n### Poetry\n\n```bash\npoetry add reflex-qrcode\n```\n\n## Usage\n\n### Props\n\n* `title`: [`str`] - Title of the QRCode, shows up as tooltip\n* `value`: [`str`] - Value for which QRCode is generated\n* `level`: [`str`] - QRCode level, valid values are `L`, `M`, `Q` and `H`. Default is `L`\n* `size`: [`int`] - QCode size (square), maximum value is `256`\n\n```python\nfrom reflex_qrcode import QRCode\n\ndef index():\n    return QRCode(\n        title=\"Title\", \n        value=\"Value\"\n    )\n\n```\n\nSee [demo code]() for details.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Reflex custom component QRCode",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/onexay/reflex-qrcode"
    },
    "split_keywords": [
        "reflex",
        " reflex-custom-components"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "25dc73c2952beb5e85ff74d64cd418cf8efecb4638423410df13c917b2f6572d",
                "md5": "2489f0d07b6db0e0ef62646c8e65aa81",
                "sha256": "1ec680b58f6a349fa7a5445ca8673debc9833ff5db8ba0e1175217cd36a567ae"
            },
            "downloads": -1,
            "filename": "reflex_qrcode-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2489f0d07b6db0e0ef62646c8e65aa81",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 2295,
            "upload_time": "2024-07-06T18:50:44",
            "upload_time_iso_8601": "2024-07-06T18:50:44.596451Z",
            "url": "https://files.pythonhosted.org/packages/25/dc/73c2952beb5e85ff74d64cd418cf8efecb4638423410df13c917b2f6572d/reflex_qrcode-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02701a2eb045bb77f7f10ced42df059bcd7355ba58e183a83c4897e2d1e4cac8",
                "md5": "50a9f9c4edfd88f924fa131fb79e39c0",
                "sha256": "667593c1ab19863b8bc00508c9d1fefce4529b726832fa1a77cf60574f2e0911"
            },
            "downloads": -1,
            "filename": "reflex_qrcode-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "50a9f9c4edfd88f924fa131fb79e39c0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 2131,
            "upload_time": "2024-07-06T18:50:46",
            "upload_time_iso_8601": "2024-07-06T18:50:46.409948Z",
            "url": "https://files.pythonhosted.org/packages/02/70/1a2eb045bb77f7f10ced42df059bcd7355ba58e183a83c4897e2d1e4cac8/reflex_qrcode-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-06 18:50:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "onexay",
    "github_project": "reflex-qrcode",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "reflex-qrcode"
}
        
Elapsed time: 0.52070s