what is it
a marquee component for streamlit
how to use
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.
demo 1 (recommend)
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',
})
demo 2
from streamlit_marquee import streamlit_marquee
streamlit_marquee(content='here is custom marquee component~')
how it realizes
since the html tag <marquee> has been declared as deprecated.
as an alternative, use css animation to realize.
supported attributes
- background
- fontSize
- color
- content
- width
- lineHeight
- animationDuration
you can also download the source code and change to support more attributes such as transition-timing-function. any question, please open issues.
Metadata
Release files for streamlit-marquee 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| streamlit_marquee-0.0.7.tar.gz | 3.6 kB | Without provenance | Details for streamlit_marquee-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamlit_marquee-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for streamlit_marquee-0.0.7-py3-none-any.whl |
Total release size: 7.8 kB
Release files / streamlit_marquee-0.0.7.tar.gz
| Download URL | streamlit_marquee-0.0.7.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04fd23ac80f19578a000d0059a609a013677ce739190badba6906ed80b51d29b
|
|
BLAKE2b-256 checksum How to use checksums |
3b2b7a7337921e7d5af943d1c8915a8c928f1db24fc14ef39303900262a0fb01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.8
|
Release files / streamlit_marquee-0.0.7-py3-none-any.whl
| Download URL | streamlit_marquee-0.0.7-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58042837fc43d37503d0a08dce02f1bc1c6567414333771099897aa7bed395ac
|
|
BLAKE2b-256 checksum How to use checksums |
d9b2f8ab12166c52836b0d949c8bb59faad13d77ad89fd9ef70502f04cd633ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.8
|
Security for streamlit-marquee 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.