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 3.0.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 3.0.0
File Size Uploaded Provenance Actions
catppuccin-3.0.0.tar.gz 189.2 kB Without provenance Details for catppuccin-3.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 213.3 kB

Release files / catppuccin-3.0.0.tar.gz

Download URL catppuccin-3.0.0.tar.gz
Size 189.2 kB
Tags Source
SHA-256 checksum
How to use checksums
acca44bcce1e2f7f6a3fcc467b12d6b4c3198cae350af1db98c134c0f5f8d612
BLAKE2b-256 checksum
How to use checksums
aeaf2f7d67b046cc7afc9513a098193b083b26e9cd583aee502857bc56d9a996
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-3.0.0-py3-none-any.whl

Download URL catppuccin-3.0.0-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d202ce675e5994a86479f11de6ed9a76912128b77a2cb2c3cd021fcd7224b938
BLAKE2b-256 checksum
How to use checksums
f91c0810c9df0a9ee7f0d5f46efd568d9d56d5828e1ea5246d3e178b00b2c8d1
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 3.0.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