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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: chrys-4.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 c122c0e83085fcef4c5d828a6c5d7d8c138b0d34e0c4f8e6f27a73cc9209ce1b
MD5 5ec37c6aa1b1bd7f35b440b514937ee9
BLAKE2b-256 fe58456a0d7b69c4d998999f67e5b60f748bb844211bbe4b663f936cc6708240

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chrys-4.1.3-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.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 93ac89255cd98b8db97cad49a137ee5932b683e84c776fdde5e51b8b452e26c2
MD5 ae549e806fa4bcd516687084151e383e
BLAKE2b-256 dc0e091b493cf3315872b1f898fe4cc9d37ae8539e963f436b78d03f46745cfd

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