Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9
🐍 Soothing pastel library for Python & Matplotlib
License
catppuccin/python
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation

Catppuccin forPython
Install withpip or your preferred dependency management tool.
pip install catppuccinFor an API reference and usage examples,see our online documentation.
A minimal configuration:
c.TerminalInteractiveShell.true_color=Truec.TerminalInteractiveShell.highlighting_style="catppuccin-mocha"
Putting this into yourIPython configurationand ensuringcatppuccin[pygments] is installed in the same environment willgive you Catppuccin Mocha syntax highlighting in the REPL. Seeherefor an example of a more complete configuration.
Available IPython themes:
catppuccin-lattecatppuccin-frappecatppuccin-macchiatocatppuccin-mocha
If you are looking to contribute, please read through ourCONTRIBUTING.mdfirst!
This project is maintained withuv. If youdon't have uv yet, you can install it using theinstallationinstructions.
Install the project's dependencies including extras:
uv sync --all-extrascatppuccin/palette.py is generated by abuild script based on the contents ofpalette.json.
To update after downloading a new palette JSON file:
uv run build.pyFormatting this file is done manually as with any other file, seeCode Standards below.
All of the tools listed in this section are automatically installed by uv aspart of thedev dependency group.
Tests are run withpytest.
To run tests and display coverage:
pytest --cov catppuccinType checking is performed bymypy.
To run type checks:
mypy .Code linting and formatting is done byruff.
To lint the code:
ruff checkTo format the code:
ruff format
Copyright © 2022-presentCatppuccin Org
About
🐍 Soothing pastel library for Python & Matplotlib
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors11
Uh oh!
There was an error while loading.Please reload this page.