colorspace
colorspace: A Python Toolbox for Manipulating and Assessing Colors and Palettes - Published in JOSS (2024)
Science Score: 100.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
Found 7 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
✓Committers with academic emails
3 of 5 committers (60.0%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Repository
Python colorspace implementation. Documentation available on https://retostauffer.github.io/python-colorspace/. The latest release is available via the Python Package Index (PyPI) via https://pypi.org/project/colorspace/
Basic Info
Statistics
- Stars: 74
- Watchers: 9
- Forks: 15
- Open Issues: 0
- Releases: 3
Metadata Files
README.md

A Python toolbox for manipulating and assessing colors and palettes
The package provides a Python 3 version of the R colorspace package comprising:
- Color spaces: Conversions and manipulations of RGB, HSV, CIEXYZ, CIELAB, CIELUV, HCL etc.
- HCL-based palettes: Qualitative, sequential, and diverging color maps constructed using the HCL (hue-chroma-luminance) color model. These can closely approximate palettes from ColorBrewer.org, CARTO, viridis, or Crameri's scientific color maps.
- matplotlib color maps: Integration with matplotlib for use in standard plotting functions.
- Palette visualization: Plotting palettes in color swatches, spectrums of HCL and/or RGB trajectories, and illustrations of typical data visualizations.
- Interactive palette chooser: App for exploring, modifying, and picking color palettes interactively.
- Color vision deficiency: Emulation of different kinds of color blindness.
- Utilities: Various color manipulations including tools to desaturate, lighten, darken, adjust the transparency, or compute the contrast ratio.
Links
- PyPI: https://pypi.org/project/colorspace/
- GitHub: https://github.com/retostauffer/python-colorspace/
- Documentation: https://retostauffer.github.io/python-colorspace/
- Bug reports: https://github.com/retostauffer/python-colorspace/issues Bug reports and suggestions are welcome and very much appreciated!
Contributors
- Reto Stauffer
, (principal author & maintainer), Universität Innsbruck, Austria
- Achim Zeileis
, Universität Innsbruck, Austria
We would like to thank the following individuals for their contributions to the
review process for this software, as part of the submission to
The Journal of Open Source Software (JOSS):
Julia Romanowska @jromanowska, Editor
,
Daniel S. Katz @danielskatz, Editor
,
David Reagan @dmreagan, Reviewer
,
Andrew Ting @hollowscene, Reviewer.
Furthermore, the Python package implements the functionality from the R package
that is co-written with
Ross Ihaka,
Paul Murrell
,
Kurt Hornik
,
Jason C. Fisher
,
Claus O. Wilke
,
Claire D. McWhite
.
Citations
Stauffer, R. and Zeileis A. (2024). "colorspace: A Python Toolbox for Manipulating and Assessing Colors and Palettes." The Journal of Open Source Software, 9(102), 7120, doi:10.21105/joss.07120.
Stauffer, R. and Zeileis, A. (2024). "colorspace: A Python Toolbox for Manipulating and Assessing Colors and Palettes (v1.0.0)". Zenodo. doi:10.5281/zenodo.14004295.
Development notes
Community guidelines
If you encountery any bugs or issues, or are interested in contributing to Python colorspace, please have a look at our Community guidelines.
Test and development
More detailed information on how to run automated tests, create coverage reports, test examples and render the documentation can be found on our Installation page.
GitHub Action integration (CI)
Additional notes about development and deployment are documented in GITHUBACTIONS.md.
Owner
- Name: Reto Stauffer
- Login: retostauffer
- Kind: user
- Location: Austria
- Website: http://www.retostauffer.org
- Repositories: 52
- Profile: https://github.com/retostauffer
Working as scientific staff at the University of Innsbruck, Austria. Using github to grant access to some code snippets and packages (most alpha/beta).
JOSS Publication
colorspace: A Python Toolbox for Manipulating and Assessing Colors and Palettes
Authors
Tags
color palettes color vision visualization assesmentCitation (CITATION.cff)
cff-version: 1.2.0
message: "Please use the following citation if referencing this software."
title: "colorspace: A Python Toolbox for Manipulating and Assessing Colors and Palettes"
version: "1.0.0"
authors:
- family-names: Stauffer
given-names: Reto
affiliation: "Department of Statistics and Digital Science Center, Universität Innsbruck, Austria"
orcid: "https://orcid.org/0000-0002-3798-5507"
- family-names: Zeileis
given-names: Achim
affiliation: "Department of Statistics, Universität Innsbruck, Austria"
orcid: "https://orcid.org/0000-0003-0918-3766"
date-released: "2023-10-28"
url: "https://retostauffer.github.io/python-colorspace/"
repository-code: "https://github.com/retostauffer/python-colorspace"
license: "GPL-2.0 | GPL-3.0"
keywords:
- "colors"
- "color palettes"
- "color spaces"
- "manipulate colors"
- "HCL"
- "HCL colors"
- "color vision deficiencies"
Papers & Mentions
Total mentions: 31
Glycolysis- and immune-related novel prognostic biomarkers of Ewing's sarcoma: glucuronic acid epimerase and triosephosphate isomerase 1
- DOI: 10.18632/aging.203242
- OpenAlex ID: https://openalex.org/W3182094520
- Published: July 2021
Identification of genetic loci and candidate genes related to soybean flowering through genome wide association study
- DOI: 10.1186/s12864-019-6324-7
- OpenAlex ID: https://openalex.org/W2995598181
- Published: December 2019
A full-body transcriptome and proteome resource for the European common carp
- DOI: 10.1186/s12864-016-3038-y
- OpenAlex ID: https://openalex.org/W2515743109
- Published: September 2016
Screening and Bioinformatics Analysis of Competitive Endogenous RNA Regulatory Network ––Related to Circular RNA in Breast Cancer
- DOI: 10.1155/2021/5575286
- OpenAlex ID: https://openalex.org/W3201001430
- Published: September 2021
A Network Pharmacology and Molecular Docking Strategy to Explore Potential Targets and Mechanisms Underlying the Effect of Curcumin on Osteonecrosis of the Femoral Head in Systemic Lupus Erythematosus
- DOI: 10.1155/2021/5538643
- OpenAlex ID: https://openalex.org/W3199537276
- Published: September 2021
An investig-ation into the epidemiology of chikungunya virus across neglected regions of Indonesia
- DOI: 10.1371/journal.pntd.0008934
- OpenAlex ID: https://openalex.org/W3117874032
- Published: December 2020
An integrative framework to reevaluate the Neotropical catfish genus Guyanancistrus (Siluriformes: Loricariidae) with particular emphasis on the Guyanancistrus brevispinis complex
- DOI: 10.1371/journal.pone.0189789
- OpenAlex ID: https://openalex.org/W2781885717
- Published: January 2018
A computational reproducibility study of PLOS ONE articles featuring longitudinal data analyses
- DOI: 10.1371/journal.pone.0251194
- OpenAlex ID: https://openalex.org/W3175126868
- Published: June 2021
Bayesian hierarchical negative binomial models for multivariable analyses with applications to human microbiome count data
- DOI: 10.1371/journal.pone.0220961
- OpenAlex ID: https://openalex.org/W2969720544
- Published: August 2019
Cancer-Associated Angiogenesis: The Endothelial Cell as a Checkpoint for Immunological Patrolling
- DOI: 10.3390/cancers12113380
- OpenAlex ID: https://openalex.org/W3102699168
- Published: November 2020
Integrating Network Pharmacology with Molecular Docking to Unravel the Active Compounds and Potential Mechanism of Simiao Pill Treating Rheumatoid Arthritis
- DOI: 10.1155/2020/5786053
- OpenAlex ID: https://openalex.org/W3095512706
- Published: November 2020
A Network Pharmacology-Based Identification Study on the Mechanism of Xiao-Xu-Ming Decoction for Cerebral Ischemic Stroke
- DOI: 10.1155/2020/2507074
- OpenAlex ID: https://openalex.org/W3093749551
- Published: October 2020
Systematic Investigation of the Effect of Powerful Tianma Eucommia Capsule on Ischemic Stroke Using Network Pharmacology
- DOI: 10.1155/2021/8897313
- OpenAlex ID: https://openalex.org/W3167100505
- Published: June 2021
An Immune Gene-Related Five-lncRNA Signature for to Predict Glioma Prognosis
- DOI: 10.3389/fgene.2020.612037
- OpenAlex ID: https://openalex.org/W3111571919
- Published: December 2020
Particle Collection in Imhoff Sedimentation Cones Enriches Both Motile Chemotactic and Particle-Attached Bacteria
- DOI: 10.3389/fmicb.2021.643730
- OpenAlex ID: https://openalex.org/W3141510683
- Published: April 2021
Identification of Hub Genes and Pathways Associated With Idiopathic Pulmonary Fibrosis via Bioinformatics Analysis
- DOI: 10.3389/fmolb.2021.711239
- OpenAlex ID: https://openalex.org/W3198486307
- Published: August 2021
Prognostic Prediction Using a Stemness Index-Related Signature in a Cohort of Gastric Cancer
- DOI: 10.3389/fmolb.2020.570702
- OpenAlex ID: https://openalex.org/W3084191442
- Published: September 2020
Screening of miRNAs as Prognostic Biomarkers for Colon Adenocarcinoma and Biological Function Analysis of Their Target Genes
- DOI: 10.3389/fonc.2021.560136
- OpenAlex ID: https://openalex.org/W3139202177
- Published: March 2021
Compound Dihuang Granule Inhibits Nigrostriatal Pathway Apoptosis in Parkinson’s Disease by Suppressing the JNK/AP-1 Pathway
- DOI: 10.3389/fphar.2021.621359
- OpenAlex ID: https://openalex.org/W3152627378
- Published: April 2021
m6A RNA methylation regulators could contribute to the occurrence of chronic obstructive pulmonary disease
- DOI: 10.1111/jcmm.15848
- OpenAlex ID: https://openalex.org/W3087889869
- Published: September 2020
Spatially-explicit valuation of coastal wetlands for cyclone mitigation in Australia and China
- DOI: 10.1038/s41598-018-21217-z
- OpenAlex ID: https://openalex.org/W2805860550
- Published: February 2018
Metabolomic analysis of mouse prefrontal cortex reveals upregulated analytes during wakefulness compared to sleep
- DOI: 10.1038/s41598-018-29511-6
- OpenAlex ID: https://openalex.org/W2883453508
- Published: July 2018
High gene flow maintains genetic diversity following selection for high EPSPS copy number in the weed kochia (Amaranthaceae)
- DOI: 10.1038/s41598-020-75345-6
- OpenAlex ID: https://openalex.org/W3096313876
- Published: November 2020
Gastrointestinal adenocarcinoma analysis identifies promoter methylation-based cancer subtypes and signatures
- DOI: 10.1038/s41598-020-78228-y
- OpenAlex ID: https://openalex.org/W3109020289
- Published: December 2020
Identification of natural product modulators of Merkel cell carcinoma cell growth and survival
- DOI: 10.1038/s41598-021-93097-9
- OpenAlex ID: https://openalex.org/W3173600377
- Published: June 2021
Modest changes in Spi1 dosage reveal the potential for altered microglial function as seen in Alzheimer’s disease
- DOI: 10.1038/s41598-021-94324-z
- OpenAlex ID: https://openalex.org/W3133041819
- Published: July 2021
Integral Analysis of the RNA Binding Protein-associated Prognostic Model for Renal Cell Carcinoma
- DOI: 10.7150/ijms.50704
- OpenAlex ID: https://openalex.org/W3119587477
- Published: January 2021
Identification of a Four-lncRNA Prognostic Signature for Colon Cancer Based on Genome Instability
- DOI: 10.1155/2021/7408893
- OpenAlex ID: https://openalex.org/W3201636802
- Published: September 2021
<i>De novo</i> HAPLN1 expression hallmarks Wnt-induced stem cell and fibrogenic networks leading to aggressive human hepatocellular carcinomas
- DOI: 10.18632/oncotarget.9346
- OpenAlex ID: https://openalex.org/W2399707750
- Published: May 2016
Linking Soil Fungal Generality to Tree Richness in Young Subtropical Chinese Forests
- DOI: 10.3390/microorganisms7110547
- OpenAlex ID: https://openalex.org/W2989070380
- Published: November 2019
A Diverse Virome of Leafroll-Infected Grapevine Unveiled by dsRNA Sequencing
- DOI: 10.3390/v12101142
- OpenAlex ID: https://openalex.org/W3088914026
- Published: October 2020
GitHub Events
Total
- Create event: 9
- Release event: 8
- Issues event: 3
- Watch event: 10
- Delete event: 7
- Issue comment event: 3
- Push event: 39
- Pull request event: 1
- Fork event: 1
Last Year
- Create event: 9
- Release event: 8
- Issues event: 3
- Watch event: 10
- Delete event: 7
- Issue comment event: 3
- Push event: 39
- Pull request event: 1
- Fork event: 1
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Reto Stauffer | r****r@u****t | 599 |
| Achim Zeileis | A****s@u****t | 41 |
| github-actions[bot] | g****] | 6 |
| Daniel S. Katz | d****z@i****g | 1 |
| Andrew Ting | 5****e | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 17
- Total pull requests: 9
- Average time to close issues: over 1 year
- Average time to close pull requests: 3 months
- Total issue authors: 10
- Total pull request authors: 6
- Average comments per issue: 3.18
- Average comments per pull request: 0.44
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 7
- Pull requests: 5
- Average time to close issues: 20 days
- Average time to close pull requests: 10 days
- Issue authors: 3
- Pull request authors: 5
- Average comments per issue: 2.14
- Average comments per pull request: 0.8
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- retostauffer (6)
- dmreagan (2)
- fmaussion (2)
- jangler (1)
- avanavana (1)
- matteoferla (1)
- slel (1)
- zeileis (1)
- hollowscene (1)
- meteosimon (1)
Pull Request Authors
- zeileis (8)
- retostaufferorg (2)
- Falk358 (2)
- danielskatz (2)
- hollowscene (1)
- meteosimon (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 796 last-month
- Total dependent packages: 0
- Total dependent repositories: 2
- Total versions: 8
- Total maintainers: 2
pypi.org: colorspace
A Python toolbox for manipulating and assessing colors and palettes
- Homepage: https://github.com/retostauffer/python-colorspace
- Documentation: https://retostauffer.github.io/python-colorspace/
- License: GPL-2 | GPL-3
-
Latest release: 1.0.0
published about 1 year ago
Rankings
Maintainers (2)
Dependencies
- imageio *
- numpy *
- numpy *
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- peaceiris/actions-gh-pages v3 composite
