Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.
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/
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.
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:
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.
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)
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 website.
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
FAQs
Package containing icons taken from ionicons website.
We found that ionicons-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.