Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Syntax coloring for OpenSSL configuration files

Project description


This package provides a Pygments lexer for OpenSSL configuration files. The lexer is published as an entry point and Pygments will pick it up automatically.

You can use the openssl language with Pygments:

$ pygmentize -l openssl /etc/openssl/openssl.cnf

In Sphinx documents the lexer is selected with the highlight directive:

.. highlight:: openssl


Use your favorite installer to install pygments-openssl into the same Python enviroment you have installed Pygments. For example:

$ pip install pygments-openssl

To verify the installation run:

$ pygmentize -L lexer | grep -i openssl
* openssl:
    OpenSSL (filenames *.cnf, *.conf)


1.3 - 2017-02-05

  • Add a LICENSE file. [stefan]
  • Add a test suite and fix two minor whitespace lexing issues. [stefan]

1.2 - 2013-11-21

  • Update documentation. [stefan]

1.1 - 2012-10-12

  • Detect and color line continuations. [stefan]

1.0 - 2012-10-10

  • Initial release. [stefan]

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (9.5 kB) Copy SHA256 hash SHA256 Source None Feb 5, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page