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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: chrys-4.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 299a2bdb9ece0a820b5d48b57be701268dfeaad476640fbc99163e650fdbf616
MD5 4cc85d499868cdb4db57dc4a5c0594eb
BLAKE2b-256 de641aa2260f9cf2d3759113b7288d44d382bc41a77685f5a53c30485d22ef14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chrys-4.1.0-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.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6729d538b0c03c67f113546e9d5a9df1ea4eb0bcbb4c6cae5aaf6c0e1fcd15fc
MD5 171459604293dc5b28b025ac500628d3
BLAKE2b-256 2b689af9394f1ddd034613fd8468989fb4a59de56f80f10471d197ab914789be

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