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.1.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.1-py2.py3-none-any.whl (43.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: chrys-4.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 95f06e63c70eed8449fd38b87fcf9dc68d048ec85b38d6ac4a196739403c14df
MD5 7699fd5ce4dbdfa5562571a717e0d0b6
BLAKE2b-256 a627dc6a453937fe049a02006d1a27d29c120d561e24938a30e7f9f5ca790774

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chrys-4.1.1-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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c6dae777df962424ff1e55f8990fc0fdab16334a8e19ec52332b426a56d68250
MD5 65015094041c0bbc5448ea8dfde2cd6e
BLAKE2b-256 4fc44b14415a82921b1fe5c8188097eca39041162eeb9099bed3278ff76d67ee

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