Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
a marquee component for streamlit
first, install via pip online
pip install streamlit-marquee
or download the wheel file and install offline
pip install {{the downloaded wheel file path in your pc}}
or just download the source-code.
then, there are two demos below.
from streamlit_marquee import streamlit_marquee
streamlit_marquee(**{
# the marquee container background color
'background': "#ff0000",
# the marquee text size
'font-size': '12px',
# the marquee text color
"color": "#ffffff",
# the marquee text content
'content': 'here is custom marquee component~',
# the marquee container width
'width': '600px',
# the marquee container line height
'lineHeight': "35px",
# the marquee duration
'animationDuration': '5s',
})
from streamlit_marquee import streamlit_marquee
streamlit_marquee(content='here is custom marquee component~')
since the html tag <marquee>
has been declared as deprecated.
as an alternative, use css animation to realize.
you can also download the source code and change to support more attributes such as transition-timing-function. any question, please open issues.
FAQs
a streamlit marquee component
We found that streamlit-marquee 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.