Skip to main content

A package for generating social media icons with customizable colors and sizes.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Stsocialicon-0.0.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

Stsocialicon-0.0.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file Stsocialicon-0.0.0.tar.gz.

File metadata

  • Download URL: Stsocialicon-0.0.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for Stsocialicon-0.0.0.tar.gz
Algorithm Hash digest
SHA256 80c63c4c4eacefb36a58a422293f898a572440792f6d026f12e4178f210ae65d
MD5 6be373223adcb8ed85035cc8ceddb58b
BLAKE2b-256 0795121e2006c6f076baf77bc2270e509b71d4d5459bc4ae68759c56a3d6b131

See more details on using hashes here.

File details

Details for the file Stsocialicon-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Stsocialicon-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82b6e4f35574e27e7845fe4488e36ae34306fdad01489d8f60f0a9ff8f4c4524
MD5 dea585d52ac67b80fe172d00791417c4
BLAKE2b-256 16954fb3ab6251d1c30781277ee6d5fa8c651e43864b2ef158879965ba84ed2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page