Skip to main content

Pygments styles designed for friendly/friendly-traceback

Project description

# friendly_styles

Pygments compatible styles used with [friendly](https://github.com/friendly-traceback/friendly).

Two styles are defined: one suitable for black (or very dark) background and another for white (or very pale) background.

These styles are defined in such a way that code highlighted by [Rich](https://github.com/willmcgugan/rich) use consistent colours whether the code is highlighted by Rich base on some repr bypassing Pygments or done by Pygments.

![Example of highlighting](example.png)

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

friendly_styles-0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

friendly_styles-0.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file friendly_styles-0.2.tar.gz.

File metadata

  • Download URL: friendly_styles-0.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.6

File hashes

Hashes for friendly_styles-0.2.tar.gz
Algorithm Hash digest
SHA256 96d935971fd7b6d782d6fb1346d57be2b075bce086997956bdff85cb4d0ad6cd
MD5 829c36c3dde60a40e224db95b119e6e6
BLAKE2b-256 a7e1d15b6919142e4788076ef0dcac5de006fd36273336b9871e95298fb79c30

See more details on using hashes here.

File details

Details for the file friendly_styles-0.2-py3-none-any.whl.

File metadata

  • Download URL: friendly_styles-0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.6

File hashes

Hashes for friendly_styles-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2041b76fbb84888472e366057614ff71e14aca721eb9a9a4738306508171faf5
MD5 650eda8a81c6af3ddf44b3b62c319a9a
BLAKE2b-256 0dc81d508d9a9f9c064470b4977e1facdb270224f9f880db07a5a5ed01fa03c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page