semvec/pypi-packages huggingface dataset:
colorFinder 1.0.2
A package for automatically finding the most common used colors in an image.
Requires Python: >=3.6

# Common Colors Finder Website

Why color pick when you can grab the 5 most used colors inside a logo or an image and use them for your design and css!

Upload your image or provide an image url and check instantly.

# Usage

```python
from colorFinder import ColorFinder

color_finder = ColorFinder(image_url="https://warehouse-camo.ingress.cmh1.psfhosted.org/f10043f97c4efa219b0dca9bab54a6caf620718b/68747470733a2f2f7365637572652e67726176617461722e636f6d2f6176617461722f62306163633463623730383637613663373463306139653465656330356464653f73697a653d3430", num_colors=5)

colors_list = color_finder.get_common_colors()

print(colors_list)
```

## Output 

Returns a list of tuples containing the RGB value and color count matching your top num_colors
```text
[((113, 113, 113), 17), ((127, 127, 127), 14), ((117, 117, 117), 13), ((105, 105, 105), 12), ((166, 166, 166), 12)]
```
# Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on [GitHub](https://github.com/danysrour/commonColorsFinder.git).

# License

This project is licensed under the MIT License

```text

You can now copy this code and use it as your README.md file.
```
cr-pre-commit-hooks 0.1.1
pre-commit hooks for ensuring consistency across our code base. Included are hooks which are not available elsewhere and also not super useful outside of a CR context.
Requires Python: >=3.9,<4.0

# Climate Resource pre-commit hooks

<!--- sec-begin-description -->

[pre-commit](https://pre-commit.com/) hooks for ensuring consistency across our code
base. Included are hooks which are not available elsewhere and also not super useful
outside of a CR context.

<!--- sec-end-description -->

## Usage

<!--- sec-begin-usage -->

To use the hooks in a project, add to your `.pre-commit-config.yaml`:
```yaml
  - repo: https://gitlab.com/climate-resource/cr-pre-commit-hooks
    rev: v0.1.0
    hooks:
      - id: check-docstrings
```

<!--- sec-end-usage -->

## For developers

<!--- sec-begin-installation-dev -->

For development, we rely on [poetry](https://python-poetry.org) for all our
dependency management. To get started, you will need to make sure that poetry
is installed
([instructions here](https://python-poetry.org/docs/#installing-with-the-official-installer),
we found that pipx and pip worked better to install on a Mac).

For all of work, we use our `Makefile`.
You can read the instructions out and run the commands by hand if you wish,
but we generally discourage this because it can be error prone.
In order to create your environment, run `make virtual-environment`.

If there are any issues, the messages from the `Makefile` should guide you
through. If not, please raise an issue in the [issue tracker][issue_tracker].

For the rest of our developer docs, please see [](development-reference).

[issue_tracker]: https://gitlab.com/climate-resource/cr-pre-commit-hooks/issues

<!--- sec-end-installation-dev -->