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.1

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.1
File Interpreter ABI Platform Actions
ds_lang_lexer-1.1.1-py3-none-any.whl Python 3 none any Details for ds_lang_lexer-1.1.1-py3-none-any.whl

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

Download URL ds_lang_lexer-1.1.1-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
274838cc8956272545f9b2f0b47010a10ad8464b12805a2421d84aebb0d022b9
BLAKE2b-256 checksum
How to use checksums
6e70aff5b453b0e0c315914a3d2d36382c65d942e4cac7099d4f2464aa46d32d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.14

Security for ds-lang-lexer 1.1.1

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