{"id":17345142,"url":"https://github.com/sveetch/django-palette","last_synced_at":"2026-03-02T11:35:26.215Z","repository":{"id":34520218,"uuid":"163780371","full_name":"sveetch/django-palette","owner":"sveetch","description":"A Django+Vue.js app to build a palette with named color","archived":false,"fork":false,"pushed_at":"2023-01-14T00:12:11.000Z","size":1625,"stargazers_count":4,"open_issues_count":23,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T08:41:35.247Z","etag":null,"topics":["color","django","vuejs"],"latest_commit_sha":null,"homepage":null,"language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sveetch.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-02T01:31:09.000Z","updated_at":"2021-10-26T08:37:26.000Z","dependencies_parsed_at":"2023-01-15T07:33:47.726Z","dependency_job_id":null,"html_url":"https://github.com/sveetch/django-palette","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Fdjango-palette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Fdjango-palette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Fdjango-palette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sveetch%2Fdjango-palette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sveetch","download_url":"https://codeload.github.com/sveetch/django-palette/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248955221,"owners_count":21189013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["color","django","vuejs"],"created_at":"2024-10-15T16:29:39.162Z","updated_at":"2026-03-02T11:35:26.156Z","avatar_url":"https://github.com/sveetch.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"A Django app to create a palette of named colors from given source.\n\nRequires\n********\n\n* Python \u003e= 3.4;\n* Django\u003e=2.0,\u003c2.1;\n* colour==0.1.5;\n* whitenoise\u003e=4.0,\u003c5.0 (for sandbox);\n* NodeJS (to customize and build frontend);\n\n\nInstall\n*******\n\nAs a package\n------------\n\nInstall package ::\n\n    pip install django-palette\n\nAdd it to your installed Django apps in settings like this : ::\n\n    INSTALLED_APPS = (\n        ...\n        'django_palette',\n    )\n\nThen load its settings from your settings file: ::\n\n    from django_palette.settings import *\n\nSandbox\n-------\n\nEnsure you got recent Makefile, Python and NodeJS install, clone the repository\nand go in its directory to type: ::\n\n    make install\n\nOnce everything is done you can simply launch local server: ::\n\n    make run\n\nAbout\n*****\n\nSandbox\n-------\n\nThis is the demonstration project which you can easily install to quickly try\napplication. This is also the recommended way to find how to include\napplication into your project.\n\nIt contains some additional applications used for development so you should\nfocus on sandbox settings and templates.\n\nFrontend\n--------\n\nIt is cutted in two parts, the most important is the VueJS application that is\nshipped in application ``static`` directory, so you can easily load it from\nyour templates.\n\nAlso there is the CSS part that is highly paired to the sandbox layout but you\ncan find its sources in the ``sass`` directory and copy what you need to start\nyour own layout.\n\nColor name finding\n------------------\n\nNaming stands on color registries that contain many named color references.\nBecause there is a lot of possibility to name a colour and to add some\nvocabulary diversity many different registries can be available to search for.\n\nEach finded color from given source is compared to every color from registry\nto calculate the nearest color (with the lowest difference between colours)\nwhich is used for its name as a proposal. This is repeated for each available\nregistry.\n\nBefore performing name selection base on difference calculation, the finder\nwill search for an exact match on searched color against registry color.\n\nDuring difference calculation there is some bonus/malus depending if searched\ncolor is a grey shade (when every RGB values are equal).\n\nIt is worth to notice than a same name can not be used twice in a registry, so\nexact match will avoid to be \"stealed\" from a nearest color.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsveetch%2Fdjango-palette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsveetch%2Fdjango-palette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsveetch%2Fdjango-palette/lists"}