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.1.tar.gz (4.9 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.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: friendly_styles-0.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.4

File hashes

Hashes for friendly_styles-0.1.tar.gz
Algorithm Hash digest
SHA256 4babd7780f69863766773f1f7f9f0c4e2f5ba0ce124407255ba15d0dd6858c6b
MD5 e70b0843ace78d17dbc159994cd49f29
BLAKE2b-256 d38fc1609121f13c36c06c0b218fd6ab747c6d1195977f0e861deeddcd2c1246

See more details on using hashes here.

File details

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

File metadata

  • Download URL: friendly_styles-0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.4

File hashes

Hashes for friendly_styles-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 753fcb7a0157d58659b45ff49f1ab1bbb7e666a630f6b6da982931f128a86b93
MD5 39190c4d1edaa634a54624c1bb27e276
BLAKE2b-256 786e20c901682f356fb633d1bfbcf3de49a84dd48b042c87206e6d14ea0b3c3c

See more details on using hashes here.

Supported by

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