Skip to main content

A collection of color palettes for mapping and visualisation

Project description

chrys

CircleCI

A collection of color palettes for visualisation in JavaScript, Python and Sass.

Demo

netbek.github.io/chrys

Installation

Node.js and Sass

npm install chrys

Python 3.6 and up

pip install chrys

Usage

For instructions, refer to the docs.

Development: Installation

  1. Install Node 18.x:

    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
    source ~/.bashrc
    nvm install 18
    nvm use 18
    
  2. Create .pypirc:

    cp example.pypirc .pypirc
    
  3. Enter a PyPI API token as the password in .pypirc.

Development: Usage

Patch Node dependencies to fix ESM imports:

npx patch-package @bokeh/bokehjs --exclude 'nothing'
npx patch-package vega-scale --exclude 'nothing'

Build the palette data, JavaScript and Python distribution packages, Sass, CSS, Illustrator scripts:

npm run build-data
npm run build-dist

Publish the JavaScript and Python distribution packages:

npm publish
npm run publish-py

Credit

Palettes from:

License

Copyright (c) 2017 Hein Bekker. Licensed under the BSD 3-Clause License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chrys-4.1.4.tar.gz (43.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chrys-4.1.4-py2.py3-none-any.whl (43.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file chrys-4.1.4.tar.gz.

File metadata

  • Download URL: chrys-4.1.4.tar.gz
  • Upload date:
  • Size: 43.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for chrys-4.1.4.tar.gz
Algorithm Hash digest
SHA256 4efd3dd4d5ebcc0ceb5375ecad79f999e7b88787e5e4456a6fd6f42bb94f502c
MD5 dd6fe4d4404b77093096eb5956af7bfb
BLAKE2b-256 4c1ad7304773c49f7f4e88f87f58dcfb5c543b653e9badc990a7fd130cbd76e4

See more details on using hashes here.

File details

Details for the file chrys-4.1.4-py2.py3-none-any.whl.

File metadata

  • Download URL: chrys-4.1.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 43.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for chrys-4.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3a20cebbc4e7a6f289733878015baa11d0321a7b17752e218258eb8e11a8a97f
MD5 cfccd5d24de87128b879a7b69a0162b0
BLAKE2b-256 f3b5ef6bb98d7dc7e1227cace9967ebd3d45f8422d88cd89cb1688d5ecb0342e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page