Skip to main content

ds-lang-lexer

The Pygments lexer for Desert Sage (DS) rule source.

Contents

One module, ds_lexer, holding DSLexer. Installing the package registers it with Pygments under the alias ds, so a ds code fence highlights wherever Pygments runs: Sphinx, Jupyter Book, MkDocs and the pygmentize command among them. ds_lexer.setup also loads it as a Sphinx extension.

Install

pip install ds-lang-lexer

It runs on Python 3.11 or later, and needs Pygments 2.10 or later.

Reference

The API is ds_lexer in The DS Bindings Reference.

Project

Licence

BSD-4-Clause OR AGPL-3.0-or-later: either licence, at the user's choice. LICENSE holds both texts.

Metadata

Release files for ds-lang-lexer 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for ds-lang-lexer 1.1.0
File Interpreter ABI Platform Actions
ds_lang_lexer-1.1.0-py3-none-any.whl Python 3 none any Details for ds_lang_lexer-1.1.0-py3-none-any.whl

Release files / ds_lang_lexer-1.1.0-py3-none-any.whl

Download URL ds_lang_lexer-1.1.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
518943ac4a920df66c897db798a96148dc4d6d2674c6a7e6c3dc7e35b91c628d
BLAKE2b-256 checksum
How to use checksums
78f2d98898fe719981f1bd36c928e787393d26f0354c330b551278a40e3d5e85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.14

Security for ds-lang-lexer 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page