{"id":16653714,"url":"https://github.com/baseplate-admin/modern_colorthief","last_synced_at":"2026-04-11T04:11:03.949Z","repository":{"id":205821271,"uuid":"714921868","full_name":"baseplate-admin/modern_colorthief","owner":"baseplate-admin","description":"Colorthief but with modern codes","archived":false,"fork":false,"pushed_at":"2026-04-06T18:30:38.000Z","size":1720,"stargazers_count":11,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-06T18:31:46.460Z","etag":null,"topics":["colorthief","mmcq","pyo3","rust"],"latest_commit_sha":null,"homepage":"https://modern-colorthief.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baseplate-admin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"docs/roadmaps.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-06T05:49:33.000Z","updated_at":"2026-04-06T18:30:41.000Z","dependencies_parsed_at":"2026-02-16T17:08:19.269Z","dependency_job_id":null,"html_url":"https://github.com/baseplate-admin/modern_colorthief","commit_stats":null,"previous_names":["baseplate-admin/modern_colorthief"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/baseplate-admin/modern_colorthief","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fmodern_colorthief","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fmodern_colorthief/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fmodern_colorthief/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fmodern_colorthief/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baseplate-admin","download_url":"https://codeload.github.com/baseplate-admin/modern_colorthief/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fmodern_colorthief/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31668114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["colorthief","mmcq","pyo3","rust"],"created_at":"2024-10-12T09:46:53.456Z","updated_at":"2026-04-11T04:11:03.941Z","avatar_url":"https://github.com/baseplate-admin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Documentation Status](https://readthedocs.org/projects/modern-colorthief/badge/?version=latest)](https://modern-colorthief.readthedocs.io/en/latest/?badge=latest) [![Downloads](https://static.pepy.tech/badge/modern_colorthief)](https://pepy.tech/project/modern_colorthief) [![Pypi Badge](https://img.shields.io/pypi/v/modern_colorthief.svg)](https://pypi.org/project/modern_colorthief/)\r\n\r\n# Introduction :\r\n\r\n[`ColorThief`](https://github.com/fengsp/color-thief-py) reimagined\r\n\r\n\r\n## Examples :\r\n\r\nHere is a minimal example :\r\n\r\n```python\r\nfrom modern_colorthief import get_color\r\n\r\npath = ...\r\n\r\nprint(get_color(path, 10))\r\n\r\n```\r\n\r\n\u003ccenter\u003e\u003csub\u003e If you want a comprehensive example please visit the \u003ca href=\"https://github.com/baseplate-admin/modern_colorthief/blob/7b1a02ca44ca1c7b8e63cd4818caf1a506c18fde/tests/test_modern_colortheif_with_colorthief.py\"\u003etest\u003c/a\u003e file\u003c/sub\u003e\u003c/center\u003e\r\n\r\n## Migration from `colorthief` :\r\n\r\n```diff\r\n- from colorthief import ColorThief\r\n+ from modern_colorthief import get_color, get_palette\r\n\r\n\r\nimage = '' # Path to a image\r\n\r\n- ColorThief(image).get_color()\r\n+ get_color(image)\r\n\r\n\r\n- ColorThief(image).get_palette()\r\n+ get_palette(image)\r\n```\r\n\r\n## Used Internally by :\r\n\r\n-   [`coreproject`](https://github.com/baseplate-admin/coreproject)\r\n\r\n## Contributing :\r\n\r\nIf you like this project add a star.\r\nIf you have problems or suggestions please put them in the [Issue Tracker](https://github.com/baseplate-admin/modern_colorthief/issues)\r\nIf you like to add features. Fork this repo and submit a Pull Request. \r\n\r\n# Roadmap :\r\n\r\nYou tell me. If i have free time, I will implement it.\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaseplate-admin%2Fmodern_colorthief","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaseplate-admin%2Fmodern_colorthief","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaseplate-admin%2Fmodern_colorthief/lists"}