Skip to main content

Logo
Catppuccin for Python

Installation

Install with pip or your preferred dependency management tool.

pip install catppuccin

Documentation

For an API reference and usage examples, see our online documentation.

IPython Theme

Install catppuccin[ipython] in the same environment as IPython, for example as a uv tool:

uv tool install ipython --with "catppuccin[ipython]"

or with pip:

pip install "catppuccin[ipython]"

If you don't have an IPython configuration file yet, create one with:

ipython profile create

Then add the following to your ipython_config.py:

c.TerminalInteractiveShell.true_color = True
c.TerminalInteractiveShell.colors = "catppuccin-mocha"

You can also switch themes interactively with %colors catppuccin-latte.

Available IPython themes:

  • catppuccin-latte
  • catppuccin-frappe
  • catppuccin-macchiato
  • catppuccin-mocha

Each theme also has a variant without italics, such as catppuccin-mocha:noitalic.

Contribution

If you are looking to contribute, please read through our CONTRIBUTING.md first!

Development

This project is maintained with uv. If you don't have uv yet, you can install it using the installation instructions.

Install the project's dependencies including extras:

uv sync --all-extras

Codegen

catppuccin/palette.py is generated by a build script based on the contents of palette.json.

To update after downloading a new palette JSON file:

uv run build.py

Formatting this file is done manually as with any other file, see Code Standards below.

Code Standards

All of the tools listed in this section are automatically installed by uv as part of the dev dependency group.

Unit Tests

Tests are run with pytest.

To run tests and display coverage:

pytest --cov catppuccin
Type Checking

Type checking is performed by mypy.

To run type checks:

mypy .
Lints and Formatting

Code linting and formatting is done by ruff.

To lint the code:

ruff check

To format the code:

ruff format

💝 Thanks to

 

Copyright © 2022-present Catppuccin Org

Metadata

Release files for catppuccin 2.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for catppuccin 2.6.0
File Size Uploaded Provenance Actions
catppuccin-2.6.0.tar.gz 188.2 kB Without provenance Details for catppuccin-2.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for catppuccin 2.6.0
File Interpreter ABI Platform Actions
catppuccin-2.6.0-py3-none-any.whl Python 3 none any Details for catppuccin-2.6.0-py3-none-any.whl

Total release size: 212.7 kB

Release files / catppuccin-2.6.0.tar.gz

Download URL catppuccin-2.6.0.tar.gz
Size 188.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a953f337962b2b192d760d3c32b4152d77e3ffd50174fd303b0838c3c26fa1eb
BLAKE2b-256 checksum
How to use checksums
059659341c2e22fec9d963791fb1da4b8ab8620370e82ed0ac6d5ed215f4cb3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / catppuccin-2.6.0-py3-none-any.whl

Download URL catppuccin-2.6.0-py3-none-any.whl
Size 24.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2acc29d5e3fd3cfc07f9675210a7242ecfacf3e2c3215d7003f6685706b3e41
BLAKE2b-256 checksum
How to use checksums
027db932b3eedf4488df5a6bae133818166249306da880c4fc68c642718d653b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for catppuccin 2.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page