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.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: Stsocialicon-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 0f010f19d65aba1cf72b7b5262eb0f0c5ff15e3439917218fc9dc70439661d8d
MD5 89f45877cc6a125b1db1abf112bf7ba2
BLAKE2b-256 7b0072dfdd931aab7b1888cb1bd8ad81ff5465bcfc5996af84397a1b530a9d98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Stsocialicon-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8e1e0b04052d4bc7d5dad4062bc1790e2b411b9b65469403bf3b62799139ecf1
MD5 d993d01a3125f4874d3fd7625c93d639
BLAKE2b-256 50b4512e6d24e1ba9db855b25e30bce5191da01fee06bec1ddaf9865bd41ef62

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