SocialMediaIcons
SocialMediaIcons is a Python class designed to dynamically generate SVG icons for various social media platforms. This class is customizable, allowing users to specify links, colors, and sizes for each social media icon.
Features
- Dynamic Icon Generation: Generates SVG icons based on provided social media links.
- Customizable Colors: Default colors are provided for each platform, but users can specify their own.
- Flexible Sizing: Supports multiple predefined sizes and allows custom height and width. Just Add links for your profile
Installation
You can install Stsocialicon using pip:
pip install Stsocialicon
Code
from Stsocialicon import SocialMediaIcons
def main():
links = [
"https://www.facebook.com/example",
"https://www.youtube.com/example",
"https://www.instagram.com/example",
"https://www.linkedin.com/example"
] #pass social media link here
sizes = ['sm','lg'] #pass for every social media you are adding
icon_generator = SocialMediaIcons(social_media_links=links, sizes=sizes).generate_icons()
if __name__ == '__main__':
main()
Contact
For any questions or feedback, feel free to reach out at sumitsingh9441@gmail.com.
Metadata
Release files for Stsocialicon 0.0.3
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 |
|---|---|---|---|---|
| Stsocialicon-0.0.3.tar.gz | 9.2 kB | Without provenance | Details for Stsocialicon-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Stsocialicon-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for Stsocialicon-0.0.3-py3-none-any.whl |
Total release size: 18.3 kB
Security for Stsocialicon 0.0.3
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.