colourmap

Colourmap is for wrangling RGB and HEX colors.

https://github.com/erdogant/colourmap

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.5%) to scientific vocabulary

Keywords

colorization colormap colorscheme conversion hex python rgb
Last synced: 6 months ago · JSON representation ·

Repository

Colourmap is for wrangling RGB and HEX colors.

Basic Info
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 3
  • Open Issues: 0
  • Releases: 23
Topics
colorization colormap colorscheme conversion hex python rgb
Created about 6 years ago · Last pushed 8 months ago
Metadata Files
Readme Funding License Citation

README.md

colourmap

Python PyPI Version License Github Forks GitHub Open Issues Project Status Downloads Downloads Sphinx <!---BuyMeCoffee--> <!---Coffee-->

*Colourmap generates an unique lit of RGB and HEX colors for the specified input list.

⭐️ Star this repo if you like it ⭐️

Documentation pages

On the documentation pages you can find more information about colourmap with examples.

Install colourmap from PyPI

bash pip install colourmap # normal install pip install -U colourmap # update if needed

Import colourmap package

python from colourmap import colourmap


Quick example

Use the documentation pages for more detailed usage. Some of the most used functionalities are linked below.

```python

from colourmap import colourmap

Create N colors

c = colourmap.generate(10)

From list

crgb, cdict = colourmap.fromlist([1,1,2,2,3,1,2,3])

to HEX

chex = colourmap.rgb2hex(crgb)

```

Example: Generate N unique colors from a specific colormap

Example: Generate unique colors based on input labels

Example: Create unique colors based on seaborn or matplotlib

Example: Conversion RGB to HEX

Example: Conversion HEX to RGB

Example: Create a linear gradient between colors


Maintainer

  • Erdogan Taskesen, github: erdogant
  • Contributions are welcome.
  • For citations, please use the citation at the right side panel.
  • If you wish to buy me a Coffee for this work, it is very appreciated :)

Owner

  • Name: Erdogan
  • Login: erdogant
  • Kind: user
  • Location: Den Haag

Machine Learning | Statistics | Bayesian | D3js | Visualizations

Citation (CITATION.cff)

# YAML 1.2
---
authors: 
  -
    family-names: Taskesen
    given-names: Erdogan
    orcid: "https://orcid.org/0000-0002-3430-9618"
cff-version: "1.1.0"
date-released: 2020-10-07
keywords: 
  - "python"
  - "colourmap"
license: "MIT"
message: "If you use this software, please cite it using these metadata."
repository-code: "https://erdogant.github.io/colourmap"
title: "colourmap"
version: "0.1.0"
...

GitHub Events

Total
  • Release event: 3
  • Issue comment event: 1
  • Push event: 7
  • Pull request event: 2
  • Fork event: 1
  • Create event: 5
Last Year
  • Release event: 3
  • Issue comment event: 1
  • Push event: 7
  • Pull request event: 2
  • Fork event: 1
  • Create event: 5

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 53
  • Total Committers: 2
  • Avg Commits per committer: 26.5
  • Development Distribution Score (DDS): 0.283
Top Committers
Name Email Commits
erdogant e****t@g****m 38
Erdogan Taskesen 3****t@u****m 15

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 2
  • Average time to close issues: about 17 hours
  • Average time to close pull requests: about 2 months
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 2 hours
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • TheGreatAlgo (1)
Pull Request Authors
  • dpinol (4)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 385,467 last-month
  • Total docker downloads: 45
  • Total dependent packages: 12
  • Total dependent repositories: 21
  • Total versions: 25
  • Total maintainers: 1
pypi.org: colourmap

Python package colourmap generates an N unique colors from the specified input colormap.

  • Homepage: https://erdogant.github.io/colourmap
  • Documentation: https://colourmap.readthedocs.io/
  • License: MIT License Copyright (c) 2020 Erdogan Taskesen Colourmap generates an N unique colors from the specified input colormap. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 1.2.0
    published 8 months ago
  • Versions: 25
  • Dependent Packages: 12
  • Dependent Repositories: 21
  • Downloads: 385,467 Last month
  • Docker Downloads: 45
Rankings
Dependent packages count: 0.9%
Downloads: 1.2%
Dependent repos count: 3.2%
Docker downloads count: 3.9%
Average: 10.7%
Stargazers count: 25.0%
Forks count: 29.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

docs/source/requirements.txt pypi
  • pipinstallsphinx_rtd_theme *
requirements.txt pypi
  • matplotlib *
  • numpy *
setup.py pypi
  • matplotlib *
  • numpy *