Skip to main content

GitHub license GitHub last commit

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)

Source distribution for Stsocialicon 0.0.3
File Size Uploaded
Stsocialicon-0.0.3.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Stsocialicon 0.0.3
File Interpreter ABI Platform
Stsocialicon-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / Stsocialicon-0.0.3.tar.gz

Download URL Stsocialicon-0.0.3.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6d88c71e38455516269d5f6e5afe3112ea4a04c58c79df57d3d830a25dc34bc5
BLAKE2b-256 checksum
How to use checksums
608f5e5e08fb8d7dd9ad99e3bbdb5660fc88d24c058bad44234ac6f602e0ff7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / Stsocialicon-0.0.3-py3-none-any.whl

Download URL Stsocialicon-0.0.3-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40bc2f115a78e9ab09eaeaf82d1c0b3ba9db7b29275d535a4b439ed820aa2b36
BLAKE2b-256 checksum
How to use checksums
7789fa13db45b7556bf82e221733a0abced334e028034f7871db3dd74787861e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page