Skip to main content

Syntax coloring for OpenSSL configuration files

Project description

Overview

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

Installation

Use your favorite installer to install pygments-openssl into the same Python environment 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)

Changelog

2.0 - 2026-07-07

  • Update INI lexer tests for Pygments >= 2.19. [stefan]

  • Remove support for universal wheels. [stefan]

  • Remove deprecated license classifier. [stefan]

  • Upgrade GitHub workflow. [stefan]

  • Require Python >= 3.5. [stefan]

1.6 - 2023-09-14

  • Update INI lexer tests for Pygments >= 2.14. [stefan]

  • Update tox.ini for latest tox. [stefan]

  • Add GitHub CI workflow. [stefan]

1.5 - 2022-02-27

  • Add Python 3.8-3.10 to tox.ini. Remove old Python versions. [stefan]

  • Replace deprecated python setup.py test in tox.ini. [stefan]

  • Remove deprecated test_suite from setup.py. [stefan]

  • Move lexer into pygments_openssl namespace. [stefan]

  • Move metadata to setup.cfg and add a pyproject.toml file. [stefan]

  • Include tests in sdist but not in wheel. [stefan]

  • Support new .pragma and .include directives. [stefan]

  • Pygments 2.11 whitespace token modernization. [stefan]

1.4 - 2019-01-25

  • Add MANIFEST.in. [stefan]

  • Release as wheel. [stefan]

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


Download files

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

Source Distribution

pygments_openssl-2.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

pygments_openssl-2.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pygments_openssl-2.0.tar.gz.

File metadata

  • Download URL: pygments_openssl-2.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.2

File hashes

Hashes for pygments_openssl-2.0.tar.gz
Algorithm Hash digest
SHA256 563a622529ffefe73c3c23807b418b9667f36e32ebfd03382e58516ce916fe84
MD5 ae69acd348191362c8d48c30cc0c1eef
BLAKE2b-256 daad2038d3d141a17120d7bd09fbb95abd1372f5d704d99018b6108f35be4074

See more details on using hashes here.

File details

Details for the file pygments_openssl-2.0-py3-none-any.whl.

File metadata

  • Download URL: pygments_openssl-2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.2

File hashes

Hashes for pygments_openssl-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7affefe0126a702478bd535c11304ce034144aad760452a844505d8e85dc9989
MD5 b60d29983cb9f3dee191006e742b3bc0
BLAKE2b-256 1e5915e3795abf894755c5c843d2873d99946153d9b579b220c0dc5e057c80b4

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