Streamlit-socialmedia


NameStreamlit-socialmedia JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/RAJPUTRoCkStAr/Streamlit-socialmedia.git
SummaryA package for generating social media icons with customizable colors and sizes.
upload_time2024-07-15 19:13:20
maintainerNone
docs_urlNone
authorSumit Kumar Singh
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![GitHub license](https://img.shields.io/github/license/RAJPUTRoCkStAr/Streamlit-socialmedia) ![GitHub last commit](https://img.shields.io/github/last-commit/RAJPUTRoCkStAr/Streamlit-socialmedia)
# 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 Streamlit-SocialMediaIcons using pip:

```bash
pip install Streamlit-SocialMediaIcons
```
## Code
```bash
from Streamlit_socialmedia 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](mailto:sumitsingh9441@gmail.com).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/RAJPUTRoCkStAr/Streamlit-socialmedia.git",
    "name": "Streamlit-socialmedia",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Sumit Kumar Singh",
    "author_email": "sumitsingh9441@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0a/d4/3197a7f1765ede227446cec6e8bc81a325bd23dc46d30bfdacab71037717/streamlit_socialmedia-0.0.1.tar.gz",
    "platform": null,
    "description": "![GitHub license](https://img.shields.io/github/license/RAJPUTRoCkStAr/Streamlit-socialmedia) ![GitHub last commit](https://img.shields.io/github/last-commit/RAJPUTRoCkStAr/Streamlit-socialmedia)\r\n# SocialMediaIcons\r\n\r\n`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.\r\n\r\n## Features\r\n\r\n- **Dynamic Icon Generation**: Generates SVG icons based on provided social media links.\r\n- **Customizable Colors**: Default colors are provided for each platform, but users can specify their own.\r\n- **Flexible Sizing**: Supports multiple predefined sizes and allows custom height and width.\r\n               **Just Add links for your profile**\r\n\r\n\r\n## Installation\r\n\r\nYou can install Streamlit-SocialMediaIcons using pip:\r\n\r\n```bash\r\npip install Streamlit-SocialMediaIcons\r\n```\r\n## Code\r\n```bash\r\nfrom Streamlit_socialmedia import SocialMediaIcons\r\n\r\ndef main():\r\n    links = [\r\n    \"https://www.facebook.com/example\",\r\n    \"https://www.youtube.com/example\",\r\n    \"https://www.instagram.com/example\",\r\n    \"https://www.linkedin.com/example\"\r\n    ] #pass social media link here\r\n    sizes = ['sm','lg'] #pass for every social media you are adding\r\n\r\n    icon_generator = SocialMediaIcons(social_media_links=links, sizes=sizes).generate_icons()\r\n\r\nif __name__ == '__main__':\r\n    main()\r\n\r\n```\r\n\r\n## Contact\r\nFor any questions or feedback, feel free to reach out at [sumitsingh9441@gmail.com](mailto:sumitsingh9441@gmail.com).\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A package for generating social media icons with customizable colors and sizes.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/RAJPUTRoCkStAr/Streamlit-socialmedia.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df2783fa8ceea5d6729a4a9e62bd0ea128bca9cd3db97f2bb56afb499e753a57",
                "md5": "91853d0b37245d63b9a782998a988809",
                "sha256": "22c865f0515fac6909b97773867717211659fdffaa6b756f1070220905ad85dd"
            },
            "downloads": -1,
            "filename": "Streamlit_socialmedia-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "91853d0b37245d63b9a782998a988809",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 9583,
            "upload_time": "2024-07-15T19:13:19",
            "upload_time_iso_8601": "2024-07-15T19:13:19.108748Z",
            "url": "https://files.pythonhosted.org/packages/df/27/83fa8ceea5d6729a4a9e62bd0ea128bca9cd3db97f2bb56afb499e753a57/Streamlit_socialmedia-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ad43197a7f1765ede227446cec6e8bc81a325bd23dc46d30bfdacab71037717",
                "md5": "6ce38c828daad1e7cebcfaa431e0a4b9",
                "sha256": "238abb3f6d6dccb6ff33d6348955f39248fbd1153941c4694f88534df0caa052"
            },
            "downloads": -1,
            "filename": "streamlit_socialmedia-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6ce38c828daad1e7cebcfaa431e0a4b9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 9211,
            "upload_time": "2024-07-15T19:13:20",
            "upload_time_iso_8601": "2024-07-15T19:13:20.768604Z",
            "url": "https://files.pythonhosted.org/packages/0a/d4/3197a7f1765ede227446cec6e8bc81a325bd23dc46d30bfdacab71037717/streamlit_socialmedia-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-15 19:13:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "RAJPUTRoCkStAr",
    "github_project": "Streamlit-socialmedia",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "streamlit-socialmedia"
}
        
Elapsed time: 0.31539s