🌿**ionicons_python**
==================
🍃**Description**
--------------------
This package containing the icons taken from `ionicons` website for using those easily in Python. You will not only get the basic icons from this package, but also get the social icons too, for example Linkedin, GitHub, Twitter, etc.
🍃**Installation**
============
#### **Stable release**
To install `ionicons_python`, run this command in your terminal:
$ pip install ionicons_python
This is the preferred method to install `ionicons_python`, as it will always install the most recent stable release.
If you don't have `pip` installed, this `Python installation guide` can guide
you through the process.
_pip_: https://pip.pypa.io
_Python installation guide_: http://docs.python-guide.org/en/latest/starting/installation/
🍃**Usage**
---------------
After the installation is complete, use it with any of your favourite framework like **Flet, Streamlit** etc. Here I am giving an example of using **Flet**.
```python
from ionicons_python.ionicons_icons import *
import flet as ft
def main(page: ft.Page):
page.add(ft.Image(linkedin_icon, width=24, height=24))
ft.app(target=main)
```
Don't use this icons with `Iconbutton` or `Icon` of **Flet**. Those only take flet inbuilt icons.
for **Streamlit**, below is an example:
```python
import streamlit as st
from ionicons_python.ionicons_icons import *
st.image(python_icon, width=30)
```
in the version 0.1.5, you can get some colored icons too. Those icons are available in the `extra_icons` module. The usage of it in **Flet** and **Streamlit** are shown below respectively.
##### **Flet**
```python
from ionicons_python.colored_icons import *
import flet as ft
def main(page: ft.Page):
page.add(ft.Image(google_color_icon, width=24, height=24))
ft.app(target=main)
```
##### **Streamlit**
```python
import streamlit as st
from ionicons_python.colored_icons import *
st.image(python_color_icon, width=30)
```
if you want to know which colored icons are available, see the **Releases** section. All the icons provided here is in **.svg** format. So, if you change the size of the icon, it will still looks sharp.
if you want to see all the ionicons icons available, visit [this](https://ionic.io/ionicons) website.
🍃**Releases**
----------------
###### **1.0.3**
- fixed path error while using colored icons.
###### **1.0.2**
- This library is now Stable. You can also see some new colored icons which are taken from icons8, flaticons, etc. The icons are listed below.
- `chatgpt_icon`
- `gmail_icon`
- `google_color_icon`
- `google_docs_icon`
- `google_sheets_icon`
- `google_drive_icon`
- `google_slides_icon`
- `streamlit_icon`
- `python_color_icon`
###### **0.1.4**
- bugs fixed and done improvements.
###### **0.1.3**
- previously the icons are only working with the desktop app of the **Flet**, not in the website. Now this bug is fixed.
###### **0.1.2**
- First release in PyPI in Pre-Alpha Stage.
Raw data
{
"_id": null,
"home_page": "https://github.com/srang992/ionicons_python",
"name": "ionicons-python",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "ionicons_python",
"author": "Subhradeep Rang",
"author_email": "srang992@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c6/74/f2a846bdcbda9de7b871b7a1840979a4760465424d5e10eaa56302a9776d/ionicons_python-1.0.3.tar.gz",
"platform": null,
"description": "\ud83c\udf3f**ionicons_python**\r\n==================\r\n\r\n\ud83c\udf43**Description**\r\n--------------------\r\nThis package containing the icons taken from `ionicons` website for using those easily in Python. You will not only get the basic icons from this package, but also get the social icons too, for example Linkedin, GitHub, Twitter, etc.\r\n\r\n\ud83c\udf43**Installation**\r\n============\r\n\r\n\r\n#### **Stable release**\r\n\r\n\r\nTo install `ionicons_python`, run this command in your terminal:\r\n\r\n\r\n $ pip install ionicons_python\r\n\r\n\r\n\r\nThis is the preferred method to install `ionicons_python`, as it will always install the most recent stable release.\r\n\r\n\r\n\r\nIf you don't have `pip` installed, this `Python installation guide` can guide\r\n\r\nyou through the process.\r\n\r\n\r\n\r\n_pip_: https://pip.pypa.io\r\n\r\n\r\n_Python installation guide_: http://docs.python-guide.org/en/latest/starting/installation/\r\n\r\n\ud83c\udf43**Usage**\r\n---------------\r\nAfter the installation is complete, use it with any of your favourite framework like **Flet, Streamlit** etc. Here I am giving an example of using **Flet**.\r\n\r\n```python\r\nfrom ionicons_python.ionicons_icons import *\r\nimport flet as ft\r\n\r\ndef main(page: ft.Page):\r\n page.add(ft.Image(linkedin_icon, width=24, height=24))\r\n\r\nft.app(target=main)\r\n```\r\nDon't use this icons with `Iconbutton` or `Icon` of **Flet**. Those only take flet inbuilt icons.\r\n\r\nfor **Streamlit**, below is an example:\r\n```python\r\nimport streamlit as st\r\nfrom ionicons_python.ionicons_icons import *\r\n\r\nst.image(python_icon, width=30)\r\n```\r\nin the version 0.1.5, you can get some colored icons too. Those icons are available in the `extra_icons` module. The usage of it in **Flet** and **Streamlit** are shown below respectively.\r\n\r\n##### **Flet**\r\n\r\n```python\r\nfrom ionicons_python.colored_icons import *\r\nimport flet as ft\r\n\r\n\r\ndef main(page: ft.Page):\r\n page.add(ft.Image(google_color_icon, width=24, height=24))\r\n\r\n\r\nft.app(target=main)\r\n```\r\n##### **Streamlit**\r\n\r\n```python\r\nimport streamlit as st\r\nfrom ionicons_python.colored_icons import *\r\n\r\nst.image(python_color_icon, width=30)\r\n```\r\nif you want to know which colored icons are available, see the **Releases** section. All the icons provided here is in **.svg** format. So, if you change the size of the icon, it will still looks sharp.\r\n\r\nif you want to see all the ionicons icons available, visit [this](https://ionic.io/ionicons) website.\r\n\r\n\ud83c\udf43**Releases**\r\n----------------\r\n###### **1.0.3**\r\n- fixed path error while using colored icons.\r\n###### **1.0.2**\r\n- This library is now Stable. You can also see some new colored icons which are taken from icons8, flaticons, etc. The icons are listed below.\r\n\r\n - `chatgpt_icon`\r\n - `gmail_icon`\r\n - `google_color_icon`\r\n - `google_docs_icon`\r\n - `google_sheets_icon`\r\n - `google_drive_icon`\r\n - `google_slides_icon`\r\n - `streamlit_icon`\r\n - `python_color_icon`\r\n###### **0.1.4**\r\n- bugs fixed and done improvements.\r\n###### **0.1.3**\r\n- previously the icons are only working with the desktop app of the **Flet**, not in the website. Now this bug is fixed. \r\n###### **0.1.2**\r\n- First release in PyPI in Pre-Alpha Stage.\r\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "Package containing icons taken from ionicons website.",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://github.com/srang992/ionicons_python"
},
"split_keywords": [
"ionicons_python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c674f2a846bdcbda9de7b871b7a1840979a4760465424d5e10eaa56302a9776d",
"md5": "2010faa4e198c7bf99116b4af6383847",
"sha256": "c7330a0bbce026f3dc2ff8e74d086a73648984d9a568a1b1f5bbecfcb5cc8fe9"
},
"downloads": -1,
"filename": "ionicons_python-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "2010faa4e198c7bf99116b4af6383847",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 285483,
"upload_time": "2023-06-09T09:28:18",
"upload_time_iso_8601": "2023-06-09T09:28:18.637884Z",
"url": "https://files.pythonhosted.org/packages/c6/74/f2a846bdcbda9de7b871b7a1840979a4760465424d5e10eaa56302a9776d/ionicons_python-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-09 09:28:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "srang992",
"github_project": "ionicons_python",
"github_not_found": true,
"lcname": "ionicons-python"
}