faicons


Namefaicons JSON
Version 0.2.2 PyPI version JSON
download
home_pagehttps://github.com/rstudio/py-faicons
SummaryAn interface to Font-Awesome for use in Shiny.
upload_time2024-01-16 23:27:21
maintainer
docs_urlNone
authorCarson Sievert
requires_python>=3.8
licenseMIT
keywords fontawesome
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Font Awesome for Shiny

An interface to [Font-Awesome](https://fontawesome.com/) for use in Shiny for Python.

This package currently uses Font-Awesome 6.2.0.

## Installation

```python
pip install faicons
```

## Usage

Use `icon_svg()` to get an `<svg>` representation of the icon.

```python
from faicons import icon_svg
icon_svg("play")
```

Example usage in Shiny:

```python
from shiny import ui
ui.input_action_button("btn", "Press me", icon=icon_svg("play")).show()
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/rstudio/py-faicons",
    "name": "faicons",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "fontawesome",
    "author": "Carson Sievert",
    "author_email": "carson@rstudio.com",
    "download_url": "https://files.pythonhosted.org/packages/06/e8/c12ef85c4444616ab1c1e96d5ecbadc8046d40b34797308846a2cfc06c80/faicons-0.2.2.tar.gz",
    "platform": "any",
    "description": "\n# Font Awesome for Shiny\n\nAn interface to [Font-Awesome](https://fontawesome.com/) for use in Shiny for Python.\n\nThis package currently uses Font-Awesome 6.2.0.\n\n## Installation\n\n```python\npip install faicons\n```\n\n## Usage\n\nUse `icon_svg()` to get an `<svg>` representation of the icon.\n\n```python\nfrom faicons import icon_svg\nicon_svg(\"play\")\n```\n\nExample usage in Shiny:\n\n```python\nfrom shiny import ui\nui.input_action_button(\"btn\", \"Press me\", icon=icon_svg(\"play\")).show()\n```\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "An interface to Font-Awesome for use in Shiny.",
    "version": "0.2.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/rstudio/py-faicons/issues",
        "Homepage": "https://github.com/rstudio/py-faicons",
        "Source Code": "https://github.com/rstudio/py-faicons"
    },
    "split_keywords": [
        "fontawesome"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "653c1db1b0f878319bb227f35a0fca7cad64e1f528b518bcab1a708da305c86d",
                "md5": "e6fd2327ffb99486045b4878fa1a0595",
                "sha256": "d45d7c2635b53582a3375c67d7e975a28a91d2c16ef5f6b5033b5cdd507224b6"
            },
            "downloads": -1,
            "filename": "faicons-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e6fd2327ffb99486045b4878fa1a0595",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 607225,
            "upload_time": "2024-01-16T23:27:19",
            "upload_time_iso_8601": "2024-01-16T23:27:19.475369Z",
            "url": "https://files.pythonhosted.org/packages/65/3c/1db1b0f878319bb227f35a0fca7cad64e1f528b518bcab1a708da305c86d/faicons-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "06e8c12ef85c4444616ab1c1e96d5ecbadc8046d40b34797308846a2cfc06c80",
                "md5": "b1e315e1a681090ac79ff1995ecfc3c7",
                "sha256": "6b7d7b19180179b6b83783f91bf6c9311c0f00ae0f97d41be1d24d9942361659"
            },
            "downloads": -1,
            "filename": "faicons-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "b1e315e1a681090ac79ff1995ecfc3c7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 604434,
            "upload_time": "2024-01-16T23:27:21",
            "upload_time_iso_8601": "2024-01-16T23:27:21.634329Z",
            "url": "https://files.pythonhosted.org/packages/06/e8/c12ef85c4444616ab1c1e96d5ecbadc8046d40b34797308846a2cfc06c80/faicons-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-16 23:27:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rstudio",
    "github_project": "py-faicons",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "faicons"
}
        
Elapsed time: 0.16856s