Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🐍 Soothing pastel library for Python & Matplotlib

License

NotificationsYou must be signed in to change notification settings

catppuccin/python

Logo
Catppuccin forPython

Installation

Install withpip or your preferred dependency management tool.

pip install catppuccin

Documentation

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

IPython Theme

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-latte
  • catppuccin-frappe
  • catppuccin-macchiato
  • catppuccin-mocha

Contribution

If you are looking to contribute, please read through ourCONTRIBUTING.mdfirst!

Development

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-extras

Codegen

catppuccin/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.py

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

Code Standards

All of the tools listed in this section are automatically installed by uv aspart of thedev dependency group.

Unit Tests

Tests are run withpytest.

To run tests and display coverage:

pytest --cov catppuccin
Type Checking

Type checking is performed bymypy.

To run type checks:

mypy .
Lints and Formatting

Code linting and formatting is done byruff.

To lint the code:

ruff check

To format the code:

ruff format

💝 Thanks to

 

Copyright © 2022-presentCatppuccin Org

About

🐍 Soothing pastel library for Python & Matplotlib

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp