# Giveme Color
Giveme Color is a simple Python package that generates a random color and copies it to the clipboard. It’s a handy tool for quickly obtaining a random color code for your projects.
## Features
- Generates a random color.
- Automatically copies the color code to your clipboard.
## Installation
You can install Giveme Color via pip:
```bash
pip install givemecolor
```
## Usage
### Method 1: Directly from Python
First, import the package in your Python script:
```python
import givemecolor
```
Then, call the function to generate a random color:
```python
givemecolor.givemecolor()
```
### Method 2: Using an Alias
Alternatively, you can import the function directly:
```python
from givemecolor import givemecolor
```
And call it the same way:
```python
givemecolor()
```
The color code will be copied to your clipboard automatically, so you can easily paste it wherever needed.
### Command Line Usage
After installation, you can also use `givemecolor` directly from the command line:
```bash
givemecolor
```
This command will generate a random color and copy the color code to your clipboard.
## Example
Here’s a quick example of using Giveme Color in a Python script:
```python
from givemecolor import givemecolor
# Generate a random color and copy it to the clipboard
givemecolor()
```
## About the Author
Giveme Color is created by Parth Dudhatra (imParth), a passionate software engineer, developer advocate, and content creator known for his contributions to the tech community. Parth is dedicated to frontend development, Python programming, open-source software, and sharing knowledge with others.
Parth is active on various social media platforms, where he shares insights, tutorials, and tips related to programming, web development, and software engineering. Parth's dedication to sharing his expertise and fostering a supportive environment for developers has earned him recognition and respect within the tech community.
You can connect with Parth on social media:
- [Portfolio](https://imparth.me)
- [X/Twitter](https://x.com/imparth73)
- [Instagram](https://instagram.com/imparth.dev)
- [GitHub](https://github.com/imparth7)
- [LinkedIn](https://linkedin.com/in/imparth7)
- [Medium](https://imparth7.medium.com)
- [Dev.to](https://dev.to/imparth)
If you have any questions, feedback, or suggestions, feel free to reach out on any platform!
Raw data
{
"_id": null,
"home_page": "https://github.com/imparth7/giveme-color-py",
"name": "givemecolor",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "random, color",
"author": "imparth",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/03/51/3b46f96bc26284109a3eab678f2d65baf8d8b792db00cef5e739597729fe/givemecolor-1.0.1.tar.gz",
"platform": null,
"description": "# Giveme Color\r\n\r\nGiveme Color is a simple Python package that generates a random color and copies it to the clipboard. It\u00e2\u20ac\u2122s a handy tool for quickly obtaining a random color code for your projects.\r\n\r\n## Features\r\n\r\n- Generates a random color.\r\n- Automatically copies the color code to your clipboard.\r\n\r\n## Installation\r\n\r\nYou can install Giveme Color via pip:\r\n\r\n```bash\r\npip install givemecolor\r\n```\r\n\r\n## Usage\r\n\r\n### Method 1: Directly from Python\r\n\r\nFirst, import the package in your Python script:\r\n\r\n```python\r\nimport givemecolor\r\n```\r\n\r\nThen, call the function to generate a random color:\r\n\r\n```python\r\ngivemecolor.givemecolor()\r\n```\r\n\r\n### Method 2: Using an Alias\r\n\r\nAlternatively, you can import the function directly:\r\n\r\n```python\r\nfrom givemecolor import givemecolor\r\n```\r\n\r\nAnd call it the same way:\r\n\r\n```python\r\ngivemecolor()\r\n```\r\n\r\nThe color code will be copied to your clipboard automatically, so you can easily paste it wherever needed.\r\n\r\n### Command Line Usage\r\n\r\nAfter installation, you can also use `givemecolor` directly from the command line:\r\n\r\n```bash\r\ngivemecolor\r\n```\r\n\r\nThis command will generate a random color and copy the color code to your clipboard.\r\n\r\n## Example\r\n\r\nHere\u00e2\u20ac\u2122s a quick example of using Giveme Color in a Python script:\r\n\r\n```python\r\nfrom givemecolor import givemecolor\r\n\r\n# Generate a random color and copy it to the clipboard\r\ngivemecolor()\r\n```\r\n\r\n## About the Author\r\n\r\nGiveme Color is created by Parth Dudhatra (imParth), a passionate software engineer, developer advocate, and content creator known for his contributions to the tech community. Parth is dedicated to frontend development, Python programming, open-source software, and sharing knowledge with others.\r\n\r\nParth is active on various social media platforms, where he shares insights, tutorials, and tips related to programming, web development, and software engineering. Parth's dedication to sharing his expertise and fostering a supportive environment for developers has earned him recognition and respect within the tech community.\r\n\r\nYou can connect with Parth on social media:\r\n\r\n- [Portfolio](https://imparth.me)\r\n- [X/Twitter](https://x.com/imparth73)\r\n- [Instagram](https://instagram.com/imparth.dev)\r\n- [GitHub](https://github.com/imparth7)\r\n- [LinkedIn](https://linkedin.com/in/imparth7)\r\n- [Medium](https://imparth7.medium.com)\r\n- [Dev.to](https://dev.to/imparth)\r\n\r\nIf you have any questions, feedback, or suggestions, feel free to reach out on any platform!\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Giveme Color is a random color generator package. Every time it returns a new random color and copies it to your clipboard.",
"version": "1.0.1",
"project_urls": {
"Bug Reports": "https://github.com/imparth7/giveme-color-py/issues",
"Homepage": "https://github.com/imparth7/giveme-color-py#readme"
},
"split_keywords": [
"random",
" color"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4eadb2c84c883fc80701cdc70b52c616361b436a0d225b10f8cdee6717720e1a",
"md5": "b041ad107e7f904725a2320249a03a05",
"sha256": "366635971f3d2ff762df50e8f6ad90c272f7015adfa5bde8a2d746d4581003ca"
},
"downloads": -1,
"filename": "givemecolor-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b041ad107e7f904725a2320249a03a05",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 3378,
"upload_time": "2024-08-08T17:30:01",
"upload_time_iso_8601": "2024-08-08T17:30:01.292625Z",
"url": "https://files.pythonhosted.org/packages/4e/ad/b2c84c883fc80701cdc70b52c616361b436a0d225b10f8cdee6717720e1a/givemecolor-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "03513b46f96bc26284109a3eab678f2d65baf8d8b792db00cef5e739597729fe",
"md5": "b9bf58928f7170d07374935b7d6435f0",
"sha256": "e7d0513626db8af71a8dc743cde2cc8e9d79d1bff62783e1cfcde2370de04e85"
},
"downloads": -1,
"filename": "givemecolor-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "b9bf58928f7170d07374935b7d6435f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3023,
"upload_time": "2024-08-08T17:30:02",
"upload_time_iso_8601": "2024-08-08T17:30:02.803570Z",
"url": "https://files.pythonhosted.org/packages/03/51/3b46f96bc26284109a3eab678f2d65baf8d8b792db00cef5e739597729fe/givemecolor-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-08 17:30:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "imparth7",
"github_project": "giveme-color-py",
"github_not_found": true,
"lcname": "givemecolor"
}