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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: chrys-4.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 6d5b7ffb189f76eb4562811b665d15d95120816b1dd1aa122d7448ce5ecd0a03
MD5 662719e99510b2f36f5e601d57b47cbf
BLAKE2b-256 d8080d6c0625a2ffac0b72a50a56af8b029bb5e7142b9fa1d1bb991e0abdb455

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chrys-4.1.5-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.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 918ab22246c8221e043c8a567eecafd91d850c7a6b122630bbe3e5ffba9483d1
MD5 1d7aecceefbb31846497f1250fd737aa
BLAKE2b-256 7e0fe1752118694727bfd28a62cd0e18b8fe3808f36590e2bcb647417ff71282

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