Skip to main content

# 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)

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

If you're not sure about the file name format, learn more about wheel file names.

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.

Release history Release notifications | RSS feed

This release

0.2 This release

2 files

0.1

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page