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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: Stsocialicon-0.0.3.tar.gz
  • Upload date:
  • Size: 9.2 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.3.tar.gz
Algorithm Hash digest
SHA256 6d88c71e38455516269d5f6e5afe3112ea4a04c58c79df57d3d830a25dc34bc5
MD5 8289873675482d151d3c3a32aaa4a741
BLAKE2b-256 608f5e5e08fb8d7dd9ad99e3bbdb5660fc88d24c058bad44234ac6f602e0ff7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Stsocialicon-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 40bc2f115a78e9ab09eaeaf82d1c0b3ba9db7b29275d535a4b439ed820aa2b36
MD5 85254964dd61297ef7a59e73d32e8558
BLAKE2b-256 7789fa13db45b7556bf82e221733a0abced334e028034f7871db3dd74787861e

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